bootswatch.less 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. // Superhero 3.1.1
  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 .navbar-nav {
  11. }
  12. }
  13. // Buttons ====================================================================
  14. .btn {
  15. font-weight: 300;
  16. &-default {
  17. &:hover {
  18. background-color: darken(@btn-default-bg, 3%);
  19. }
  20. }
  21. &-sm,
  22. &-xs {
  23. font-size: 12px;
  24. }
  25. }
  26. // Typography =================================================================
  27. body {
  28. font-weight: 300;
  29. }
  30. .text-primary,
  31. .text-primary:hover {
  32. color: @brand-primary;
  33. }
  34. .text-success,
  35. .text-success:hover {
  36. color: @brand-success;
  37. }
  38. .text-danger,
  39. .text-danger:hover {
  40. color: @brand-danger;
  41. }
  42. .text-warning,
  43. .text-warning:hover {
  44. color: @brand-warning;
  45. }
  46. .text-info,
  47. .text-info:hover {
  48. color: @brand-info;
  49. }
  50. .page-header {
  51. border-bottom-color: @table-border-color;
  52. }
  53. .dropdown-menu {
  54. border: none;
  55. margin: 0;
  56. .box-shadow(none);
  57. > li > a {
  58. font-size: 12px;
  59. font-weight: 300;
  60. }
  61. }
  62. .btn-group.open .dropdown-toggle {
  63. .box-shadow(none);
  64. }
  65. .dropdown-header {
  66. font-size: 12px;
  67. }
  68. // Tables =====================================================================
  69. table,
  70. .table {
  71. font-size: 12px;
  72. a {
  73. color: #fff;
  74. text-decoration: underline;
  75. }
  76. > thead > tr > th,
  77. > tbody > tr > th,
  78. > tfoot > tr > th,
  79. > thead > tr > td,
  80. > tbody > tr > td,
  81. > tfoot > tr > td {
  82. border-color: transparent;
  83. }
  84. }
  85. // Forms ======================================================================
  86. label,
  87. .radio label,
  88. .checkbox label,
  89. .help-block {
  90. font-size: 12px;
  91. font-weight: 300;
  92. }
  93. .input-addon,
  94. .input-group-addon {
  95. color: @text-color;
  96. }
  97. .has-warning {
  98. .help-block,
  99. .control-label {
  100. color: @brand-warning;
  101. }
  102. }
  103. .has-error {
  104. .help-block,
  105. .control-label {
  106. color: @brand-danger;
  107. }
  108. }
  109. .has-success {
  110. .help-block,
  111. .control-label {
  112. color: @brand-success;
  113. }
  114. }
  115. .form-control:focus {
  116. .box-shadow(none);
  117. }
  118. .has-warning,
  119. .has-error,
  120. .has-success {
  121. .form-control:focus {
  122. .box-shadow(none);
  123. }
  124. }
  125. // Navs =======================================================================
  126. .nav {
  127. .open > a,
  128. .open > a:hover,
  129. .open > a:focus {
  130. border-color: transparent;
  131. }
  132. }
  133. .nav-tabs {
  134. > li > a {
  135. color: @text-color;
  136. }
  137. }
  138. .nav-pills {
  139. > li > a {
  140. color: @text-color;
  141. }
  142. }
  143. .pager {
  144. a {
  145. color: @text-color;
  146. }
  147. }
  148. // Indicators =================================================================
  149. .label {
  150. font-weight: 300;
  151. }
  152. .alert {
  153. color: #fff;
  154. a,
  155. .alert-link {
  156. color: #fff;
  157. }
  158. }
  159. // Progress bars ==============================================================
  160. // Containers =================================================================
  161. .well {
  162. .box-shadow(none);
  163. }
  164. .panel {
  165. border: none;
  166. &-default > .panel-heading {
  167. background-color: @table-bg-hover;
  168. color: @text-color;
  169. }
  170. }
  171. .thumbnail {
  172. background-color: @well-bg;
  173. border: none;
  174. }
  175. .modal {
  176. padding: 0;
  177. &-header,
  178. &-footer {
  179. background-color: @table-bg-hover;
  180. border: none;
  181. border-radius: 0;
  182. }
  183. }
  184. .popover {
  185. &-title {
  186. border: none;
  187. }
  188. }