bootswatch.less 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. // Superhero 3.3.4
  2. // Bootswatch
  3. // -----------------------------------------------------
  4. @import url("//fonts.googleapis.com/css?family=Lato:300,400,700");
  5. // Navbar =====================================================================
  6. .navbar {
  7. .box-shadow(none);
  8. border: none;
  9. font-size: 12px;
  10. &-default {
  11. .badge {
  12. background-color: #fff;
  13. color: @navbar-default-bg;
  14. }
  15. }
  16. &-inverse {
  17. .badge {
  18. background-color: #fff;
  19. color: @navbar-inverse-bg;
  20. }
  21. }
  22. }
  23. // Buttons ====================================================================
  24. .btn {
  25. font-weight: 300;
  26. &-default {
  27. &:hover {
  28. background-color: darken(@btn-default-bg, 3%);
  29. }
  30. }
  31. &-sm,
  32. &-xs {
  33. font-size: 12px;
  34. }
  35. }
  36. // Typography =================================================================
  37. body {
  38. font-weight: 300;
  39. }
  40. .text-primary,
  41. .text-primary:hover {
  42. color: @brand-primary;
  43. }
  44. .text-success,
  45. .text-success:hover {
  46. color: @brand-success;
  47. }
  48. .text-danger,
  49. .text-danger:hover {
  50. color: @brand-danger;
  51. }
  52. .text-warning,
  53. .text-warning:hover {
  54. color: @brand-warning;
  55. }
  56. .text-info,
  57. .text-info:hover {
  58. color: @brand-info;
  59. }
  60. .page-header {
  61. border-bottom-color: @table-border-color;
  62. }
  63. .dropdown-menu {
  64. border: none;
  65. margin: 0;
  66. .box-shadow(none);
  67. > li > a {
  68. font-size: 12px;
  69. font-weight: 300;
  70. }
  71. }
  72. .btn-group.open .dropdown-toggle {
  73. .box-shadow(none);
  74. }
  75. .dropdown-header {
  76. font-size: 12px;
  77. }
  78. // Tables =====================================================================
  79. table,
  80. .table {
  81. font-size: 12px;
  82. a:not(.btn) {
  83. color: #fff;
  84. text-decoration: underline;
  85. }
  86. .dropdown-menu a {
  87. text-decoration: none;
  88. }
  89. .text-muted {
  90. color: @text-muted;
  91. }
  92. > thead > tr > th,
  93. > tbody > tr > th,
  94. > tfoot > tr > th,
  95. > thead > tr > td,
  96. > tbody > tr > td,
  97. > tfoot > tr > td {
  98. border-color: transparent;
  99. }
  100. }
  101. // Forms ======================================================================
  102. input,
  103. textarea {
  104. color: @input-color;
  105. }
  106. label,
  107. .radio label,
  108. .checkbox label,
  109. .help-block {
  110. font-size: 12px;
  111. font-weight: 300;
  112. }
  113. .input-addon,
  114. .input-group-addon {
  115. color: @text-color;
  116. }
  117. .has-warning {
  118. .help-block,
  119. .control-label,
  120. .form-control-feedback {
  121. color: @brand-warning;
  122. }
  123. .input-group-addon {
  124. border: none;
  125. }
  126. }
  127. .has-error {
  128. .help-block,
  129. .control-label,
  130. .form-control-feedback {
  131. color: @brand-danger;
  132. }
  133. .input-group-addon {
  134. border: none;
  135. }
  136. }
  137. .has-success {
  138. .help-block,
  139. .control-label,
  140. .form-control-feedback {
  141. color: @brand-success;
  142. }
  143. .input-group-addon {
  144. border: none;
  145. }
  146. }
  147. .form-control:focus {
  148. .box-shadow(none);
  149. }
  150. .has-warning,
  151. .has-error,
  152. .has-success {
  153. .form-control:focus {
  154. .box-shadow(none);
  155. }
  156. }
  157. // Navs =======================================================================
  158. .nav {
  159. .open > a,
  160. .open > a:hover,
  161. .open > a:focus {
  162. border-color: transparent;
  163. }
  164. }
  165. .nav-tabs {
  166. > li > a {
  167. color: @text-color;
  168. }
  169. }
  170. .nav-pills {
  171. > li > a {
  172. color: @text-color;
  173. }
  174. }
  175. .pager {
  176. a {
  177. color: @text-color;
  178. }
  179. }
  180. // Indicators =================================================================
  181. .label {
  182. font-weight: 300;
  183. }
  184. .alert {
  185. color: #fff;
  186. a,
  187. .alert-link {
  188. color: #fff;
  189. }
  190. }
  191. .close {
  192. opacity: 0.4;
  193. &:hover,
  194. &:focus {
  195. opacity: 1;
  196. }
  197. }
  198. // Progress bars ==============================================================
  199. // Containers =================================================================
  200. .well {
  201. .box-shadow(none);
  202. }
  203. a.list-group-item {
  204. &.active,
  205. &.active:hover,
  206. &.active:focus {
  207. border: none;
  208. }
  209. &-success {
  210. &.active {
  211. background-color: @state-success-bg;
  212. }
  213. &.active:hover,
  214. &.active:focus {
  215. background-color: darken(@state-success-bg, 5%);
  216. }
  217. }
  218. &-warning {
  219. &.active {
  220. background-color: @state-warning-bg;
  221. }
  222. &.active:hover,
  223. &.active:focus {
  224. background-color: darken(@state-warning-bg, 5%);
  225. }
  226. }
  227. &-danger {
  228. &.active {
  229. background-color: @state-danger-bg;
  230. }
  231. &.active:hover,
  232. &.active:focus {
  233. background-color: darken(@state-danger-bg, 5%);
  234. }
  235. }
  236. }
  237. .panel {
  238. border: none;
  239. &-default > .panel-heading {
  240. background-color: @table-bg-hover;
  241. color: @text-color;
  242. }
  243. }
  244. .thumbnail {
  245. background-color: @well-bg;
  246. border: none;
  247. }
  248. .modal {
  249. padding: 0;
  250. &-header,
  251. &-footer {
  252. background-color: @table-bg-hover;
  253. border: none;
  254. border-radius: 0;
  255. }
  256. }
  257. .popover {
  258. &-title {
  259. border: none;
  260. }
  261. }