bootswatch.less 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. // Readable 3.3.1
  2. // Bootswatch
  3. // -----------------------------------------------------
  4. @import url("//fonts.googleapis.com/css?family=Raleway:400,700");
  5. // Navbar =====================================================================
  6. .navbar {
  7. font-family: @headings-font-family;
  8. &-nav,
  9. &-form {
  10. margin-left: 0;
  11. margin-right: 0;
  12. }
  13. &-nav > li > a {
  14. padding: @padding-base-vertical @padding-base-horizontal;
  15. margin: 12px 6px;
  16. border: 1px solid transparent;
  17. border-radius: @border-radius-base;
  18. &:hover {
  19. border: 1px solid #ddd;
  20. }
  21. }
  22. &-nav > .active > a,
  23. &-nav > .active > a:hover {
  24. border: 1px solid #ddd;
  25. }
  26. &-default .navbar-nav > .active > a:hover {
  27. color: @navbar-default-link-hover-color;
  28. }
  29. &-inverse .navbar-nav > .active > a:hover {
  30. color: @navbar-inverse-link-hover-color;
  31. }
  32. &-brand {
  33. padding-top: 20px;
  34. }
  35. }
  36. @media (max-width: @grid-float-breakpoint) {
  37. .navbar {
  38. .navbar-nav > li > a {
  39. margin: 0;
  40. }
  41. }
  42. }
  43. // Buttons ====================================================================
  44. .btn {
  45. font-family: @headings-font-family;
  46. }
  47. // Typography =================================================================
  48. // Tables =====================================================================
  49. // Forms ======================================================================
  50. legend {
  51. font-family: @headings-font-family;
  52. }
  53. .input-group-addon {
  54. font-family: @font-family-sans-serif;
  55. }
  56. // Navs =======================================================================
  57. .nav {
  58. .open > a,
  59. .open > a:hover,
  60. .open > a:focus {
  61. border: 1px solid #ddd;
  62. }
  63. }
  64. .pagination {
  65. font-family: @headings-font-family;
  66. &-lg > li > a,
  67. &-lg > li > span {
  68. padding: 14px 24px;
  69. }
  70. }
  71. .pager {
  72. font-family: @headings-font-family;
  73. a {
  74. color: @text-color;
  75. }
  76. a:hover {
  77. border-color: transparent;
  78. color: #fff;
  79. }
  80. .disabled a {
  81. border-color: @pager-border;
  82. }
  83. }
  84. // Indicators =================================================================
  85. .close {
  86. color: #fff;
  87. text-decoration: none;
  88. text-shadow: none;
  89. opacity: 0.4;
  90. &:hover,
  91. &:focus {
  92. color: #fff;
  93. opacity: 1;
  94. }
  95. }
  96. .alert {
  97. .alert-link {
  98. color: @alert-success-text;
  99. text-decoration: underline;
  100. }
  101. }
  102. .label {
  103. font-family: @headings-font-family;
  104. font-weight: normal;
  105. &-default {
  106. border: 1px solid #ddd;
  107. color: @text-color;
  108. }
  109. }
  110. .badge {
  111. padding: 1px 7px 5px;
  112. vertical-align: 2px;
  113. font-family: @headings-font-family;
  114. font-weight: normal;
  115. }
  116. // Progress bars ==============================================================
  117. // Containers =================================================================
  118. .panel {
  119. .box-shadow(none);
  120. &-default {
  121. .close {
  122. color: @text-color;
  123. }
  124. }
  125. &-primary,
  126. &-success,
  127. &-warning,
  128. &-danger,
  129. &-info {
  130. .panel-heading {
  131. color: #fff;
  132. }
  133. .panel-body {
  134. border: 1px solid #ddd;
  135. border-top-width: 0;
  136. border-radius: 0 0 @border-radius-base @border-radius-base;
  137. }
  138. }
  139. }
  140. .modal {
  141. .close {
  142. color: @text-color;
  143. }
  144. }