| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280 |
- // Cyborg 2.3.2
- // Bootswatch
- // -----------------------------------------------------
- // TYPOGRAPHY
- // -----------------------------------------------------
- html {
- height: 100%;
- }
- body {
- height: 100%;
- background: @bodyBackground;
- }
- hr {
- border-bottom: none;
- }
- // NAVBAR
- // -----------------------------------------------------
- // NAV
- // -----------------------------------------------------
- .nav-tabs {
- border-bottom: none;
- & > 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: @white;
- }
- li.disabled > a {
- color: @textColor;
- }
- .open .dropdown-toggle {
- background-color: #060606;
- border-color: transparent;
- }
- }
- // BUTTONS
- // -----------------------------------------------------
- .btn {
- padding: 8px 12px;
- margin-right:10px;
- background-image: none;
- border: none;
- .border-radius(0px);
- text-shadow: none;
- &.disabled {
- box-shadow: inset 0 2px 4px rgba(0,0,0,.15),~" "0 1px 2px rgba(0,0,0,.05);
- }
- }
- .btn-inverse {
- border: 1px solid #444;
- box-shadow: none;
- }
- .btn-large {
- padding: 6px 20px;
- }
- .btn-small {
- padding: 2px 10px;
- }
- .btn-mini {
- padding: 2px 6px;
- margin-right: 0;
- margin-right: 0;
- }
- .btn-group {
- & > .btn + .dropdown-toggle {
- .box-shadow(none);
- }
- }
- // FORMS
- // -----------------------------------------------------
- input, textarea, select {
- border-width: 2px;
- .border-radius(1px);
- }
- 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"], .uneditable-input {
- color: @grayLight;
- }
- input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly], .uneditable-input {
- border-color: #444;
- }
- input:focus,
- textarea:focus,
- input.focused,
- textarea.focused {
- border-color: rgba(82,168,236,1);
- outline: 0;
- outline: thin dotted \9; /* IE6-9 */
- }
- input[type="file"]:focus,
- input[type="radio"]:focus,
- input[type="checkbox"]:focus,
- select:focus {
- .box-shadow(none); // override for file inputs
- .tab-focus();
- }
- legend, label {
- color: @textColor;
- border-bottom: 0px solid #222;
- }
- .form-actions {
- border-top: 1px solid #222;
- }
- // TABLES
- // -----------------------------------------------------
- .table {
- .border-radius(1px);
- tbody tr.success td {
- background-color: @green;
- color: @white;
- }
- tbody tr.error td {
- background-color: @red;
- color: @white;
- }
- tbody tr.info td {
- background-color: @blue;
- color: @white;
- }
- }
- // ALERTS, LABELS, BADGES
- // -----------------------------------------------------
- .alert,
- .alert .alert-heading,
- .alert-success,
- .alert-success .alert-heading,
- .alert-danger,
- .alert-error,
- .alert-danger .alert-heading,
- .alert-error .alert-heading,
- .alert-info,
- .alert-info .alert-heading {
- color: @white;
- text-shadow: none;
- border: none;
- }
- .label {
- color: @white;
- }
- .badge {
- border-radius: 0;
- font-weight: 200;
- }
- .label, .alert { background-color: darken(@gray, 20%); }
- .label:hover { background-color: darken(@gray, 30%); }
- .label-important,
- .alert-danger,
- .alert-error { background-color: @red; }
- .label-important:hover { background-color: darken(@red, 10%); }
- .label-warning { background-color: darken(@orange, 10%); }
- .label-warning:hover { background-color: darken(@orange, 20%); }
- .label-success, .alert-success { background-color: darken(@green, 3%); }
- .label-success:hover { background-color: darken(@green, 13%); }
- .label-info, .alert-info { background-color: darken(@blueDark, 10%); }
- .label-info:hover { background-color: darken(@blueDark, 20%); }
- // MISC
- // -----------------------------------------------------
- a:hover {
- text-decoration: none;
- }
- .well, .hero-unit {
- .border-radius(0px);
- }
- .well, .hero-unit {
- border-top: solid 1px lighten(@grayDark, 5%);
- .box-shadow(0 2px 4px rgba(0,0,0,.8));
- }
- .thumbnail {
- border-color: @grayDark;
- }
- .progress {
- background-color: #060606;
- background-image: none;
- .border-radius(0);
- }
- .modal {
- background-color: @grafanaPanelBackground;
- }
- .modal-header {
- border-bottom: 1px solid @grafanaPanelBackground;
- }
- .modal-footer {
- background-color: @grafanaPanelBackground;
- border-top: 1px solid @grafanaPanelBackground;
- .border-radius(0 0 0px 0px);
- .box-shadow(none);
- }
- .popover {
- .border-radius(0);
- &-title {
- border-bottom: none;
- color: @white;
- }
- }
- .footer {
- border-top: 1px solid @grayDark;
- }
- // MEDIA QUERIES
- // -----------------------------------------------------
- .caret {
- color: @textColor
- }
- .dropdown-submenu > a:after {
- border-left-color: @textColor;
- }
|