bootswatch.dark.less 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523
  1. // Cyborg 2.3.2
  2. // Bootswatch
  3. // -----------------------------------------------------
  4. // TYPOGRAPHY
  5. // -----------------------------------------------------
  6. label, input, button, select, textarea,
  7. .navbar .search-query:-moz-placeholder,
  8. .navbar .search-query::-webkit-input-placeholder {
  9. font-family: 'Droid Sans', sans-serif;
  10. color: @gray;
  11. }
  12. blockquote {
  13. border-left: 5px solid @grayDark;
  14. &.pull-right {
  15. border-right: 5px solid @grayDark;
  16. }
  17. }
  18. // SCAFFOLDING
  19. // -----------------------------------------------------
  20. html {
  21. height: 100%;
  22. }
  23. body {
  24. height: 100%;
  25. background: @bodyBackground;
  26. }
  27. .page-header {
  28. border-bottom: 1px solid @grayDark
  29. }
  30. hr {
  31. border-bottom: none;
  32. }
  33. // NAVBAR
  34. // -----------------------------------------------------
  35. .navbar {
  36. .navbar-inner {
  37. .border-radius(0);
  38. .box-shadow(none);
  39. }
  40. .brand {
  41. padding: 0px 15px;
  42. color: @navbarBrandColor;
  43. font-weight: normal;
  44. text-shadow: none;
  45. }
  46. .nav > li > a {
  47. padding: 15px 15px 14px;
  48. border-bottom: 1px solid transparent;
  49. }
  50. .nav > li > a:hover,
  51. .nav > .active > a,
  52. .nav > .active > a:hover {
  53. }
  54. .nav > .active > a,
  55. .nav > .active > a:hover,
  56. .nav > .active > a:focus {
  57. .box-shadow(none);
  58. }
  59. .navbar-text {
  60. margin-bottom: 1px;
  61. padding: 15px 15px 14px;
  62. line-height: inherit;
  63. }
  64. .divider-vertical {
  65. margin: 0;
  66. border-left: 1px solid @grayDark;
  67. border-right-width: 0;
  68. }
  69. .search-query,
  70. .search-query:focus,
  71. .search-query.focused {
  72. .border-radius(1px);
  73. background-color: @grayDark;
  74. line-height: normal;
  75. color: @grayLight;
  76. text-shadow: none;
  77. .placeholder(@gray);
  78. }
  79. &-inverse {
  80. }
  81. }
  82. div.subnav {
  83. margin: 0 1px;
  84. background-color: @grayDarker;
  85. background-image: none;
  86. border: none;
  87. border-bottom: 1px solid @grayDark;
  88. .nav > li > a,
  89. .nav > li:first-child > a,
  90. .nav > li:first-child > a:hover {
  91. padding: 11px 12px;
  92. border: none;
  93. background-color: @grayDarker;
  94. color: @grayLight;
  95. }
  96. .nav > li > a:hover,
  97. .nav > li.active > a,
  98. .nav > li.active > a:hover,
  99. .nav > li:first-child > a:hover {
  100. padding: 11px 12px;
  101. background: transparent;
  102. border: none;
  103. border-bottom: 1px solid @blue;
  104. color: @white;
  105. }
  106. .nav li.nav-header {
  107. text-shadow: none;
  108. }
  109. &-fixed {
  110. top: @navbarHeight;
  111. margin: 0;
  112. }
  113. }
  114. // NAV
  115. // -----------------------------------------------------
  116. .nav-tabs {
  117. border-bottom: none;
  118. & > li > a {
  119. .border-radius(0);
  120. }
  121. li > a:hover,
  122. li.active > a,
  123. li.active > a:focus,
  124. li.active > a:hover {
  125. border-color: transparent;
  126. background-color: transparent;
  127. border-bottom: 2px solid @blue;
  128. color: @white;
  129. }
  130. li.disabled > a {
  131. color: @textColor;
  132. }
  133. .open .dropdown-toggle {
  134. background-color: #060606;
  135. border-color: transparent;
  136. }
  137. }
  138. .nav-pills {
  139. li > a:hover {
  140. background-color: @blue;
  141. color: @white;
  142. }
  143. li.disabled > a {
  144. color: @textColor;
  145. }
  146. .open .dropdown-toggle {
  147. background-color: #060606;
  148. }
  149. .dropdown-menu li > a:hover {
  150. border: none;
  151. }
  152. }
  153. .nav-list {
  154. li > a {
  155. text-shadow: none;
  156. }
  157. li > a:hover {
  158. background-color: @blue;
  159. color: @white;
  160. }
  161. .nav-header {
  162. text-shadow: none;
  163. }
  164. .divider {
  165. background-color: transparent;
  166. border-bottom: 1px solid @grayDark;
  167. }
  168. }
  169. .nav-stacked {
  170. li > a {
  171. border: 1px solid @grayDark !important;
  172. }
  173. li > a:hover,
  174. li.active > a {
  175. background-color: @blue;
  176. color: @white;
  177. }
  178. }
  179. .tabbable {
  180. .nav-tabs,
  181. .nav-tabs li.active > a {
  182. border-color: @grayDark;
  183. }
  184. }
  185. .breadcrumb {
  186. background-color: transparent;
  187. background-image: none;
  188. border-width: 0;
  189. .box-shadow(none);
  190. font-size: 14px;
  191. li {
  192. text-shadow: none;
  193. }
  194. li > a {
  195. color: @blue;
  196. text-shadow: none;
  197. }
  198. }
  199. .pagination {
  200. ul {
  201. .box-shadow(none);
  202. }
  203. ul > li > a:hover,
  204. ul > .active > a,
  205. ul > .active > span {
  206. // color: @white;
  207. }
  208. ul > .disabled > a,
  209. ul > .disabled > a:hover,
  210. ul > .disabled > span,
  211. ul > .disabled > span:hover {
  212. background-color: rgba(0, 0, 0, 0.2);
  213. }
  214. }
  215. .pager {
  216. li > a,
  217. li > span {
  218. background-color: @bodyBackground;
  219. border: none;
  220. &:hover {
  221. background-color: @blue;
  222. }
  223. }
  224. .disabled a,
  225. .disabled a:hover {
  226. background-color: @bodyBackground;
  227. }
  228. }
  229. // BUTTONS
  230. // -----------------------------------------------------
  231. .btn {
  232. padding: 8px 12px;
  233. margin-right:10px;
  234. background-image: none;
  235. // .box-shadow(0px 0px 8px @bodyBackground);
  236. border: none;
  237. .border-radius(0px);
  238. text-shadow: none;
  239. &.disabled {
  240. box-shadow: inset 0 2px 4px rgba(0,0,0,.15),~" "0 1px 2px rgba(0,0,0,.05);
  241. }
  242. }
  243. .btn-inverse {
  244. border: 1px solid #444;
  245. box-shadow: none;
  246. }
  247. .btn-large {
  248. padding: 6px 20px;
  249. }
  250. .btn-small {
  251. padding: 2px 10px;
  252. }
  253. .btn-mini {
  254. padding: 2px 6px;
  255. margin-right: 0;
  256. margin-right: 0;
  257. }
  258. .btn-group {
  259. & > .btn + .dropdown-toggle {
  260. .box-shadow(none);
  261. }
  262. }
  263. // FORMS
  264. // -----------------------------------------------------
  265. input, textarea, select {
  266. border-width: 2px;
  267. .border-radius(1px);
  268. }
  269. select, textarea,
  270. input[type="text"], input[type="password"], input[type="datetime"],
  271. input[type="datetime-local"], input[type="date"], input[type="month"],
  272. input[type="time"], input[type="week"], input[type="number"],
  273. input[type="email"], input[type="url"], input[type="search"],
  274. input[type="tel"], input[type="color"], .uneditable-input {
  275. color: @grayLight;
  276. }
  277. input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly], .uneditable-input {
  278. border-color: #444;
  279. }
  280. input:focus,
  281. textarea:focus,
  282. input.focused,
  283. textarea.focused {
  284. border-color: rgba(82,168,236,1);
  285. outline: 0;
  286. outline: thin dotted \9; /* IE6-9 */
  287. }
  288. input[type="file"]:focus,
  289. input[type="radio"]:focus,
  290. input[type="checkbox"]:focus,
  291. select:focus {
  292. .box-shadow(none); // override for file inputs
  293. .tab-focus();
  294. }
  295. legend, label {
  296. color: @textColor;
  297. border-bottom: 0px solid #222;
  298. }
  299. .form-actions {
  300. border-top: 1px solid #222;
  301. }
  302. // TABLES
  303. // -----------------------------------------------------
  304. .table {
  305. .border-radius(1px);
  306. tbody tr.success td {
  307. background-color: @green;
  308. color: @white;
  309. }
  310. tbody tr.error td {
  311. background-color: @red;
  312. color: @white;
  313. }
  314. tbody tr.info td {
  315. background-color: @blue;
  316. color: @white;
  317. }
  318. }
  319. // ALERTS, LABELS, BADGES
  320. // -----------------------------------------------------
  321. .alert,
  322. .alert .alert-heading,
  323. .alert-success,
  324. .alert-success .alert-heading,
  325. .alert-danger,
  326. .alert-error,
  327. .alert-danger .alert-heading,
  328. .alert-error .alert-heading,
  329. .alert-info,
  330. .alert-info .alert-heading {
  331. color: @white;
  332. text-shadow: none;
  333. border: none;
  334. }
  335. .label {
  336. color: @white;
  337. }
  338. .badge {
  339. border-radius: 0;
  340. font-weight: 200;
  341. }
  342. .label, .alert { background-color: darken(@gray, 20%); }
  343. .label:hover { background-color: darken(@gray, 30%); }
  344. .label-important,
  345. .alert-danger,
  346. .alert-error { background-color: @red; }
  347. .label-important:hover { background-color: darken(@red, 10%); }
  348. .label-warning { background-color: darken(@orange, 10%); }
  349. .label-warning:hover { background-color: darken(@orange, 20%); }
  350. .label-success, .alert-success { background-color: darken(@green, 3%); }
  351. .label-success:hover { background-color: darken(@green, 13%); }
  352. .label-info, .alert-info { background-color: darken(@blueDark, 10%); }
  353. .label-info:hover { background-color: darken(@blueDark, 20%); }
  354. // MISC
  355. // -----------------------------------------------------
  356. a:hover {
  357. text-decoration: none;
  358. }
  359. .well, .hero-unit {
  360. .border-radius(0px);
  361. }
  362. .well, .hero-unit {
  363. border-top: solid 1px lighten(@grayDark, 5%);
  364. .box-shadow(0 2px 4px rgba(0,0,0,.8));
  365. }
  366. .thumbnail {
  367. border-color: @grayDark;
  368. }
  369. .progress {
  370. background-color: #060606;
  371. background-image: none;
  372. .border-radius(0);
  373. }
  374. .modal {
  375. background-color: @grafanaPanelBackground;
  376. }
  377. .modal-header {
  378. border-bottom: 1px solid @grafanaPanelBackground;
  379. }
  380. .modal-footer {
  381. background-color: @grafanaPanelBackground;
  382. border-top: 1px solid @grafanaPanelBackground;
  383. .border-radius(0 0 0px 0px);
  384. .box-shadow(none);
  385. }
  386. .popover {
  387. .border-radius(0);
  388. &-title {
  389. border-bottom: none;
  390. color: @white;
  391. }
  392. }
  393. .footer {
  394. border-top: 1px solid @grayDark;
  395. }
  396. // MEDIA QUERIES
  397. // -----------------------------------------------------
  398. .caret {
  399. color: @textColor
  400. }
  401. .dropdown-submenu > a:after {
  402. border-left-color: @textColor;
  403. }