bootswatch.less 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. // Cyborg 3.3.4
  2. // Bootswatch
  3. // -----------------------------------------------------
  4. @import url("//fonts.googleapis.com/css?family=Roboto:400,700");
  5. // Navbar =====================================================================
  6. // Buttons ====================================================================
  7. // Typography =================================================================
  8. .text-primary,
  9. .text-primary:hover {
  10. color: @brand-primary;
  11. }
  12. .text-success,
  13. .text-success:hover {
  14. color: @brand-success;
  15. }
  16. .text-danger,
  17. .text-danger:hover {
  18. color: @brand-danger;
  19. }
  20. .text-warning,
  21. .text-warning:hover {
  22. color: @brand-warning;
  23. }
  24. .text-info,
  25. .text-info:hover {
  26. color: @brand-info;
  27. }
  28. // Tables =====================================================================
  29. table,
  30. .table {
  31. color: #fff;
  32. a:not(.btn) {
  33. color: #fff;
  34. text-decoration: underline;
  35. }
  36. .dropdown-menu a {
  37. text-decoration: none;
  38. }
  39. .text-muted {
  40. color: @text-muted;
  41. }
  42. }
  43. .table-responsive > .table {
  44. background-color: @table-bg;
  45. }
  46. // Forms ======================================================================
  47. .has-warning {
  48. .help-block,
  49. .control-label,
  50. .form-control-feedback {
  51. color: @brand-warning;
  52. }
  53. .form-control,
  54. .form-control:focus,
  55. .input-group-addon {
  56. border-color: @brand-warning;
  57. }
  58. }
  59. .has-error {
  60. .help-block,
  61. .control-label,
  62. .form-control-feedback {
  63. color: @brand-danger;
  64. }
  65. .form-control,
  66. .form-control:focus,
  67. .input-group-addon {
  68. border-color: @brand-danger;
  69. }
  70. }
  71. .has-success {
  72. .help-block,
  73. .control-label,
  74. .form-control-feedback {
  75. color: @brand-success;
  76. }
  77. .form-control,
  78. .form-control:focus,
  79. .input-group-addon {
  80. border-color: @brand-success;
  81. }
  82. }
  83. legend {
  84. color: #fff;
  85. }
  86. .input-group-addon {
  87. background-color: @btn-default-bg;
  88. }
  89. // Navs =======================================================================
  90. .nav-tabs,
  91. .nav-pills,
  92. .breadcrumb,
  93. .pager {
  94. a {
  95. color: #fff;
  96. }
  97. }
  98. // Indicators =================================================================
  99. .alert {
  100. .alert-link,
  101. a {
  102. color: @alert-warning-text;
  103. text-decoration: underline;
  104. }
  105. .close {
  106. text-decoration: none;
  107. }
  108. }
  109. .close {
  110. color: #fff;
  111. text-decoration: none;
  112. opacity: 0.4;
  113. &:hover,
  114. &:focus {
  115. color: #fff;
  116. opacity: 1;
  117. }
  118. }
  119. // Progress bars ==============================================================
  120. // Containers =================================================================
  121. a.thumbnail:hover,
  122. a.thumbnail:focus,
  123. a.thumbnail.active {
  124. border-color: @thumbnail-border;
  125. }
  126. a.list-group-item {
  127. &.active,
  128. &.active:hover,
  129. &.active:focus {
  130. border-color: @list-group-border;
  131. }
  132. &-success {
  133. &.active {
  134. background-color: @state-success-bg;
  135. }
  136. &.active:hover,
  137. &.active:focus {
  138. background-color: darken(@state-success-bg, 5%);
  139. }
  140. }
  141. &-warning {
  142. &.active {
  143. background-color: @state-warning-bg;
  144. }
  145. &.active:hover,
  146. &.active:focus {
  147. background-color: darken(@state-warning-bg, 5%);
  148. }
  149. }
  150. &-danger {
  151. &.active {
  152. background-color: @state-danger-bg;
  153. }
  154. &.active:hover,
  155. &.active:focus {
  156. background-color: darken(@state-danger-bg, 5%);
  157. }
  158. }
  159. }
  160. .jumbotron {
  161. h1, h2, h3, h4, h5, h6 {
  162. color: #fff;
  163. }
  164. }