pallote-css 0.6.0 → 0.7.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/package.json +10 -2
- package/pallote-css-0.6.0.tgz +0 -0
- package/pallote.min.css +1 -0
- package/pallote.min.css.map +1 -0
- package/pallote.min.js +1 -0
- package/pallote.scss +37 -0
- package/styles/common/_editor.scss +181 -0
- package/styles/common/_fontface.scss +31 -0
- package/styles/common/_functions.scss +11 -0
- package/styles/common/_global.scss +157 -0
- package/styles/common/_mixins.scss +164 -0
- package/styles/common/_reset.scss +145 -0
- package/styles/common/_variables.scss +251 -0
- package/styles/components/_accordion.scss +132 -0
- package/styles/components/_alert.scss +188 -0
- package/styles/components/_breadcrumbs.scss +72 -0
- package/styles/components/_button.scss +184 -0
- package/styles/components/_buttons.scss +52 -0
- package/styles/components/_card.scss +316 -0
- package/styles/components/_divider.scss +53 -0
- package/styles/components/_form.scss +58 -0
- package/styles/components/_input.scss +340 -0
- package/styles/components/_link.scss +51 -0
- package/styles/components/_list.scss +59 -0
- package/styles/components/_nav.scss +185 -0
- package/styles/components/_navbar.scss +253 -0
- package/styles/components/_page.scss +33 -0
- package/styles/components/_section.scss +203 -0
- package/styles/components/_sidebar.scss +61 -0
- package/styles/components/_snippet.scss +85 -0
- package/styles/components/_status.scss +60 -0
- package/styles/components/_switch.scss +84 -0
- package/styles/components/_table.scss +157 -0
- package/styles/components/_tabs.scss +147 -0
- package/styles/components/_tag.scss +79 -0
- package/styles/modules/_cookie.scss +38 -0
- package/styles/utilities/_color.scss +119 -0
- package/styles/utilities/_global.scss +211 -0
- package/styles/utilities/_grid.scss +124 -0
- package/styles/utilities/_text.scss +199 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
@use '../common/mixins';
|
|
2
|
+
@use '../common/variables';
|
|
3
|
+
|
|
4
|
+
// —————————————————————————————————————————————————————————————————
|
|
5
|
+
// elements
|
|
6
|
+
// disabled
|
|
7
|
+
// —————————————————————————————————————————————————————————————————
|
|
8
|
+
|
|
9
|
+
$spacing-switch: 1rem;
|
|
10
|
+
|
|
11
|
+
// —————————————————————————————————————————————————————————————————
|
|
12
|
+
// elements
|
|
13
|
+
// —————————————————————————————————————————————————————————————————
|
|
14
|
+
|
|
15
|
+
.switch {
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
|
|
19
|
+
&_input {
|
|
20
|
+
position: absolute;
|
|
21
|
+
height: 0;
|
|
22
|
+
width: 0;
|
|
23
|
+
opacity: 0;
|
|
24
|
+
|
|
25
|
+
&:focus + .switch_switch {
|
|
26
|
+
outline: 2px solid variables.$primary;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:checked + .switch_switch {
|
|
30
|
+
background-color: variables.$primary-light;
|
|
31
|
+
|
|
32
|
+
.switch_toggle {
|
|
33
|
+
@include mixins.calc(left, '100% -'($spacing-switch));
|
|
34
|
+
background-color: variables.$primary;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&_label {
|
|
40
|
+
|
|
41
|
+
&:first-child { margin-right: .75em; }
|
|
42
|
+
&:last-child { margin-left: .75em; }
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&_switch {
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
justify-content: space-between;
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
width: $spacing-switch*2;
|
|
51
|
+
height: $spacing-switch;
|
|
52
|
+
background: variables.$input-background;
|
|
53
|
+
border: variables.$border;
|
|
54
|
+
border-radius: $spacing-switch;
|
|
55
|
+
position: relative;
|
|
56
|
+
|
|
57
|
+
&:nth-child(2) { margin-left: .25rem; }
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&_toggle {
|
|
61
|
+
position: absolute;
|
|
62
|
+
left: -.25rem;
|
|
63
|
+
width: $spacing-switch*1.25;
|
|
64
|
+
height: $spacing-switch*1.25;
|
|
65
|
+
border-radius: $spacing-switch*1.25;
|
|
66
|
+
background: variables.$grey-50;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// —————————————————————————————————————————————————————————————————
|
|
71
|
+
// disabled
|
|
72
|
+
// —————————————————————————————————————————————————————————————————
|
|
73
|
+
|
|
74
|
+
.switch-disabled {
|
|
75
|
+
opacity: 0.4;
|
|
76
|
+
|
|
77
|
+
* {
|
|
78
|
+
cursor: not-allowed;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.switch_switch {
|
|
82
|
+
outline: none !important;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
@use '../common/variables';
|
|
2
|
+
@use '../common/mixins';
|
|
3
|
+
@use '../utilities/text';
|
|
4
|
+
|
|
5
|
+
// —————————————————————————————————————————————————————————————————
|
|
6
|
+
// variables
|
|
7
|
+
// elements
|
|
8
|
+
// striped
|
|
9
|
+
// hasHover
|
|
10
|
+
// dense
|
|
11
|
+
// border
|
|
12
|
+
// kind (for table cell component)
|
|
13
|
+
// —————————————————————————————————————————————————————————————————
|
|
14
|
+
|
|
15
|
+
// —————————————————————————————————————————————————————————————————
|
|
16
|
+
// variables
|
|
17
|
+
// —————————————————————————————————————————————————————————————————
|
|
18
|
+
|
|
19
|
+
$padding-vertical: .5rem;
|
|
20
|
+
$padding-horizontal: .75rem;
|
|
21
|
+
$padding-dense-vertical: .25rem;
|
|
22
|
+
$padding-dense-horizontal: .5rem;
|
|
23
|
+
|
|
24
|
+
// —————————————————————————————————————————————————————————————————
|
|
25
|
+
// elements
|
|
26
|
+
// —————————————————————————————————————————————————————————————————
|
|
27
|
+
|
|
28
|
+
.table {
|
|
29
|
+
width: 100%;
|
|
30
|
+
border-spacing: 0;
|
|
31
|
+
border-collapse: separate;
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
background-color: variables.$background-paper;
|
|
34
|
+
|
|
35
|
+
&_content {
|
|
36
|
+
width: 100%;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&_head {
|
|
40
|
+
@extend %caption;
|
|
41
|
+
font-weight: bold;
|
|
42
|
+
color: variables.$text-alt;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&_cell {
|
|
46
|
+
padding: $padding-vertical $padding-horizontal;
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
text-overflow: ellipsis;
|
|
49
|
+
|
|
50
|
+
.buttons {
|
|
51
|
+
justify-content: flex-end;
|
|
52
|
+
flex-wrap: nowrap;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&_footer {
|
|
57
|
+
display: inline-flex;
|
|
58
|
+
align-items: center;
|
|
59
|
+
justify-content: space-between;
|
|
60
|
+
width: 100%;
|
|
61
|
+
background-color: variables.$overlay;
|
|
62
|
+
padding: $padding-vertical;
|
|
63
|
+
border-top: variables.$border;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&_pagination {
|
|
67
|
+
width: fit-content;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&_rowSelect {
|
|
71
|
+
width: 5rem;
|
|
72
|
+
margin-bottom: 0;
|
|
73
|
+
|
|
74
|
+
.input_label {
|
|
75
|
+
display: none;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
td.table_cell { border-top: variables.$border; }
|
|
81
|
+
th.table_cell { background-color: rgba(variables.$contrast, 0.05); }
|
|
82
|
+
|
|
83
|
+
// —————————————————————————————————————————————————————————————————
|
|
84
|
+
// striped
|
|
85
|
+
// —————————————————————————————————————————————————————————————————
|
|
86
|
+
|
|
87
|
+
.table-striped {
|
|
88
|
+
|
|
89
|
+
.table_row:nth-child(even) {
|
|
90
|
+
background-color: rgba(variables.$contrast, 0.03);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
// —————————————————————————————————————————————————————————————————
|
|
94
|
+
// hasHover
|
|
95
|
+
// —————————————————————————————————————————————————————————————————
|
|
96
|
+
|
|
97
|
+
.table-hasHover {
|
|
98
|
+
|
|
99
|
+
.table {
|
|
100
|
+
|
|
101
|
+
&_head .table_row:hover { background-color: transparent; }
|
|
102
|
+
&_row:hover { background-color: variables.$hover; }
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
// —————————————————————————————————————————————————————————————————
|
|
106
|
+
// dense
|
|
107
|
+
// —————————————————————————————————————————————————————————————————
|
|
108
|
+
|
|
109
|
+
.table-dense {
|
|
110
|
+
|
|
111
|
+
.table {
|
|
112
|
+
|
|
113
|
+
&_cell {
|
|
114
|
+
@extend %caption;
|
|
115
|
+
padding: $padding-dense-vertical $padding-dense-horizontal;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&_footer {
|
|
119
|
+
padding: $padding-dense-vertical;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
th.table_cell {
|
|
124
|
+
@extend %overline;
|
|
125
|
+
font-weight: variables.$font-bold;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// —————————————————————————————————————————————————————————————————
|
|
130
|
+
// border
|
|
131
|
+
// —————————————————————————————————————————————————————————————————
|
|
132
|
+
|
|
133
|
+
.table-border {
|
|
134
|
+
border: variables.$border;
|
|
135
|
+
border-radius: variables.$border-radius-md;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// —————————————————————————————————————————————————————————————————
|
|
139
|
+
// kind (for table cell component)
|
|
140
|
+
// —————————————————————————————————————————————————————————————————
|
|
141
|
+
|
|
142
|
+
.table_cell {
|
|
143
|
+
|
|
144
|
+
&-number {
|
|
145
|
+
text-align: right;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
&-action {
|
|
149
|
+
text-align: right;
|
|
150
|
+
width: 1%;
|
|
151
|
+
white-space: nowrap;
|
|
152
|
+
|
|
153
|
+
.buttons {
|
|
154
|
+
justify-content: flex-end;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
@use '../common/variables';
|
|
2
|
+
@use '../utilities/text';
|
|
3
|
+
|
|
4
|
+
// —————————————————————————————————————————————————————————————————
|
|
5
|
+
// elements
|
|
6
|
+
// active
|
|
7
|
+
// direction
|
|
8
|
+
// dense
|
|
9
|
+
// hasBorder
|
|
10
|
+
// —————————————————————————————————————————————————————————————————
|
|
11
|
+
|
|
12
|
+
$spacing: 1rem;
|
|
13
|
+
$spacing-dense: .5rem;
|
|
14
|
+
|
|
15
|
+
// —————————————————————————————————————————————————————————————————
|
|
16
|
+
// elements
|
|
17
|
+
// —————————————————————————————————————————————————————————————————
|
|
18
|
+
|
|
19
|
+
.tabs {
|
|
20
|
+
width: 100%;
|
|
21
|
+
|
|
22
|
+
&_controls {
|
|
23
|
+
display: flex;
|
|
24
|
+
width: 100%;
|
|
25
|
+
border-bottom: variables.$border;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&_panel {
|
|
29
|
+
margin-top: $spacing;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.tab {
|
|
34
|
+
position: relative;
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
padding: $spacing*.5 $spacing;
|
|
37
|
+
border-top-left-radius: variables.$border-radius-md;
|
|
38
|
+
border-top-right-radius: variables.$border-radius-md;
|
|
39
|
+
text-transform: variables.$button-transform;
|
|
40
|
+
font-weight: variables.$button-weight;
|
|
41
|
+
font-size: variables.$button-sm-size;
|
|
42
|
+
|
|
43
|
+
&:not(.tab-active):hover {
|
|
44
|
+
text-decoration: underline;
|
|
45
|
+
text-underline-offset: .15em;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&:after {
|
|
49
|
+
content: '';
|
|
50
|
+
position: absolute;
|
|
51
|
+
right: 0;
|
|
52
|
+
bottom: -1px;
|
|
53
|
+
left: 0;
|
|
54
|
+
height: 3px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// —————————————————————————————————————————————————————————————————
|
|
59
|
+
// active
|
|
60
|
+
// —————————————————————————————————————————————————————————————————
|
|
61
|
+
|
|
62
|
+
.tab-active {
|
|
63
|
+
color: variables.$primary;
|
|
64
|
+
|
|
65
|
+
&:after {
|
|
66
|
+
background-color: variables.$primary;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// —————————————————————————————————————————————————————————————————
|
|
71
|
+
// direction
|
|
72
|
+
// —————————————————————————————————————————————————————————————————
|
|
73
|
+
|
|
74
|
+
.tabs-landscape {
|
|
75
|
+
display: flex;
|
|
76
|
+
|
|
77
|
+
.tabs {
|
|
78
|
+
|
|
79
|
+
&_controls {
|
|
80
|
+
flex-direction: column;
|
|
81
|
+
width: 10rem;
|
|
82
|
+
border-bottom: 0;
|
|
83
|
+
border-right: variables.$border;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&_panel {
|
|
87
|
+
margin-top: 0;
|
|
88
|
+
margin-left: $spacing;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.tab {
|
|
93
|
+
text-align: left;
|
|
94
|
+
border-top-left-radius: variables.$border-radius-sm;
|
|
95
|
+
border-top-right-radius: 0 !important;
|
|
96
|
+
border-bottom-left-radius: variables.$border-radius-sm;
|
|
97
|
+
|
|
98
|
+
&:after {
|
|
99
|
+
top: 0;
|
|
100
|
+
right: -1px;
|
|
101
|
+
left: auto;
|
|
102
|
+
height: 100%;
|
|
103
|
+
width: 3px;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// —————————————————————————————————————————————————————————————————
|
|
109
|
+
// dense
|
|
110
|
+
// —————————————————————————————————————————————————————————————————
|
|
111
|
+
|
|
112
|
+
.tabs-dense {
|
|
113
|
+
|
|
114
|
+
.tabs_panel {
|
|
115
|
+
margin-top: $spacing-dense;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.tab {
|
|
119
|
+
padding: $spacing-dense*.5 $spacing-dense;
|
|
120
|
+
border-top-left-radius: variables.$border-radius-sm;
|
|
121
|
+
border-top-right-radius: variables.$border-radius-sm;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// —————————————————————————————————————————————————————————————————
|
|
126
|
+
// hasBorder
|
|
127
|
+
// —————————————————————————————————————————————————————————————————
|
|
128
|
+
|
|
129
|
+
.tabs-hasBorder {
|
|
130
|
+
border: variables.$border;
|
|
131
|
+
background: variables.$background-paper;
|
|
132
|
+
border-radius: variables.$border-radius-md;
|
|
133
|
+
|
|
134
|
+
.tabs_panel {
|
|
135
|
+
margin-top: 0;
|
|
136
|
+
margin-left: 0;
|
|
137
|
+
padding: $spacing;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
&.tabs-dense {
|
|
141
|
+
border-radius: variables.$border-radius-sm;
|
|
142
|
+
|
|
143
|
+
.tabs_panel {
|
|
144
|
+
padding: $spacing-dense;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
@use 'sass:list';
|
|
2
|
+
@use '../common/variables';
|
|
3
|
+
@use '../utilities/text';
|
|
4
|
+
|
|
5
|
+
// —————————————————————————————————————————————————————————————————
|
|
6
|
+
// elements
|
|
7
|
+
// color
|
|
8
|
+
// dense
|
|
9
|
+
// —————————————————————————————————————————————————————————————————
|
|
10
|
+
|
|
11
|
+
// —————————————————————————————————————————————————————————————————
|
|
12
|
+
// elements
|
|
13
|
+
// —————————————————————————————————————————————————————————————————
|
|
14
|
+
|
|
15
|
+
.tags {
|
|
16
|
+
display: flex;
|
|
17
|
+
|
|
18
|
+
.tag:not(:last-child) {
|
|
19
|
+
margin-right: .25rem;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&-portrait {
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
align-items: flex-start;
|
|
25
|
+
|
|
26
|
+
.tag:not(:last-child) {
|
|
27
|
+
margin-bottom: .25rem;
|
|
28
|
+
margin-right: 0;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.tag {
|
|
34
|
+
@extend %caption;
|
|
35
|
+
display: inline-flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
font-weight: variables.$font-bold;
|
|
39
|
+
border-radius: variables.$border-radius-sm;
|
|
40
|
+
white-space: nowrap; // prevent text to go on multiple lines
|
|
41
|
+
height: 1.5rem;
|
|
42
|
+
width: fit-content;
|
|
43
|
+
min-width: fit-content;
|
|
44
|
+
padding-right: 0.4em;
|
|
45
|
+
padding-left: 0.4em;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// —————————————————————————————————————————————————————————————————
|
|
49
|
+
// color
|
|
50
|
+
// —————————————————————————————————————————————————————————————————
|
|
51
|
+
|
|
52
|
+
@mixin tag-color($prefix, $colors...) {
|
|
53
|
+
|
|
54
|
+
@each $i in $colors {
|
|
55
|
+
.#{$prefix}#{list.nth($i, 1)} {
|
|
56
|
+
background-color: list.nth($i, 2);
|
|
57
|
+
color: list.nth($i, 3);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@include tag-color('tag',
|
|
63
|
+
'' variables.$primary variables.$primary-contrast,
|
|
64
|
+
'-secondary' variables.$secondary variables.$secondary-contrast,
|
|
65
|
+
'-grey' variables.$text-disabled variables.$text,
|
|
66
|
+
'-success' variables.$success variables.$success-contrast,
|
|
67
|
+
'-info' variables.$info variables.$info-contrast,
|
|
68
|
+
'-warning' variables.$warning variables.$warning-contrast,
|
|
69
|
+
'-error' variables.$error variables.$error-contrast
|
|
70
|
+
);
|
|
71
|
+
|
|
72
|
+
// —————————————————————————————————————————————————————————————————
|
|
73
|
+
// dense
|
|
74
|
+
// —————————————————————————————————————————————————————————————————
|
|
75
|
+
|
|
76
|
+
.tag-dense {
|
|
77
|
+
@extend %overline;
|
|
78
|
+
height: 1rem;
|
|
79
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
.cookie {
|
|
2
|
+
z-index: 10;
|
|
3
|
+
|
|
4
|
+
&.section {
|
|
5
|
+
@include transition($transition-md, transform);
|
|
6
|
+
position: fixed;
|
|
7
|
+
right: 0;
|
|
8
|
+
bottom: 0;
|
|
9
|
+
left: 0;
|
|
10
|
+
display: none;
|
|
11
|
+
background-color: $background-default;
|
|
12
|
+
text-align: left;
|
|
13
|
+
|
|
14
|
+
.section_container {
|
|
15
|
+
padding-top: 10px;
|
|
16
|
+
padding-bottom: 9px;
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: row;
|
|
19
|
+
align-items: baseline;
|
|
20
|
+
justify-content: flex-start;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.js-cookie-accepted {
|
|
25
|
+
@include transition($transition-md, transform);
|
|
26
|
+
transform: translateY(100%);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&_text {
|
|
30
|
+
width: 100%;
|
|
31
|
+
display: inline;
|
|
32
|
+
margin-right: .25rem;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.link {
|
|
36
|
+
flex-basis: 0;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
@use 'sass:list';
|
|
2
|
+
@use '../common/variables';
|
|
3
|
+
|
|
4
|
+
// —————————————————————————————————————————————————————————————————
|
|
5
|
+
// fill
|
|
6
|
+
// stroke
|
|
7
|
+
// —————————————————————————————————————————————————————————————————
|
|
8
|
+
|
|
9
|
+
// —————————————————————————————————————————————————————————————————
|
|
10
|
+
// fill
|
|
11
|
+
// —————————————————————————————————————————————————————————————————
|
|
12
|
+
|
|
13
|
+
@mixin fill($colors...) {
|
|
14
|
+
|
|
15
|
+
@each $i in $colors {
|
|
16
|
+
.fill-#{list.nth($i, 1)} {
|
|
17
|
+
color: list.nth($i, 3) !important;
|
|
18
|
+
background-color: list.nth($i, 2) !important;
|
|
19
|
+
|
|
20
|
+
.card_title {
|
|
21
|
+
color: list.nth($i, 3) !important;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@include fill (
|
|
28
|
+
"main" variables.$main variables.$text,
|
|
29
|
+
"contrast" variables.$contrast variables.$text-contrast,
|
|
30
|
+
|
|
31
|
+
"grey90" variables.$grey-90 variables.$text-contrast,
|
|
32
|
+
"grey80" variables.$grey-80 variables.$text-contrast,
|
|
33
|
+
"grey70" variables.$grey-70 variables.$text-contrast,
|
|
34
|
+
"grey60" variables.$grey-60 variables.$text-contrast,
|
|
35
|
+
"grey50" variables.$grey-50 variables.$text-contrast,
|
|
36
|
+
"grey40" variables.$grey-40 variables.$text,
|
|
37
|
+
"grey30" variables.$grey-30 variables.$text,
|
|
38
|
+
"grey20" variables.$grey-20 variables.$text,
|
|
39
|
+
"grey10" variables.$grey-10 variables.$text,
|
|
40
|
+
"grey5" variables.$grey-5 variables.$text,
|
|
41
|
+
|
|
42
|
+
"default" variables.$background-default variables.$text,
|
|
43
|
+
"paper" variables.$background-paper variables.$text,
|
|
44
|
+
|
|
45
|
+
"primaryLight" variables.$primary-light variables.$text,
|
|
46
|
+
"primary" variables.$primary variables.$text-contrast,
|
|
47
|
+
"primaryDark" variables.$primary-dark variables.$text-contrast,
|
|
48
|
+
"secondaryLight" variables.$secondary-light variables.$text,
|
|
49
|
+
"secondary" variables.$secondary variables.$text-contrast,
|
|
50
|
+
"secondaryDark" variables.$secondary-dark variables.$text-contrast,
|
|
51
|
+
|
|
52
|
+
"successLight" variables.$success-light variables.$text,
|
|
53
|
+
"success" variables.$success variables.$text-contrast,
|
|
54
|
+
"successDark" variables.$success-dark variables.$text-contrast,
|
|
55
|
+
"infoLight" variables.$info-light variables.$text,
|
|
56
|
+
"info" variables.$info variables.$text-contrast,
|
|
57
|
+
"infoDark" variables.$info-dark variables.$text-contrast,
|
|
58
|
+
"warningLight" variables.$warning-light variables.$text,
|
|
59
|
+
"warning" variables.$warning variables.$text,
|
|
60
|
+
"warningDark" variables.$warning-dark variables.$text-contrast,
|
|
61
|
+
"errorLight" variables.$error-light variables.$text,
|
|
62
|
+
"error" variables.$error variables.$text-contrast,
|
|
63
|
+
"errorDark" variables.$error-dark variables.$text-contrast,
|
|
64
|
+
|
|
65
|
+
"border" variables.$border-color variables.$text
|
|
66
|
+
);
|
|
67
|
+
|
|
68
|
+
// —————————————————————————————————————————————————————————————————
|
|
69
|
+
// stroke
|
|
70
|
+
// —————————————————————————————————————————————————————————————————
|
|
71
|
+
|
|
72
|
+
@mixin stroke($colors...) {
|
|
73
|
+
@each $i in $colors {
|
|
74
|
+
.stroke-#{list.nth($i, 1)} {
|
|
75
|
+
border: 1px solid list.nth($i, 2) !important;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@include stroke (
|
|
81
|
+
"main" variables.$main,
|
|
82
|
+
"contrast" variables.$contrast,
|
|
83
|
+
|
|
84
|
+
"grey90" variables.$grey-90,
|
|
85
|
+
"grey80" variables.$grey-80,
|
|
86
|
+
"grey70" variables.$grey-70,
|
|
87
|
+
"grey60" variables.$grey-60,
|
|
88
|
+
"grey50" variables.$grey-50,
|
|
89
|
+
"grey40" variables.$grey-40,
|
|
90
|
+
"grey30" variables.$grey-30,
|
|
91
|
+
"grey20" variables.$grey-20,
|
|
92
|
+
"grey10" variables.$grey-10,
|
|
93
|
+
"grey5" variables.$grey-5 ,
|
|
94
|
+
|
|
95
|
+
"default" variables.$background-default,
|
|
96
|
+
"paper" variables.$background-paper,
|
|
97
|
+
|
|
98
|
+
"primaryLight" variables.$primary-light,
|
|
99
|
+
"primary" variables.$primary,
|
|
100
|
+
"primaryDark" variables.$primary-dark,
|
|
101
|
+
"secondaryLight" variables.$secondary-light,
|
|
102
|
+
"secondary" variables.$secondary,
|
|
103
|
+
"secondaryDark" variables.$secondary-dark,
|
|
104
|
+
|
|
105
|
+
"successLight" variables.$success-light,
|
|
106
|
+
"success" variables.$success,
|
|
107
|
+
"successDark" variables.$success-dark,
|
|
108
|
+
"infoLight" variables.$info-light,
|
|
109
|
+
"info" variables.$info,
|
|
110
|
+
"infoDark" variables.$info-dark,
|
|
111
|
+
"warningLight" variables.$warning-light,
|
|
112
|
+
"warning" variables.$warning,
|
|
113
|
+
"warningDark" variables.$warning-dark,
|
|
114
|
+
"errorLight" variables.$error-light,
|
|
115
|
+
"error" variables.$error,
|
|
116
|
+
"errorDark" variables.$error-dark,
|
|
117
|
+
|
|
118
|
+
"border" variables.$border-color
|
|
119
|
+
);
|