bootswatch.dark.less 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578
  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. @media (max-width: @navbarCollapseWidth) {
  83. .navbar .nav-collapse {
  84. .nav li > a {
  85. border: none;
  86. color: @grayLighter;
  87. font-weight: normal;
  88. text-shadow: none;
  89. &:hover {
  90. border: none;
  91. background-color: @blue;
  92. }
  93. }
  94. .nav .active > a {
  95. border: none;
  96. background-color: @blue;
  97. }
  98. .dropdown-menu a:hover {
  99. background-color: @blue;
  100. }
  101. .navbar-form,
  102. .navbar-search {
  103. border-top: none;
  104. border-bottom: none;
  105. }
  106. .nav-header {
  107. color: rgba(128, 128, 128, 0.6);
  108. }
  109. }
  110. .navbar-inverse .nav-collapse {
  111. .nav li > a:hover {
  112. background-color: #111;
  113. }
  114. .nav .active > a {
  115. background-color: #111;
  116. }
  117. .nav li.dropdown.open > .dropdown-toggle,
  118. .nav li.dropdown.active > .dropdown-toggle,
  119. .nav li.dropdown.open.active > .dropdown-toggle {
  120. background-color: #111;
  121. }
  122. }
  123. }
  124. .dropdown-menu {
  125. .border-radius(0);
  126. }
  127. div.subnav {
  128. margin: 0 1px;
  129. background-color: @grayDarker;
  130. background-image: none;
  131. border: none;
  132. border-bottom: 1px solid @grayDark;
  133. .nav > li > a,
  134. .nav > li:first-child > a,
  135. .nav > li:first-child > a:hover {
  136. padding: 11px 12px;
  137. border: none;
  138. background-color: @grayDarker;
  139. color: @grayLight;
  140. }
  141. .nav > li > a:hover,
  142. .nav > li.active > a,
  143. .nav > li.active > a:hover,
  144. .nav > li:first-child > a:hover {
  145. padding: 11px 12px;
  146. background: transparent;
  147. border: none;
  148. border-bottom: 1px solid @blue;
  149. color: @white;
  150. }
  151. .nav li.nav-header {
  152. text-shadow: none;
  153. }
  154. &-fixed {
  155. top: @navbarHeight;
  156. margin: 0;
  157. }
  158. }
  159. // NAV
  160. // -----------------------------------------------------
  161. .nav-tabs {
  162. border-bottom: none;
  163. & > li > a {
  164. .border-radius(0);
  165. }
  166. li > a:hover,
  167. li.active > a,
  168. li.active > a:focus,
  169. li.active > a:hover {
  170. border-color: transparent;
  171. background-color: transparent;
  172. border-bottom: 2px solid @blue;
  173. color: @white;
  174. }
  175. li.disabled > a {
  176. color: @textColor;
  177. }
  178. .open .dropdown-toggle {
  179. background-color: #060606;
  180. border-color: transparent;
  181. }
  182. }
  183. .nav-pills {
  184. li > a:hover {
  185. background-color: @blue;
  186. color: @white;
  187. }
  188. li.disabled > a {
  189. color: @textColor;
  190. }
  191. .open .dropdown-toggle {
  192. background-color: #060606;
  193. }
  194. .dropdown-menu li > a:hover {
  195. border: none;
  196. }
  197. }
  198. .nav-list {
  199. li > a {
  200. text-shadow: none;
  201. }
  202. li > a:hover {
  203. background-color: @blue;
  204. color: @white;
  205. }
  206. .nav-header {
  207. text-shadow: none;
  208. }
  209. .divider {
  210. background-color: transparent;
  211. border-bottom: 1px solid @grayDark;
  212. }
  213. }
  214. .nav-stacked {
  215. li > a {
  216. border: 1px solid @grayDark !important;
  217. }
  218. li > a:hover,
  219. li.active > a {
  220. background-color: @blue;
  221. color: @white;
  222. }
  223. }
  224. .tabbable {
  225. .nav-tabs,
  226. .nav-tabs li.active > a {
  227. border-color: @grayDark;
  228. }
  229. }
  230. .breadcrumb {
  231. background-color: transparent;
  232. background-image: none;
  233. border-width: 0;
  234. .box-shadow(none);
  235. font-size: 14px;
  236. li {
  237. text-shadow: none;
  238. }
  239. li > a {
  240. color: @blue;
  241. text-shadow: none;
  242. }
  243. }
  244. .pagination {
  245. ul {
  246. .box-shadow(none);
  247. }
  248. ul > li > a:hover,
  249. ul > .active > a,
  250. ul > .active > span {
  251. // color: @white;
  252. }
  253. ul > .disabled > a,
  254. ul > .disabled > a:hover,
  255. ul > .disabled > span,
  256. ul > .disabled > span:hover {
  257. background-color: rgba(0, 0, 0, 0.2);
  258. }
  259. }
  260. .pager {
  261. li > a,
  262. li > span {
  263. background-color: @bodyBackground;
  264. border: none;
  265. &:hover {
  266. background-color: @blue;
  267. }
  268. }
  269. .disabled a,
  270. .disabled a:hover {
  271. background-color: @bodyBackground;
  272. }
  273. }
  274. // BUTTONS
  275. // -----------------------------------------------------
  276. .btn {
  277. padding: 7px 12px 5px 12px;
  278. background-image: none;
  279. // .box-shadow(0px 0px 8px @bodyBackground);
  280. border: none;
  281. .border-radius(0px);
  282. text-shadow: none;
  283. &.disabled {
  284. box-shadow: inset 0 2px 4px rgba(0,0,0,.15),~" "0 1px 2px rgba(0,0,0,.05);
  285. }
  286. }
  287. .btn-inverse {
  288. border: 1px solid #444;
  289. box-shadow: none;
  290. }
  291. .btn-large {
  292. padding: 6px 20px;
  293. }
  294. .btn-small {
  295. padding: 2px 10px;
  296. }
  297. .btn-mini {
  298. padding: 2px 6px;
  299. }
  300. .btn-group {
  301. & > .btn + .dropdown-toggle {
  302. .box-shadow(none);
  303. }
  304. }
  305. // FORMS
  306. // -----------------------------------------------------
  307. input, textarea, select {
  308. border-width: 2px;
  309. .border-radius(1px);
  310. }
  311. select, textarea,
  312. input[type="text"], input[type="password"], input[type="datetime"],
  313. input[type="datetime-local"], input[type="date"], input[type="month"],
  314. input[type="time"], input[type="week"], input[type="number"],
  315. input[type="email"], input[type="url"], input[type="search"],
  316. input[type="tel"], input[type="color"], .uneditable-input {
  317. color: @grayLight;
  318. }
  319. input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly], .uneditable-input {
  320. border-color: #444;
  321. }
  322. input:focus,
  323. textarea:focus,
  324. input.focused,
  325. textarea.focused {
  326. border-color: rgba(82,168,236,1);
  327. outline: 0;
  328. outline: thin dotted \9; /* IE6-9 */
  329. }
  330. input[type="file"]:focus,
  331. input[type="radio"]:focus,
  332. input[type="checkbox"]:focus,
  333. select:focus {
  334. .box-shadow(none); // override for file inputs
  335. .tab-focus();
  336. }
  337. legend, label {
  338. color: @textColor;
  339. border-bottom: 0px solid #222;
  340. }
  341. .form-actions {
  342. border-top: 1px solid #222;
  343. }
  344. // TABLES
  345. // -----------------------------------------------------
  346. .table {
  347. .border-radius(1px);
  348. tbody tr.success td {
  349. background-color: @green;
  350. color: @white;
  351. }
  352. tbody tr.error td {
  353. background-color: @red;
  354. color: @white;
  355. }
  356. tbody tr.info td {
  357. background-color: @blue;
  358. color: @white;
  359. }
  360. }
  361. // ALERTS, LABELS, BADGES
  362. // -----------------------------------------------------
  363. .alert,
  364. .alert .alert-heading,
  365. .alert-success,
  366. .alert-success .alert-heading,
  367. .alert-danger,
  368. .alert-error,
  369. .alert-danger .alert-heading,
  370. .alert-error .alert-heading,
  371. .alert-info,
  372. .alert-info .alert-heading {
  373. color: @white;
  374. text-shadow: none;
  375. border: none;
  376. }
  377. .label {
  378. color: @white;
  379. }
  380. .badge {
  381. border-radius: 0;
  382. font-weight: 200;
  383. }
  384. .label, .alert { background-color: darken(@gray, 20%); }
  385. .label:hover { background-color: darken(@gray, 30%); }
  386. .label-important,
  387. .alert-danger,
  388. .alert-error { background-color: @red; }
  389. .label-important:hover { background-color: darken(@red, 10%); }
  390. .label-warning { background-color: darken(@orange, 10%); }
  391. .label-warning:hover { background-color: darken(@orange, 20%); }
  392. .label-success, .alert-success { background-color: darken(@green, 3%); }
  393. .label-success:hover { background-color: darken(@green, 13%); }
  394. .label-info, .alert-info { background-color: darken(@blueDark, 10%); }
  395. .label-info:hover { background-color: darken(@blueDark, 20%); }
  396. // MISC
  397. // -----------------------------------------------------
  398. a:hover {
  399. text-decoration: none;
  400. }
  401. .well, .hero-unit {
  402. .border-radius(0px);
  403. }
  404. .well, .hero-unit {
  405. border-top: solid 1px lighten(@grayDark, 5%);
  406. .box-shadow(0 2px 4px rgba(0,0,0,.8));
  407. }
  408. .thumbnail {
  409. border-color: @grayDark;
  410. }
  411. .progress {
  412. background-color: #060606;
  413. background-image: none;
  414. .border-radius(0);
  415. }
  416. .modal {
  417. background-color: @grafanaPanelBackground;
  418. }
  419. .modal-header {
  420. border-bottom: 1px solid @grafanaPanelBackground;
  421. }
  422. .modal-footer {
  423. background-color: @grafanaPanelBackground;
  424. border-top: 1px solid @grafanaPanelBackground;
  425. .border-radius(0 0 0px 0px);
  426. .box-shadow(none);
  427. }
  428. .popover {
  429. .border-radius(0);
  430. &-title {
  431. border-bottom: none;
  432. color: @white;
  433. }
  434. }
  435. .footer {
  436. border-top: 1px solid @grayDark;
  437. }
  438. // MEDIA QUERIES
  439. // -----------------------------------------------------
  440. .caret {
  441. color: @textColor
  442. }
  443. .dropdown-submenu > a:after {
  444. border-left-color: @textColor;
  445. }