Debian Codegraph @

inst/lib/bsw3/cyborg/_bootswatch.scss

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