bootswatch.dark.less 8.9 KB

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