bootswatch.light.less 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554
  1. // Cosmo 2.3.2
  2. // Bootswatch
  3. // -----------------------------------------------------
  4. // TYPOGRAPHY
  5. // -----------------------------------------------------
  6. body {
  7. font-weight: 300;
  8. background: @bodyBackground;
  9. //url('../img/light.png') repeat right top;
  10. }
  11. blockquote {
  12. padding: 10px 15px;
  13. background-color: @grayLighter;
  14. border-left-color: @gray;
  15. &.pull-right {
  16. padding: 10px 15px;
  17. border-right-color: @gray;
  18. }
  19. small {
  20. color: @gray;
  21. }
  22. }
  23. .muted {
  24. color: @gray;
  25. }
  26. .text-warning { color: @orange; }
  27. a.text-warning:hover { color: darken(@orange, 10%); }
  28. .text-error { color: @red; }
  29. a.text-error:hover { color: darken(@red, 10%); }
  30. .text-info { color: @purple; }
  31. a.text-info:hover { color: darken(@purple, 10%); }
  32. .text-success { color: @green; }
  33. a.text-success:hover { color: darken(@green, 10%); }
  34. // SCAFFOLDING
  35. // -----------------------------------------------------
  36. // NAVBAR
  37. // -----------------------------------------------------
  38. .navbar {
  39. .navbar-inner {
  40. background-image: none;
  41. .box-shadow(none);
  42. .border-radius(0);
  43. }
  44. .brand {
  45. padding: 0px 15px;
  46. &:hover {
  47. color: @navbarLinkColorHover;
  48. }
  49. }
  50. .nav > .active > a,
  51. .nav > .active > a:hover,
  52. .nav > .active > a:focus {
  53. .box-shadow(none);
  54. background-color: @navbarLinkBackgroundHover;
  55. }
  56. .nav li.dropdown.open > .dropdown-toggle,
  57. .nav li.dropdown.active > .dropdown-toggle,
  58. .nav li.dropdown.open.active > .dropdown-toggle {
  59. color: @navbarLinkColorActive;
  60. &:hover {
  61. color: @grayLighter;
  62. }
  63. }
  64. .navbar-search .search-query {
  65. line-height: normal;
  66. }
  67. &-inverse {
  68. .brand,
  69. .nav > li > a {
  70. text-shadow: none;
  71. }
  72. .brand:hover,
  73. .nav > .active > a,
  74. .nav > .active > a:hover,
  75. .nav > .active > a:focus {
  76. background-color: @navbarInverseLinkBackgroundHover;
  77. .box-shadow(none);
  78. color: @white;
  79. }
  80. .navbar-search .search-query {
  81. color: @grayDarker;
  82. }
  83. }
  84. }
  85. div.subnav {
  86. margin: 0 1px;
  87. background: @grayLight none;
  88. .box-shadow(none);
  89. border: none;
  90. .border-radius(0);
  91. .nav {
  92. background-color: transparent;
  93. }
  94. .nav > li > a {
  95. border-color: transparent;
  96. }
  97. .nav > .active > a,
  98. .nav > .active > a:hover {
  99. border-color: transparent;
  100. background-color: @black;
  101. color: @white;
  102. .box-shadow(none);
  103. }
  104. &-fixed {
  105. top: @navbarHeight + 1;
  106. margin: 0;
  107. }
  108. }
  109. // NAV
  110. // -----------------------------------------------------
  111. .nav {
  112. .open .dropdown-toggle,
  113. & > li.dropdown.open.active > a:hover {
  114. color: @blue;
  115. }
  116. }
  117. .nav-tabs {
  118. & > li > a {
  119. .border-radius(0);
  120. }
  121. li > a:hover,
  122. li.active > a,
  123. li.active > a:hover {
  124. border-color: transparent;
  125. background-color: transparent;
  126. border-bottom: 2px solid @blue;
  127. color: @blue
  128. }
  129. li.disabled > a {
  130. color: @textColor;
  131. }
  132. .open .dropdown-toggle {
  133. background-color: #060606;
  134. border-color: transparent;
  135. }
  136. }
  137. .tabs-below,
  138. .tabs-left,
  139. .tabs-right {
  140. & > .nav-tabs > li > a{
  141. .border-radius(0);
  142. border: 0px;
  143. }
  144. }
  145. .nav-pills {
  146. & > li > a {
  147. //background-color: @grayLight;
  148. .border-radius(0);
  149. color: @black;
  150. &:hover {
  151. background-color: @black;
  152. color: @white;
  153. }
  154. }
  155. & > .disabled > a,
  156. & > .disabled > a:hover {
  157. background-color: @grayLighter;
  158. color: @grayDark;
  159. }
  160. }
  161. .nav-list {
  162. & > li > a {
  163. color: @grayDarker;
  164. &:hover {
  165. background-color: @blue;
  166. color: @white;
  167. text-shadow: none;
  168. }
  169. }
  170. .nav-header {
  171. color: @grayDarker;
  172. }
  173. .divider {
  174. background-color: @gray;
  175. border-bottom: none;
  176. }
  177. }
  178. .pagination {
  179. ul {
  180. .box-shadow(none);
  181. & > li > a,
  182. & > li > span {
  183. margin-right: 6px;
  184. color: @grayDarker;
  185. &:hover {
  186. background-color: @grayDarker;
  187. color: @white;
  188. }
  189. }
  190. & > li:last-child > a,
  191. & > li:last-child > span {
  192. margin-right: 0;
  193. }
  194. & > .active > a,
  195. & > .active > span {
  196. color: @white;
  197. }
  198. & > .disabled > span,
  199. & > .disabled > a,
  200. & > .disabled > a:hover {
  201. background-color: @grayLighter;
  202. color: @grayDark;
  203. }
  204. }
  205. }
  206. .pager {
  207. li > a,
  208. li > span {
  209. background-color: @grayLight;
  210. border: none;
  211. .border-radius(0);
  212. color: @grayDarker;
  213. &:hover {
  214. background-color: @grayDarker;
  215. color: @white;
  216. }
  217. }
  218. .disabled > a,
  219. .disabled > a:hover,
  220. .disabled > span {
  221. background-color: @grayLighter;
  222. color: @grayDark;
  223. }
  224. }
  225. .breadcrumb {
  226. background-color: @grayLight;
  227. li {
  228. text-shadow: none;
  229. }
  230. .divider,
  231. .active {
  232. color: @grayDarker;
  233. text-shadow: none;
  234. }
  235. }
  236. // BUTTONS
  237. // -----------------------------------------------------
  238. .btn {
  239. padding: 5px 12px;
  240. background-image: none;
  241. .box-shadow(none);
  242. border: none;
  243. .border-radius(0);
  244. text-shadow: none;
  245. &.disabled {
  246. box-shadow: inset 0 2px 4px rgba(0,0,0,.15),~" "0 1px 2px rgba(0,0,0,.05);
  247. }
  248. }
  249. .btn-large {
  250. padding: 22px 30px;
  251. }
  252. .btn-small {
  253. padding: 2px 10px;
  254. }
  255. .btn-mini {
  256. padding: 2px 6px;
  257. }
  258. .btn-group {
  259. & > .btn:first-child,
  260. & > .btn:last-child,
  261. & > .dropdown-toggle {
  262. .border-radius(0);
  263. }
  264. & > .btn + .dropdown-toggle {
  265. .box-shadow(none);
  266. }
  267. }
  268. legend, label {
  269. color: @textColor;
  270. border-bottom: 0px solid #222;
  271. }
  272. // TABLES
  273. // -----------------------------------------------------
  274. .table {
  275. tbody tr.success td {
  276. color: @white;
  277. }
  278. tbody tr.error td {
  279. color: @white;
  280. }
  281. tbody tr.info td {
  282. color: @white;
  283. }
  284. &-bordered {
  285. .border-radius(0);
  286. thead:first-child tr:first-child th:first-child,
  287. tbody:first-child tr:first-child td:first-child {
  288. .border-radius(0);
  289. }
  290. thead:last-child tr:last-child th:first-child,
  291. tbody:last-child tr:last-child td:first-child,
  292. tfoot:last-child tr:last-child td:first-child {
  293. .border-radius(0);
  294. }
  295. }
  296. }
  297. // FORMS
  298. // -----------------------------------------------------
  299. select, textarea, input[type="text"], input[type="password"], input[type="datetime"],
  300. input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"],
  301. input[type="week"], input[type="number"], input[type="email"], input[type="url"],
  302. input[type="search"], input[type="tel"], input[type="color"] {
  303. color: @grayDarker;
  304. }
  305. .control-group {
  306. &.warning {
  307. .control-label,
  308. .help-block,
  309. .help-inline {
  310. color: @orange;
  311. }
  312. input,
  313. select,
  314. textarea {
  315. border-color: @orange;
  316. color: @grayDarker;
  317. }
  318. }
  319. &.error {
  320. .control-label,
  321. .help-block,
  322. .help-inline {
  323. color: @red;
  324. }
  325. input,
  326. select,
  327. textarea {
  328. border-color: @red;
  329. color: @grayDarker;
  330. }
  331. }
  332. &.success {
  333. .control-label,
  334. .help-block,
  335. .help-inline {
  336. color: @green;
  337. }
  338. input,
  339. select,
  340. textarea {
  341. border-color: @green;
  342. color: @grayDarker;
  343. }
  344. }
  345. }
  346. legend {
  347. border-bottom: none;
  348. color: @grayDarker;
  349. }
  350. .form-actions {
  351. border-top: none;
  352. background-color: @grayLighter;
  353. }
  354. // DROPDOWNS
  355. // -----------------------------------------------------
  356. .dropdown-menu {
  357. .border-radius(0);
  358. }
  359. // ALERTS, LABELS, BADGES
  360. // -----------------------------------------------------
  361. .alert {
  362. text-shadow: none;
  363. &-heading, h1, h2, h3, h4, h5, h6 {
  364. color: @white;
  365. }
  366. }
  367. .label {
  368. &-success {
  369. background-color: @green;
  370. }
  371. &-important {
  372. background-color: @red;
  373. }
  374. &-info {
  375. background-color: @purple;
  376. }
  377. &-inverse {
  378. background-color: @black;
  379. }
  380. }
  381. .badge {
  382. border-radius: 0;
  383. font-weight: 200;
  384. }
  385. // MISC
  386. // -----------------------------------------------------
  387. a:hover {
  388. text-decoration: none;
  389. }
  390. .hero-unit {
  391. border: none;
  392. .border-radius(0);
  393. .box-shadow(none);
  394. }
  395. .well {
  396. border: none;
  397. .border-radius(0);
  398. .box-shadow(none);
  399. }
  400. a.thumbnail {
  401. background-color: @grayLight;
  402. &:hover {
  403. background-color: @gray;
  404. border-color: transparent;
  405. }
  406. }
  407. .progress {
  408. background-color: @grayLighter;
  409. background-image: none;
  410. .border-radius(0);
  411. }
  412. .modal {
  413. .border-radius(0);
  414. background-color: @bodyBackground;
  415. &-header {
  416. border-bottom: none;
  417. }
  418. &-footer {
  419. border-top: none;
  420. background-color: transparent;
  421. }
  422. }
  423. .popover {
  424. .border-radius(0);
  425. &-title {
  426. border-bottom: none;
  427. color: @white;
  428. }
  429. }
  430. // MEDIA QUERIES
  431. // -----------------------------------------------------