| 1 |
// Readable 3.4.1 |
| 2 |
// Bootswatch |
| 3 |
// ----------------------------------------------------- |
| 4 |
|
| 5 |
$web-font-path: "https://fonts.googleapis.com/css?family=Raleway:400,700" !default; |
| 6 |
@import url($web-font-path); |
| 7 |
|
| 8 |
// Navbar ===================================================================== |
| 9 |
|
| 10 |
.navbar { |
| 11 |
font-family: $headings-font-family; |
| 12 |
|
| 13 |
&-nav, |
| 14 |
&-form { |
| 15 |
margin-left: 0; |
| 16 |
margin-right: 0; |
| 17 |
} |
| 18 |
|
| 19 |
&-nav > li > a { |
| 20 |
$margin-vertical: (($navbar-height - 2*$padding-base-vertical - $line-height-computed - 2px) / 2); |
| 21 |
margin: $margin-vertical 6px; |
| 22 |
padding: $padding-base-vertical $padding-base-horizontal; |
| 23 |
border: 1px solid transparent; |
| 24 |
border-radius: $border-radius-base; |
| 25 |
|
| 26 |
&:hover { |
| 27 |
border: 1px solid #ddd; |
| 28 |
} |
| 29 |
} |
| 30 |
|
| 31 |
&-nav > .active > a, |
| 32 |
&-nav > .active > a:hover { |
| 33 |
border: 1px solid #ddd; |
| 34 |
} |
| 35 |
|
| 36 |
&-default .navbar-nav > .active > a:hover { |
| 37 |
color: $navbar-default-link-hover-color; |
| 38 |
} |
| 39 |
|
| 40 |
&-inverse .navbar-nav > .active > a:hover { |
| 41 |
color: $navbar-inverse-link-hover-color; |
| 42 |
} |
| 43 |
|
| 44 |
&-brand { |
| 45 |
padding-top: (($navbar-height - 2*$font-size-large) / 2); |
| 46 |
padding-bottom: (($navbar-height - 2*$font-size-large) / 2); |
| 47 |
line-height: 1.9; |
| 48 |
} |
| 49 |
} |
| 50 |
|
| 51 |
@media (min-width: $grid-float-breakpoint) { |
| 52 |
.navbar { |
| 53 |
.navbar-nav > li > a { |
| 54 |
padding: $padding-base-vertical $padding-base-horizontal; |
| 55 |
} |
| 56 |
} |
| 57 |
} |
| 58 |
|
| 59 |
@media (max-width: ($grid-float-breakpoint - 1)) { |
| 60 |
.navbar { |
| 61 |
.navbar-nav > li > a { |
| 62 |
margin: 0; |
| 63 |
} |
| 64 |
} |
| 65 |
} |
| 66 |
|
| 67 |
// Buttons ==================================================================== |
| 68 |
|
| 69 |
.btn { |
| 70 |
font-family: $headings-font-family; |
| 71 |
} |
| 72 |
|
| 73 |
// Typography ================================================================= |
| 74 |
|
| 75 |
// Tables ===================================================================== |
| 76 |
|
| 77 |
// Forms ====================================================================== |
| 78 |
|
| 79 |
legend { |
| 80 |
font-family: $headings-font-family; |
| 81 |
} |
| 82 |
|
| 83 |
.input-group-addon { |
| 84 |
font-family: $font-family-sans-serif; |
| 85 |
} |
| 86 |
|
| 87 |
// Navs ======================================================================= |
| 88 |
|
| 89 |
.nav { |
| 90 |
.open > a, |
| 91 |
.open > a:hover, |
| 92 |
.open > a:focus { |
| 93 |
border: 1px solid #ddd; |
| 94 |
} |
| 95 |
} |
| 96 |
|
| 97 |
.pagination { |
| 98 |
|
| 99 |
font-family: $headings-font-family; |
| 100 |
|
| 101 |
&-lg > li > a, |
| 102 |
&-lg > li > span { |
| 103 |
padding: 14px 24px; |
| 104 |
} |
| 105 |
} |
| 106 |
|
| 107 |
.pager { |
| 108 |
|
| 109 |
font-family: $headings-font-family; |
| 110 |
|
| 111 |
a { |
| 112 |
color: $text-color; |
| 113 |
} |
| 114 |
|
| 115 |
a:hover { |
| 116 |
border-color: transparent; |
| 117 |
color: #fff; |
| 118 |
} |
| 119 |
|
| 120 |
.disabled a { |
| 121 |
border-color: $pager-border; |
| 122 |
} |
| 123 |
} |
| 124 |
|
| 125 |
// Indicators ================================================================= |
| 126 |
|
| 127 |
.close { |
| 128 |
color: #fff; |
| 129 |
text-decoration: none; |
| 130 |
text-shadow: none; |
| 131 |
opacity: 0.4; |
| 132 |
|
| 133 |
&:hover, |
| 134 |
&:focus { |
| 135 |
color: #fff; |
| 136 |
opacity: 1; |
| 137 |
} |
| 138 |
} |
| 139 |
|
| 140 |
.alert { |
| 141 |
.alert-link { |
| 142 |
color: $alert-success-text; |
| 143 |
text-decoration: underline; |
| 144 |
} |
| 145 |
} |
| 146 |
|
| 147 |
.label { |
| 148 |
font-family: $headings-font-family; |
| 149 |
font-weight: normal; |
| 150 |
|
| 151 |
&-default { |
| 152 |
border: 1px solid #ddd; |
| 153 |
color: $text-color; |
| 154 |
} |
| 155 |
|
| 156 |
} |
| 157 |
|
| 158 |
.badge { |
| 159 |
padding: 1px 7px 5px; |
| 160 |
vertical-align: 2px; |
| 161 |
font-family: $headings-font-family; |
| 162 |
font-weight: normal; |
| 163 |
} |
| 164 |
|
| 165 |
// Progress bars ============================================================== |
| 166 |
|
| 167 |
// Containers ================================================================= |
| 168 |
|
| 169 |
.panel { |
| 170 |
@include box-shadow(none); |
| 171 |
|
| 172 |
&-default { |
| 173 |
.close { |
| 174 |
color: $text-color; |
| 175 |
} |
| 176 |
} |
| 177 |
} |
| 178 |
|
| 179 |
.modal { |
| 180 |
.close { |
| 181 |
color: $text-color; |
| 182 |
} |
| 183 |
} |