bootswatch.less 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  1. // Yeti 3.1.1
  2. // Bootswatch
  3. // -----------------------------------------------------
  4. @import url("//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,400,300,700");
  5. // Navbar =====================================================================
  6. .navbar {
  7. border: none;
  8. font-size: 13px;
  9. font-weight: 300;
  10. .navbar-toggle:hover .icon-bar {
  11. background-color: #b3b3b3;
  12. }
  13. &-collapse {
  14. border-top-color: @dropdown-divider-bg;
  15. .box-shadow(none);
  16. }
  17. .dropdown {
  18. &-menu {
  19. border: none;
  20. > li > a,
  21. > li > a:focus {
  22. background-color: transparent;
  23. font-size: 13px;
  24. font-weight: 300;
  25. }
  26. }
  27. &-header {
  28. color: rgba(255, 255, 255, 0.5);
  29. }
  30. }
  31. &-default {
  32. .dropdown-menu {
  33. background-color: @navbar-default-bg;
  34. > li > a,
  35. > li > a:focus {
  36. color: @navbar-default-color;
  37. }
  38. > li > a:hover,
  39. > .active > a,
  40. > .active > a:hover {
  41. background-color: @navbar-default-link-hover-bg;
  42. }
  43. }
  44. }
  45. &-inverse {
  46. .dropdown-menu {
  47. background-color: @navbar-inverse-bg;
  48. > li > a,
  49. > li > a:focus {
  50. color: @navbar-inverse-color;
  51. }
  52. > li > a:hover,
  53. > .active > a,
  54. > .active > a:hover {
  55. background-color: @navbar-inverse-link-hover-bg;
  56. }
  57. }
  58. }
  59. }
  60. // Buttons ====================================================================
  61. .btn {
  62. padding: 14px 28px;
  63. &-lg {
  64. padding: 16px 32px;
  65. }
  66. &-sm {
  67. padding: 8px 16px;
  68. }
  69. &-xs {
  70. padding: 4px 8px;
  71. }
  72. }
  73. .btn-group {
  74. .btn ~ .dropdown-toggle {
  75. padding-left: 16px;
  76. padding-right: 16px;
  77. }
  78. .dropdown-menu {
  79. border-top-width: 0;
  80. }
  81. &.dropup .dropdown-menu {
  82. border-top-width: 1px;
  83. border-bottom-width: 0;
  84. margin-bottom: 0;
  85. }
  86. .dropdown-toggle {
  87. &.btn-default ~ .dropdown-menu {
  88. background-color: @btn-default-bg;
  89. border-color: @btn-default-border;
  90. > li > a {
  91. color: @btn-default-color;
  92. }
  93. > li > a:hover {
  94. background-color: darken(@btn-default-bg, 8%);
  95. }
  96. }
  97. &.btn-primary ~ .dropdown-menu {
  98. background-color: @btn-primary-bg;
  99. border-color: @btn-primary-border;
  100. > li > a {
  101. color: @btn-primary-color;
  102. }
  103. > li > a:hover {
  104. background-color: darken(@btn-primary-bg, 8%);
  105. }
  106. }
  107. &.btn-success ~ .dropdown-menu {
  108. background-color: @btn-success-bg;
  109. border-color: @btn-success-border;
  110. > li > a {
  111. color: @btn-success-color;
  112. }
  113. > li > a:hover {
  114. background-color: darken(@btn-success-bg, 8%);
  115. }
  116. }
  117. &.btn-info ~ .dropdown-menu {
  118. background-color: @btn-info-bg;
  119. border-color: @btn-info-border;
  120. > li > a {
  121. color: @btn-info-color;
  122. }
  123. > li > a:hover {
  124. background-color: darken(@btn-info-bg, 8%);
  125. }
  126. }
  127. &.btn-warning ~ .dropdown-menu {
  128. background-color: @btn-warning-bg;
  129. border-color: @btn-warning-border;
  130. > li > a {
  131. color: @btn-warning-color;
  132. }
  133. > li > a:hover {
  134. background-color: darken(@btn-warning-bg, 8%);
  135. }
  136. }
  137. &.btn-danger ~ .dropdown-menu {
  138. background-color: @btn-danger-bg;
  139. border-color: @btn-danger-border;
  140. > li > a {
  141. color: @btn-danger-color;
  142. }
  143. > li > a:hover {
  144. background-color: darken(@btn-danger-bg, 8%);
  145. }
  146. }
  147. }
  148. }
  149. // Typography =================================================================
  150. .lead {
  151. color: @gray;
  152. }
  153. cite {
  154. font-style: italic;
  155. }
  156. blockquote {
  157. border-left-width: 1px;
  158. color: @gray;
  159. &.pull-right {
  160. border-right-width: 1px;
  161. }
  162. small {
  163. font-size: @font-size-small;
  164. font-weight: 300;
  165. }
  166. }
  167. // Tables =====================================================================
  168. table {
  169. font-size: @font-size-small;
  170. }
  171. // Forms ======================================================================
  172. input,
  173. .form-control {
  174. padding: 7px;
  175. font-size: @font-size-small;
  176. }
  177. label,
  178. .control-label,
  179. .help-block,
  180. .checkbox,
  181. .radio {
  182. font-size: @font-size-small;
  183. font-weight: normal;
  184. }
  185. .form-group .btn,
  186. .input-group-addon,
  187. .input-group-btn .btn {
  188. padding: 8px 14px;
  189. font-size: @font-size-small;
  190. }
  191. // Navs =======================================================================
  192. .nav {
  193. .open > a,
  194. .open > a:hover,
  195. .open > a:focus {
  196. border-color: transparent;
  197. }
  198. }
  199. .nav-tabs {
  200. > li > a {
  201. background-color: @btn-default-bg;
  202. color: @text-color;
  203. }
  204. .caret {
  205. border-top-color: @text-color;
  206. border-bottom-color: @text-color;
  207. }
  208. }
  209. .nav-pills {
  210. font-weight: 300;
  211. }
  212. .breadcrumb {
  213. border: 1px solid @table-border-color;
  214. border-radius: 3px;
  215. font-size: 10px;
  216. font-weight: 300;
  217. text-transform: uppercase;
  218. }
  219. .pagination {
  220. font-size: @font-size-small;
  221. font-weight: 300;
  222. color: @gray-light;
  223. > li {
  224. > a,
  225. > span {
  226. margin-left: 4px;
  227. color: @gray-light;
  228. }
  229. }
  230. > .active {
  231. > a,
  232. > span {
  233. color: #fff;
  234. }
  235. }
  236. > li,
  237. > li:first-child,
  238. > li:last-child {
  239. > a,
  240. > span {
  241. border-radius: 3px;
  242. }
  243. }
  244. &-lg > li > a {
  245. padding-left: 22px;
  246. padding-right: 22px;
  247. }
  248. &-sm > li > a {
  249. padding: 0 5px;
  250. }
  251. }
  252. .pager {
  253. font-size: @font-size-small;
  254. font-weight: 300;
  255. color: @gray-light;
  256. }
  257. .list-group {
  258. font-size: @font-size-small;
  259. font-weight: 300;
  260. }
  261. // Indicators =================================================================
  262. .alert {
  263. font-size: @font-size-small;
  264. font-weight: 300;
  265. a,
  266. .alert-link {
  267. font-weight: normal;
  268. color: #fff;
  269. text-decoration: underline;
  270. }
  271. }
  272. .label {
  273. padding-left: 1em;
  274. padding-right: 1em;
  275. border-radius: 0;
  276. font-weight: 300;
  277. &-default {
  278. background-color: @btn-default-bg;
  279. color: @btn-default-color;
  280. }
  281. }
  282. .badge {
  283. font-weight: 300;
  284. }
  285. // Progress bars ==============================================================
  286. .progress {
  287. height: 22px;
  288. padding: 2px;
  289. background-color: #f6f6f6;
  290. border: 1px solid #ccc;
  291. .box-shadow(none);
  292. }
  293. // Containers =================================================================
  294. .dropdown {
  295. &-menu {
  296. padding: 0;
  297. margin-top: 0;
  298. font-size: @font-size-small;
  299. > li > a {
  300. padding: 12px 15px;
  301. }
  302. }
  303. &-header {
  304. padding-left: 15px;
  305. padding-right: 15px;
  306. font-size: 9px;
  307. text-transform: uppercase;
  308. }
  309. }
  310. .popover {
  311. color: #fff;
  312. font-size: 12px;
  313. font-weight: 300;
  314. }
  315. .panel {
  316. &-heading,
  317. &-footer {
  318. border-top-right-radius: 0;
  319. border-top-left-radius: 0;
  320. }
  321. }