_bootswatch.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. // Readable 3.3.4
  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. $margin-vertical: (($navbar-height - 2*$padding-base-vertical - $line-height-computed - 2px) / 2);
  15. padding: $padding-base-vertical $padding-base-horizontal;
  16. margin: $margin-vertical 6px;
  17. border: 1px solid transparent;
  18. border-radius: $border-radius-base;
  19. &:hover {
  20. border: 1px solid #ddd;
  21. }
  22. }
  23. &-nav > .active > a,
  24. &-nav > .active > a:hover {
  25. border: 1px solid #ddd;
  26. }
  27. &-default .navbar-nav > .active > a:hover {
  28. color: $navbar-default-link-hover-color;
  29. }
  30. &-inverse .navbar-nav > .active > a:hover {
  31. color: $navbar-inverse-link-hover-color;
  32. }
  33. &-brand {
  34. padding-top: (($navbar-height - 2*$font-size-large) / 2);
  35. padding-bottom: (($navbar-height - 2*$font-size-large) / 2);
  36. line-height: 1.9;
  37. }
  38. }
  39. @media (max-width: $grid-float-breakpoint) {
  40. .navbar {
  41. .navbar-nav > li > a {
  42. margin: 0;
  43. }
  44. }
  45. }
  46. // Buttons ====================================================================
  47. .btn {
  48. font-family: $headings-font-family;
  49. }
  50. // Typography =================================================================
  51. // Tables =====================================================================
  52. // Forms ======================================================================
  53. legend {
  54. font-family: $headings-font-family;
  55. }
  56. .input-group-addon {
  57. font-family: $font-family-sans-serif;
  58. }
  59. // Navs =======================================================================
  60. .nav {
  61. .open > a,
  62. .open > a:hover,
  63. .open > a:focus {
  64. border: 1px solid #ddd;
  65. }
  66. }
  67. .pagination {
  68. font-family: $headings-font-family;
  69. &-lg > li > a,
  70. &-lg > li > span {
  71. padding: 14px 24px;
  72. }
  73. }
  74. .pager {
  75. font-family: $headings-font-family;
  76. a {
  77. color: $text-color;
  78. }
  79. a:hover {
  80. border-color: transparent;
  81. color: #fff;
  82. }
  83. .disabled a {
  84. border-color: $pager-border;
  85. }
  86. }
  87. // Indicators =================================================================
  88. .close {
  89. color: #fff;
  90. text-decoration: none;
  91. text-shadow: none;
  92. opacity: 0.4;
  93. &:hover,
  94. &:focus {
  95. color: #fff;
  96. opacity: 1;
  97. }
  98. }
  99. .alert {
  100. .alert-link {
  101. color: $alert-success-text;
  102. text-decoration: underline;
  103. }
  104. }
  105. .label {
  106. font-family: $headings-font-family;
  107. font-weight: normal;
  108. &-default {
  109. border: 1px solid #ddd;
  110. color: $text-color;
  111. }
  112. }
  113. .badge {
  114. padding: 1px 7px 5px;
  115. vertical-align: 2px;
  116. font-family: $headings-font-family;
  117. font-weight: normal;
  118. }
  119. // Progress bars ==============================================================
  120. // Containers =================================================================
  121. .panel {
  122. @include box-shadow(none);
  123. &-default {
  124. .close {
  125. color: $text-color;
  126. }
  127. }
  128. }
  129. .modal {
  130. .close {
  131. color: $text-color;
  132. }
  133. }