diff options
Diffstat (limited to 'cosmo/bootswatch.less')
-rw-r--r-- | cosmo/bootswatch.less | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/cosmo/bootswatch.less b/cosmo/bootswatch.less new file mode 100644 index 00000000..0509e2f7 --- /dev/null +++ b/cosmo/bootswatch.less @@ -0,0 +1,126 @@ +// Cosmo 3.0.0 +// Bootswatch +// ----------------------------------------------------- + +@import url("//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700"); + +// Navbar ===================================================================== + +// Buttons ==================================================================== + +.btn { + border: none; +} + +// Typography ================================================================= + +.text-primary { + color: @brand-primary; +} + +.text-success { + color: @brand-success; +} + +.text-danger { + color: @brand-danger; +} + +.text-warning { + color: @brand-warning; +} + +// 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; + } +} + +// 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 =================================================================
\ No newline at end of file |