_bootswatch.scss 7.0 KB

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