@posiwise/core-styles 0.0.4 → 0.0.6
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/package.json
CHANGED
|
@@ -538,4 +538,43 @@
|
|
|
538
538
|
p-radiobutton .p-highlight .p-radiobutton-icon {
|
|
539
539
|
background-color: var(--first) !important;
|
|
540
540
|
}
|
|
541
|
+
|
|
542
|
+
.badge.bg-light {
|
|
543
|
+
&:not(.text-dark) {
|
|
544
|
+
@extend .text-dark;
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
.badge.bg-white {
|
|
548
|
+
&:not(.text-dark) {
|
|
549
|
+
@extend .text-dark;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
.btn.btn-primary {
|
|
553
|
+
&:not(.text-light) {
|
|
554
|
+
@extend .text-light;
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
.btn.btn-primary {
|
|
558
|
+
&:not(.text-light) {
|
|
559
|
+
@extend .text-light;
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
.btn.btn-secondary {
|
|
563
|
+
&:not(.text-light) {
|
|
564
|
+
@extend .text-light;
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
.btn.btn-secondary {
|
|
568
|
+
&:not(.text-light) {
|
|
569
|
+
@extend .text-light;
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
.btn.btn-primary:hover {
|
|
573
|
+
background-color: transparent !important;
|
|
574
|
+
color: var(--first) !important;
|
|
575
|
+
}
|
|
576
|
+
.btn.btn-secondary:hover {
|
|
577
|
+
background-color: transparent !important;
|
|
578
|
+
color: var(--first) !important;
|
|
579
|
+
}
|
|
541
580
|
}
|
|
@@ -39,180 +39,294 @@
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
@each $color_name, $
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
.#{$color_name} {
|
|
46
|
-
color: $color_value !important;
|
|
47
|
-
}
|
|
42
|
+
@each $color_name, $color_value in $branding-colors {
|
|
43
|
+
.bg-#{$color_name} {
|
|
44
|
+
background-color: $color_value !important;
|
|
48
45
|
|
|
49
|
-
|
|
50
|
-
|
|
46
|
+
.card-header,
|
|
47
|
+
.card-footer {
|
|
48
|
+
background-color: transparent;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
.alert-#{$color_name} {
|
|
52
|
+
background-color: $color_value !important;
|
|
53
|
+
border-color: $color_value !important;
|
|
54
|
+
color: $color_value !important;
|
|
51
55
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
.alert-link {
|
|
57
|
+
color: $color_value !important;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
.border-#{$color_name} {
|
|
61
|
+
border-color: $color_value !important;
|
|
62
|
+
}
|
|
57
63
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
64
|
+
.border-top-#{$color_name} {
|
|
65
|
+
border-top-color: $color_value !important;
|
|
66
|
+
}
|
|
61
67
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
color: darken($color_value, 35%) !important;
|
|
68
|
+
.border-bottom-#{$color_name} {
|
|
69
|
+
border-bottom-color: $color_value !important;
|
|
70
|
+
}
|
|
66
71
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
72
|
+
.border-left-#{$color_name} {
|
|
73
|
+
border-left-color: $color_value !important;
|
|
74
|
+
}
|
|
71
75
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
76
|
+
.border-right-#{$color_name} {
|
|
77
|
+
border-right-color: $color_value !important;
|
|
78
|
+
}
|
|
75
79
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
80
|
+
.panel-#{$color_name} {
|
|
81
|
+
border-color: $color_value !important;
|
|
79
82
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
+
.panel-heading {
|
|
84
|
+
background-color: $color_value !important;
|
|
85
|
+
border-color: $color_value !important;
|
|
86
|
+
color: rgb(255 255 255);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
83
89
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
90
|
+
.bg-#{$color_name},
|
|
91
|
+
.border-#{$color_name} {
|
|
92
|
+
&.tag-glow {
|
|
93
|
+
box-shadow: 0 0 10px $color_value;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
.btn-#{$color_name} {
|
|
97
|
+
background-color: $color_value !important;
|
|
98
|
+
border: 1px solid;
|
|
99
|
+
border-color: $color_value !important;
|
|
100
|
+
color: rgb(255 255 255) !important;
|
|
101
|
+
|
|
102
|
+
&:focus {
|
|
103
|
+
background-color: $color_value !important;
|
|
104
|
+
box-shadow: transparent !important;
|
|
105
|
+
color: rgb(255 255 255) !important;
|
|
106
|
+
}
|
|
87
107
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
108
|
+
&.active {
|
|
109
|
+
background-color: $color_value !important;
|
|
110
|
+
color: rgb(255 255 255) !important;
|
|
111
|
+
}
|
|
91
112
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
113
|
+
&:hover {
|
|
114
|
+
background-color: $color_value !important;
|
|
115
|
+
color: rgb(255 255 255) !important;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
95
118
|
|
|
96
|
-
|
|
97
|
-
|
|
119
|
+
.btn-#{$color_name} {
|
|
120
|
+
color: rgb(255 255 255) !important;
|
|
98
121
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}
|
|
122
|
+
&.btn-flat {
|
|
123
|
+
background-color: transparent !important;
|
|
124
|
+
border: 0;
|
|
125
|
+
color: $color_value;
|
|
126
|
+
}
|
|
105
127
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
128
|
+
&.btn-raised,
|
|
129
|
+
&.btn-fab {
|
|
130
|
+
background-color: $color_value !important;
|
|
131
|
+
border-color: $color_value;
|
|
132
|
+
color: rgb(255 255 255) !important;
|
|
112
133
|
|
|
113
|
-
|
|
114
|
-
|
|
134
|
+
&.active {
|
|
135
|
+
background-color: $color_value !important;
|
|
136
|
+
border-color: $color_value !important;
|
|
115
137
|
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
116
140
|
|
|
117
|
-
|
|
141
|
+
.btn-group-raised {
|
|
142
|
+
.btn-#{$color_name} {
|
|
143
|
+
background-color: $color_value !important;
|
|
144
|
+
color: rgb(255 255 255) !important;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.btn-outline-#{$color_name} {
|
|
149
|
+
background-color: transparent !important;
|
|
150
|
+
border: 1px solid;
|
|
151
|
+
border-color: $color_value !important;
|
|
152
|
+
box-shadow: none !important;
|
|
153
|
+
color: $color_value !important;
|
|
154
|
+
|
|
155
|
+
&:focus {
|
|
156
|
+
background-color: transparent !important;
|
|
157
|
+
box-shadow: transparent !important;
|
|
158
|
+
color: $color_value !important;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&.active {
|
|
162
|
+
background-color: $color_value !important;
|
|
163
|
+
color: rgb(255 255 255) !important;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
&:hover {
|
|
167
|
+
background-color: $color_value !important;
|
|
168
|
+
color: rgb(255 255 255) !important;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.btn-outline-#{$color_name} {
|
|
173
|
+
&.btn-raised,
|
|
174
|
+
&.btn-fab {
|
|
175
|
+
background-color: transparent;
|
|
176
|
+
border: 1px solid;
|
|
177
|
+
border-color: $color_value;
|
|
178
|
+
box-shadow: none !important;
|
|
179
|
+
color: $color_value;
|
|
180
|
+
|
|
181
|
+
&:focus {
|
|
118
182
|
background-color: transparent;
|
|
119
|
-
|
|
120
|
-
border-style: solid;
|
|
121
|
-
border-width: 1px;
|
|
183
|
+
}
|
|
122
184
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
}
|
|
185
|
+
&.active {
|
|
186
|
+
background-color: $color_value !important;
|
|
187
|
+
color: rgb(255 255 255) !important;
|
|
127
188
|
}
|
|
128
189
|
|
|
129
|
-
|
|
190
|
+
&:hover {
|
|
130
191
|
background-color: $color_value !important;
|
|
131
|
-
border: 1px solid;
|
|
132
|
-
border-color: $color_value !important;
|
|
133
192
|
color: rgb(255 255 255) !important;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
134
196
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
197
|
+
.progress {
|
|
198
|
+
.progress-bar {
|
|
199
|
+
&.progress-bar-#{$color_name} {
|
|
200
|
+
@include progress-variant($color_value);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
@each $color_name, $color in $colors {
|
|
207
|
+
@each $color_type, $color_value in $color {
|
|
208
|
+
@if $color_type== 'base' {
|
|
209
|
+
.#{$color_name} {
|
|
210
|
+
color: $color_value !important;
|
|
211
|
+
}
|
|
140
212
|
|
|
141
|
-
|
|
213
|
+
@if $color_name != 'primary' and $color_name != 'secondary' {
|
|
214
|
+
.bg-#{$color_name} {
|
|
142
215
|
background-color: $color_value !important;
|
|
143
|
-
|
|
216
|
+
|
|
217
|
+
.card-header,
|
|
218
|
+
.card-footer {
|
|
219
|
+
background-color: transparent;
|
|
220
|
+
}
|
|
144
221
|
}
|
|
222
|
+
.alert-#{$color_name} {
|
|
223
|
+
background-color: lighten($color_value, 7%) !important;
|
|
224
|
+
border-color: $color_value !important;
|
|
225
|
+
color: darken($color_value, 35%) !important;
|
|
145
226
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
227
|
+
.alert-link {
|
|
228
|
+
color: darken($color_value, 43%) !important;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
.border-#{$color_name} {
|
|
232
|
+
border-color: $color_value;
|
|
149
233
|
}
|
|
150
|
-
}
|
|
151
234
|
|
|
152
|
-
|
|
153
|
-
|
|
235
|
+
.border-top-#{$color_name} {
|
|
236
|
+
border-top-color: $color_value;
|
|
237
|
+
}
|
|
154
238
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
border: 0;
|
|
158
|
-
color: $color_value;
|
|
239
|
+
.border-bottom-#{$color_name} {
|
|
240
|
+
border-bottom-color: $color_value;
|
|
159
241
|
}
|
|
160
242
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
243
|
+
.border-left-#{$color_name} {
|
|
244
|
+
border-left-color: $color_value;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.border-right-#{$color_name} {
|
|
248
|
+
border-right-color: $color_value;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.panel-#{$color_name} {
|
|
164
252
|
border-color: $color_value;
|
|
165
|
-
color: rgb(255 255 255) !important;
|
|
166
253
|
|
|
167
|
-
|
|
168
|
-
background-color:
|
|
169
|
-
border-color:
|
|
254
|
+
.panel-heading {
|
|
255
|
+
background-color: lighten($color_value, 5%);
|
|
256
|
+
border-color: $color_value;
|
|
257
|
+
color: rgb(255 255 255);
|
|
170
258
|
}
|
|
171
259
|
}
|
|
172
|
-
}
|
|
173
260
|
|
|
174
|
-
|
|
261
|
+
.bg-#{$color_name},
|
|
262
|
+
.border-#{$color_name} {
|
|
263
|
+
&.tag-glow {
|
|
264
|
+
box-shadow: 0 0 10px $color_value;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
175
267
|
.btn-#{$color_name} {
|
|
176
268
|
background-color: $color_value !important;
|
|
269
|
+
border: 1px solid;
|
|
270
|
+
border-color: $color_value !important;
|
|
177
271
|
color: rgb(255 255 255) !important;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
272
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
color: $color_value !important;
|
|
273
|
+
&:focus {
|
|
274
|
+
background-color: darken($color_value, 5%) !important;
|
|
275
|
+
box-shadow: transparent !important;
|
|
276
|
+
color: rgb(255 255 255) !important;
|
|
277
|
+
}
|
|
187
278
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
279
|
+
&.active {
|
|
280
|
+
background-color: $color_value !important;
|
|
281
|
+
color: rgb(255 255 255) !important;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
&:hover {
|
|
285
|
+
background-color: darken($color_value, 5%) !important;
|
|
286
|
+
color: rgb(255 255 255) !important;
|
|
287
|
+
}
|
|
192
288
|
}
|
|
193
289
|
|
|
194
|
-
|
|
195
|
-
background-color: $color_value !important;
|
|
290
|
+
.btn-#{$color_name} {
|
|
196
291
|
color: rgb(255 255 255) !important;
|
|
292
|
+
|
|
293
|
+
&.btn-flat {
|
|
294
|
+
background-color: transparent !important;
|
|
295
|
+
border: 0;
|
|
296
|
+
color: $color_value;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
&.btn-raised,
|
|
300
|
+
&.btn-fab {
|
|
301
|
+
background-color: $color_value !important;
|
|
302
|
+
border-color: $color_value;
|
|
303
|
+
color: rgb(255 255 255) !important;
|
|
304
|
+
|
|
305
|
+
&.active {
|
|
306
|
+
background-color: darken($color_value, 7%) !important;
|
|
307
|
+
border-color: darken($color_value, 7%) !important;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
197
310
|
}
|
|
198
311
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
312
|
+
.btn-group-raised {
|
|
313
|
+
.btn-#{$color_name} {
|
|
314
|
+
background-color: $color_value !important;
|
|
315
|
+
color: rgb(255 255 255) !important;
|
|
316
|
+
}
|
|
202
317
|
}
|
|
203
|
-
}
|
|
204
318
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
&.btn-fab {
|
|
208
|
-
background-color: transparent;
|
|
319
|
+
.btn-outline-#{$color_name} {
|
|
320
|
+
background-color: transparent !important;
|
|
209
321
|
border: 1px solid;
|
|
210
|
-
border-color: $color_value;
|
|
322
|
+
border-color: $color_value !important;
|
|
211
323
|
box-shadow: none !important;
|
|
212
|
-
color: $color_value;
|
|
324
|
+
color: $color_value !important;
|
|
213
325
|
|
|
214
326
|
&:focus {
|
|
215
|
-
background-color: transparent;
|
|
327
|
+
background-color: transparent !important;
|
|
328
|
+
box-shadow: transparent !important;
|
|
329
|
+
color: $color_value !important;
|
|
216
330
|
}
|
|
217
331
|
|
|
218
332
|
&.active {
|
|
@@ -225,16 +339,61 @@
|
|
|
225
339
|
color: rgb(255 255 255) !important;
|
|
226
340
|
}
|
|
227
341
|
}
|
|
228
|
-
}
|
|
229
342
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
&.
|
|
233
|
-
|
|
343
|
+
.btn-outline-#{$color_name} {
|
|
344
|
+
&.btn-raised,
|
|
345
|
+
&.btn-fab {
|
|
346
|
+
background-color: transparent;
|
|
347
|
+
border: 1px solid;
|
|
348
|
+
border-color: $color_value;
|
|
349
|
+
box-shadow: none !important;
|
|
350
|
+
color: $color_value;
|
|
351
|
+
|
|
352
|
+
&:focus {
|
|
353
|
+
background-color: transparent;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
&.active {
|
|
357
|
+
background-color: $color_value !important;
|
|
358
|
+
color: rgb(255 255 255) !important;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
&:hover {
|
|
362
|
+
background-color: darken($color_value, 3%) !important;
|
|
363
|
+
color: rgb(255 255 255) !important;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.progress {
|
|
369
|
+
.progress-bar {
|
|
370
|
+
&.progress-bar-#{$color_name} {
|
|
371
|
+
@include progress-variant($color_value);
|
|
372
|
+
}
|
|
234
373
|
}
|
|
235
374
|
}
|
|
236
375
|
}
|
|
237
376
|
|
|
377
|
+
.toast-#{$color_name} {
|
|
378
|
+
background-color: $color_value;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.overlay-#{$color_name} {
|
|
382
|
+
@include bg-opacity($color_value, 0.8);
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.card.card-outline-#{$color_name} {
|
|
386
|
+
background-color: transparent;
|
|
387
|
+
border-color: $color_value;
|
|
388
|
+
border-style: solid;
|
|
389
|
+
border-width: 1px;
|
|
390
|
+
|
|
391
|
+
.card-header,
|
|
392
|
+
.card-footer {
|
|
393
|
+
background-color: transparent;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
|
|
238
397
|
input:focus ~ .bg-#{$color_name} {
|
|
239
398
|
box-shadow: 0 0 0 0.075rem rgb(255 255 255), 0 0 0 0.21rem $color_value !important;
|
|
240
399
|
}
|
|
@@ -491,6 +491,12 @@ $colors: (
|
|
|
491
491
|
'blue-grey': $blue-grey
|
|
492
492
|
);
|
|
493
493
|
|
|
494
|
+
$branding-colors: (
|
|
495
|
+
'branding-1': var(--first),
|
|
496
|
+
'branding-2': var(--second),
|
|
497
|
+
'branding-3': var(--third)
|
|
498
|
+
);
|
|
499
|
+
|
|
494
500
|
// Map variable
|
|
495
501
|
$gradient-colors: (
|
|
496
502
|
gradient-indigo-light-blue: (
|