bootswatch.dark.less 9.0 KB

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