bootswatch.less 3.5 KB

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