pallote-css 0.4.0 → 0.6.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 +6 -20
- package/dist/pallote.min.css +0 -1
- package/dist/pallote.min.css.map +0 -1
- package/dist/pallote.min.js +0 -1
- package/dist/pallote.scss +0 -37
- package/dist/styles/common/_editor.scss +0 -181
- package/dist/styles/common/_fontface.scss +0 -31
- package/dist/styles/common/_functions.scss +0 -11
- package/dist/styles/common/_global.scss +0 -157
- package/dist/styles/common/_mixins.scss +0 -164
- package/dist/styles/common/_reset.scss +0 -145
- package/dist/styles/common/_variables.scss +0 -252
- package/dist/styles/components/_accordion.scss +0 -132
- package/dist/styles/components/_alert.scss +0 -188
- package/dist/styles/components/_breadcrumbs.scss +0 -70
- package/dist/styles/components/_button.scss +0 -186
- package/dist/styles/components/_buttons.scss +0 -52
- package/dist/styles/components/_card.scss +0 -316
- package/dist/styles/components/_divider.scss +0 -53
- package/dist/styles/components/_form.scss +0 -58
- package/dist/styles/components/_grid.scss +0 -127
- package/dist/styles/components/_input.scss +0 -328
- package/dist/styles/components/_link.scss +0 -51
- package/dist/styles/components/_list.scss +0 -59
- package/dist/styles/components/_nav.scss +0 -274
- package/dist/styles/components/_navbar.scss +0 -192
- package/dist/styles/components/_page.scss +0 -33
- package/dist/styles/components/_section.scss +0 -177
- package/dist/styles/components/_sidebar.scss +0 -61
- package/dist/styles/components/_snippet.scss +0 -85
- package/dist/styles/components/_status.scss +0 -60
- package/dist/styles/components/_switch.scss +0 -84
- package/dist/styles/components/_table.scss +0 -153
- package/dist/styles/components/_tabs.scss +0 -118
- package/dist/styles/components/_tag.scss +0 -79
- package/dist/styles/modules/_cookie.scss +0 -38
- package/dist/styles/utilities/_color.scss +0 -119
- package/dist/styles/utilities/_global.scss +0 -211
- package/dist/styles/utilities/_grid.scss +0 -124
- package/dist/styles/utilities/_layout.scss +0 -127
- package/dist/styles/utilities/_text.scss +0 -199
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
@use '../common/mixins';
|
|
2
|
-
@use '../common/variables';
|
|
3
|
-
@use '../utilities/text';
|
|
4
|
-
|
|
5
|
-
$sidebar-width: 200px;
|
|
6
|
-
|
|
7
|
-
.sidebar {
|
|
8
|
-
transition: left variables.$transition-md;
|
|
9
|
-
@include mixins.calc(height, '100vh - 'variables.$navbar-height);
|
|
10
|
-
position: sticky;
|
|
11
|
-
flex-shrink: 0;
|
|
12
|
-
border-right: variables.$border;
|
|
13
|
-
width: $sidebar-width;
|
|
14
|
-
top: variables.$navbar-height;
|
|
15
|
-
padding: variables.$spacing-md;
|
|
16
|
-
overflow-y: scroll;
|
|
17
|
-
scrollbar-color: light;
|
|
18
|
-
z-index: 11;
|
|
19
|
-
background-color: variables.$background-default;
|
|
20
|
-
|
|
21
|
-
&.js-opened {
|
|
22
|
-
left: 0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@include mixins.responsive(down, tablet) {
|
|
26
|
-
position: fixed;
|
|
27
|
-
height: 100vh;
|
|
28
|
-
top: 0;
|
|
29
|
-
left: -$sidebar-width;
|
|
30
|
-
padding-top: variables.$navbar-height-sm;
|
|
31
|
-
z-index: 13;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&__button {
|
|
35
|
-
content: '';
|
|
36
|
-
border: solid variables.$text;
|
|
37
|
-
border-width: 0 2px 2px 0;
|
|
38
|
-
padding: 4px;
|
|
39
|
-
transform: rotate(-45deg);
|
|
40
|
-
margin-right: variables.$spacing-md;
|
|
41
|
-
display: none;
|
|
42
|
-
|
|
43
|
-
.page--withSidebar & { display: initial; }
|
|
44
|
-
@include mixins.responsive(up, tablet) { display: none !important; }
|
|
45
|
-
|
|
46
|
-
&--close {
|
|
47
|
-
position: absolute;
|
|
48
|
-
top: variables.$navbar-height-sm*0.5;
|
|
49
|
-
left: variables.$navbar-height-sm*0.5;
|
|
50
|
-
transform: translateY(-50%) rotate(135deg);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&__title {
|
|
55
|
-
@extend %overline;
|
|
56
|
-
color: variables.$text-alt;
|
|
57
|
-
font-weight: variables.$font-bold;
|
|
58
|
-
margin-bottom: variables.$spacing-xs;
|
|
59
|
-
margin-left: 0;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
@use '../common/variables';
|
|
2
|
-
@use '../utilities/text';
|
|
3
|
-
|
|
4
|
-
// —————————————————————————————————————————————————————————————————
|
|
5
|
-
// elements
|
|
6
|
-
// default
|
|
7
|
-
// dense
|
|
8
|
-
// —————————————————————————————————————————————————————————————————
|
|
9
|
-
|
|
10
|
-
// —————————————————————————————————————————————————————————————————
|
|
11
|
-
// elements
|
|
12
|
-
// —————————————————————————————————————————————————————————————————
|
|
13
|
-
|
|
14
|
-
.snippet {
|
|
15
|
-
@extend %caption;
|
|
16
|
-
font-family: "Roboto Mono", Courier, monospace;
|
|
17
|
-
word-wrap: break-word;
|
|
18
|
-
width: 100%;
|
|
19
|
-
position: relative;
|
|
20
|
-
border-radius: variables.$border-radius-sm;
|
|
21
|
-
margin: 0;
|
|
22
|
-
padding: variables.$spacing-sm variables.$spacing-sm*1.5;
|
|
23
|
-
background-color: variables.$hover;
|
|
24
|
-
border: variables.$border;
|
|
25
|
-
|
|
26
|
-
& + & {
|
|
27
|
-
margin-top: variables.$spacing-sm;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
p > & {
|
|
31
|
-
margin-right: variables.$spacing-xs;
|
|
32
|
-
margin-left: variables.$spacing-xs;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.tag {
|
|
36
|
-
font-family: variables.$font, variables.$font-fallback;
|
|
37
|
-
float: right;
|
|
38
|
-
margin-top: 1px;
|
|
39
|
-
margin-right: -(variables.$spacing-xs);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// —————————————————————————————————————————————————————————————————
|
|
44
|
-
// default
|
|
45
|
-
// —————————————————————————————————————————————————————————————————
|
|
46
|
-
|
|
47
|
-
.snippet--default {
|
|
48
|
-
|
|
49
|
-
&:after {
|
|
50
|
-
@extend %overline;
|
|
51
|
-
content: "Default";
|
|
52
|
-
font-family: variables.$font, variables.$font-fallback;
|
|
53
|
-
float: right;
|
|
54
|
-
margin-top: 1px;
|
|
55
|
-
margin-right: -(variables.$spacing-xs);
|
|
56
|
-
display: inline-flex;
|
|
57
|
-
align-items: center;
|
|
58
|
-
justify-content: center;
|
|
59
|
-
font-weight: variables.$font-bold;
|
|
60
|
-
border-radius: variables.$border-radius-sm;
|
|
61
|
-
white-space: nowrap; // prevent text to go on multiple lines
|
|
62
|
-
position: absolute;
|
|
63
|
-
top: variables.$spacing-sm;
|
|
64
|
-
right: variables.$spacing-md*0.75;
|
|
65
|
-
height: variables.$spacing-md;
|
|
66
|
-
padding-right: variables.$spacing-xs;
|
|
67
|
-
padding-left: variables.$spacing-xs;
|
|
68
|
-
padding-bottom: 0.1em;
|
|
69
|
-
background-color: variables.$text-disabled;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// —————————————————————————————————————————————————————————————————
|
|
74
|
-
// dense
|
|
75
|
-
// —————————————————————————————————————————————————————————————————
|
|
76
|
-
|
|
77
|
-
.snippet--dense {
|
|
78
|
-
@extend %overline;
|
|
79
|
-
padding: variables.$spacing-xs variables.$spacing-sm !important;
|
|
80
|
-
|
|
81
|
-
&.snippet--default:after {
|
|
82
|
-
top: variables.$spacing-xs;
|
|
83
|
-
right: variables.$spacing-sm;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
@use '../common/variables';
|
|
2
|
-
@use '../utilities/text';
|
|
3
|
-
|
|
4
|
-
// —————————————————————————————————————————————————————————————————
|
|
5
|
-
// elements
|
|
6
|
-
// color
|
|
7
|
-
// dense
|
|
8
|
-
// —————————————————————————————————————————————————————————————————
|
|
9
|
-
|
|
10
|
-
$spacing-status: .5rem;
|
|
11
|
-
|
|
12
|
-
// —————————————————————————————————————————————————————————————————
|
|
13
|
-
// elements
|
|
14
|
-
// —————————————————————————————————————————————————————————————————
|
|
15
|
-
|
|
16
|
-
.status {
|
|
17
|
-
|
|
18
|
-
&:before {
|
|
19
|
-
content: "";
|
|
20
|
-
display: inline-block;
|
|
21
|
-
height: $spacing-status;
|
|
22
|
-
width: $spacing-status;
|
|
23
|
-
background-color: variables.$text-alt;
|
|
24
|
-
border-radius: 50%;
|
|
25
|
-
margin-right: 0.35em;
|
|
26
|
-
transform: translateY(-0.05em);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
// —————————————————————————————————————————————————————————————————
|
|
31
|
-
// color
|
|
32
|
-
// —————————————————————————————————————————————————————————————————
|
|
33
|
-
|
|
34
|
-
@mixin status-color($color) {
|
|
35
|
-
|
|
36
|
-
&:before {
|
|
37
|
-
background-color: $color;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.status {
|
|
42
|
-
|
|
43
|
-
&-success { @include status-color(variables.$success); }
|
|
44
|
-
&-info { @include status-color(variables.$info); }
|
|
45
|
-
&-warning { @include status-color(variables.$warning); }
|
|
46
|
-
&-error { @include status-color(variables.$error); }
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// —————————————————————————————————————————————————————————————————
|
|
50
|
-
// dense
|
|
51
|
-
// —————————————————————————————————————————————————————————————————
|
|
52
|
-
|
|
53
|
-
.status-dense {
|
|
54
|
-
@extend %caption;
|
|
55
|
-
|
|
56
|
-
&:before {
|
|
57
|
-
height: $spacing-status*0.75;
|
|
58
|
-
width: $spacing-status*0.75;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
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: -(variables.$spacing-xs);
|
|
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
|
-
}
|
|
@@ -1,153 +0,0 @@
|
|
|
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
|
-
}
|
|
75
|
-
|
|
76
|
-
td.table_cell { border-top: variables.$border; }
|
|
77
|
-
th.table_cell { background-color: rgba(variables.$contrast, 0.05); }
|
|
78
|
-
|
|
79
|
-
// —————————————————————————————————————————————————————————————————
|
|
80
|
-
// striped
|
|
81
|
-
// —————————————————————————————————————————————————————————————————
|
|
82
|
-
|
|
83
|
-
.table-striped {
|
|
84
|
-
|
|
85
|
-
.table_row:nth-child(even) {
|
|
86
|
-
background-color: rgba(variables.$contrast, 0.03);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
// —————————————————————————————————————————————————————————————————
|
|
90
|
-
// hasHover
|
|
91
|
-
// —————————————————————————————————————————————————————————————————
|
|
92
|
-
|
|
93
|
-
.table-hasHover {
|
|
94
|
-
|
|
95
|
-
.table {
|
|
96
|
-
|
|
97
|
-
&_head .table_row:hover { background-color: transparent; }
|
|
98
|
-
&_row:hover { background-color: variables.$hover; }
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
// —————————————————————————————————————————————————————————————————
|
|
102
|
-
// dense
|
|
103
|
-
// —————————————————————————————————————————————————————————————————
|
|
104
|
-
|
|
105
|
-
.table-dense {
|
|
106
|
-
|
|
107
|
-
.table {
|
|
108
|
-
|
|
109
|
-
&_cell {
|
|
110
|
-
@extend %caption;
|
|
111
|
-
padding: $padding-dense-vertical $padding-dense-horizontal;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
&_footer {
|
|
115
|
-
padding: $padding-dense-vertical;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
th.table_cell {
|
|
120
|
-
@extend %overline;
|
|
121
|
-
font-weight: variables.$font-bold;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
// —————————————————————————————————————————————————————————————————
|
|
126
|
-
// border
|
|
127
|
-
// —————————————————————————————————————————————————————————————————
|
|
128
|
-
|
|
129
|
-
.table-border {
|
|
130
|
-
border: variables.$border;
|
|
131
|
-
border-radius: variables.$border-radius-md;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
// —————————————————————————————————————————————————————————————————
|
|
135
|
-
// kind (for table cell component)
|
|
136
|
-
// —————————————————————————————————————————————————————————————————
|
|
137
|
-
|
|
138
|
-
.table_cell {
|
|
139
|
-
|
|
140
|
-
&-number {
|
|
141
|
-
text-align: right;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
&-action {
|
|
145
|
-
text-align: right;
|
|
146
|
-
width: 1%;
|
|
147
|
-
white-space: nowrap;
|
|
148
|
-
|
|
149
|
-
.buttons {
|
|
150
|
-
justify-content: flex-end;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
@use '../common/variables';
|
|
2
|
-
@use '../utilities/text';
|
|
3
|
-
|
|
4
|
-
// —————————————————————————————————————————————————————————————————
|
|
5
|
-
// elements
|
|
6
|
-
// active
|
|
7
|
-
// direction
|
|
8
|
-
// dense
|
|
9
|
-
// —————————————————————————————————————————————————————————————————
|
|
10
|
-
|
|
11
|
-
// —————————————————————————————————————————————————————————————————
|
|
12
|
-
// elements
|
|
13
|
-
// —————————————————————————————————————————————————————————————————
|
|
14
|
-
|
|
15
|
-
.tabs {
|
|
16
|
-
width: 100%;
|
|
17
|
-
|
|
18
|
-
&__controls {
|
|
19
|
-
display: flex;
|
|
20
|
-
width: 100%;
|
|
21
|
-
border-bottom: variables.$border;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&__item {
|
|
25
|
-
position: relative;
|
|
26
|
-
cursor: pointer;
|
|
27
|
-
padding: variables.$spacing-sm variables.$spacing-md;
|
|
28
|
-
border-top-left-radius: variables.$border-radius-sm;
|
|
29
|
-
border-top-right-radius: variables.$border-radius-sm;
|
|
30
|
-
|
|
31
|
-
&:after {
|
|
32
|
-
content: '';
|
|
33
|
-
position: absolute;
|
|
34
|
-
bottom: -1px;
|
|
35
|
-
left: 0;
|
|
36
|
-
height: 1px;
|
|
37
|
-
width: 100%;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&__panel {
|
|
42
|
-
padding: variables.$spacing-md;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// —————————————————————————————————————————————————————————————————
|
|
47
|
-
// active
|
|
48
|
-
// —————————————————————————————————————————————————————————————————
|
|
49
|
-
|
|
50
|
-
.tabs__item:hover,
|
|
51
|
-
.tabs__item--active {
|
|
52
|
-
background-color: variables.$hover;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.tabs__item--active {
|
|
56
|
-
color: variables.$primary;
|
|
57
|
-
|
|
58
|
-
&:after {
|
|
59
|
-
background-color: variables.$primary;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// —————————————————————————————————————————————————————————————————
|
|
64
|
-
// direction
|
|
65
|
-
// —————————————————————————————————————————————————————————————————
|
|
66
|
-
|
|
67
|
-
.tabs--portrait {
|
|
68
|
-
display: flex;
|
|
69
|
-
|
|
70
|
-
.tabs {
|
|
71
|
-
|
|
72
|
-
&__controls {
|
|
73
|
-
flex-direction: column;
|
|
74
|
-
width: 160px;
|
|
75
|
-
border-bottom: 0;
|
|
76
|
-
border-right: variables.$border;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&__item {
|
|
80
|
-
text-align: left;
|
|
81
|
-
border-top-left-radius: variables.$border-radius-sm;
|
|
82
|
-
border-top-right-radius: 0;
|
|
83
|
-
border-bottom-left-radius: variables.$border-radius-sm;
|
|
84
|
-
|
|
85
|
-
&:after {
|
|
86
|
-
top: 0;
|
|
87
|
-
right: -1px;
|
|
88
|
-
left: auto;
|
|
89
|
-
height: 100%;
|
|
90
|
-
width: 1px;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&__panel {
|
|
95
|
-
padding-top: variables.$spacing-sm;
|
|
96
|
-
padding-bottom: variables.$spacing-sm;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// —————————————————————————————————————————————————————————————————
|
|
102
|
-
// dense
|
|
103
|
-
// —————————————————————————————————————————————————————————————————
|
|
104
|
-
|
|
105
|
-
.tabs--dense {
|
|
106
|
-
|
|
107
|
-
.tabs {
|
|
108
|
-
|
|
109
|
-
&__item {
|
|
110
|
-
@extend %caption;
|
|
111
|
-
padding: variables.$spacing-xs variables.$spacing-sm;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
&__panel {
|
|
115
|
-
padding: variables.$spacing-sm;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
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: $spacing-xs;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.link {
|
|
36
|
-
flex-basis: 0;
|
|
37
|
-
}
|
|
38
|
-
}
|