// Bootswatch.less // Swatch: Cerulean // Version: 2.1.0 // ----------------------------------------------------- // IMPORTS // ----------------------------------------------------- @import url(https://fonts.googleapis.com/css?family=Telex); // NAVBAR // ----------------------------------------------------- .navbar { font-family: @headingsFontFamily; text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2); .brand { padding: 16px 20px 14px; text-shadow: inherit; } li { line-height: 20px; } .nav > li > a { padding: 16px 10px 14px; text-shadow: inherit; } .search-query { border: 1px solid darken(@linkColor, 10%); } .btn-navbar:hover { background-color: darken(@white, 20%); } .navbar-text { padding: 19px 10px 18px; line-height: 13px; color: rgba(0, 0, 0, 0.5); text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3); } .nav-collapse.collapse { .nav li > a { color: @white; &:hover { background-color: #2B7CAC; } } .nav .active > a { .box-shadow(none); background-color: #2B7CAC; } .dropdown-menu li > a:hover, .dropdown-menu li > a:focus, .dropdown-submenu:hover > a { background-image: none; } .navbar-form, .navbar-search { border: none; } .nav-header { color: #2B7CAC; } } &-inverse { text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5); .nav-collapse.collapse { .nav li > a { color: @navbarInverseLinkColor; &:hover { background-color: rgba(0, 0, 0, 0.1); } } .nav .active > a { background-color: rgba(0, 0, 0, 0.1); } } .navbar-search .search-query { color: @textColor; } } } div.subnav { font-family: @headingsFontFamily; text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.2); &-fixed { top: @navbarHeight; } } // BUTTONS // ----------------------------------------------------- .btn { #gradient > .vertical-three-colors(@white, @white, 5%, darken(@white, 0%)); @shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); .box-shadow(@shadow); &:hover { background-position: 0 0; } } .btn-primary { .buttonBackground(lighten(@btnPrimaryBackground, 5%), @btnPrimaryBackground); } .btn-info { .buttonBackground(lighten(@btnInfoBackground, 5%), @btnInfoBackground); } .btn-success { .buttonBackground(lighten(@btnSuccessBackground, 5%), @btnSuccessBackground); } .btn-warning { .buttonBackground(lighten(@btnWarningBackground, 5%), @btnWarningBackground); } .btn-danger { .buttonBackground(lighten(@btnDangerBackground, 5%), @btnDangerBackground); } .btn-inverse { .buttonBackground(lighten(@btnInverseBackground, 5%), @btnInverseBackground); } // ICONS // ----------------------------------------------------- // Make icons gray i[class^="icon-"]{ opacity: 0.8; }