oslo-red-cross-bootstrap-3-theme 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/_layout.scss ADDED
@@ -0,0 +1,327 @@
1
+ // Flatly 3.3.7
2
+ // Bootswatch
3
+ // -----------------------------------------------------
4
+
5
+ // Navbar =====================================================================
6
+
7
+ .navbar {
8
+ border-width: 0;
9
+
10
+ &-default {
11
+
12
+ .badge {
13
+ background-color: #fff;
14
+ color: $navbar-default-bg;
15
+ }
16
+ }
17
+
18
+ &-inverse {
19
+
20
+ .badge {
21
+ background-color: #fff;
22
+ color: $navbar-inverse-bg;
23
+ }
24
+ }
25
+
26
+ &-brand {
27
+ line-height: 1;
28
+ }
29
+ }
30
+
31
+ // Buttons ====================================================================
32
+
33
+ .btn {
34
+ border-width: 2px;
35
+ }
36
+
37
+ .btn:active {
38
+ @include box-shadow(none);
39
+ }
40
+
41
+ .btn-group.open .dropdown-toggle {
42
+ @include box-shadow(none);
43
+ }
44
+
45
+ // Typography =================================================================
46
+
47
+ .text-primary,
48
+ .text-primary:hover {
49
+ color: $brand-primary;
50
+ }
51
+
52
+ .text-success,
53
+ .text-success:hover {
54
+ color: $brand-success;
55
+ }
56
+
57
+ .text-danger,
58
+ .text-danger:hover {
59
+ color: $brand-danger;
60
+ }
61
+
62
+ .text-warning,
63
+ .text-warning:hover {
64
+ color: $brand-warning;
65
+ }
66
+
67
+ .text-info,
68
+ .text-info:hover {
69
+ color: $brand-info;
70
+ }
71
+
72
+ // Tables =====================================================================
73
+
74
+ table,
75
+ .table {
76
+
77
+ a:not(.btn) {
78
+ text-decoration: underline;
79
+ }
80
+
81
+ .dropdown-menu a {
82
+ text-decoration: none;
83
+ }
84
+
85
+ .success,
86
+ .warning,
87
+ .danger,
88
+ .info {
89
+ color: #fff;
90
+
91
+ > th > a,
92
+ > td > a,
93
+ > a {
94
+ color: #fff;
95
+ }
96
+ }
97
+
98
+ > thead > tr > th,
99
+ > tbody > tr > th,
100
+ > tfoot > tr > th,
101
+ > thead > tr > td,
102
+ > tbody > tr > td,
103
+ > tfoot > tr > td {
104
+ border: none;
105
+ }
106
+
107
+ &-bordered > thead > tr > th,
108
+ &-bordered > tbody > tr > th,
109
+ &-bordered > tfoot > tr > th,
110
+ &-bordered > thead > tr > td,
111
+ &-bordered > tbody > tr > td,
112
+ &-bordered > tfoot > tr > td {
113
+ border: 1px solid $table-border-color;
114
+ }
115
+ }
116
+
117
+ // Forms ======================================================================
118
+
119
+ .form-control,
120
+ input {
121
+ border-width: 2px;
122
+ @include box-shadow(none);
123
+
124
+ &:focus {
125
+ @include box-shadow(none);
126
+ }
127
+ }
128
+
129
+ .has-warning {
130
+ .help-block,
131
+ .control-label,
132
+ .radio,
133
+ .checkbox,
134
+ .radio-inline,
135
+ .checkbox-inline,
136
+ &.radio label,
137
+ &.checkbox label,
138
+ &.radio-inline label,
139
+ &.checkbox-inline label,
140
+ .form-control-feedback {
141
+ color: $brand-warning;
142
+ }
143
+
144
+ .form-control,
145
+ .form-control:focus {
146
+ border: 2px solid $brand-warning;
147
+ }
148
+
149
+ .input-group-addon {
150
+ border-color: $brand-warning;
151
+ }
152
+ }
153
+
154
+ .has-error {
155
+ .help-block,
156
+ .control-label,
157
+ .radio,
158
+ .checkbox,
159
+ .radio-inline,
160
+ .checkbox-inline,
161
+ &.radio label,
162
+ &.checkbox label,
163
+ &.radio-inline label,
164
+ &.checkbox-inline label,
165
+ .form-control-feedback {
166
+ color: $brand-danger;
167
+ }
168
+
169
+ .form-control,
170
+ .form-control:focus {
171
+ border: 2px solid $brand-danger;
172
+ }
173
+
174
+ .input-group-addon {
175
+ border-color: $brand-danger;
176
+ }
177
+ }
178
+
179
+ .has-success {
180
+ .help-block,
181
+ .control-label,
182
+ .radio,
183
+ .checkbox,
184
+ .radio-inline,
185
+ .checkbox-inline,
186
+ &.radio label,
187
+ &.checkbox label,
188
+ &.radio-inline label,
189
+ &.checkbox-inline label,
190
+ .form-control-feedback {
191
+ color: $brand-success;
192
+ }
193
+
194
+ .form-control,
195
+ .form-control:focus {
196
+ border: 2px solid $brand-success;
197
+ }
198
+
199
+ .input-group-addon {
200
+ border-color: $brand-success;
201
+ }
202
+ }
203
+
204
+ // Navs =======================================================================
205
+
206
+ .nav {
207
+ .open > a,
208
+ .open > a:hover,
209
+ .open > a:focus {
210
+ border-color: transparent;
211
+ }
212
+ }
213
+
214
+ .pager {
215
+ a,
216
+ a:hover {
217
+ color: #fff;
218
+ }
219
+
220
+ .disabled {
221
+ &>a,
222
+ &>a:hover,
223
+ &>a:focus,
224
+ &>span {
225
+ background-color: $pagination-disabled-bg;
226
+ }
227
+ }
228
+ }
229
+
230
+ // Indicators =================================================================
231
+
232
+ .close {
233
+ color: #fff;
234
+ text-decoration: none;
235
+ opacity: 0.4;
236
+
237
+ &:hover,
238
+ &:focus {
239
+ color: #fff;
240
+ opacity: 1;
241
+ }
242
+ }
243
+
244
+ .alert {
245
+
246
+ .alert-link {
247
+ color: #fff;
248
+ text-decoration: underline;
249
+ }
250
+ }
251
+
252
+ // Progress bars ==============================================================
253
+
254
+ .progress {
255
+ height: 10px;
256
+ @include box-shadow(none);
257
+ .progress-bar {
258
+ font-size: 10px;
259
+ line-height: 10px;
260
+ }
261
+ }
262
+
263
+ // Containers =================================================================
264
+
265
+ .well {
266
+ @include box-shadow(none);
267
+ }
268
+
269
+ a.list-group-item {
270
+
271
+ &.active,
272
+ &.active:hover,
273
+ &.active:focus {
274
+ border-color: $list-group-border;
275
+ }
276
+
277
+ &-success {
278
+ &.active {
279
+ background-color: $state-success-bg;
280
+ }
281
+
282
+ &.active:hover,
283
+ &.active:focus {
284
+ background-color: darken($state-success-bg, 5%);
285
+ }
286
+ }
287
+
288
+ &-warning {
289
+ &.active {
290
+ background-color: $state-warning-bg;
291
+ }
292
+
293
+ &.active:hover,
294
+ &.active:focus {
295
+ background-color: darken($state-warning-bg, 5%);
296
+ }
297
+ }
298
+
299
+ &-danger {
300
+ &.active {
301
+ background-color: $state-danger-bg;
302
+ }
303
+
304
+ &.active:hover,
305
+ &.active:focus {
306
+ background-color: darken($state-danger-bg, 5%);
307
+ }
308
+ }
309
+ }
310
+
311
+ .panel {
312
+ &-default {
313
+ .close {
314
+ color: $text-color;
315
+ }
316
+ }
317
+ }
318
+
319
+ .modal {
320
+ .close {
321
+ color: $text-color;
322
+ }
323
+ }
324
+
325
+ .popover {
326
+ color: $text-color;
327
+ }
package/_navbar.scss ADDED
@@ -0,0 +1,48 @@
1
+ .navbar-brand {
2
+ display: inline-block;
3
+ margin-left: 10px;
4
+ padding-top: 20px;
5
+ margin-top: 11px;
6
+ padding-left: 58px;
7
+ font-size: 1.6em;
8
+ margin-left: -5px !important;
9
+ font-family: 'myriad-pro-regular', sans-serif;
10
+ line-height: 0.8em;
11
+ letter-spacing: 1px;
12
+ padding-right: 10px;
13
+ height: 60px;
14
+ word-spacing: -2px;
15
+ background-color: #fff !important;
16
+ background-size: 60px;
17
+ background-repeat: no-repeat;
18
+ background-image: url('/images/red-cross.png');
19
+ }
20
+
21
+ .navbar-brand:hover {
22
+ text-decoration: none !important;
23
+ }
24
+
25
+ @media (max-width: $screen-sm-min) {
26
+ .navbar-brand {
27
+ margin-left: 10px !important;
28
+ }
29
+ }
30
+
31
+ .navbar-brand .red-cross {
32
+ font-family: 'myriad-pro-bold', sans-serif;
33
+ }
34
+
35
+ .navbar-brand small {
36
+ font-size: 0.7em;
37
+ margin-left: 2px;
38
+ }
39
+
40
+ @media (min-width: $screen-lg-min) {
41
+ .navbar .active, .nav-pills .active {
42
+ border-bottom: 2px solid $brand-danger;
43
+ }
44
+
45
+ .navbar .dropdown-menu .active {
46
+ border: none;
47
+ }
48
+ }
package/_tables.scss ADDED
@@ -0,0 +1,48 @@
1
+ th {
2
+ background-color: $gray-lighter;
3
+ vertical-align: middle !important;
4
+ }
5
+
6
+ tr {
7
+ border-bottom: 1px solid $gray-light;
8
+ }
9
+
10
+ .table-borderless tr {
11
+ border-bottom: none;
12
+ }
13
+
14
+ .table {
15
+ margin-bottom: 25px;
16
+ }
17
+
18
+ .table th {
19
+ height: 45px !important;
20
+ }
21
+
22
+ .table-header-row-bottom tr:last-child {
23
+ font-weight: bold;
24
+ }
25
+
26
+ .table-align-middle th, .table-align-middle td {
27
+ vertical-align: middle !important;
28
+ }
29
+
30
+ .table-header-col-right td:last-child {
31
+ font-weight: bold;
32
+ }
33
+
34
+ .table-align-middle td {
35
+ vertical-align: middle !important;
36
+ }
37
+
38
+ .table-align-top th, .table-align-top td{
39
+ vertical-align: top !important;
40
+ }
41
+
42
+ .align-middle {
43
+ vertical-align: middle !important;
44
+ }
45
+
46
+ .table-no-background th {
47
+ background-color: transparent !important;
48
+ }