| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359 |
- // Cosmo 2.3.2
- // Bootswatch
- // -----------------------------------------------------
- // TYPOGRAPHY
- // -----------------------------------------------------
- body {
- font-weight: 300;
- background: @bodyBackground;
- //url('../img/light.png') repeat right top;
- }
- blockquote {
- padding: 10px 15px;
- background-color: @grayLighter;
- border-left-color: @gray;
- &.pull-right {
- padding: 10px 15px;
- border-right-color: @gray;
- }
- small {
- color: @gray;
- }
- }
- .muted {
- color: @gray;
- }
- .text-warning { color: @orange; }
- a.text-warning:hover { color: darken(@orange, 10%); }
- .text-error { color: @red; }
- a.text-error:hover { color: darken(@red, 10%); }
- .text-info { color: @purple; }
- a.text-info:hover { color: darken(@purple, 10%); }
- .text-success { color: @green; }
- a.text-success:hover { color: darken(@green, 10%); }
- // SCAFFOLDING
- // -----------------------------------------------------
- // NAVBAR
- // -----------------------------------------------------
- .navbar {
- .navbar-inner {
- background-image: none;
- .box-shadow(none);
- .border-radius(0);
- }
- .brand {
- padding: 0px 15px;
- &:hover {
- color: @navbarLinkColorHover;
- }
- }
- .nav > .active > a,
- .nav > .active > a:hover,
- .nav > .active > a:focus {
- .box-shadow(none);
- border-bottom: 1px solid @blue;
- background-color: @navbarLinkBackgroundHover;
- }
- .nav li.dropdown.open > .dropdown-toggle,
- .nav li.dropdown.active > .dropdown-toggle,
- .nav li.dropdown.open.active > .dropdown-toggle {
- color: @navbarLinkColorActive;
- &:hover {
- color: @grayLighter;
- }
- }
- .navbar-search .search-query {
- line-height: normal;
- }
- }
- // NAV
- // -----------------------------------------------------
- .nav {
- .open .dropdown-toggle,
- & > li.dropdown.open.active > a:hover {
- color: @blue;
- }
- }
- .nav-tabs {
- & > li > a {
- .border-radius(0);
- }
- li > a:hover,
- li.active > a,
- li.active > a:focus,
- li.active > a:hover {
- border-color: transparent;
- background-color: transparent;
- border-bottom: 2px solid @blue;
- color: @blue
- }
- li.disabled > a {
- color: @textColor;
- }
- .open .dropdown-toggle {
- background-color: #060606;
- border-color: transparent;
- }
- }
- .tabs-below,
- .tabs-left,
- .tabs-right {
- & > .nav-tabs > li > a{
- .border-radius(0);
- border: 0px;
- }
- }
- // BUTTONS
- // -----------------------------------------------------
- .btn {
- padding: 8px 12px;
- background-image: none;
- .box-shadow(none);
- border: none;
- .border-radius(3px);
- text-shadow: 0 1px 0 rgba(0,0,0,.5);
- &.disabled {
- box-shadow: inset 0 2px 4px rgba(0,0,0,.15),~" "0 1px 2px rgba(0,0,0,.05);
- }
- }
- .btn-large {
- padding: 14px 23px;
- }
- .btn-small {
- padding: 2px 10px;
- }
- .btn-mini {
- padding: 2px 6px;
- }
- .btn-group {
- & > .btn:first-child,
- & > .btn:last-child,
- & > .dropdown-toggle {
- .border-radius(0);
- }
- & > .btn + .dropdown-toggle {
- .box-shadow(none);
- }
- }
- legend, label {
- color: @textColor;
- border-bottom: 0px solid #222;
- }
- // TABLES
- // -----------------------------------------------------
- .table {
- tbody tr.success td {
- color: @white;
- }
- tbody tr.error td {
- color: @white;
- }
- tbody tr.info td {
- color: @white;
- }
- &-bordered {
- .border-radius(0);
- thead:first-child tr:first-child th:first-child,
- tbody:first-child tr:first-child td:first-child {
- .border-radius(0);
- }
- thead:last-child tr:last-child th:first-child,
- tbody:last-child tr:last-child td:first-child,
- tfoot:last-child tr:last-child td:first-child {
- .border-radius(0);
- }
- }
- }
- // FORMS
- // -----------------------------------------------------
- select, textarea, input[type="text"], input[type="password"], input[type="datetime"],
- input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"],
- input[type="week"], input[type="number"], input[type="email"], input[type="url"],
- input[type="search"], input[type="tel"], input[type="color"] {
- color: @grayDarker;
- }
- .control-group {
- &.warning {
- .control-label,
- .help-block,
- .help-inline {
- color: @orange;
- }
- input,
- select,
- textarea {
- border-color: @orange;
- color: @grayDarker;
- }
- }
- &.error {
- .control-label,
- .help-block,
- .help-inline {
- color: @red;
- }
- input,
- select,
- textarea {
- border-color: @red;
- color: @grayDarker;
- }
- }
- &.success {
- .control-label,
- .help-block,
- .help-inline {
- color: @green;
- }
- input,
- select,
- textarea {
- border-color: @green;
- color: @grayDarker;
- }
- }
- }
- legend {
- border-bottom: none;
- color: @grayDarker;
- }
- .form-actions {
- border-top: none;
- background-color: @grayLighter;
- }
- // DROPDOWNS
- // -----------------------------------------------------
- .label {
- &-success {
- background-color: @green;
- }
- &-important {
- background-color: @red;
- }
- &-info {
- background-color: @purple;
- }
- &-inverse {
- background-color: @black;
- }
- }
- .badge {
- border-radius: 0;
- font-weight: 200;
- }
- // MISC
- // -----------------------------------------------------
- a:hover {
- text-decoration: none;
- }
- .hero-unit {
- border: none;
- .border-radius(0);
- .box-shadow(none);
- }
- .well {
- border: none;
- .border-radius(0);
- .box-shadow(none);
- }
- a.thumbnail {
- background-color: @grayLight;
- &:hover {
- background-color: @gray;
- border-color: transparent;
- }
- }
- .progress {
- background-color: @grayLighter;
- background-image: none;
- .border-radius(0);
- }
- .popover {
- .border-radius(0);
- &-title {
- border-bottom: none;
- color: @white;
- }
- }
|