bootswatch.light.less 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  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. border-bottom: 1px solid @blue;
  55. background-color: @navbarLinkBackgroundHover;
  56. }
  57. .nav li.dropdown.open > .dropdown-toggle,
  58. .nav li.dropdown.active > .dropdown-toggle,
  59. .nav li.dropdown.open.active > .dropdown-toggle {
  60. color: @navbarLinkColorActive;
  61. &:hover {
  62. color: @grayLighter;
  63. }
  64. }
  65. .navbar-search .search-query {
  66. line-height: normal;
  67. }
  68. }
  69. // NAV
  70. // -----------------------------------------------------
  71. .nav {
  72. .open .dropdown-toggle,
  73. & > li.dropdown.open.active > a:hover {
  74. color: @blue;
  75. }
  76. }
  77. .nav-tabs {
  78. & > li > a {
  79. .border-radius(0);
  80. }
  81. li > a:hover,
  82. li.active > a,
  83. li.active > a:focus,
  84. li.active > a:hover {
  85. border-color: transparent;
  86. background-color: transparent;
  87. border-bottom: 2px solid @blue;
  88. color: @blue
  89. }
  90. li.disabled > a {
  91. color: @textColor;
  92. }
  93. .open .dropdown-toggle {
  94. background-color: #060606;
  95. border-color: transparent;
  96. }
  97. }
  98. .tabs-below,
  99. .tabs-left,
  100. .tabs-right {
  101. & > .nav-tabs > li > a{
  102. .border-radius(0);
  103. border: 0px;
  104. }
  105. }
  106. // BUTTONS
  107. // -----------------------------------------------------
  108. .btn {
  109. padding: 8px 12px;
  110. background-image: none;
  111. .box-shadow(none);
  112. border: none;
  113. .border-radius(3px);
  114. text-shadow: 0 1px 0 rgba(0,0,0,.5);
  115. &.disabled {
  116. box-shadow: inset 0 2px 4px rgba(0,0,0,.15),~" "0 1px 2px rgba(0,0,0,.05);
  117. }
  118. }
  119. .btn-large {
  120. padding: 14px 23px;
  121. }
  122. .btn-small {
  123. padding: 2px 10px;
  124. }
  125. .btn-mini {
  126. padding: 2px 6px;
  127. }
  128. .btn-group {
  129. & > .btn:first-child,
  130. & > .btn:last-child,
  131. & > .dropdown-toggle {
  132. .border-radius(0);
  133. }
  134. & > .btn + .dropdown-toggle {
  135. .box-shadow(none);
  136. }
  137. }
  138. legend, label {
  139. color: @textColor;
  140. border-bottom: 0px solid #222;
  141. }
  142. // TABLES
  143. // -----------------------------------------------------
  144. .table {
  145. tbody tr.success td {
  146. color: @white;
  147. }
  148. tbody tr.error td {
  149. color: @white;
  150. }
  151. tbody tr.info td {
  152. color: @white;
  153. }
  154. &-bordered {
  155. .border-radius(0);
  156. thead:first-child tr:first-child th:first-child,
  157. tbody:first-child tr:first-child td:first-child {
  158. .border-radius(0);
  159. }
  160. thead:last-child tr:last-child th:first-child,
  161. tbody:last-child tr:last-child td:first-child,
  162. tfoot:last-child tr:last-child td:first-child {
  163. .border-radius(0);
  164. }
  165. }
  166. }
  167. // FORMS
  168. // -----------------------------------------------------
  169. select, textarea, input[type="text"], input[type="password"], input[type="datetime"],
  170. input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"],
  171. input[type="week"], input[type="number"], input[type="email"], input[type="url"],
  172. input[type="search"], input[type="tel"], input[type="color"] {
  173. color: @grayDarker;
  174. }
  175. .control-group {
  176. &.warning {
  177. .control-label,
  178. .help-block,
  179. .help-inline {
  180. color: @orange;
  181. }
  182. input,
  183. select,
  184. textarea {
  185. border-color: @orange;
  186. color: @grayDarker;
  187. }
  188. }
  189. &.error {
  190. .control-label,
  191. .help-block,
  192. .help-inline {
  193. color: @red;
  194. }
  195. input,
  196. select,
  197. textarea {
  198. border-color: @red;
  199. color: @grayDarker;
  200. }
  201. }
  202. &.success {
  203. .control-label,
  204. .help-block,
  205. .help-inline {
  206. color: @green;
  207. }
  208. input,
  209. select,
  210. textarea {
  211. border-color: @green;
  212. color: @grayDarker;
  213. }
  214. }
  215. }
  216. legend {
  217. border-bottom: none;
  218. color: @grayDarker;
  219. }
  220. .form-actions {
  221. border-top: none;
  222. background-color: @grayLighter;
  223. }
  224. // DROPDOWNS
  225. // -----------------------------------------------------
  226. .label {
  227. &-success {
  228. background-color: @green;
  229. }
  230. &-important {
  231. background-color: @red;
  232. }
  233. &-info {
  234. background-color: @purple;
  235. }
  236. &-inverse {
  237. background-color: @black;
  238. }
  239. }
  240. .badge {
  241. border-radius: 0;
  242. font-weight: 200;
  243. }
  244. // MISC
  245. // -----------------------------------------------------
  246. a:hover {
  247. text-decoration: none;
  248. }
  249. .hero-unit {
  250. border: none;
  251. .border-radius(0);
  252. .box-shadow(none);
  253. }
  254. .well {
  255. border: none;
  256. .border-radius(0);
  257. .box-shadow(none);
  258. }
  259. a.thumbnail {
  260. background-color: @grayLight;
  261. &:hover {
  262. background-color: @gray;
  263. border-color: transparent;
  264. }
  265. }
  266. .progress {
  267. background-color: @grayLighter;
  268. background-image: none;
  269. .border-radius(0);
  270. }
  271. .popover {
  272. .border-radius(0);
  273. &-title {
  274. border-bottom: none;
  275. color: @white;
  276. }
  277. }