@payloadcms/next 3.0.0-beta.111 → 3.0.0-beta.112
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/FormHeader/index.d.ts +9 -0
- package/dist/elements/FormHeader/index.d.ts.map +1 -0
- package/dist/elements/FormHeader/index.js +20 -0
- package/dist/elements/FormHeader/index.js.map +1 -0
- package/dist/elements/FormHeader/index.scss +6 -0
- package/dist/exports/utilities.d.ts +1 -0
- package/dist/exports/utilities.d.ts.map +1 -1
- package/dist/exports/utilities.js +1 -0
- package/dist/exports/utilities.js.map +1 -1
- package/dist/prod/styles.css +1 -1
- package/dist/routes/rest/auth/login.js +2 -2
- package/dist/routes/rest/auth/login.js.map +1 -1
- package/dist/routes/rest/auth/logout.d.ts.map +1 -1
- package/dist/routes/rest/auth/logout.js +3 -2
- package/dist/routes/rest/auth/logout.js.map +1 -1
- package/dist/routes/rest/auth/refresh.js +2 -2
- package/dist/routes/rest/auth/refresh.js.map +1 -1
- package/dist/routes/rest/auth/registerFirstUser.js +2 -2
- package/dist/routes/rest/auth/registerFirstUser.js.map +1 -1
- package/dist/routes/rest/auth/resetPassword.js +2 -2
- package/dist/routes/rest/auth/resetPassword.js.map +1 -1
- package/dist/scss/app.scss +166 -162
- package/dist/scss/colors.scss +256 -254
- package/dist/scss/resets.scss +9 -7
- package/dist/scss/toastify.scss +42 -40
- package/dist/scss/toasts.scss +105 -103
- package/dist/scss/type.scss +80 -79
- package/dist/utilities/initPage/handleAdminPage.d.ts +11 -11
- package/dist/utilities/initPage/handleAdminPage.d.ts.map +1 -1
- package/dist/utilities/initPage/handleAdminPage.js +7 -20
- package/dist/utilities/initPage/handleAdminPage.js.map +1 -1
- package/dist/utilities/initPage/handleAuthRedirect.d.ts +6 -3
- package/dist/utilities/initPage/handleAuthRedirect.d.ts.map +1 -1
- package/dist/utilities/initPage/handleAuthRedirect.js +23 -36
- package/dist/utilities/initPage/handleAuthRedirect.js.map +1 -1
- package/dist/utilities/initPage/index.d.ts +1 -1
- package/dist/utilities/initPage/index.d.ts.map +1 -1
- package/dist/utilities/initPage/index.js +20 -9
- package/dist/utilities/initPage/index.js.map +1 -1
- package/dist/utilities/initPage/shared.d.ts +2 -2
- package/dist/utilities/initPage/shared.d.ts.map +1 -1
- package/dist/utilities/initPage/shared.js +18 -13
- package/dist/utilities/initPage/shared.js.map +1 -1
- package/dist/views/API/index.scss +98 -96
- package/dist/views/Account/Settings/index.scss +37 -35
- package/dist/views/CreateFirstUser/index.client.d.ts.map +1 -1
- package/dist/views/CreateFirstUser/index.client.js +1 -1
- package/dist/views/CreateFirstUser/index.client.js.map +1 -1
- package/dist/views/CreateFirstUser/index.scss +13 -11
- package/dist/views/Dashboard/Default/index.scss +51 -49
- package/dist/views/Edit/Default/Auth/index.scss +56 -54
- package/dist/views/Edit/Default/index.scss +15 -13
- package/dist/views/ForgotPassword/ForgotPasswordForm/index.d.ts.map +1 -1
- package/dist/views/ForgotPassword/ForgotPasswordForm/index.js +9 -11
- package/dist/views/ForgotPassword/ForgotPasswordForm/index.js.map +1 -1
- package/dist/views/ForgotPassword/index.d.ts.map +1 -1
- package/dist/views/ForgotPassword/index.js +6 -6
- package/dist/views/ForgotPassword/index.js.map +1 -1
- package/dist/views/List/Default/index.scss +136 -134
- package/dist/views/LivePreview/IFrame/index.scss +8 -6
- package/dist/views/LivePreview/Preview/index.scss +32 -30
- package/dist/views/LivePreview/Toolbar/Controls/index.scss +49 -47
- package/dist/views/LivePreview/Toolbar/SizeInput/index.scss +11 -9
- package/dist/views/LivePreview/Toolbar/index.scss +33 -31
- package/dist/views/LivePreview/ToolbarArea/index.scss +5 -3
- package/dist/views/LivePreview/index.scss +48 -46
- package/dist/views/Login/LoginForm/index.js +1 -1
- package/dist/views/Login/LoginForm/index.js.map +1 -1
- package/dist/views/Login/LoginForm/index.scss +8 -6
- package/dist/views/Login/index.scss +8 -6
- package/dist/views/Logout/LogoutClient.d.ts.map +1 -1
- package/dist/views/Logout/LogoutClient.js +77 -55
- package/dist/views/Logout/LogoutClient.js.map +1 -1
- package/dist/views/Logout/index.scss +17 -15
- package/dist/views/NotFound/index.scss +38 -36
- package/dist/views/ResetPassword/ResetPasswordForm/index.d.ts +7 -0
- package/dist/views/ResetPassword/ResetPasswordForm/index.d.ts.map +1 -0
- package/dist/views/ResetPassword/{index.client.js → ResetPasswordForm/index.js} +16 -19
- package/dist/views/ResetPassword/ResetPasswordForm/index.js.map +1 -0
- package/dist/views/ResetPassword/index.d.ts.map +1 -1
- package/dist/views/ResetPassword/index.js +17 -10
- package/dist/views/ResetPassword/index.js.map +1 -1
- package/dist/views/ResetPassword/index.scss +6 -26
- package/dist/views/Root/getViewFromConfig.d.ts.map +1 -1
- package/dist/views/Root/getViewFromConfig.js +0 -6
- package/dist/views/Root/getViewFromConfig.js.map +1 -1
- package/dist/views/Root/index.d.ts.map +1 -1
- package/dist/views/Root/index.js +5 -2
- package/dist/views/Root/index.js.map +1 -1
- package/dist/views/Unauthorized/index.d.ts.map +1 -1
- package/dist/views/Unauthorized/index.js +14 -7
- package/dist/views/Unauthorized/index.js.map +1 -1
- package/dist/views/Unauthorized/index.scss +4 -31
- package/dist/views/Verify/index.client.d.ts +7 -0
- package/dist/views/Verify/index.client.d.ts.map +1 -0
- package/dist/views/Verify/index.client.js +46 -0
- package/dist/views/Verify/index.client.js.map +1 -0
- package/dist/views/Verify/index.d.ts.map +1 -1
- package/dist/views/Verify/index.js +12 -11
- package/dist/views/Verify/index.js.map +1 -1
- package/dist/views/Verify/index.scss +13 -11
- package/dist/views/Version/Default/index.scss +52 -50
- package/dist/views/Version/RenderFieldsToDiff/Label/index.scss +5 -3
- package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.scss +29 -27
- package/dist/views/Version/RenderFieldsToDiff/fields/Nested/index.scss +11 -9
- package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.scss +12 -10
- package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.scss +12 -10
- package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.scss +12 -10
- package/dist/views/Version/RenderFieldsToDiff/index.scss +12 -10
- package/dist/views/Version/Restore/index.scss +57 -55
- package/dist/views/Version/SelectComparison/index.scss +12 -10
- package/dist/views/Version/SelectLocales/index.scss +6 -4
- package/dist/views/Versions/index.scss +78 -76
- package/package.json +6 -6
- package/dist/views/ResetPassword/index.client.d.ts +0 -7
- package/dist/views/ResetPassword/index.client.d.ts.map +0 -1
- package/dist/views/ResetPassword/index.client.js.map +0 -1
|
@@ -1,177 +1,179 @@
|
|
|
1
1
|
@import '../../../scss/styles.scss';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
@layer payload-default {
|
|
4
|
+
.collection-list {
|
|
5
|
+
width: 100%;
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
&__wrap {
|
|
8
|
+
padding-bottom: var(--spacing-view-bottom);
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
& > *:not(:last-child) {
|
|
11
|
+
margin-bottom: var(--base);
|
|
12
|
+
}
|
|
11
13
|
}
|
|
12
|
-
}
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
.list-header {
|
|
16
|
+
a {
|
|
17
|
+
text-decoration: none;
|
|
18
|
+
}
|
|
18
19
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
.btn--withoutPopup,
|
|
21
|
+
.btn--withPopup {
|
|
22
|
+
position: relative;
|
|
23
|
+
margin: 0 0 base(0.2);
|
|
24
|
+
}
|
|
23
25
|
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&__sub-header {
|
|
27
|
-
flex-basis: 100%;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.table {
|
|
31
|
-
table {
|
|
32
|
-
width: 100%;
|
|
33
|
-
overflow: auto;
|
|
34
26
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
line-clamp: 4;
|
|
39
|
-
-webkit-box-orient: vertical;
|
|
40
|
-
-webkit-line-clamp: 4;
|
|
41
|
-
overflow: hidden;
|
|
42
|
-
display: -webkit-box;
|
|
43
|
-
max-width: 100vw;
|
|
44
|
-
}
|
|
27
|
+
&__sub-header {
|
|
28
|
+
flex-basis: 100%;
|
|
29
|
+
}
|
|
45
30
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
31
|
+
.table {
|
|
32
|
+
table {
|
|
33
|
+
width: 100%;
|
|
34
|
+
overflow: auto;
|
|
35
|
+
|
|
36
|
+
[class^='cell'] > p,
|
|
37
|
+
[class^='cell'] > span,
|
|
38
|
+
[class^='cell'] > a {
|
|
39
|
+
line-clamp: 4;
|
|
40
|
+
-webkit-box-orient: vertical;
|
|
41
|
+
-webkit-line-clamp: 4;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
display: -webkit-box;
|
|
44
|
+
max-width: 100vw;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
#heading-_select,
|
|
48
|
+
.cell-_select {
|
|
49
|
+
display: flex;
|
|
50
|
+
min-width: unset;
|
|
51
|
+
}
|
|
50
52
|
}
|
|
51
53
|
}
|
|
52
|
-
}
|
|
53
54
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
&__no-results {
|
|
56
|
+
display: flex;
|
|
57
|
+
flex-direction: column;
|
|
58
|
+
align-items: flex-start;
|
|
59
|
+
gap: var(--base);
|
|
59
60
|
|
|
60
|
-
|
|
61
|
-
|
|
61
|
+
& > * {
|
|
62
|
+
margin: 0;
|
|
63
|
+
}
|
|
62
64
|
}
|
|
63
|
-
}
|
|
64
65
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
.paginator {
|
|
72
|
-
margin-bottom: 0;
|
|
73
|
-
}
|
|
66
|
+
&__page-controls {
|
|
67
|
+
width: 100%;
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
}
|
|
74
71
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
margin-right: base(1);
|
|
78
|
-
margin-left: auto;
|
|
72
|
+
.paginator {
|
|
73
|
+
margin-bottom: 0;
|
|
79
74
|
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
75
|
+
|
|
76
|
+
&__page-info {
|
|
77
|
+
[dir='ltr'] & {
|
|
78
|
+
margin-right: base(1);
|
|
79
|
+
margin-left: auto;
|
|
80
|
+
}
|
|
81
|
+
[dir='rtl'] & {
|
|
82
|
+
margin-left: base(1);
|
|
83
|
+
margin-right: auto;
|
|
84
|
+
}
|
|
83
85
|
}
|
|
84
|
-
}
|
|
85
86
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
87
|
+
&__list-selection {
|
|
88
|
+
position: fixed;
|
|
89
|
+
bottom: 0;
|
|
90
|
+
z-index: 10;
|
|
91
|
+
padding: base(0.8) 0;
|
|
92
|
+
width: 100%;
|
|
93
|
+
background-color: var(--theme-bg);
|
|
93
94
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
.btn {
|
|
96
|
+
margin: 0 0 0 base(0.4);
|
|
97
|
+
}
|
|
97
98
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
99
|
+
.btn {
|
|
100
|
+
background-color: var(--theme-elevation-100);
|
|
101
|
+
cursor: pointer;
|
|
102
|
+
padding: 0 base(0.4);
|
|
103
|
+
border-radius: $style-radius-s;
|
|
103
104
|
|
|
104
|
-
|
|
105
|
-
|
|
105
|
+
&:hover {
|
|
106
|
+
background-color: var(--theme-elevation-200);
|
|
107
|
+
}
|
|
106
108
|
}
|
|
107
109
|
}
|
|
108
|
-
}
|
|
109
110
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
&__list-selection-actions {
|
|
112
|
+
display: flex;
|
|
113
|
+
gap: base(0.25);
|
|
114
|
+
}
|
|
114
115
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
116
|
+
&__shimmer {
|
|
117
|
+
margin-top: base(1.75);
|
|
118
|
+
width: 100%;
|
|
119
|
+
> div {
|
|
120
|
+
margin-top: 8px;
|
|
121
|
+
}
|
|
120
122
|
}
|
|
121
|
-
}
|
|
122
123
|
|
|
123
|
-
|
|
124
|
-
|
|
124
|
+
@include mid-break {
|
|
125
|
+
margin-top: base(0.25);
|
|
125
126
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
127
|
+
&__wrap {
|
|
128
|
+
padding-top: 0;
|
|
129
|
+
padding-bottom: 0;
|
|
130
|
+
}
|
|
130
131
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
&__header {
|
|
133
|
+
gap: base(0.5);
|
|
134
|
+
}
|
|
134
135
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
&__sub-header {
|
|
137
|
+
margin-top: 0;
|
|
138
|
+
}
|
|
138
139
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
&__search-input {
|
|
141
|
+
margin: 0;
|
|
142
|
+
}
|
|
142
143
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
144
|
+
// on mobile, extend the table all the way to the viewport edges
|
|
145
|
+
// this is to visually indicate overflowing content
|
|
146
|
+
.table {
|
|
147
|
+
display: flex;
|
|
148
|
+
width: calc(100% + calc(var(--gutter-h) * 2));
|
|
149
|
+
max-width: unset;
|
|
150
|
+
left: calc(var(--gutter-h) * -1);
|
|
151
|
+
position: relative;
|
|
152
|
+
padding-left: var(--gutter-h);
|
|
153
|
+
|
|
154
|
+
&::after {
|
|
155
|
+
content: '';
|
|
156
|
+
height: 1px;
|
|
157
|
+
padding-right: var(--gutter-h);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
152
160
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
height: 1px;
|
|
156
|
-
padding-right: var(--gutter-h);
|
|
161
|
+
&__page-controls {
|
|
162
|
+
flex-wrap: wrap;
|
|
157
163
|
}
|
|
158
|
-
}
|
|
159
164
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
165
|
+
&__page-info {
|
|
166
|
+
margin-left: 0;
|
|
167
|
+
}
|
|
163
168
|
|
|
164
|
-
|
|
165
|
-
|
|
169
|
+
.paginator {
|
|
170
|
+
width: 100%;
|
|
171
|
+
margin-bottom: $baseline;
|
|
172
|
+
}
|
|
166
173
|
}
|
|
167
174
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
margin-bottom: $baseline;
|
|
175
|
+
@include small-break {
|
|
176
|
+
margin-bottom: base(2.4);
|
|
171
177
|
}
|
|
172
178
|
}
|
|
173
|
-
|
|
174
|
-
@include small-break {
|
|
175
|
-
margin-bottom: base(2.4);
|
|
176
|
-
}
|
|
177
179
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
@layer payload-default {
|
|
2
|
+
.live-preview-iframe {
|
|
3
|
+
background-color: white;
|
|
4
|
+
border: 0;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
transform-origin: top left;
|
|
8
|
+
}
|
|
7
9
|
}
|
|
@@ -1,41 +1,43 @@
|
|
|
1
1
|
@import '../../../scss/styles.scss';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
@layer payload-default {
|
|
4
|
+
.live-preview-window {
|
|
5
|
+
background-color: var(--theme-bg);
|
|
6
|
+
width: 60%;
|
|
7
|
+
flex-shrink: 0;
|
|
8
|
+
flex-grow: 0;
|
|
9
|
+
position: sticky;
|
|
10
|
+
top: var(--doc-controls-height);
|
|
11
|
+
height: calc(100vh - var(--doc-controls-height));
|
|
12
|
+
overflow: hidden;
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
&__main {
|
|
21
|
-
flex-grow: 1;
|
|
22
|
-
height: 100%;
|
|
23
|
-
width: 100%;
|
|
24
|
-
}
|
|
14
|
+
&__wrapper {
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
height: 100%;
|
|
18
|
+
justify-content: flex-start;
|
|
19
|
+
}
|
|
25
20
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
&__main {
|
|
22
|
+
flex-grow: 1;
|
|
23
|
+
height: 100%;
|
|
24
|
+
width: 100%;
|
|
29
25
|
}
|
|
30
26
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
&--has-breakpoint {
|
|
28
|
+
.live-preview-iframe {
|
|
29
|
+
border: 1px solid var(--theme-elevation-100);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.live-preview-window {
|
|
33
|
+
&__main {
|
|
34
|
+
padding: var(--base);
|
|
35
|
+
}
|
|
34
36
|
}
|
|
35
37
|
}
|
|
36
|
-
}
|
|
37
38
|
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
@include mid-break {
|
|
40
|
+
width: 100%;
|
|
41
|
+
}
|
|
40
42
|
}
|
|
41
43
|
}
|
|
@@ -1,59 +1,61 @@
|
|
|
1
1
|
@import '../../../../scss/styles.scss';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
align-items: center;
|
|
6
|
-
gap: calc(var(--base) / 3);
|
|
7
|
-
|
|
8
|
-
&__breakpoint {
|
|
9
|
-
border: none;
|
|
10
|
-
background: transparent;
|
|
11
|
-
height: var(--base);
|
|
12
|
-
|
|
13
|
-
&:focus {
|
|
14
|
-
outline: none;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&__device-size {
|
|
3
|
+
@layer payload-default {
|
|
4
|
+
.live-preview-toolbar-controls {
|
|
19
5
|
display: flex;
|
|
20
6
|
align-items: center;
|
|
21
|
-
|
|
7
|
+
gap: calc(var(--base) / 3);
|
|
22
8
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
align-items: center;
|
|
28
|
-
border: 1px solid var(--theme-elevation-200);
|
|
29
|
-
background: var(--theme-elevation-100);
|
|
30
|
-
border-radius: 2px;
|
|
31
|
-
font-size: small;
|
|
32
|
-
}
|
|
9
|
+
&__breakpoint {
|
|
10
|
+
border: none;
|
|
11
|
+
background: transparent;
|
|
12
|
+
height: var(--base);
|
|
33
13
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
height: var(--base);
|
|
14
|
+
&:focus {
|
|
15
|
+
outline: none;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
39
18
|
|
|
40
|
-
|
|
41
|
-
|
|
19
|
+
&__device-size {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
42
22
|
}
|
|
43
|
-
}
|
|
44
23
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
24
|
+
&__size {
|
|
25
|
+
width: 50px;
|
|
26
|
+
height: var(--base);
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
border: 1px solid var(--theme-elevation-200);
|
|
30
|
+
background: var(--theme-elevation-100);
|
|
31
|
+
border-radius: 2px;
|
|
32
|
+
font-size: small;
|
|
33
|
+
}
|
|
54
34
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
35
|
+
&__zoom {
|
|
36
|
+
width: 55px;
|
|
37
|
+
border: none;
|
|
38
|
+
background: transparent;
|
|
39
|
+
height: var(--base);
|
|
40
|
+
|
|
41
|
+
&:focus {
|
|
42
|
+
outline: none;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&__external {
|
|
47
|
+
flex-shrink: 0;
|
|
48
|
+
display: flex;
|
|
49
|
+
width: var(--base);
|
|
50
|
+
height: var(--base);
|
|
51
|
+
align-items: center;
|
|
52
|
+
justify-content: center;
|
|
53
|
+
padding: 6px 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.popup-button {
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: center;
|
|
59
|
+
}
|
|
58
60
|
}
|
|
59
61
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
@layer payload-default {
|
|
2
|
+
.toolbar-input {
|
|
3
|
+
width: 50px;
|
|
4
|
+
height: var(--base);
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
border: 1px solid var(--theme-elevation-200);
|
|
8
|
+
background: var(--theme-elevation-100);
|
|
9
|
+
border-radius: 2px;
|
|
10
|
+
font-size: small;
|
|
11
|
+
}
|
|
10
12
|
}
|
|
@@ -1,41 +1,43 @@
|
|
|
1
1
|
@import '../../../scss/styles.scss';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
@layer payload-default {
|
|
4
|
+
.live-preview-toolbar {
|
|
5
|
+
display: flex;
|
|
6
|
+
background-color: var(--theme-bg);
|
|
7
|
+
color: var(--theme-text);
|
|
8
|
+
height: calc(var(--base) * 1.75);
|
|
9
|
+
align-items: center;
|
|
10
|
+
flex-shrink: 0;
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
&--static {
|
|
13
|
+
position: relative;
|
|
14
|
+
width: 100%;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
border-bottom: 1px solid var(--theme-elevation-100);
|
|
17
|
+
}
|
|
17
18
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
&--draggable {
|
|
20
|
+
@include shadow-lg;
|
|
21
|
+
position: absolute;
|
|
22
|
+
top: 0;
|
|
23
|
+
left: 0;
|
|
24
|
+
margin: 0;
|
|
25
|
+
border-radius: 4px;
|
|
26
|
+
}
|
|
26
27
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
&__drag-handle {
|
|
29
|
+
background: transparent;
|
|
30
|
+
border: 0;
|
|
31
|
+
padding: 0;
|
|
32
|
+
cursor: grab;
|
|
32
33
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
.icon--drag-handle .fill {
|
|
35
|
+
fill: var(--theme-elevation-300);
|
|
36
|
+
}
|
|
36
37
|
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
&:active {
|
|
39
|
+
cursor: grabbing;
|
|
40
|
+
}
|
|
39
41
|
}
|
|
40
42
|
}
|
|
41
43
|
}
|