bootswatch.dark.less 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. // Cyborg 2.3.2
  2. // Bootswatch
  3. // -----------------------------------------------------
  4. // TYPOGRAPHY
  5. // -----------------------------------------------------
  6. html {
  7. height: 100%;
  8. }
  9. body {
  10. height: 100%;
  11. background: @bodyBackground;
  12. }
  13. hr {
  14. border-bottom: none;
  15. }
  16. // NAVBAR
  17. // -----------------------------------------------------
  18. // NAV
  19. // -----------------------------------------------------
  20. .nav-tabs {
  21. border-bottom: none;
  22. & > li > a {
  23. .border-radius(0);
  24. }
  25. li > a:hover,
  26. li.active > a,
  27. li.active > a:focus,
  28. li.active > a:hover {
  29. border-color: transparent;
  30. background-color: transparent;
  31. border-bottom: 2px solid @blue;
  32. color: @white;
  33. }
  34. li.disabled > a {
  35. color: @textColor;
  36. }
  37. .open .dropdown-toggle {
  38. background-color: #060606;
  39. border-color: transparent;
  40. }
  41. }
  42. // BUTTONS
  43. // -----------------------------------------------------
  44. .btn {
  45. padding: 8px 12px;
  46. margin-right:10px;
  47. background-image: none;
  48. border: none;
  49. .border-radius(0px);
  50. text-shadow: none;
  51. &.disabled {
  52. box-shadow: inset 0 2px 4px rgba(0,0,0,.15),~" "0 1px 2px rgba(0,0,0,.05);
  53. }
  54. }
  55. .btn-inverse {
  56. border: 1px solid #444;
  57. box-shadow: none;
  58. }
  59. .btn-large {
  60. padding: 6px 20px;
  61. }
  62. .btn-small {
  63. padding: 2px 10px;
  64. }
  65. .btn-mini {
  66. padding: 2px 6px;
  67. margin-right: 0;
  68. margin-right: 0;
  69. }
  70. .btn-group {
  71. & > .btn + .dropdown-toggle {
  72. .box-shadow(none);
  73. }
  74. }
  75. // FORMS
  76. // -----------------------------------------------------
  77. input, textarea, select {
  78. border-width: 2px;
  79. .border-radius(1px);
  80. }
  81. select, textarea,
  82. input[type="text"], input[type="password"], input[type="datetime"],
  83. input[type="datetime-local"], input[type="date"], input[type="month"],
  84. input[type="time"], input[type="week"], input[type="number"],
  85. input[type="email"], input[type="url"], input[type="search"],
  86. input[type="tel"], input[type="color"], .uneditable-input {
  87. color: @grayLight;
  88. }
  89. input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly], .uneditable-input {
  90. border-color: #444;
  91. }
  92. input:focus,
  93. textarea:focus,
  94. input.focused,
  95. textarea.focused {
  96. border-color: rgba(82,168,236,1);
  97. outline: 0;
  98. outline: thin dotted \9; /* IE6-9 */
  99. }
  100. input[type="file"]:focus,
  101. input[type="radio"]:focus,
  102. input[type="checkbox"]:focus,
  103. select:focus {
  104. .box-shadow(none); // override for file inputs
  105. .tab-focus();
  106. }
  107. legend, label {
  108. color: @textColor;
  109. border-bottom: 0px solid #222;
  110. }
  111. .form-actions {
  112. border-top: 1px solid #222;
  113. }
  114. // TABLES
  115. // -----------------------------------------------------
  116. .table {
  117. .border-radius(1px);
  118. tbody tr.success td {
  119. background-color: @green;
  120. color: @white;
  121. }
  122. tbody tr.error td {
  123. background-color: @red;
  124. color: @white;
  125. }
  126. tbody tr.info td {
  127. background-color: @blue;
  128. color: @white;
  129. }
  130. }
  131. // ALERTS, LABELS, BADGES
  132. // -----------------------------------------------------
  133. .alert,
  134. .alert .alert-heading,
  135. .alert-success,
  136. .alert-success .alert-heading,
  137. .alert-danger,
  138. .alert-error,
  139. .alert-danger .alert-heading,
  140. .alert-error .alert-heading,
  141. .alert-info,
  142. .alert-info .alert-heading {
  143. color: @white;
  144. text-shadow: none;
  145. border: none;
  146. }
  147. .label {
  148. color: @white;
  149. }
  150. .badge {
  151. border-radius: 0;
  152. font-weight: 200;
  153. }
  154. .label, .alert { background-color: darken(@gray, 20%); }
  155. .label:hover { background-color: darken(@gray, 30%); }
  156. .label-important,
  157. .alert-danger,
  158. .alert-error { background-color: @red; }
  159. .label-important:hover { background-color: darken(@red, 10%); }
  160. .label-warning { background-color: darken(@orange, 10%); }
  161. .label-warning:hover { background-color: darken(@orange, 20%); }
  162. .label-success, .alert-success { background-color: darken(@green, 3%); }
  163. .label-success:hover { background-color: darken(@green, 13%); }
  164. .label-info, .alert-info { background-color: darken(@blueDark, 10%); }
  165. .label-info:hover { background-color: darken(@blueDark, 20%); }
  166. // MISC
  167. // -----------------------------------------------------
  168. a:hover {
  169. text-decoration: none;
  170. }
  171. .well, .hero-unit {
  172. .border-radius(0px);
  173. }
  174. .well, .hero-unit {
  175. border-top: solid 1px lighten(@grayDark, 5%);
  176. .box-shadow(0 2px 4px rgba(0,0,0,.8));
  177. }
  178. .thumbnail {
  179. border-color: @grayDark;
  180. }
  181. .progress {
  182. background-color: #060606;
  183. background-image: none;
  184. .border-radius(0);
  185. }
  186. .modal {
  187. background-color: @grafanaPanelBackground;
  188. }
  189. .modal-header {
  190. border-bottom: 1px solid @grafanaPanelBackground;
  191. }
  192. .modal-footer {
  193. background-color: @grafanaPanelBackground;
  194. border-top: 1px solid @grafanaPanelBackground;
  195. .border-radius(0 0 0px 0px);
  196. .box-shadow(none);
  197. }
  198. .popover {
  199. .border-radius(0);
  200. &-title {
  201. border-bottom: none;
  202. color: @white;
  203. }
  204. }
  205. .footer {
  206. border-top: 1px solid @grayDark;
  207. }
  208. // MEDIA QUERIES
  209. // -----------------------------------------------------
  210. .caret {
  211. color: @textColor
  212. }
  213. .dropdown-submenu > a:after {
  214. border-left-color: @textColor;
  215. }