bootswatch.dark.less 9.0 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. //#gradient > .vertical (@bodyBackground, #252A30);
  26. //background: @bodyBackground;
  27. background: @bodyBackground;
  28. // url('../img/cubes.png') repeat right top;
  29. }
  30. .page-header {
  31. border-bottom: 1px solid @grayDark
  32. }
  33. hr {
  34. border-bottom: none;
  35. }
  36. // NAVBAR
  37. // -----------------------------------------------------
  38. .navbar {
  39. .navbar-inner {
  40. .border-radius(0);
  41. .box-shadow(none);
  42. }
  43. .brand {
  44. padding: 0px 15px;
  45. color: @navbarBrandColor;
  46. font-weight: normal;
  47. text-shadow: none;
  48. }
  49. .nav > li > a {
  50. padding: 15px 15px 14px;
  51. border-bottom: 1px solid transparent;
  52. }
  53. .nav > li > a:hover,
  54. .nav > .active > a,
  55. .nav > .active > a:hover {
  56. border-bottom: 1px solid @blue;
  57. }
  58. .nav > .active > a,
  59. .nav > .active > a:hover,
  60. .nav > .active > a:focus {
  61. .box-shadow(none);
  62. }
  63. .navbar-text {
  64. margin-bottom: 1px;
  65. padding: 15px 15px 14px;
  66. line-height: inherit;
  67. }
  68. .divider-vertical {
  69. margin: 0;
  70. border-left: 1px solid @grayDark;
  71. border-right-width: 0;
  72. }
  73. .search-query,
  74. .search-query:focus,
  75. .search-query.focused {
  76. .border-radius(1px);
  77. background-color: @grayDark;
  78. line-height: normal;
  79. color: @grayLight;
  80. text-shadow: none;
  81. .placeholder(@gray);
  82. }
  83. &-inverse {
  84. }
  85. }
  86. @media (max-width: @navbarCollapseWidth) {
  87. .navbar .nav-collapse {
  88. .nav li > a {
  89. border: none;
  90. color: @grayLighter;
  91. font-weight: normal;
  92. text-shadow: none;
  93. &:hover {
  94. border: none;
  95. background-color: @blue;
  96. }
  97. }
  98. .nav .active > a {
  99. border: none;
  100. background-color: @blue;
  101. }
  102. .dropdown-menu a:hover {
  103. background-color: @blue;
  104. }
  105. .navbar-form,
  106. .navbar-search {
  107. border-top: none;
  108. border-bottom: none;
  109. }
  110. .nav-header {
  111. color: rgba(128, 128, 128, 0.6);
  112. }
  113. }
  114. .navbar-inverse .nav-collapse {
  115. .nav li > a:hover {
  116. background-color: #111;
  117. }
  118. .nav .active > a {
  119. background-color: #111;
  120. }
  121. .nav li.dropdown.open > .dropdown-toggle,
  122. .nav li.dropdown.active > .dropdown-toggle,
  123. .nav li.dropdown.open.active > .dropdown-toggle {
  124. background-color: #111;
  125. }
  126. }
  127. }
  128. .dropdown-menu {
  129. .border-radius(0);
  130. }
  131. div.subnav {
  132. margin: 0 1px;
  133. background-color: @grayDarker;
  134. background-image: none;
  135. border: none;
  136. border-bottom: 1px solid @grayDark;
  137. .nav > li > a,
  138. .nav > li:first-child > a,
  139. .nav > li:first-child > a:hover {
  140. padding: 11px 12px;
  141. border: none;
  142. background-color: @grayDarker;
  143. color: @grayLight;
  144. }
  145. .nav > li > a:hover,
  146. .nav > li.active > a,
  147. .nav > li.active > a:hover,
  148. .nav > li:first-child > a:hover {
  149. padding: 11px 12px;
  150. background: transparent;
  151. border: none;
  152. border-bottom: 1px solid @blue;
  153. color: @white;
  154. }
  155. .nav li.nav-header {
  156. text-shadow: none;
  157. }
  158. &-fixed {
  159. top: @navbarHeight;
  160. margin: 0;
  161. }
  162. }
  163. // NAV
  164. // -----------------------------------------------------
  165. .nav-tabs {
  166. border-bottom: none;
  167. & > li > a {
  168. .border-radius(0);
  169. }
  170. li > a:hover,
  171. li.active > a,
  172. li.active > a:focus,
  173. li.active > a:hover {
  174. border-color: transparent;
  175. background-color: transparent;
  176. border-bottom: 2px solid @blue;
  177. color: @white;
  178. }
  179. li.disabled > a {
  180. color: @textColor;
  181. }
  182. .open .dropdown-toggle {
  183. background-color: #060606;
  184. border-color: transparent;
  185. }
  186. }
  187. .nav-pills {
  188. li > a:hover {
  189. background-color: @blue;
  190. color: @white;
  191. }
  192. li.disabled > a {
  193. color: @textColor;
  194. }
  195. .open .dropdown-toggle {
  196. background-color: #060606;
  197. }
  198. .dropdown-menu li > a:hover {
  199. border: none;
  200. }
  201. }
  202. .nav-list {
  203. li > a {
  204. text-shadow: none;
  205. }
  206. li > a:hover {
  207. background-color: @blue;
  208. color: @white;
  209. }
  210. .nav-header {
  211. text-shadow: none;
  212. }
  213. .divider {
  214. background-color: transparent;
  215. border-bottom: 1px solid @grayDark;
  216. }
  217. }
  218. .nav-stacked {
  219. li > a {
  220. border: 1px solid @grayDark !important;
  221. }
  222. li > a:hover,
  223. li.active > a {
  224. background-color: @blue;
  225. color: @white;
  226. }
  227. }
  228. .tabbable {
  229. .nav-tabs,
  230. .nav-tabs li.active > a {
  231. border-color: @grayDark;
  232. }
  233. }
  234. .breadcrumb {
  235. background-color: transparent;
  236. background-image: none;
  237. border-width: 0;
  238. .box-shadow(none);
  239. font-size: 14px;
  240. li {
  241. text-shadow: none;
  242. }
  243. li > a {
  244. color: @blue;
  245. text-shadow: none;
  246. }
  247. }
  248. .pagination {
  249. ul {
  250. .box-shadow(none);
  251. }
  252. ul > li > a:hover,
  253. ul > .active > a,
  254. ul > .active > span {
  255. // color: @white;
  256. }
  257. ul > .disabled > a,
  258. ul > .disabled > a:hover,
  259. ul > .disabled > span,
  260. ul > .disabled > span:hover {
  261. background-color: rgba(0, 0, 0, 0.2);
  262. }
  263. }
  264. .pager {
  265. li > a,
  266. li > span {
  267. background-color: @bodyBackground;
  268. border: none;
  269. &:hover {
  270. background-color: @blue;
  271. }
  272. }
  273. .disabled a,
  274. .disabled a:hover {
  275. background-color: @bodyBackground;
  276. }
  277. }
  278. // BUTTONS
  279. // -----------------------------------------------------
  280. .btn {
  281. padding: 5px 12px;
  282. background-image: none;
  283. .box-shadow(0px 0px 8px @bodyBackground);
  284. border: none;
  285. .border-radius(3px);
  286. text-shadow: none;
  287. &.disabled {
  288. box-shadow: inset 0 2px 4px rgba(0,0,0,.15),~" "0 1px 2px rgba(0,0,0,.05);
  289. }
  290. }
  291. .btn-inverse {
  292. border: 1px solid #444;
  293. }
  294. .btn-large {
  295. padding: 14px 23px;
  296. }
  297. .btn-small {
  298. padding: 2px 10px;
  299. }
  300. .btn-mini {
  301. padding: 2px 6px;
  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. }