@payloadcms/next 3.0.0-beta.55 → 3.0.0-beta.57
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/elements/DocumentHeader/Tabs/Tab/index.scss +91 -0
- package/dist/elements/DocumentHeader/Tabs/index.scss +53 -0
- package/dist/elements/DocumentHeader/index.scss +51 -0
- package/dist/elements/LeaveWithoutSaving/index.scss +36 -0
- package/dist/elements/Nav/NavWrapper/index.scss +17 -0
- package/dist/elements/Nav/index.scss +150 -0
- package/dist/prod/index.js +2 -2
- package/dist/prod/styles.css +1 -1
- package/dist/routes/graphql/handler.d.ts.map +1 -1
- package/dist/routes/graphql/handler.js +11 -11
- package/dist/routes/graphql/handler.js.map +1 -1
- package/dist/routes/rest/auth/forgotPassword.d.ts.map +1 -1
- package/dist/routes/rest/auth/forgotPassword.js +7 -3
- package/dist/routes/rest/auth/forgotPassword.js.map +1 -1
- package/dist/routes/rest/auth/login.d.ts.map +1 -1
- package/dist/routes/rest/auth/login.js +9 -4
- package/dist/routes/rest/auth/login.js.map +1 -1
- package/dist/routes/rest/auth/refresh.d.ts.map +1 -1
- package/dist/routes/rest/auth/refresh.js +12 -20
- package/dist/routes/rest/auth/refresh.js.map +1 -1
- package/dist/routes/rest/auth/registerFirstUser.d.ts.map +1 -1
- package/dist/routes/rest/auth/registerFirstUser.js +9 -2
- package/dist/routes/rest/auth/registerFirstUser.js.map +1 -1
- package/dist/routes/rest/auth/verifyEmail.js +1 -1
- package/dist/routes/rest/auth/verifyEmail.js.map +1 -1
- package/dist/routes/rest/buildFormState.d.ts +2 -2
- package/dist/routes/rest/buildFormState.d.ts.map +1 -1
- package/dist/routes/rest/buildFormState.js.map +1 -1
- package/dist/routes/rest/files/checkFileAccess.d.ts +2 -2
- package/dist/routes/rest/files/checkFileAccess.d.ts.map +1 -1
- package/dist/routes/rest/files/checkFileAccess.js.map +1 -1
- package/dist/routes/rest/files/getFile.d.ts +2 -2
- package/dist/routes/rest/files/getFile.d.ts.map +1 -1
- package/dist/routes/rest/files/getFile.js.map +1 -1
- package/dist/routes/rest/index.d.ts.map +1 -1
- package/dist/routes/rest/index.js +88 -93
- package/dist/routes/rest/index.js.map +1 -1
- package/dist/routes/rest/og/index.d.ts +2 -2
- package/dist/routes/rest/og/index.d.ts.map +1 -1
- package/dist/routes/rest/og/index.js.map +1 -1
- package/dist/routes/rest/og/roboto-regular.woff +0 -0
- package/dist/routes/rest/routeError.d.ts +2 -2
- package/dist/routes/rest/routeError.d.ts.map +1 -1
- package/dist/routes/rest/routeError.js.map +1 -1
- package/dist/routes/rest/types.d.ts +7 -7
- package/dist/routes/rest/types.d.ts.map +1 -1
- package/dist/routes/rest/types.js.map +1 -1
- package/dist/scss/app.scss +208 -0
- package/dist/scss/colors.scss +269 -0
- package/dist/scss/custom.css +1 -0
- package/dist/scss/queries.scss +27 -0
- package/dist/scss/resets.scss +17 -0
- package/dist/scss/styles.scss +11 -0
- package/dist/scss/svg.scss +10 -0
- package/dist/scss/toasts.scss +111 -0
- package/dist/scss/type.scss +117 -0
- package/dist/scss/vars.scss +213 -0
- package/dist/scss/z-index.scss +9 -0
- package/dist/templates/Default/Wrapper/index.scss +25 -0
- package/dist/templates/Default/index.scss +67 -0
- package/dist/templates/Minimal/index.scss +28 -0
- package/dist/utilities/addDataAndFileToRequest.d.ts +3 -6
- package/dist/utilities/addDataAndFileToRequest.d.ts.map +1 -1
- package/dist/utilities/addDataAndFileToRequest.js +15 -18
- package/dist/utilities/addDataAndFileToRequest.js.map +1 -1
- package/dist/utilities/addLocalesToRequest.d.ts +2 -5
- package/dist/utilities/addLocalesToRequest.d.ts.map +1 -1
- package/dist/utilities/addLocalesToRequest.js +8 -9
- package/dist/utilities/addLocalesToRequest.js.map +1 -1
- package/dist/utilities/createPayloadRequest.d.ts.map +1 -1
- package/dist/utilities/createPayloadRequest.js +3 -1
- package/dist/utilities/createPayloadRequest.js.map +1 -1
- package/dist/utilities/headersWithCors.d.ts +2 -2
- package/dist/utilities/headersWithCors.d.ts.map +1 -1
- package/dist/utilities/headersWithCors.js.map +1 -1
- package/dist/utilities/initPage/index.d.ts.map +1 -1
- package/dist/utilities/initPage/index.js.map +1 -1
- package/dist/utilities/mergeHeaders.d.ts +2 -0
- package/dist/utilities/mergeHeaders.d.ts.map +1 -0
- package/dist/utilities/mergeHeaders.js +37 -0
- package/dist/utilities/mergeHeaders.js.map +1 -0
- package/dist/views/API/RenderJSON/index.scss +90 -0
- package/dist/views/API/index.scss +124 -0
- package/dist/views/Account/Settings/index.scss +46 -0
- package/dist/views/CreateFirstUser/index.scss +5 -0
- package/dist/views/Dashboard/Default/index.scss +58 -0
- package/dist/views/Document/getDocumentData.d.ts +2 -2
- package/dist/views/Document/getDocumentData.d.ts.map +1 -1
- package/dist/views/Document/getDocumentData.js.map +1 -1
- package/dist/views/Edit/Default/Auth/APIKey.js.map +1 -1
- package/dist/views/Edit/Default/Auth/index.d.ts.map +1 -1
- package/dist/views/Edit/Default/Auth/index.js +10 -3
- package/dist/views/Edit/Default/Auth/index.js.map +1 -1
- package/dist/views/Edit/Default/Auth/index.scss +61 -0
- package/dist/views/Edit/Default/Auth/types.d.ts +1 -0
- package/dist/views/Edit/Default/Auth/types.d.ts.map +1 -1
- package/dist/views/Edit/Default/Auth/types.js.map +1 -1
- package/dist/views/Edit/Default/index.d.ts.map +1 -1
- package/dist/views/Edit/Default/index.js +1 -0
- package/dist/views/Edit/Default/index.js.map +1 -1
- package/dist/views/Edit/Default/index.scss +21 -0
- package/dist/views/ForgotPassword/ForgotPasswordForm/index.d.ts.map +1 -1
- package/dist/views/ForgotPassword/ForgotPasswordForm/index.js +34 -6
- package/dist/views/ForgotPassword/ForgotPasswordForm/index.js.map +1 -1
- package/dist/views/List/Default/index.scss +195 -0
- package/dist/views/LivePreview/IFrame/index.scss +7 -0
- package/dist/views/LivePreview/Preview/index.scss +41 -0
- package/dist/views/LivePreview/Toolbar/Controls/index.scss +59 -0
- package/dist/views/LivePreview/Toolbar/SizeInput/index.scss +10 -0
- package/dist/views/LivePreview/Toolbar/index.scss +41 -0
- package/dist/views/LivePreview/ToolbarArea/index.scss +4 -0
- package/dist/views/LivePreview/index.scss +66 -0
- package/dist/views/Login/LoginForm/index.d.ts.map +1 -1
- package/dist/views/Login/LoginForm/index.js +38 -8
- package/dist/views/Login/LoginForm/index.js.map +1 -1
- package/dist/views/Login/LoginForm/index.scss +8 -0
- package/dist/views/Login/index.scss +8 -0
- package/dist/views/Logout/index.scss +20 -0
- package/dist/views/NotFound/index.scss +37 -0
- package/dist/views/ResetPassword/index.scss +5 -0
- package/dist/views/Unauthorized/index.scss +36 -0
- package/dist/views/Verify/index.scss +14 -0
- package/dist/views/Version/Default/index.scss +70 -0
- package/dist/views/Version/RenderFieldsToDiff/Label/index.scss +4 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.scss +34 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Nested/index.scss +12 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.scss +13 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.scss +13 -0
- package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.scss +13 -0
- package/dist/views/Version/RenderFieldsToDiff/index.scss +18 -0
- package/dist/views/Version/Restore/index.scss +30 -0
- package/dist/views/Version/SelectComparison/index.scss +13 -0
- package/dist/views/Version/SelectLocales/index.scss +7 -0
- package/dist/views/Versions/index.scss +108 -0
- package/package.json +6 -6
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
@import '../../../../scss/styles.scss';
|
|
2
|
+
|
|
3
|
+
.doc-tab {
|
|
4
|
+
@extend %h5;
|
|
5
|
+
position: relative;
|
|
6
|
+
|
|
7
|
+
&__link {
|
|
8
|
+
text-decoration: none;
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
align-items: center;
|
|
12
|
+
white-space: nowrap;
|
|
13
|
+
|
|
14
|
+
// Use a pseudo element for the accessability so that it doesn't take up DOM space
|
|
15
|
+
// Also because the parent element has `overflow: hidden` which would clip an outline
|
|
16
|
+
&:focus-visible::after {
|
|
17
|
+
content: '';
|
|
18
|
+
border: var(--accessibility-outline);
|
|
19
|
+
position: absolute;
|
|
20
|
+
top: 0;
|
|
21
|
+
right: 0;
|
|
22
|
+
bottom: 0;
|
|
23
|
+
left: 0;
|
|
24
|
+
pointer-events: none;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&:focus:not(:focus-visible) {
|
|
29
|
+
opacity: 1;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&::before {
|
|
33
|
+
content: '';
|
|
34
|
+
display: block;
|
|
35
|
+
position: absolute;
|
|
36
|
+
width: 100%;
|
|
37
|
+
height: 100%;
|
|
38
|
+
border-radius: 2px;
|
|
39
|
+
background-color: var(--theme-elevation-50);
|
|
40
|
+
opacity: 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:hover {
|
|
44
|
+
&::before {
|
|
45
|
+
opacity: 1;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.doc-tab__count {
|
|
49
|
+
background-color: var(--theme-elevation-150);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&--active {
|
|
54
|
+
&::before {
|
|
55
|
+
opacity: 1;
|
|
56
|
+
background-color: var(--theme-elevation-100);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.doc-tab {
|
|
60
|
+
&__count {
|
|
61
|
+
background-color: var(--theme-elevation-250);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&:hover {
|
|
66
|
+
.doc-tab {
|
|
67
|
+
&__count {
|
|
68
|
+
background-color: var(--theme-elevation-250);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&__label {
|
|
75
|
+
display: flex;
|
|
76
|
+
position: relative;
|
|
77
|
+
align-items: center;
|
|
78
|
+
gap: 4px;
|
|
79
|
+
width: 100%;
|
|
80
|
+
height: 100%;
|
|
81
|
+
padding: calc(var(--base) / 2) calc(var(--base));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&__count {
|
|
85
|
+
min-width: 22px;
|
|
86
|
+
text-align: center;
|
|
87
|
+
padding: 2px 7px;
|
|
88
|
+
background-color: var(--theme-elevation-100);
|
|
89
|
+
border-radius: 1px;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
@import '../../../scss/styles.scss';
|
|
2
|
+
|
|
3
|
+
.doc-tabs {
|
|
4
|
+
display: flex;
|
|
5
|
+
|
|
6
|
+
&__tabs {
|
|
7
|
+
display: flex;
|
|
8
|
+
gap: calc(var(--base) / 2);
|
|
9
|
+
list-style: none;
|
|
10
|
+
align-items: center;
|
|
11
|
+
margin: 0;
|
|
12
|
+
padding-left: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@include mid-break {
|
|
16
|
+
width: 100%;
|
|
17
|
+
padding: 0;
|
|
18
|
+
overflow: auto;
|
|
19
|
+
|
|
20
|
+
// this container has a gradient overlay as visual indication of `overflow: scroll`
|
|
21
|
+
&::-webkit-scrollbar {
|
|
22
|
+
display: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&::after {
|
|
26
|
+
content: '';
|
|
27
|
+
display: block;
|
|
28
|
+
position: sticky;
|
|
29
|
+
right: 0;
|
|
30
|
+
width: calc(var(--base) * 2);
|
|
31
|
+
height: calc(var(--base) * 2);
|
|
32
|
+
background: linear-gradient(to right, transparent, var(--theme-bg));
|
|
33
|
+
flex-shrink: 0;
|
|
34
|
+
z-index: 1111;
|
|
35
|
+
pointer-events: none;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__tabs {
|
|
39
|
+
padding: 0;
|
|
40
|
+
margin-left: var(--gutter-h);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@include small-break {
|
|
45
|
+
&__tabs-container {
|
|
46
|
+
margin-right: var(--gutter-h);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&__tabs {
|
|
50
|
+
gap: var(--gutter-h);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
@import '../../scss/styles.scss';
|
|
2
|
+
|
|
3
|
+
.doc-header {
|
|
4
|
+
width: 100%;
|
|
5
|
+
margin-top: base(0.5);
|
|
6
|
+
padding-bottom: calc(var(--base) * 1.5);
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
position: relative;
|
|
10
|
+
display: flex;
|
|
11
|
+
gap: calc(var(--base) / 2);
|
|
12
|
+
|
|
13
|
+
&::after {
|
|
14
|
+
content: '';
|
|
15
|
+
display: block;
|
|
16
|
+
position: absolute;
|
|
17
|
+
height: 1px;
|
|
18
|
+
background: var(--theme-elevation-100);
|
|
19
|
+
width: 100%;
|
|
20
|
+
left: 0;
|
|
21
|
+
top: calc(100% - 1px);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&__title {
|
|
25
|
+
flex-grow: 1;
|
|
26
|
+
white-space: nowrap;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
text-overflow: ellipsis;
|
|
29
|
+
margin: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@include mid-break {
|
|
33
|
+
padding-left: 0;
|
|
34
|
+
padding-right: 0;
|
|
35
|
+
margin-top: base(0.25);
|
|
36
|
+
padding-bottom: calc(var(--base) / 1.5);
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
gap: calc(var(--base) / 2);
|
|
39
|
+
padding-bottom: calc(var(--base) / 2);
|
|
40
|
+
|
|
41
|
+
&__title {
|
|
42
|
+
width: 100%;
|
|
43
|
+
padding-left: var(--gutter-h);
|
|
44
|
+
padding-right: var(--gutter-h);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@include small-break {
|
|
49
|
+
margin-top: 0;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@import '../../scss/styles.scss';
|
|
2
|
+
|
|
3
|
+
.leave-without-saving {
|
|
4
|
+
@include blur-bg;
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
height: 100%;
|
|
9
|
+
|
|
10
|
+
&__wrapper {
|
|
11
|
+
z-index: 1;
|
|
12
|
+
position: relative;
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
gap: var(--base);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&__content {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
gap: var(--base);
|
|
22
|
+
|
|
23
|
+
> * {
|
|
24
|
+
margin: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__controls {
|
|
29
|
+
display: flex;
|
|
30
|
+
gap: var(--base);
|
|
31
|
+
|
|
32
|
+
.btn {
|
|
33
|
+
margin: 0;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@import '../../../scss/styles.scss';
|
|
2
|
+
|
|
3
|
+
.nav {
|
|
4
|
+
position: sticky;
|
|
5
|
+
top: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
flex-shrink: 0;
|
|
8
|
+
height: 100vh;
|
|
9
|
+
width: var(--nav-width);
|
|
10
|
+
border-right: 1px solid var(--theme-elevation-100);
|
|
11
|
+
opacity: 0;
|
|
12
|
+
transition: opacity var(--nav-trans-time) ease-in-out;
|
|
13
|
+
|
|
14
|
+
&--nav-open {
|
|
15
|
+
opacity: 1;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
@import '../../scss/styles.scss';
|
|
2
|
+
|
|
3
|
+
.nav {
|
|
4
|
+
position: sticky;
|
|
5
|
+
top: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
flex-shrink: 0;
|
|
8
|
+
height: 100vh;
|
|
9
|
+
width: var(--nav-width);
|
|
10
|
+
border-right: 1px solid var(--theme-elevation-100);
|
|
11
|
+
opacity: 0;
|
|
12
|
+
transition: opacity var(--nav-trans-time) ease-in-out;
|
|
13
|
+
|
|
14
|
+
&--nav-open {
|
|
15
|
+
opacity: 1;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&__header {
|
|
19
|
+
position: absolute;
|
|
20
|
+
top: 0;
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: var(--app-header-height);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&__header-content {
|
|
26
|
+
z-index: 1;
|
|
27
|
+
position: relative;
|
|
28
|
+
height: 100%;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&__mobile-close {
|
|
32
|
+
display: none;
|
|
33
|
+
background: none;
|
|
34
|
+
border: 0;
|
|
35
|
+
outline: 0;
|
|
36
|
+
padding: calc(var(--base) * 0.75) var(--gutter-h);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&__scroll {
|
|
40
|
+
height: 100%;
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
padding: var(--app-header-height) base(1) base(2) base(1);
|
|
44
|
+
overflow-y: auto;
|
|
45
|
+
|
|
46
|
+
// remove the scrollbar here to prevent layout shift as nav groups are toggled
|
|
47
|
+
&::-webkit-scrollbar {
|
|
48
|
+
display: none;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&__wrap {
|
|
53
|
+
width: 100%;
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-direction: column;
|
|
56
|
+
align-items: flex-start;
|
|
57
|
+
flex-grow: 1;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&__label {
|
|
61
|
+
color: var(--theme-elevation-400);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&__controls {
|
|
65
|
+
margin-top: auto;
|
|
66
|
+
margin-bottom: 0;
|
|
67
|
+
|
|
68
|
+
> * {
|
|
69
|
+
margin-top: base(1);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
a:focus-visible {
|
|
73
|
+
outline: var(--accessibility-outline);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&__log-out {
|
|
78
|
+
&:hover {
|
|
79
|
+
g {
|
|
80
|
+
transform: translateX(-#{base(0.125)});
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
nav {
|
|
86
|
+
a {
|
|
87
|
+
position: relative;
|
|
88
|
+
padding: base(0.125) base(1.5) base(0.125) 0;
|
|
89
|
+
display: flex;
|
|
90
|
+
text-decoration: none;
|
|
91
|
+
|
|
92
|
+
&:focus:not(:focus-visible) {
|
|
93
|
+
box-shadow: none;
|
|
94
|
+
font-weight: 600;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&:hover,
|
|
98
|
+
&:focus-visible {
|
|
99
|
+
text-decoration: underline;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&.active {
|
|
103
|
+
font-weight: normal;
|
|
104
|
+
padding-left: 0;
|
|
105
|
+
font-weight: 600;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&__link {
|
|
111
|
+
display: flex;
|
|
112
|
+
align-items: center;
|
|
113
|
+
|
|
114
|
+
&.active {
|
|
115
|
+
.nav__link-icon {
|
|
116
|
+
display: block;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&__link-icon {
|
|
122
|
+
display: none;
|
|
123
|
+
margin-right: calc(var(--base) * 0.25);
|
|
124
|
+
top: -1px;
|
|
125
|
+
position: relative;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
@include mid-break {
|
|
129
|
+
&__scroll {
|
|
130
|
+
padding: var(--app-header-height) base(0.5) base(2);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@include small-break {
|
|
135
|
+
&__scroll {
|
|
136
|
+
padding: var(--app-header-height) var(--gutter-h) base(2);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
nav a {
|
|
140
|
+
font-size: base(0.875);
|
|
141
|
+
line-height: base(1.5);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&__mobile-close {
|
|
145
|
+
display: flex;
|
|
146
|
+
height: 100%;
|
|
147
|
+
align-items: center;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|