bootswatch.dark.less 5.6 KB

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