Debian Codegraph @

inst/lib/bsw4/dist/litera/_bootswatch.scss

raw
1 // Litera 4.6.0
2 // Bootswatch
3
4 // Navbar ======================================================================
5
6 .navbar {
7 font-size: $font-size-sm;
8
9 &.bg-dark {
10 background-color: $success !important;
11 }
12
13 &.bg-light {
14 background-color: $white !important;
15 border: 1px solid rgba(0, 0, 0, .1);
16
17 &.navbar-fixed-top {
18 border-width: 0 0 1px;
19 }
20
21 &.navbar-fixed-bottom {
22 border-width: 1px 0 0;
23 }
24 }
25 }
26
27 // Typography ==================================================================
28
29 p {
30 font-family: $font-family-serif;
31 }
32
33 blockquote {
34 font-style: italic;
35 }
36
37 footer {
38 font-size: $font-size-sm;
39 }
40
41 .lead {
42 color: $gray-600;
43 font-family: $font-family-sans-serif;
44 }
45
46 // Tables ======================================================================
47
48 table,
49 .table {
50 font-size: $font-size-sm;
51
52 &-primary,
53 &-secondary,
54 &-success,
55 &-info,
56 &-warning,
57 &-danger {
58 color: $white;
59 }
60 }
61
62 .table {
63 &-primary {
64 &,
65 > th,
66 > td {
67 background-color: $primary;
68 }
69 }
70
71 &-secondary {
72 &,
73 > th,
74 > td {
75 background-color: $secondary;
76 }
77 }
78
79 &-light {
80 &,
81 > th,
82 > td {
83 background-color: $light;
84 }
85 }
86
87 &-dark {
88 &,
89 > th,
90 > td {
91 background-color: $dark;
92 }
93 }
94
95 &-success {
96 &,
97 > th,
98 > td {
99 background-color: $success;
100 }
101 }
102
103 &-info {
104 &,
105 > th,
106 > td {
107 background-color: $info;
108 }
109 }
110
111 &-danger {
112 &,
113 > th,
114 > td {
115 background-color: $danger;
116 }
117 }
118
119 &-warning {
120 &,
121 > th,
122 > td {
123 background-color: $warning;
124 }
125 }
126
127 &-active {
128 &,
129 > th,
130 > td {
131 background-color: $table-active-bg;
132 }
133 }
134
135 &-hover {
136 .table-primary:hover {
137 &,
138 > th,
139 > td {
140 background-color: darken($primary, 5%);
141 }
142 }
143
144 .table-secondary:hover {
145 &,
146 > th,
147 > td {
148 background-color: darken($secondary, 5%);
149 }
150 }
151
152 .table-light:hover {
153 &,
154 > th,
155 > td {
156 background-color: darken($light, 5%);
157 }
158 }
159
160 .table-dark:hover {
161 &,
162 > th,
163 > td {
164 background-color: darken($dark, 5%);
165 }
166 }
167
168 .table-success:hover {
169 &,
170 > th,
171 > td {
172 background-color: darken($success, 5%);
173 }
174 }
175
176 .table-info:hover {
177 &,
178 > th,
179 > td {
180 background-color: darken($info, 5%);
181 }
182 }
183
184 .table-danger:hover {
185 &,
186 > th,
187 > td {
188 background-color: darken($danger, 5%);
189 }
190 }
191
192 .table-warning:hover {
193 &,
194 > th,
195 > td {
196 background-color: darken($warning, 5%);
197 }
198 }
199
200 .table-active:hover {
201 &,
202 > th,
203 > td {
204 background-color: $table-active-bg;
205 }
206 }
207
208 }
209 }
210
211 // Navs ========================================================================
212
213 .nav,
214 .breadcrumb,
215 .pagination {
216 font-size: $font-size-sm;
217 }
218
219 .dropdown-menu {
220 font-size: $font-size-sm;
221 }
222
223 // Indicators ==================================================================
224
225 .alert {
226 color: $white;
227 font-size: $font-size-sm;
228
229 &,
230 p {
231 font-family: $font-family-sans-serif;
232 }
233
234 a,
235 .alert-link {
236 color: $white;
237 font-weight: 400;
238 text-decoration: underline;
239 }
240
241 @each $color, $value in $theme-colors {
242 &-#{$color} {
243 @if $enable-gradients {
244 background: $value linear-gradient($value, mix($body-bg, $value, 15%)) repeat-x;
245 } @else {
246 background-color: $value;
247 }
248 }
249 }
250
251 &-light {
252 &,
253 a,
254 .alert-link {
255 color: $body-color;
256 }
257 }
258 }
259
260 .badge {
261 vertical-align: bottom;
262 }
263
264 // Containers ==================================================================
265
266 .list-group {
267 font-size: $font-size-sm;
268 }