Debian Codegraph @

inst/lib/bsw3/cosmo/_bootswatch.scss

raw
1 // Cosmo 3.4.1
2 // Bootswatch
3 // -----------------------------------------------------
4
5 $web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700" !default;
6 @import url($web-font-path);
7
8 // Navbar =====================================================================
9
10 .navbar {
11
12 &-inverse {
13
14 .badge {
15 background-color: #fff;
16 color: $brand-primary;
17 }
18 }
19 }
20
21 // Buttons ====================================================================
22
23 // Typography =================================================================
24
25 body {
26 -webkit-font-smoothing: antialiased;
27 }
28
29 .text-primary,
30 .text-primary:hover {
31 color: $brand-primary;
32 }
33
34 .text-success,
35 .text-success:hover {
36 color: $brand-success;
37 }
38
39 .text-danger,
40 .text-danger:hover {
41 color: $brand-danger;
42 }
43
44 .text-warning,
45 .text-warning:hover {
46 color: $brand-warning;
47 }
48
49 .text-info,
50 .text-info:hover {
51 color: $brand-info;
52 }
53
54 // Tables =====================================================================
55
56 table,
57 .table {
58
59 a:not(.btn) {
60 text-decoration: underline;
61 }
62
63 .dropdown-menu a {
64 text-decoration: none;
65 }
66
67 .success,
68 .warning,
69 .danger,
70 .info {
71 color: #fff;
72
73 a {
74 color: #fff;
75 }
76 }
77 }
78
79 // Forms ======================================================================
80
81
82 .has-warning {
83 .help-block,
84 .control-label,
85 .radio,
86 .checkbox,
87 .radio-inline,
88 .checkbox-inline,
89 &.radio label,
90 &.checkbox label,
91 &.radio-inline label,
92 &.checkbox-inline label,
93 .form-control-feedback {
94 color: $brand-warning;
95 }
96
97 .form-control,
98 .form-control:focus,
99 .input-group-addon {
100 border: 1px solid $brand-warning;
101 }
102 }
103
104 .has-error {
105 .help-block,
106 .control-label,
107 .radio,
108 .checkbox,
109 .radio-inline,
110 .checkbox-inline,
111 &.radio label,
112 &.checkbox label,
113 &.radio-inline label,
114 &.checkbox-inline label,
115 .form-control-feedback {
116 color: $brand-danger;
117 }
118
119 .form-control,
120 .form-control:focus,
121 .input-group-addon {
122 border: 1px solid $brand-danger;
123 }
124 }
125
126 .has-success {
127 .help-block,
128 .control-label,
129 .radio,
130 .checkbox,
131 .radio-inline,
132 .checkbox-inline,
133 &.radio label,
134 &.checkbox label,
135 &.radio-inline label,
136 &.checkbox-inline label,
137 .form-control-feedback {
138 color: $brand-success;
139 }
140
141 .form-control,
142 .form-control:focus,
143 .input-group-addon {
144 border: 1px solid $brand-success;
145 }
146 }
147
148 // Navs =======================================================================
149
150 .nav-pills {
151
152 & > li > a {
153 border-radius: 0;
154 }
155 }
156
157 .dropdown-menu {
158
159 & > li > a:hover,
160 & > li > a:focus {
161 background-image: none;
162 }
163 }
164
165 // Indicators =================================================================
166
167 .close {
168 text-decoration: none;
169 text-shadow: none;
170 opacity: 0.4;
171
172 &:hover,
173 &:focus {
174 opacity: 1;
175 }
176 }
177
178 .alert {
179 border: none;
180
181 .alert-link {
182 text-decoration: underline;
183 color: #fff;
184 }
185 }
186
187 .label {
188 border-radius: 0;
189 }
190
191 // Progress bars ==============================================================
192
193 .progress {
194 height: 8px;
195 @include box-shadow(none);
196 .progress-bar {
197 font-size: 8px;
198 line-height: 8px;
199 }
200 }
201
202 // Containers =================================================================
203
204 .panel {
205 &-heading,
206 &-footer {
207 border-top-right-radius: 0;
208 border-top-left-radius: 0;
209 }
210
211 &-default {
212 .close {
213 color: $text-color;
214 }
215 }
216 }
217
218 a.list-group-item {
219
220 &-success {
221 &.active {
222 background-color: $state-success-bg;
223 }
224
225 &.active:hover,
226 &.active:focus {
227 background-color: darken($state-success-bg, 5%);
228 }
229 }
230
231 &-warning {
232 &.active {
233 background-color: $state-warning-bg;
234 }
235
236 &.active:hover,
237 &.active:focus {
238 background-color: darken($state-warning-bg, 5%);
239 }
240 }
241
242 &-danger {
243 &.active {
244 background-color: $state-danger-bg;
245 }
246
247 &.active:hover,
248 &.active:focus {
249 background-color: darken($state-danger-bg, 5%);
250 }
251 }
252 }
253
254 .modal {
255 .close {
256 color: $text-color;
257 }
258 }
259
260 .popover {
261 color: $text-color;
262 }