X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=mindcoding-template%2Fless%2Fbootswatch.less;fp=mindcoding-template%2Fless%2Fbootswatch.less;h=2411c47340bdf81f1ec4849aa16e91325d3d493f;hb=7b8697217dd7b910c8600a1290d0a9590437afc0;hp=0000000000000000000000000000000000000000;hpb=db540dc1ec5c2e5a5856e1ba9f25eb1ae6e7548d;p=mindcoding-template-patches.git diff --git a/mindcoding-template/less/bootswatch.less b/mindcoding-template/less/bootswatch.less new file mode 100644 index 0000000..2411c47 --- /dev/null +++ b/mindcoding-template/less/bootswatch.less @@ -0,0 +1,151 @@ +// Cosmo 3.0.3 +// Bootswatch +// ----------------------------------------------------- + +@import url("//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700"); + +// Navbar ===================================================================== + +// Buttons ==================================================================== + +.btn { + border: none; +} + +// Typography ================================================================= + +.text-primary, +.text-primary:hover { + color: @brand-primary; +} + +.text-success, +.text-success:hover { + color: @brand-success; +} + +.text-danger, +.text-danger:hover { + color: @brand-danger; +} + +.text-warning, +.text-warning:hover { + color: @brand-warning; +} + +.text-info, +.text-info:hover { + color: @brand-info; +} + +// Tables ===================================================================== + +.table { + + tr.success, + tr.warning, + tr.danger { + color: #fff; + } +} + +// Forms ====================================================================== + + +.has-warning { + .help-block, + .control-label { + color: @brand-warning; + } + + .form-control, + .form-control:focus { + border: 1px solid @brand-warning; + } +} + +.has-error { + .help-block, + .control-label { + color: @brand-danger; + } + + .form-control, + .form-control:focus { + border: 1px solid @brand-danger; + } +} + +.has-success { + .help-block, + .control-label { + color: @brand-success; + } + + .form-control, + .form-control:focus { + border: 1px solid @brand-success; + } +} + +// Navs ======================================================================= + +.nav-pills { + + & > li > a { + border-radius: 0; + } +} + +.dropdown-menu { + + & > li > a:hover, + & > li > a:focus { + background-image: none; + } +} + +.pagination { + + .active > a, + .active > a:hover { + border-color: #ddd; + } +} + +// Indicators ================================================================= + +.alert { + border: none; + + .alert-link { + text-decoration: underline; + color: #fff; + } +} + +.label { + border-radius: 0; +} + +.close { + opacity: 1; +} + +// Progress bars ============================================================== + +.progress { + height: 8px; + .box-shadow(none); +} + +// Containers ================================================================= + +.panel { + &-heading, + &-footer { + border-top-right-radius: 0; + border-top-left-radius: 0; + } +}