pallote-css 0.4.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 +14 -20
- 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/{dist/styles → styles}/common/_editor.scss +9 -9
- package/{dist/styles → styles}/common/_global.scss +4 -4
- package/{dist/styles → styles}/common/_variables.scss +8 -9
- package/{dist/styles → styles}/components/_accordion.scss +22 -22
- package/{dist/styles → styles}/components/_breadcrumbs.scss +5 -3
- package/{dist/styles → styles}/components/_button.scss +6 -8
- package/{dist/styles → styles}/components/_input.scss +18 -6
- package/{dist/styles → styles}/components/_nav.scss +49 -138
- package/{dist/styles → styles}/components/_navbar.scss +80 -19
- package/{dist/styles → styles}/components/_page.scss +3 -3
- package/{dist/styles → styles}/components/_section.scss +30 -4
- package/{dist/styles → styles}/components/_sidebar.scss +7 -7
- package/{dist/styles → styles}/components/_snippet.scss +17 -17
- package/{dist/styles → styles}/components/_switch.scss +1 -1
- package/{dist/styles → styles}/components/_table.scss +4 -0
- package/{dist/styles → styles}/components/_tabs.scss +83 -54
- package/{dist/styles → styles}/modules/_cookie.scss +2 -2
- package/dist/pallote.min.css +0 -1
- package/dist/pallote.min.css.map +0 -1
- package/dist/pallote.min.js +0 -1
- package/dist/styles/components/_grid.scss +0 -127
- package/dist/styles/utilities/_layout.scss +0 -127
- /package/{dist/pallote.scss → pallote.scss} +0 -0
- /package/{dist/styles → styles}/common/_fontface.scss +0 -0
- /package/{dist/styles → styles}/common/_functions.scss +0 -0
- /package/{dist/styles → styles}/common/_mixins.scss +0 -0
- /package/{dist/styles → styles}/common/_reset.scss +0 -0
- /package/{dist/styles → styles}/components/_alert.scss +0 -0
- /package/{dist/styles → styles}/components/_buttons.scss +0 -0
- /package/{dist/styles → styles}/components/_card.scss +0 -0
- /package/{dist/styles → styles}/components/_divider.scss +0 -0
- /package/{dist/styles → styles}/components/_form.scss +0 -0
- /package/{dist/styles → styles}/components/_link.scss +0 -0
- /package/{dist/styles → styles}/components/_list.scss +0 -0
- /package/{dist/styles → styles}/components/_status.scss +0 -0
- /package/{dist/styles → styles}/components/_tag.scss +0 -0
- /package/{dist/styles → styles}/utilities/_color.scss +0 -0
- /package/{dist/styles → styles}/utilities/_global.scss +0 -0
- /package/{dist/styles → styles}/utilities/_grid.scss +0 -0
- /package/{dist/styles → styles}/utilities/_text.scss +0 -0
|
@@ -59,7 +59,7 @@ footer {
|
|
|
59
59
|
height: 0;
|
|
60
60
|
overflow: hidden;
|
|
61
61
|
max-width: 100%;
|
|
62
|
-
border-radius:
|
|
62
|
+
border-radius: 1rem;
|
|
63
63
|
|
|
64
64
|
iframe, object, embed {
|
|
65
65
|
position: absolute;
|
|
@@ -116,10 +116,10 @@ ul {
|
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
li {
|
|
119
|
-
margin-left:
|
|
119
|
+
margin-left: 1rem;
|
|
120
120
|
|
|
121
121
|
& + & {
|
|
122
|
-
padding-top:
|
|
122
|
+
padding-top: .25rem;
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
|
|
@@ -147,7 +147,7 @@ strong {
|
|
|
147
147
|
// z-index
|
|
148
148
|
|
|
149
149
|
@for $i from 0 through 9 {
|
|
150
|
-
.z-index
|
|
150
|
+
.z-index-#{$i} { z-index: $i; }
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
// background
|
|
@@ -110,21 +110,13 @@ $input-background: rgba($text, 0.05);
|
|
|
110
110
|
|
|
111
111
|
$col: calc(100%/12);
|
|
112
112
|
|
|
113
|
-
$spacing-xxs: 0.125rem !default;
|
|
114
|
-
$spacing-xs: 0.25rem !default;
|
|
115
|
-
$spacing-sm: 0.5rem !default;
|
|
116
|
-
$spacing-md: 1rem !default;
|
|
117
|
-
$spacing-lg: 2rem !default;
|
|
118
|
-
$spacing-xl: 4rem !default;
|
|
119
|
-
$spacing-xxl: 7rem !default;
|
|
120
|
-
|
|
121
113
|
$max-width-subtitle: 27.5rem !default;
|
|
122
114
|
$max-width-editor: 40rem !default;
|
|
123
115
|
$max-width-form: 40rem !default;
|
|
124
116
|
|
|
125
117
|
$navbar-height: 4rem !default;
|
|
126
118
|
$navbar-height-sm: 3rem !default;
|
|
127
|
-
$nav-item:
|
|
119
|
+
$nav-item: 1rem !default;
|
|
128
120
|
|
|
129
121
|
// —————————————————————————————————————————————————————————————————
|
|
130
122
|
// typography
|
|
@@ -201,6 +193,13 @@ $overline-size: 0.75rem !default;
|
|
|
201
193
|
$overline-weight: $font-regular !default;
|
|
202
194
|
$overline-line-height: 1.5 !default;
|
|
203
195
|
|
|
196
|
+
$button-size: 1rem !default;
|
|
197
|
+
$button-xs-size: 0.75rem !default;
|
|
198
|
+
$button-sm-size: 0.875rem !default;
|
|
199
|
+
$button-lg-size: 1.25rem !default;
|
|
200
|
+
$button-transform: uppercase !default;
|
|
201
|
+
$button-weight: $font-bold !default;
|
|
202
|
+
|
|
204
203
|
// —————————————————————————————————————————————————————————————————
|
|
205
204
|
// breakpoints
|
|
206
205
|
// —————————————————————————————————————————————————————————————————
|
|
@@ -15,19 +15,19 @@
|
|
|
15
15
|
.accordion {
|
|
16
16
|
width: 100%;
|
|
17
17
|
|
|
18
|
-
&
|
|
18
|
+
&_item {
|
|
19
19
|
position: relative;
|
|
20
20
|
background-color: variables.$hover;
|
|
21
21
|
width: 100%;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
&
|
|
25
|
-
&
|
|
24
|
+
&_control,
|
|
25
|
+
&_content {
|
|
26
26
|
transition: padding variables.$transition-md;
|
|
27
27
|
will-change: padding;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
&
|
|
30
|
+
&_control {
|
|
31
31
|
display: flex;
|
|
32
32
|
align-items: center;
|
|
33
33
|
width: 100%;
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
transition: transform variables.$transition-md;
|
|
38
38
|
will-change: transform;
|
|
39
39
|
position: absolute;
|
|
40
|
-
height:
|
|
41
|
-
width:
|
|
40
|
+
height: 1rem;
|
|
41
|
+
width: 1rem;
|
|
42
42
|
transform-origin: center 60%;
|
|
43
43
|
pointer-events: none;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
&
|
|
47
|
+
&_content {
|
|
48
48
|
max-height: 0;
|
|
49
49
|
overflow: hidden;
|
|
50
50
|
transition: max-height variables.$transition-md;
|
|
@@ -60,14 +60,14 @@
|
|
|
60
60
|
|
|
61
61
|
.accordion {
|
|
62
62
|
|
|
63
|
-
&
|
|
63
|
+
&_item {
|
|
64
64
|
border-radius: calc($size*2/3);
|
|
65
65
|
|
|
66
66
|
&:not(:last-child) { margin-bottom: calc($size/3); }
|
|
67
|
-
|
|
67
|
+
&-active { padding-bottom: $size; }
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
&
|
|
70
|
+
&_control {
|
|
71
71
|
padding: $size $size*1.5;
|
|
72
72
|
|
|
73
73
|
&:after {
|
|
@@ -76,45 +76,45 @@
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
&
|
|
79
|
+
&_header {
|
|
80
80
|
|
|
81
81
|
@if $proportion == sm { margin-bottom: -1px; }
|
|
82
82
|
@if $proportion == lg { margin: -1px 0 -2px 0; }
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
&
|
|
85
|
+
&_content {
|
|
86
86
|
padding: 0 $size*1.5;
|
|
87
87
|
overflow: hidden;
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
&.accordion
|
|
91
|
+
&.accordion-transparent .accordion_item-active:not(:first-child) {
|
|
92
92
|
margin-top: calc($size/3);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.accordion {
|
|
97
97
|
|
|
98
|
-
@include accordion-size(md,
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
@include accordion-size(md, .5rem);
|
|
99
|
+
&-sm { @include accordion-size(sm, .25rem); }
|
|
100
|
+
&-lg { @include accordion-size(lg, 1rem); }
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
// —————————————————————————————————————————————————————————————————
|
|
104
104
|
// transparent
|
|
105
105
|
// —————————————————————————————————————————————————————————————————
|
|
106
106
|
|
|
107
|
-
.accordion
|
|
107
|
+
.accordion-transparent {
|
|
108
108
|
|
|
109
|
-
.
|
|
109
|
+
.accordion_item {
|
|
110
110
|
transition: background-color variables.$transition-md, margin variables.$transition-md;
|
|
111
111
|
will-change: background-color, margin;
|
|
112
112
|
background-color: transparent;
|
|
113
113
|
|
|
114
114
|
@include mixins.hover { background-color: variables.$hover; }
|
|
115
|
-
|
|
115
|
+
&-active { background-color: variables.$hover; }
|
|
116
116
|
|
|
117
|
-
&:not(:last-child):not(.
|
|
117
|
+
&:not(:last-child):not(.accordion_item-active) {
|
|
118
118
|
margin-bottom: 0;
|
|
119
119
|
}
|
|
120
120
|
}
|
|
@@ -124,9 +124,9 @@
|
|
|
124
124
|
// active
|
|
125
125
|
// —————————————————————————————————————————————————————————————————
|
|
126
126
|
|
|
127
|
-
.
|
|
127
|
+
.accordion_item-active {
|
|
128
128
|
|
|
129
|
-
.
|
|
129
|
+
.accordion_control:after {
|
|
130
130
|
transform: rotate(180deg);
|
|
131
131
|
}
|
|
132
132
|
}
|
|
@@ -12,11 +12,12 @@
|
|
|
12
12
|
// —————————————————————————————————————————————————————————————————
|
|
13
13
|
|
|
14
14
|
.breadcrumbs {
|
|
15
|
-
text-transform: uppercase;
|
|
16
15
|
|
|
17
16
|
ol {
|
|
18
17
|
display: inline-flex;
|
|
19
18
|
flex-wrap: wrap;
|
|
19
|
+
padding-left: 0;
|
|
20
|
+
margin-bottom: 0;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
li {
|
|
@@ -25,8 +26,9 @@
|
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
&_item {
|
|
28
|
-
|
|
29
|
-
font-weight: variables.$
|
|
29
|
+
text-transform: variables.$button-transform;
|
|
30
|
+
font-weight: variables.$button-weight;
|
|
31
|
+
font-size: variables.$button-sm-size;
|
|
30
32
|
|
|
31
33
|
&:not(:first-child) {
|
|
32
34
|
margin-left: .25rem;
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
border-radius: variables.$border-radius-sm;
|
|
28
28
|
position: relative;
|
|
29
29
|
line-height: 0;
|
|
30
|
-
text-transform:
|
|
31
|
-
font-weight: variables.$
|
|
30
|
+
text-transform: variables.$button-transform;
|
|
31
|
+
font-weight: variables.$button-weight;
|
|
32
32
|
white-space: nowrap;
|
|
33
33
|
outline-offset: 2px;
|
|
34
34
|
width: fit-content;
|
|
@@ -62,12 +62,10 @@
|
|
|
62
62
|
padding-right: $size*.33;
|
|
63
63
|
padding-left: $size*.33;
|
|
64
64
|
|
|
65
|
-
@if $value == xs
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
@if $value == md { @extend %body; }
|
|
70
|
-
@if $value == lg { @extend %subtitle; }
|
|
65
|
+
@if $value == xs { font-size: variables.$button-xs-size; }
|
|
66
|
+
@if $value == sm { font-size: variables.$button-sm-size; }
|
|
67
|
+
@if $value == md { font-size: variables.$button-size; }
|
|
68
|
+
@if $value == lg { font-size: variables.$button-lg-size; }
|
|
71
69
|
|
|
72
70
|
svg {
|
|
73
71
|
width: calc($size/1.75);
|
|
@@ -30,21 +30,34 @@
|
|
|
30
30
|
margin-top: 1rem;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
&_label,
|
|
34
|
+
&_hint,
|
|
35
|
+
&_error {
|
|
36
|
+
display: block;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&_hint,
|
|
40
|
+
&_error {
|
|
41
|
+
font-size: variables.$caption-size;
|
|
42
|
+
margin-top: -.125rem;
|
|
43
|
+
margin-bottom: .5rem;
|
|
44
|
+
}
|
|
45
|
+
|
|
33
46
|
&_label {
|
|
34
47
|
@include mixins.transition(variables.$transition-md, color);
|
|
35
48
|
font-weight: variables.$font-bold;
|
|
36
49
|
text-overflow: ellipsis;
|
|
37
|
-
display: block;
|
|
38
50
|
overflow: hidden;
|
|
39
51
|
white-space: nowrap;
|
|
40
52
|
position: relative;
|
|
41
53
|
margin-bottom: .25rem;
|
|
42
54
|
}
|
|
43
55
|
|
|
44
|
-
&
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
56
|
+
&_error {
|
|
57
|
+
font-weight: variables.$font-bold;
|
|
58
|
+
color: variables.$error;
|
|
59
|
+
border-left: .25rem solid variables.$error;
|
|
60
|
+
padding-left: .5rem;
|
|
48
61
|
}
|
|
49
62
|
|
|
50
63
|
&_control {
|
|
@@ -98,7 +111,6 @@
|
|
|
98
111
|
border-width: 0 .125rem .125rem 0;
|
|
99
112
|
padding: .2rem;
|
|
100
113
|
transform: rotate(45deg);
|
|
101
|
-
margin-left: variables.$nav-item*0.5;
|
|
102
114
|
position: absolute;
|
|
103
115
|
bottom: variables.$input-height*.45;
|
|
104
116
|
right: 1rem;
|
|
@@ -8,76 +8,80 @@
|
|
|
8
8
|
// show
|
|
9
9
|
// direction
|
|
10
10
|
// dense
|
|
11
|
-
// navbar
|
|
12
11
|
// —————————————————————————————————————————————————————————————————
|
|
13
12
|
|
|
14
13
|
// —————————————————————————————————————————————————————————————————
|
|
15
14
|
// elements
|
|
16
15
|
// —————————————————————————————————————————————————————————————————
|
|
17
16
|
|
|
18
|
-
.
|
|
19
|
-
.
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
.nav_trigger,
|
|
18
|
+
a.nav_trigger {
|
|
19
|
+
outline-offset: -2px;
|
|
20
|
+
|
|
21
|
+
&:focus {
|
|
22
|
+
outline: 2px solid variables.$primary;
|
|
23
|
+
}
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
.nav {
|
|
25
27
|
width: fit-content;
|
|
26
28
|
|
|
27
|
-
&
|
|
28
|
-
&__group {
|
|
29
|
+
&_container {
|
|
29
30
|
display: flex;
|
|
31
|
+
gap: calc(variables.$nav-item/4);
|
|
30
32
|
}
|
|
31
33
|
|
|
32
|
-
&
|
|
33
|
-
&
|
|
34
|
-
border-radius: variables.$border-radius-
|
|
34
|
+
&_item,
|
|
35
|
+
&_trigger {
|
|
36
|
+
border-radius: variables.$border-radius-sm;
|
|
35
37
|
}
|
|
36
38
|
|
|
37
|
-
&
|
|
39
|
+
&_item {
|
|
38
40
|
margin: 0;
|
|
39
41
|
position: relative;
|
|
40
42
|
|
|
41
43
|
&:not(:first-child) {
|
|
42
|
-
margin-left: variables.$spacing-xs;
|
|
43
44
|
padding-top: 0;
|
|
44
45
|
}
|
|
45
46
|
|
|
46
|
-
|
|
47
|
+
&-dropdown {
|
|
47
48
|
display: flex;
|
|
48
49
|
flex-direction: column;
|
|
49
50
|
}
|
|
50
51
|
}
|
|
51
52
|
|
|
52
|
-
&
|
|
53
|
+
&_trigger {
|
|
53
54
|
@extend %caption;
|
|
54
|
-
font-weight: variables.$
|
|
55
|
+
font-weight: variables.$button-weight;
|
|
56
|
+
text-transform: variables.$button-transform;
|
|
55
57
|
white-space: nowrap;
|
|
56
58
|
cursor: pointer;
|
|
57
59
|
height: variables.$nav-item*2;
|
|
58
|
-
padding: variables.$nav-item
|
|
60
|
+
padding-right: variables.$nav-item*.75;
|
|
61
|
+
padding-left: variables.$nav-item*.75;
|
|
59
62
|
display: flex;
|
|
60
63
|
align-items: center;
|
|
61
64
|
justify-content: space-between;
|
|
65
|
+
text-underline-offset: .15em;
|
|
62
66
|
|
|
63
|
-
&:hover {
|
|
67
|
+
&:not(.nav_trigger-active):hover {
|
|
64
68
|
background-color: variables.$hover;
|
|
65
69
|
}
|
|
66
70
|
|
|
67
|
-
.
|
|
71
|
+
.nav_item-dropdown > & {
|
|
68
72
|
|
|
69
73
|
&:after {
|
|
70
74
|
content: '';
|
|
71
75
|
border: solid variables.$text;
|
|
72
|
-
border-width: 0
|
|
73
|
-
padding:
|
|
76
|
+
border-width: 0 .125rem .125rem 0;
|
|
77
|
+
padding: .125rem;
|
|
74
78
|
transform: rotate(45deg);
|
|
75
79
|
margin-left: variables.$nav-item*0.5;
|
|
76
80
|
}
|
|
77
81
|
}
|
|
78
82
|
}
|
|
79
83
|
|
|
80
|
-
&
|
|
84
|
+
&_icon {
|
|
81
85
|
display: flex;
|
|
82
86
|
width: 1rem;
|
|
83
87
|
height: 1rem;
|
|
@@ -87,26 +91,16 @@
|
|
|
87
91
|
margin-left: -0.25rem;
|
|
88
92
|
}
|
|
89
93
|
|
|
90
|
-
&
|
|
94
|
+
&_target {
|
|
91
95
|
display: none;
|
|
92
96
|
flex-direction: column;
|
|
93
97
|
padding: variables.$nav-item*0.25 variables.$nav-item*0.5 variables.$nav-item*0.5 variables.$nav-item*0.5;
|
|
98
|
+
gap: .25rem;
|
|
94
99
|
|
|
95
|
-
.
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
&:not(:first-child) {
|
|
100
|
-
margin-top: variables.$spacing-xs;
|
|
101
|
-
margin-left: 0;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&__trigger {
|
|
106
|
-
padding-right: variables.$nav-item*0.5;
|
|
107
|
-
padding-left: variables.$nav-item*0.5;
|
|
108
|
-
border-radius: variables.$border-radius-sm;
|
|
109
|
-
}
|
|
100
|
+
.nav_trigger {
|
|
101
|
+
padding-right: variables.$nav-item*0.5;
|
|
102
|
+
padding-left: variables.$nav-item*0.5;
|
|
103
|
+
border-radius: variables.$border-radius-sm;
|
|
110
104
|
}
|
|
111
105
|
}
|
|
112
106
|
}
|
|
@@ -115,11 +109,11 @@
|
|
|
115
109
|
// active
|
|
116
110
|
// —————————————————————————————————————————————————————————————————
|
|
117
111
|
|
|
118
|
-
.
|
|
112
|
+
.nav_trigger-active {
|
|
119
113
|
color: variables.$primary;
|
|
120
114
|
background-color: variables.$hover;
|
|
121
115
|
|
|
122
|
-
.
|
|
116
|
+
.nav_item-dropdown &:after {
|
|
123
117
|
border-color: variables.$primary;
|
|
124
118
|
}
|
|
125
119
|
}
|
|
@@ -128,18 +122,18 @@
|
|
|
128
122
|
// show
|
|
129
123
|
// —————————————————————————————————————————————————————————————————
|
|
130
124
|
|
|
131
|
-
.
|
|
125
|
+
.nav_item-dropdown.js-show {
|
|
132
126
|
height: auto;
|
|
133
127
|
background-color: variables.$hover;
|
|
134
128
|
|
|
135
129
|
> .nav {
|
|
136
130
|
|
|
137
|
-
&
|
|
138
|
-
&
|
|
131
|
+
&_trigger-active,
|
|
132
|
+
&_trigger:hover {
|
|
139
133
|
background-color: transparent;
|
|
140
134
|
}
|
|
141
135
|
|
|
142
|
-
&
|
|
136
|
+
&_target {
|
|
143
137
|
display: flex;
|
|
144
138
|
}
|
|
145
139
|
}
|
|
@@ -149,26 +143,11 @@
|
|
|
149
143
|
// direction
|
|
150
144
|
// —————————————————————————————————————————————————————————————————
|
|
151
145
|
|
|
152
|
-
.nav
|
|
146
|
+
.nav-portrait {
|
|
153
147
|
width: 100%;
|
|
154
|
-
flex-direction: column;
|
|
155
|
-
|
|
156
|
-
.nav {
|
|
157
|
-
|
|
158
|
-
&__item:not(:first-child) {
|
|
159
|
-
margin-left: 0;
|
|
160
|
-
margin-top: variables.$spacing-xs;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
&__group {
|
|
164
|
-
display: flex;
|
|
165
|
-
flex-direction: column;
|
|
166
|
-
align-items: stretch;
|
|
167
148
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
}
|
|
171
|
-
}
|
|
149
|
+
.nav_container{
|
|
150
|
+
flex-direction: column;
|
|
172
151
|
}
|
|
173
152
|
}
|
|
174
153
|
|
|
@@ -176,30 +155,27 @@
|
|
|
176
155
|
// dense
|
|
177
156
|
// —————————————————————————————————————————————————————————————————
|
|
178
157
|
|
|
179
|
-
.nav
|
|
180
|
-
|
|
181
|
-
&.nav--portrait .nav__item:not(:first-child) {
|
|
182
|
-
margin-top: variables.$spacing-xxs;
|
|
183
|
-
}
|
|
158
|
+
.nav-dense {
|
|
184
159
|
|
|
185
160
|
.nav {
|
|
186
161
|
|
|
187
|
-
&
|
|
188
|
-
&
|
|
162
|
+
&_item,
|
|
163
|
+
&_trigger {
|
|
189
164
|
border-radius: variables.$border-radius-sm;
|
|
190
165
|
}
|
|
191
166
|
|
|
192
|
-
&
|
|
193
|
-
padding: variables.$nav-item*0.
|
|
167
|
+
&_trigger {
|
|
168
|
+
padding-right: variables.$nav-item*0.5;
|
|
169
|
+
padding-left: variables.$nav-item*0.5;
|
|
194
170
|
height: variables.$nav-item*1.5;
|
|
195
171
|
}
|
|
196
172
|
|
|
197
|
-
&
|
|
173
|
+
&_item-dropdown {
|
|
198
174
|
|
|
199
|
-
.
|
|
175
|
+
.nav_target {
|
|
200
176
|
padding: 0 variables.$nav-item*0.25 variables.$nav-item*0.25 variables.$nav-item*0.25;
|
|
201
177
|
|
|
202
|
-
.
|
|
178
|
+
.nav_trigger {
|
|
203
179
|
padding-right: variables.$nav-item*0.25;
|
|
204
180
|
padding-left: variables.$nav-item*0.25;
|
|
205
181
|
}
|
|
@@ -207,68 +183,3 @@
|
|
|
207
183
|
}
|
|
208
184
|
}
|
|
209
185
|
}
|
|
210
|
-
|
|
211
|
-
// —————————————————————————————————————————————————————————————————
|
|
212
|
-
// navbar
|
|
213
|
-
// —————————————————————————————————————————————————————————————————
|
|
214
|
-
|
|
215
|
-
.navbar {
|
|
216
|
-
|
|
217
|
-
.nav {
|
|
218
|
-
|
|
219
|
-
@include mixins.responsive(up, tablet) { height: 100%; }
|
|
220
|
-
@include mixins.responsive(down, tablet) { width: 100%; }
|
|
221
|
-
|
|
222
|
-
&__container {
|
|
223
|
-
|
|
224
|
-
@include mixins.responsive(up, tablet) {
|
|
225
|
-
height: 100%;
|
|
226
|
-
align-items: center;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
@include mixins.responsive(down, tablet) {
|
|
230
|
-
@include mixins.calc(max-height, '100vh - 'variables.$spacing-xl*3);
|
|
231
|
-
align-items: stretch;
|
|
232
|
-
overflow: scroll;
|
|
233
|
-
width: 100%;
|
|
234
|
-
margin-top: variables.$nav-item;
|
|
235
|
-
margin-bottom: variables.$nav-item;
|
|
236
|
-
flex-direction: column;
|
|
237
|
-
width: 100%;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
&__item:not(:first-child) {
|
|
242
|
-
|
|
243
|
-
@include mixins.responsive(down, tablet) {
|
|
244
|
-
margin-top: variables.$spacing-xs;
|
|
245
|
-
margin-left: 0;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
&__item--dropdown {
|
|
250
|
-
|
|
251
|
-
@include mixins.responsive(up, tablet) {
|
|
252
|
-
|
|
253
|
-
.nav__target {
|
|
254
|
-
@include mixins.calc(top, '100% +' variables.$nav-item*0.5);
|
|
255
|
-
position: absolute;
|
|
256
|
-
left: 0;
|
|
257
|
-
width: variables.$spacing-xl*2.5;
|
|
258
|
-
padding: variables.$nav-item*0.5;
|
|
259
|
-
border-radius: variables.$border-radius-md;
|
|
260
|
-
border: variables.$border;
|
|
261
|
-
z-index: 1;
|
|
262
|
-
background-color: variables.$background-paper;
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
&__trigger {
|
|
268
|
-
|
|
269
|
-
@include mixins.responsive(down, tablet) {
|
|
270
|
-
height: auto;
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
}
|