@trilogy-ds/styles 0.0.1-beta.8 → 0.0.3-beta-v4
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/dist/default/trilogy-mangled.css +1 -1
- package/dist/default/trilogy-partials.css +1 -1
- package/dist/default/trilogy.css +1 -1
- package/framework/src/base/_color.scss +9 -39
- package/framework/src/base/_generic.scss +4 -1
- package/framework/src/base/_helpers.scss +13 -38
- package/framework/src/base/_loading.scss +8 -1
- package/framework/src/base/_reset.scss +8 -3
- package/framework/src/components/_accordion.scss +53 -88
- package/framework/src/components/_all.scss +1 -7
- package/framework/src/components/_autolayout.scss +302 -0
- package/framework/src/components/_breadcrumb.scss +39 -34
- package/framework/src/components/_card.scss +8 -79
- package/framework/src/components/_countdown.scss +49 -47
- package/framework/src/components/_divider.scss +10 -15
- package/framework/src/components/_fab.scss +25 -38
- package/framework/src/components/_modal.scss +161 -158
- package/framework/src/components/_otp.scss +10 -29
- package/framework/src/components/_pagination.scss +59 -161
- package/framework/src/components/_plus-symbol.scss +1 -1
- package/framework/src/components/_popover.scss +260 -260
- package/framework/src/components/_price.scss +119 -170
- package/framework/src/components/_product-tour.scss +2 -4
- package/framework/src/components/_progress-radial.scss +24 -19
- package/framework/src/components/_range.scss +73 -72
- package/framework/src/components/_segmented-control.scss +51 -53
- package/framework/src/components/_stepper.scss +42 -222
- package/framework/src/components/_tabs.scss +46 -81
- package/framework/src/components/_timeline.scss +27 -112
- package/framework/src/elements/_alert.scss +13 -10
- package/framework/src/elements/_all.scss +1 -4
- package/framework/src/elements/_autocomplete.scss +32 -0
- package/framework/src/elements/_badge.scss +67 -61
- package/framework/src/elements/_box.scss +64 -161
- package/framework/src/elements/_button.scss +15 -141
- package/framework/src/elements/_checkbox.scss +29 -26
- package/framework/src/elements/_chips.scss +69 -85
- package/framework/src/elements/_container.scss +7 -39
- package/framework/src/elements/_entry.scss +76 -88
- package/framework/src/elements/_form.scss +26 -23
- package/framework/src/elements/_icon.scss +4 -4
- package/framework/src/elements/_image.scss +50 -40
- package/framework/src/elements/_input-gauge.scss +32 -33
- package/framework/src/elements/_input-icons.scss +33 -31
- package/framework/src/elements/_link.scss +38 -65
- package/framework/src/elements/_list.scss +45 -44
- package/framework/src/elements/_loader.scss +2 -2
- package/framework/src/elements/_other.scss +0 -37
- package/framework/src/elements/_paragraph.scss +35 -69
- package/framework/src/elements/_progress.scss +33 -22
- package/framework/src/elements/_radio.scss +45 -31
- package/framework/src/elements/_select.scss +85 -304
- package/framework/src/elements/_sticker.scss +12 -27
- package/framework/src/elements/_switch.scss +101 -99
- package/framework/src/elements/_table.scss +175 -228
- package/framework/src/elements/_tag.scss +104 -105
- package/framework/src/elements/_textarea.scss +113 -105
- package/framework/src/elements/_title.scss +89 -87
- package/framework/src/elements/_toaster.scss +4 -5
- package/framework/src/grid/_columns.scss +257 -764
- package/framework/src/grid/_rows.scss +45 -38
- package/framework/src/layout/_all.scss +0 -1
- package/framework/src/layout/_hero.scss +89 -215
- package/framework/src/layout/_section.scss +5 -29
- package/framework/src/theming/_all.scss +3 -0
- package/framework/src/theming/buttons_partial.scss +32 -0
- package/framework/src/theming/common_partials.scss +10 -0
- package/framework/src/theming/links_partial.scss +20 -0
- package/framework/src/utilities/_a11y.scss +13 -0
- package/framework/src/utilities/_all.scss +4 -0
- package/framework/src/utilities/_background.scss +19 -0
- package/framework/src/utilities/_colors.scss +40 -0
- package/framework/src/utilities/_controls.scss +38 -49
- package/framework/src/utilities/_derived-variables.scss +4 -15
- package/framework/src/utilities/_initial-variables.scss +4 -36
- package/framework/src/utilities/_mixins.scss +483 -592
- package/framework/src/utilities/_pre.scss +1 -0
- package/package.json +3 -3
- package/framework/src/components/_autolayout2.scss +0 -38
- package/framework/src/components/_disclaimer.scss +0 -84
- package/framework/src/components/_dropdown.scss +0 -128
- package/framework/src/components/_level.scss +0 -120
- package/framework/src/components/_media.scss +0 -64
- package/framework/src/components/_menu.scss +0 -213
- package/framework/src/components/_search-modal.scss +0 -197
- package/framework/src/components/_slices.scss +0 -316
- package/framework/src/components/_slider.scss +0 -92
- package/framework/src/components/_switch.scss +0 -209
- package/framework/src/elements/_checkradio.scss +0 -173
- package/framework/src/elements/_dot.scss +0 -6
- package/framework/src/elements/_notification.scss +0 -151
- package/framework/src/elements/_options.scss +0 -146
- package/framework/src/elements/_timeline.scss +0 -283
- package/framework/src/layout/_toolbar.scss +0 -100
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trilogy-ds/styles",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3-beta-v4",
|
|
4
4
|
"author": "Bouygues Telecom",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"files": [
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"create:autolayout": "node scripts/dist/autolayout.cjs",
|
|
17
17
|
"create:spacing": "node scripts/dist/spacing.cjs",
|
|
18
18
|
"prebuild": "npm run copy:icons",
|
|
19
|
-
"build": "vite --config vite.config.js build",
|
|
20
|
-
"watch:css": "vite --config vite.config.js watch",
|
|
19
|
+
"build": "npm run build:autolayout && npm run create:autolayout && vite --config vite.config.js build",
|
|
20
|
+
"watch:css": "vite --config vite.config.js build -- --watch",
|
|
21
21
|
"copy:icons": "mkdir -p ./dist/default/assets/icons && cp -R ../assets/lib/icons/all ./dist/default/assets/icons/."
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
body:not(.is-tight) {
|
|
2
|
-
.box {
|
|
3
|
-
margin-top: 16px;
|
|
4
|
-
}
|
|
5
|
-
.box:not(:first-child) + * {
|
|
6
|
-
margin-top: 16px;
|
|
7
|
-
}
|
|
8
|
-
* + .box {
|
|
9
|
-
margin-top: 8px;
|
|
10
|
-
}
|
|
11
|
-
.text {
|
|
12
|
-
margin-top: 8px;
|
|
13
|
-
}
|
|
14
|
-
.card {
|
|
15
|
-
margin-top: 16px;
|
|
16
|
-
}
|
|
17
|
-
.button {
|
|
18
|
-
margin-top: 16px;
|
|
19
|
-
}
|
|
20
|
-
.accordions {
|
|
21
|
-
margin-top: 16px;
|
|
22
|
-
}
|
|
23
|
-
.alert {
|
|
24
|
-
margin-top: 16px;
|
|
25
|
-
}
|
|
26
|
-
.field {
|
|
27
|
-
margin-top: 8px;
|
|
28
|
-
}
|
|
29
|
-
.chips-list {
|
|
30
|
-
margin-top: 16px;
|
|
31
|
-
}
|
|
32
|
-
.tags {
|
|
33
|
-
margin-top: 16px;
|
|
34
|
-
}
|
|
35
|
-
.chips-list {
|
|
36
|
-
margin-top: 16px;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
.disclaimer.accordions {
|
|
2
|
-
.accordion {
|
|
3
|
-
.disclaimer-header {
|
|
4
|
-
margin-left: 0;
|
|
5
|
-
justify-content: flex-start;
|
|
6
|
-
|
|
7
|
-
.toggle.button {
|
|
8
|
-
max-height: 20px;
|
|
9
|
-
max-width: 20px;
|
|
10
|
-
min-height: 20px;
|
|
11
|
-
min-width: 20px;
|
|
12
|
-
height: 20px;
|
|
13
|
-
width: 20px;
|
|
14
|
-
margin: 0 10px 0 0;
|
|
15
|
-
top: -1px;
|
|
16
|
-
|
|
17
|
-
&.is-bordered {
|
|
18
|
-
min-height: 32px;
|
|
19
|
-
min-width: 32px;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.title {
|
|
24
|
-
margin: 0 0 0 15px;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.disclaimer-content {
|
|
29
|
-
padding-left: 20px;
|
|
30
|
-
margin-left: $spacing-6;
|
|
31
|
-
position: relative;
|
|
32
|
-
color: getColor('font');
|
|
33
|
-
|
|
34
|
-
.disclaimer-marker {
|
|
35
|
-
margin-left: 30px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.disclaimer-item {
|
|
39
|
-
margin-left: 20px;
|
|
40
|
-
|
|
41
|
-
.heading {
|
|
42
|
-
font-weight: $weight-normal;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
a {
|
|
46
|
-
font-weight: $weight-semibold;
|
|
47
|
-
text-decoration: underline;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
p {
|
|
51
|
-
&:not(.heading) {
|
|
52
|
-
margin-bottom: 0;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&::before {
|
|
58
|
-
content: "";
|
|
59
|
-
position: absolute;
|
|
60
|
-
top: 0;
|
|
61
|
-
left: 0;
|
|
62
|
-
background-color: getColor('font');
|
|
63
|
-
display: block;
|
|
64
|
-
width: 0.1em;
|
|
65
|
-
height: 100%;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&:hover:not(.is-disabled) {
|
|
70
|
-
border-color: getColor('alternate');
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&.is-active {
|
|
74
|
-
color: getColor('alternate');
|
|
75
|
-
}
|
|
76
|
-
/* @todo : deprecated ? remove ? add doc ? */
|
|
77
|
-
.heading {
|
|
78
|
-
font-size: $text-13;
|
|
79
|
-
color: getColor('grey');
|
|
80
|
-
margin-bottom: 0.75em;
|
|
81
|
-
text-transform: inherit;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
.dropdown {
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
position: relative;
|
|
4
|
-
vertical-align: top;
|
|
5
|
-
width: 100%;
|
|
6
|
-
&.is-active,
|
|
7
|
-
&.is-hoverable:hover {
|
|
8
|
-
.dropdown-menu {
|
|
9
|
-
display: block;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
select {
|
|
14
|
-
width: 95% !important;
|
|
15
|
-
border:none;
|
|
16
|
-
height: 97% !important;
|
|
17
|
-
margin-left: 16px;
|
|
18
|
-
-moz-appearance:none; /* Firefox */
|
|
19
|
-
-webkit-appearance:none; /* Safari and Chrome */
|
|
20
|
-
appearance:none;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&.is-active {
|
|
24
|
-
.dropdown-menu {
|
|
25
|
-
z-index: zindex('dropdown');
|
|
26
|
-
|
|
27
|
-
.dropdown-content {
|
|
28
|
-
border: 1px solid getColor('alternate');;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&.is-right {
|
|
34
|
-
.dropdown-menu {
|
|
35
|
-
left: auto;
|
|
36
|
-
right: 0;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&.is-up {
|
|
41
|
-
.dropdown-menu {
|
|
42
|
-
bottom: 100%;
|
|
43
|
-
padding-bottom: $spacing-1;
|
|
44
|
-
padding-top: initial;
|
|
45
|
-
top: auto;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.react-autosuggest__container {
|
|
50
|
-
width: 100%;
|
|
51
|
-
|
|
52
|
-
.dropdown-menu .dropdown-content {
|
|
53
|
-
overflow-y: auto;
|
|
54
|
-
max-height: 25vh;
|
|
55
|
-
|
|
56
|
-
.dropdown-item {
|
|
57
|
-
cursor: pointer;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.dropdown-trigger {
|
|
63
|
-
width: 100%;
|
|
64
|
-
|
|
65
|
-
.select {
|
|
66
|
-
cursor: pointer;
|
|
67
|
-
|
|
68
|
-
select {
|
|
69
|
-
pointer-events: none;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.dropdown-menu {
|
|
75
|
-
display: none;
|
|
76
|
-
left: 0;
|
|
77
|
-
min-width: 120px;
|
|
78
|
-
padding-top: $spacing-1;
|
|
79
|
-
position: absolute;
|
|
80
|
-
top: 100%;
|
|
81
|
-
width: 100%;
|
|
82
|
-
z-index: 20;
|
|
83
|
-
|
|
84
|
-
.dropdown-content {
|
|
85
|
-
border-radius: 8px;
|
|
86
|
-
box-shadow: 0 2px 3px rgba(#000, 0.1),
|
|
87
|
-
0 0 0 1px rgba(#000, 0.1);
|
|
88
|
-
font-size: inherit;
|
|
89
|
-
padding: 5px 10px;
|
|
90
|
-
|
|
91
|
-
.dropdown-item {
|
|
92
|
-
display: block;
|
|
93
|
-
font-size: inherit;
|
|
94
|
-
line-height: 1.5;
|
|
95
|
-
padding: 3.75px 10px;
|
|
96
|
-
position: relative;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.control.has-dynamic-placeholder .select > select:active ~ label,
|
|
102
|
-
.control.has-dynamic-placeholder .select > select:focus ~ label {
|
|
103
|
-
display: flex;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
a.dropdown-item {
|
|
108
|
-
padding-right: 30px;
|
|
109
|
-
white-space: nowrap;
|
|
110
|
-
|
|
111
|
-
&:hover {
|
|
112
|
-
background-color: getColor('background');
|
|
113
|
-
color: invertColor('background');;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
&.is-active {
|
|
117
|
-
background-color: getColor('alternate');
|
|
118
|
-
color: invertColor('alternate');
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.dropdown-divider {
|
|
123
|
-
background-color: rgba(getColor('grey'), 0.5);
|
|
124
|
-
border: none;
|
|
125
|
-
display: block;
|
|
126
|
-
height: 1px;
|
|
127
|
-
margin: 5px 0;
|
|
128
|
-
}
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
.level {
|
|
2
|
-
@include block;
|
|
3
|
-
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: space-between;
|
|
6
|
-
|
|
7
|
-
code {
|
|
8
|
-
border-radius: $radius;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
img {
|
|
12
|
-
display: inline-block;
|
|
13
|
-
vertical-align: top;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
// Modifiers
|
|
17
|
-
&.is-mobile {
|
|
18
|
-
display: flex;
|
|
19
|
-
|
|
20
|
-
.level-left,
|
|
21
|
-
.level-right {
|
|
22
|
-
display: flex;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.level-left + .level-right {
|
|
26
|
-
margin-top: 0;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.level-item {
|
|
30
|
-
margin-right: 7.4px;
|
|
31
|
-
|
|
32
|
-
&:not(:last-child) {
|
|
33
|
-
margin-bottom: 0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&:not(.is-narrow) {
|
|
37
|
-
flex-grow: 1;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
// Responsiveness
|
|
43
|
-
@include tablet {
|
|
44
|
-
display: flex;
|
|
45
|
-
|
|
46
|
-
& > .level-item {
|
|
47
|
-
&:not(.is-narrow) {
|
|
48
|
-
flex-grow: 1;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.level-item {
|
|
55
|
-
align-items: center;
|
|
56
|
-
display: flex;
|
|
57
|
-
flex-basis: auto;
|
|
58
|
-
flex-grow: 0;
|
|
59
|
-
flex-shrink: 0;
|
|
60
|
-
justify-content: center;
|
|
61
|
-
|
|
62
|
-
.title,
|
|
63
|
-
.subtitle {
|
|
64
|
-
margin-bottom: 0;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
// Responsiveness
|
|
68
|
-
@include mobile {
|
|
69
|
-
&:not(:last-child) {
|
|
70
|
-
margin-bottom: 7.5px;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.level-left,
|
|
76
|
-
.level-right {
|
|
77
|
-
flex-basis: auto;
|
|
78
|
-
flex-grow: 0;
|
|
79
|
-
flex-shrink: 0;
|
|
80
|
-
|
|
81
|
-
.level-item {
|
|
82
|
-
// Modifiers
|
|
83
|
-
&.is-flexible {
|
|
84
|
-
flex-grow: 1;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
// Responsiveness
|
|
88
|
-
@include tablet {
|
|
89
|
-
&:not(:last-child) {
|
|
90
|
-
margin-right: 7.5px;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.level-left {
|
|
97
|
-
align-items: center;
|
|
98
|
-
justify-content: flex-start;
|
|
99
|
-
|
|
100
|
-
// Responsiveness
|
|
101
|
-
@include mobile {
|
|
102
|
-
& + .level-right {
|
|
103
|
-
margin-top: 15px;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
@include tablet {
|
|
108
|
-
display: flex;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.level-right {
|
|
113
|
-
align-items: center;
|
|
114
|
-
justify-content: flex-end;
|
|
115
|
-
|
|
116
|
-
// Responsiveness
|
|
117
|
-
@include tablet {
|
|
118
|
-
display: flex;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
.media {
|
|
2
|
-
align-items: flex-start;
|
|
3
|
-
display: flex;
|
|
4
|
-
text-align: left;
|
|
5
|
-
|
|
6
|
-
.content:not(:last-child) {
|
|
7
|
-
margin-bottom: 7.5px;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.media {
|
|
11
|
-
border-top: 1px solid getColor('grey-lighter');
|
|
12
|
-
display: flex;
|
|
13
|
-
padding-top: 7.5px;
|
|
14
|
-
|
|
15
|
-
.content:not(:last-child),
|
|
16
|
-
.control:not(:last-child) {
|
|
17
|
-
margin-bottom: 5px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.media {
|
|
21
|
-
padding-top: 5px;
|
|
22
|
-
|
|
23
|
-
& + .media {
|
|
24
|
-
margin-top: 5px;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
& + .media {
|
|
30
|
-
border-top: 1px solid getColor('grey-lighter');
|
|
31
|
-
margin-top: 10px;
|
|
32
|
-
padding-top: 10px;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
// Sizes
|
|
36
|
-
&.is-large {
|
|
37
|
-
& + .media {
|
|
38
|
-
margin-top: 15px;
|
|
39
|
-
padding-top: 15px;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.media-left,
|
|
45
|
-
.media-right {
|
|
46
|
-
flex-basis: auto;
|
|
47
|
-
flex-grow: 0;
|
|
48
|
-
flex-shrink: 0;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.media-left {
|
|
52
|
-
margin-right: 10px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.media-right {
|
|
56
|
-
margin-left: 10px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.media-content {
|
|
60
|
-
flex-basis: auto;
|
|
61
|
-
flex-grow: 1;
|
|
62
|
-
flex-shrink: 1;
|
|
63
|
-
text-align: left;
|
|
64
|
-
}
|
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
|
|
3
|
-
$menu-top: 60px;
|
|
4
|
-
$menu-top-desktop: 80px;
|
|
5
|
-
|
|
6
|
-
$menu-item-height: 3.125em;
|
|
7
|
-
$menu-item-line-height: math.div($menu-item-height, 2);
|
|
8
|
-
$menu-dropdown-item-height: 2em;
|
|
9
|
-
|
|
10
|
-
.menu {
|
|
11
|
-
font-size: $text-14;
|
|
12
|
-
|
|
13
|
-
&.is-small {
|
|
14
|
-
font-size: $size-small;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&.is-large {
|
|
18
|
-
font-size: $size-large;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&.is-fixed {
|
|
22
|
-
position: fixed;
|
|
23
|
-
max-width: 374px;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
li {
|
|
27
|
-
border-bottom: 1px solid getColor('grey-lighter');
|
|
28
|
-
|
|
29
|
-
&:last-child {
|
|
30
|
-
border-bottom: none;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.navbar.navbar-header .navbar-menu & {
|
|
35
|
-
top: $menu-top;
|
|
36
|
-
|
|
37
|
-
@include desktop {
|
|
38
|
-
top: $menu-top-desktop;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.menu-title {
|
|
45
|
-
padding-left: 10px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.menu-list {
|
|
49
|
-
line-height: 1.25;
|
|
50
|
-
padding: 10px 0;
|
|
51
|
-
border-bottom: 1px solid getColor('grey-light');
|
|
52
|
-
|
|
53
|
-
a {
|
|
54
|
-
@include unselectable;
|
|
55
|
-
|
|
56
|
-
color: getColor('font');
|
|
57
|
-
padding: 10px 0.75em;
|
|
58
|
-
position: relative;
|
|
59
|
-
display: flex;
|
|
60
|
-
flex-direction: row;
|
|
61
|
-
text-decoration: inherit;
|
|
62
|
-
|
|
63
|
-
&:hover {
|
|
64
|
-
background-color: transparent;
|
|
65
|
-
color: getColor('alternate');
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&.with-arrow::after {
|
|
69
|
-
content: "";
|
|
70
|
-
mask-image: url('./assets/icons/all/arrow-right.svg');
|
|
71
|
-
background-color: getColor('font');
|
|
72
|
-
right: 0.75em;
|
|
73
|
-
position: absolute;
|
|
74
|
-
width: 15px;
|
|
75
|
-
height: 15px;
|
|
76
|
-
align-self: center;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&.is-active {
|
|
80
|
-
background-color: getColor('grey-light');
|
|
81
|
-
color: getColor('alternate');
|
|
82
|
-
|
|
83
|
-
&::before {
|
|
84
|
-
content: '';
|
|
85
|
-
position: absolute;
|
|
86
|
-
left: 0;
|
|
87
|
-
top: 0;
|
|
88
|
-
width: 4px;
|
|
89
|
-
height: 100%;
|
|
90
|
-
background-color: getVariantColor('alternate',2);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.badge {
|
|
95
|
-
margin-top: 1px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.icon {
|
|
99
|
-
margin: -1px 10px 0 0;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
li {
|
|
104
|
-
ul {
|
|
105
|
-
margin: 0.75em;
|
|
106
|
-
padding-left: 0.75em;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
&.dropdown-menu-list,
|
|
111
|
-
&.aside-menu-list {
|
|
112
|
-
color: getColor('font');
|
|
113
|
-
border: 0;
|
|
114
|
-
background-color: getColor('background');
|
|
115
|
-
padding: 0;
|
|
116
|
-
|
|
117
|
-
li {
|
|
118
|
-
ul {
|
|
119
|
-
padding: 0;
|
|
120
|
-
margin: 0.4em 0 0.8em;
|
|
121
|
-
|
|
122
|
-
li {
|
|
123
|
-
padding: 0;
|
|
124
|
-
|
|
125
|
-
a {
|
|
126
|
-
min-height: $menu-dropdown-item-height;
|
|
127
|
-
line-height: $menu-dropdown-item-height;
|
|
128
|
-
padding: 0 2.4em;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
li.is-active a,
|
|
135
|
-
a.is-active {
|
|
136
|
-
box-shadow: inset 4px 0 0 0 currentColor;
|
|
137
|
-
color: getVariantColor('alternate',2);
|
|
138
|
-
background: inherit;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
a {
|
|
142
|
-
padding: 0 1.2em;
|
|
143
|
-
color: getColor('font');
|
|
144
|
-
min-height: $menu-dropdown-item-height;
|
|
145
|
-
line-height: $menu-dropdown-item-height;
|
|
146
|
-
white-space: nowrap;
|
|
147
|
-
text-overflow: ellipsis;
|
|
148
|
-
overflow: hidden;
|
|
149
|
-
|
|
150
|
-
&:hover {
|
|
151
|
-
color: getVariantColor('alternate',2);
|
|
152
|
-
background-color: getColor('grey-lighter');
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
sub {
|
|
156
|
-
display: inline-block;
|
|
157
|
-
height: 20px;
|
|
158
|
-
margin: 3px;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.tag {
|
|
162
|
-
height: 20px;
|
|
163
|
-
padding: 5px;
|
|
164
|
-
margin-left: 5px;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
&.aside-menu-list {
|
|
170
|
-
border-right: 1px solid getColor('grey-light');
|
|
171
|
-
|
|
172
|
-
a {
|
|
173
|
-
padding-left: 1.2em;
|
|
174
|
-
padding-top: 0.8em;
|
|
175
|
-
min-height: $menu-item-height;
|
|
176
|
-
line-height: $menu-item-line-height;
|
|
177
|
-
color: getColor('font');
|
|
178
|
-
|
|
179
|
-
&:hover {
|
|
180
|
-
color: getVariantColor('alternate',2);
|
|
181
|
-
background-color: getColor('grey-lighter');
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.menu-label {
|
|
188
|
-
color: getVariantColor('alternate',2);
|
|
189
|
-
font-size: 14px;
|
|
190
|
-
letter-spacing: 0.1em;
|
|
191
|
-
text-transform: uppercase;
|
|
192
|
-
font-weight: $weight-semibold;
|
|
193
|
-
padding-bottom: 1em;
|
|
194
|
-
border-bottom: 2px solid currentColor;
|
|
195
|
-
|
|
196
|
-
&:not(:first-child) {
|
|
197
|
-
margin-top: 1em;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
&:not(:last-child) {
|
|
201
|
-
margin-bottom: 1em;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
aside.menu {
|
|
206
|
-
> div {
|
|
207
|
-
padding: 10px;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.is-sidebar-menu ul.menu-list {
|
|
212
|
-
height: 100%;
|
|
213
|
-
}
|