bootswatch.dark.less 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579
  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: 6px 12px;
  278. margin-right:10px;
  279. background-image: none;
  280. // .box-shadow(0px 0px 8px @bodyBackground);
  281. border: none;
  282. .border-radius(0px);
  283. text-shadow: none;
  284. &.disabled {
  285. box-shadow: inset 0 2px 4px rgba(0,0,0,.15),~" "0 1px 2px rgba(0,0,0,.05);
  286. }
  287. }
  288. .btn-inverse {
  289. border: 1px solid #444;
  290. box-shadow: none;
  291. }
  292. .btn-large {
  293. padding: 6px 20px;
  294. }
  295. .btn-small {
  296. padding: 2px 10px;
  297. }
  298. .btn-mini {
  299. padding: 2px 6px;
  300. }
  301. .btn-group {
  302. & > .btn + .dropdown-toggle {
  303. .box-shadow(none);
  304. }
  305. }
  306. // FORMS
  307. // -----------------------------------------------------
  308. input, textarea, select {
  309. border-width: 2px;
  310. .border-radius(1px);
  311. }
  312. select, textarea,
  313. input[type="text"], input[type="password"], input[type="datetime"],
  314. input[type="datetime-local"], input[type="date"], input[type="month"],
  315. input[type="time"], input[type="week"], input[type="number"],
  316. input[type="email"], input[type="url"], input[type="search"],
  317. input[type="tel"], input[type="color"], .uneditable-input {
  318. color: @grayLight;
  319. }
  320. input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly], .uneditable-input {
  321. border-color: #444;
  322. }
  323. input:focus,
  324. textarea:focus,
  325. input.focused,
  326. textarea.focused {
  327. border-color: rgba(82,168,236,1);
  328. outline: 0;
  329. outline: thin dotted \9; /* IE6-9 */
  330. }
  331. input[type="file"]:focus,
  332. input[type="radio"]:focus,
  333. input[type="checkbox"]:focus,
  334. select:focus {
  335. .box-shadow(none); // override for file inputs
  336. .tab-focus();
  337. }
  338. legend, label {
  339. color: @textColor;
  340. border-bottom: 0px solid #222;
  341. }
  342. .form-actions {
  343. border-top: 1px solid #222;
  344. }
  345. // TABLES
  346. // -----------------------------------------------------
  347. .table {
  348. .border-radius(1px);
  349. tbody tr.success td {
  350. background-color: @green;
  351. color: @white;
  352. }
  353. tbody tr.error td {
  354. background-color: @red;
  355. color: @white;
  356. }
  357. tbody tr.info td {
  358. background-color: @blue;
  359. color: @white;
  360. }
  361. }
  362. // ALERTS, LABELS, BADGES
  363. // -----------------------------------------------------
  364. .alert,
  365. .alert .alert-heading,
  366. .alert-success,
  367. .alert-success .alert-heading,
  368. .alert-danger,
  369. .alert-error,
  370. .alert-danger .alert-heading,
  371. .alert-error .alert-heading,
  372. .alert-info,
  373. .alert-info .alert-heading {
  374. color: @white;
  375. text-shadow: none;
  376. border: none;
  377. }
  378. .label {
  379. color: @white;
  380. }
  381. .badge {
  382. border-radius: 0;
  383. font-weight: 200;
  384. }
  385. .label, .alert { background-color: darken(@gray, 20%); }
  386. .label:hover { background-color: darken(@gray, 30%); }
  387. .label-important,
  388. .alert-danger,
  389. .alert-error { background-color: @red; }
  390. .label-important:hover { background-color: darken(@red, 10%); }
  391. .label-warning { background-color: darken(@orange, 10%); }
  392. .label-warning:hover { background-color: darken(@orange, 20%); }
  393. .label-success, .alert-success { background-color: darken(@green, 3%); }
  394. .label-success:hover { background-color: darken(@green, 13%); }
  395. .label-info, .alert-info { background-color: darken(@blueDark, 10%); }
  396. .label-info:hover { background-color: darken(@blueDark, 20%); }
  397. // MISC
  398. // -----------------------------------------------------
  399. a:hover {
  400. text-decoration: none;
  401. }
  402. .well, .hero-unit {
  403. .border-radius(0px);
  404. }
  405. .well, .hero-unit {
  406. border-top: solid 1px lighten(@grayDark, 5%);
  407. .box-shadow(0 2px 4px rgba(0,0,0,.8));
  408. }
  409. .thumbnail {
  410. border-color: @grayDark;
  411. }
  412. .progress {
  413. background-color: #060606;
  414. background-image: none;
  415. .border-radius(0);
  416. }
  417. .modal {
  418. background-color: @grafanaPanelBackground;
  419. }
  420. .modal-header {
  421. border-bottom: 1px solid @grafanaPanelBackground;
  422. }
  423. .modal-footer {
  424. background-color: @grafanaPanelBackground;
  425. border-top: 1px solid @grafanaPanelBackground;
  426. .border-radius(0 0 0px 0px);
  427. .box-shadow(none);
  428. }
  429. .popover {
  430. .border-radius(0);
  431. &-title {
  432. border-bottom: none;
  433. color: @white;
  434. }
  435. }
  436. .footer {
  437. border-top: 1px solid @grayDark;
  438. }
  439. // MEDIA QUERIES
  440. // -----------------------------------------------------
  441. .caret {
  442. color: @textColor
  443. }
  444. .dropdown-submenu > a:after {
  445. border-left-color: @textColor;
  446. }