umberto 4.4.0 → 4.4.2
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/CHANGELOG.md +15 -0
- package/package.json +1 -1
- package/src/data-converter/converters/typedoc/typedocconverter.js +1 -1
- package/themes/umberto/layout/page.pug +0 -1
- package/themes/umberto/src/css/_api-info-box.scss +14 -10
- package/themes/umberto/src/css/_api-props-filter.scss +26 -71
- package/themes/umberto/src/css/_api-subheader.scss +7 -4
- package/themes/umberto/src/css/_api-tree.scss +21 -16
- package/themes/umberto/src/css/_badge.scss +16 -12
- package/themes/umberto/src/css/_code-switcher.scss +15 -8
- package/themes/umberto/src/css/_collapsinglist.scss +34 -29
- package/themes/umberto/src/css/_content.scss +50 -43
- package/themes/umberto/src/css/_docsearch.scss +9 -6
- package/themes/umberto/src/css/_dropdown.scss +8 -5
- package/themes/umberto/src/css/_feedback-widget.scss +6 -3
- package/themes/umberto/src/css/_font-external.scss +8 -0
- package/themes/umberto/src/css/_footer.scss +21 -16
- package/themes/umberto/src/css/_formatted.scss +48 -40
- package/themes/umberto/src/css/_guide-content.scss +5 -2
- package/themes/umberto/src/css/_guide-sdk-tree.scss +3 -3
- package/themes/umberto/src/css/_main.scss +20 -15
- package/themes/umberto/src/css/_navigation.scss +11 -7
- package/themes/umberto/src/css/_notice.scss +35 -30
- package/themes/umberto/src/css/_prism.scss +5 -3
- package/themes/umberto/src/css/_rwd-breadcrumbs.scss +3 -1
- package/themes/umberto/src/css/_rwd-menu.scss +20 -15
- package/themes/umberto/src/css/_secondary-navigation.scss +44 -38
- package/themes/umberto/src/css/_toggler.scss +6 -4
- package/themes/umberto/src/css/_top.scss +49 -43
- package/themes/umberto/src/css/_tree.scss +24 -21
- package/themes/umberto/src/css/_warning-banner.scss +6 -3
- package/themes/umberto/src/css/helpers/_color.scss +4 -1
- package/themes/umberto/src/css/helpers/_font.scss +15 -12
- package/themes/umberto/src/css/helpers/_globals.scss +10 -9
- package/themes/umberto/src/css/helpers/_spacing.scss +3 -1
- package/themes/umberto/src/css/pages/_sdk.scss +12 -8
- package/themes/umberto/src/css/styles.scss +48 -47
- package/themes/umberto/src/js/_codeswitcherbuttons.js +21 -10
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
// Copyright (c) 2017-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
// For licensing, see LICENSE.md or http://ckeditor.com/license
|
|
3
3
|
|
|
4
|
+
@use 'helpers/color';
|
|
5
|
+
@use 'helpers/font';
|
|
6
|
+
@use 'helpers/spacing';
|
|
7
|
+
@use 'sass:math';
|
|
8
|
+
|
|
4
9
|
ul.collapsing-list {
|
|
5
10
|
margin: 0;
|
|
6
11
|
padding: 0;
|
|
@@ -8,16 +13,16 @@ ul.collapsing-list {
|
|
|
8
13
|
}
|
|
9
14
|
|
|
10
15
|
.collapsing-list {
|
|
11
|
-
margin-top: u-spacing( 1 );
|
|
16
|
+
margin-top: spacing.u-spacing( 1 );
|
|
12
17
|
|
|
13
18
|
dd {
|
|
14
|
-
min-height: u-spacing( 1 );
|
|
19
|
+
min-height: spacing.u-spacing( 1 );
|
|
15
20
|
margin: 0;
|
|
16
21
|
}
|
|
17
22
|
|
|
18
23
|
@keyframes highlight {
|
|
19
24
|
0% {
|
|
20
|
-
background: u-color( 'highlight' )
|
|
25
|
+
background: color.u-color( 'highlight' )
|
|
21
26
|
}
|
|
22
27
|
100% {
|
|
23
28
|
background: none;
|
|
@@ -25,7 +30,7 @@ ul.collapsing-list {
|
|
|
25
30
|
}
|
|
26
31
|
|
|
27
32
|
&--empty {
|
|
28
|
-
margin-bottom: u-spacing( 0 );
|
|
33
|
+
margin-bottom: spacing.u-spacing( 0 );
|
|
29
34
|
|
|
30
35
|
&::before {
|
|
31
36
|
content: "No items to display for current filtering criteria."
|
|
@@ -33,7 +38,7 @@ ul.collapsing-list {
|
|
|
33
38
|
}
|
|
34
39
|
|
|
35
40
|
&__content h4 {
|
|
36
|
-
@include u-baseline-padding( 0 );
|
|
41
|
+
@include font.u-baseline-padding( 0 );
|
|
37
42
|
}
|
|
38
43
|
&__item {
|
|
39
44
|
&--first {
|
|
@@ -48,13 +53,13 @@ ul.collapsing-list {
|
|
|
48
53
|
}
|
|
49
54
|
|
|
50
55
|
&__term {
|
|
51
|
-
padding-top: u-spacing( 0 );
|
|
56
|
+
padding-top: spacing.u-spacing( 0 );
|
|
52
57
|
position: relative;
|
|
53
58
|
display: flex;
|
|
54
|
-
border-top: 1px solid u-color( 'separator' );
|
|
59
|
+
border-top: 1px solid color.u-color( 'separator' );
|
|
55
60
|
|
|
56
61
|
&--no-excerpt {
|
|
57
|
-
padding: u-spacing( -3 ) 0;
|
|
62
|
+
padding: spacing.u-spacing( -3 ) 0;
|
|
58
63
|
}
|
|
59
64
|
|
|
60
65
|
&.toggler {
|
|
@@ -63,22 +68,22 @@ ul.collapsing-list {
|
|
|
63
68
|
cursor: pointer;
|
|
64
69
|
|
|
65
70
|
& + .collapsing-list__description {
|
|
66
|
-
padding-left: u-spacing(3);
|
|
71
|
+
padding-left: spacing.u-spacing(3);
|
|
67
72
|
}
|
|
68
73
|
|
|
69
74
|
&::before {
|
|
70
75
|
position: absolute;
|
|
71
|
-
top: u-spacing(-1);
|
|
76
|
+
top: spacing.u-spacing(-1);
|
|
72
77
|
left: 0;
|
|
73
78
|
}
|
|
74
79
|
}
|
|
75
80
|
|
|
76
81
|
&--collapsed {
|
|
77
|
-
padding: u-spacing( -3 ) 0 u-spacing( -3 ) u-spacing( 3 );
|
|
82
|
+
padding: spacing.u-spacing( -3 ) 0 spacing.u-spacing( -3 ) spacing.u-spacing( 3 );
|
|
78
83
|
|
|
79
84
|
& + .collapsing-list__description {
|
|
80
85
|
.collapsing-list__excerpt {
|
|
81
|
-
height:
|
|
86
|
+
height: font.$u-line-height-base + em;
|
|
82
87
|
|
|
83
88
|
/* #791. Wrap excerpt one liner with (...) when collapsed. */
|
|
84
89
|
p {
|
|
@@ -93,13 +98,13 @@ ul.collapsing-list {
|
|
|
93
98
|
}
|
|
94
99
|
|
|
95
100
|
.collapsing-list__excerpt {
|
|
96
|
-
margin-bottom: u-spacing( -3 );
|
|
101
|
+
margin-bottom: spacing.u-spacing( -3 );
|
|
97
102
|
}
|
|
98
103
|
}
|
|
99
104
|
}
|
|
100
105
|
|
|
101
106
|
&--expanded {
|
|
102
|
-
padding: u-spacing( -3 ) 0 u-spacing( -3 ) u-spacing( 3 );
|
|
107
|
+
padding: spacing.u-spacing( -3 ) 0 spacing.u-spacing( -3 ) spacing.u-spacing( 3 );
|
|
103
108
|
|
|
104
109
|
// Do not touch dedicated error code page. See: https://github.com/cksource/umberto/issues/788
|
|
105
110
|
& + .collapsing-list__description:not(.collapsing-list__description--error-page) {
|
|
@@ -113,7 +118,7 @@ ul.collapsing-list {
|
|
|
113
118
|
overflow: visible;
|
|
114
119
|
height: auto;
|
|
115
120
|
white-space: inherit;
|
|
116
|
-
margin-bottom: u-spacing( -3 );
|
|
121
|
+
margin-bottom: spacing.u-spacing( -3 );
|
|
117
122
|
}
|
|
118
123
|
}
|
|
119
124
|
|
|
@@ -144,7 +149,7 @@ ul.collapsing-list {
|
|
|
144
149
|
padding-top: 0;
|
|
145
150
|
width: 100%;
|
|
146
151
|
|
|
147
|
-
@include u-baseline( 0 );
|
|
152
|
+
@include font.u-baseline( 0 );
|
|
148
153
|
|
|
149
154
|
code {
|
|
150
155
|
font-weight: 400;
|
|
@@ -157,7 +162,7 @@ ul.collapsing-list {
|
|
|
157
162
|
.badges {
|
|
158
163
|
text-align: right;
|
|
159
164
|
float: right;
|
|
160
|
-
margin-left: u-spacing( 0 );
|
|
165
|
+
margin-left: spacing.u-spacing( 0 );
|
|
161
166
|
}
|
|
162
167
|
}
|
|
163
168
|
|
|
@@ -181,7 +186,7 @@ ul.collapsing-list {
|
|
|
181
186
|
}
|
|
182
187
|
|
|
183
188
|
&__description {
|
|
184
|
-
//padding: 0 0 0 u-spacing( 3 );
|
|
189
|
+
//padding: 0 0 0 spacing.u-spacing( 3 );
|
|
185
190
|
overflow: hidden;
|
|
186
191
|
|
|
187
192
|
.collapsing-list__excerpt {
|
|
@@ -190,31 +195,31 @@ ul.collapsing-list {
|
|
|
190
195
|
&--short {
|
|
191
196
|
text-overflow: ellipsis;
|
|
192
197
|
overflow: hidden;
|
|
193
|
-
height:
|
|
198
|
+
height: font.$u-line-height-base + em;
|
|
194
199
|
white-space: nowrap;
|
|
195
|
-
margin-bottom: math.div( u-spacing( 0 ), 2 );
|
|
200
|
+
margin-bottom: math.div( spacing.u-spacing( 0 ), 2 );
|
|
196
201
|
}
|
|
197
202
|
}
|
|
198
203
|
|
|
199
204
|
dl {
|
|
200
|
-
padding: 0 0 0 u-spacing( 3 );
|
|
205
|
+
padding: 0 0 0 spacing.u-spacing( 3 );
|
|
201
206
|
|
|
202
207
|
dd p {
|
|
203
|
-
padding-left: u-spacing( 3 );
|
|
208
|
+
padding-left: spacing.u-spacing( 3 );
|
|
204
209
|
}
|
|
205
210
|
|
|
206
211
|
.dlheading5,
|
|
207
212
|
.dlheading6 {
|
|
208
|
-
@include u-baseline( 0 );
|
|
209
|
-
padding-left: u-spacing( 3 );
|
|
213
|
+
@include font.u-baseline( 0 );
|
|
214
|
+
padding-left: spacing.u-spacing( 3 );
|
|
210
215
|
font-weight: 400;
|
|
211
|
-
color: rgba( u-color( 'text-header' ), .9 );
|
|
216
|
+
color: rgba( color.u-color( 'text-header' ), .9 );
|
|
212
217
|
}
|
|
213
218
|
}
|
|
214
219
|
}
|
|
215
220
|
|
|
216
221
|
&__bottom {
|
|
217
|
-
margin-bottom: u-spacing( 0 );
|
|
222
|
+
margin-bottom: spacing.u-spacing( 0 );
|
|
218
223
|
}
|
|
219
224
|
|
|
220
225
|
&--filtered {
|
|
@@ -233,15 +238,15 @@ ul.collapsing-list {
|
|
|
233
238
|
|
|
234
239
|
.collapsing-list__description {
|
|
235
240
|
ul, ol {
|
|
236
|
-
@include u-baseline( 0 );
|
|
241
|
+
@include font.u-baseline( 0 );
|
|
237
242
|
}
|
|
238
243
|
}
|
|
239
244
|
|
|
240
245
|
&__dev-names {
|
|
241
246
|
code#{&}--active {
|
|
242
247
|
display: block;
|
|
243
|
-
color: u-color( 'text', 40% );
|
|
244
|
-
font-size: u-font-size( -1 );
|
|
248
|
+
color: color.u-color( 'text', 40% );
|
|
249
|
+
font-size: font.u-font-size( -1 );
|
|
245
250
|
cursor: default;
|
|
246
251
|
white-space: nowrap;
|
|
247
252
|
overflow: hidden;
|
|
@@ -1,24 +1,31 @@
|
|
|
1
1
|
// Copyright (c) 2017-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
// For licensing, see LICENSE.md or http://ckeditor.com/license
|
|
3
3
|
|
|
4
|
+
@use 'helpers/color';
|
|
5
|
+
@use 'helpers/font';
|
|
6
|
+
@use 'helpers/globals';
|
|
7
|
+
@use 'helpers/spacing';
|
|
8
|
+
@use 'sass:map';
|
|
9
|
+
@use 'sass:math';
|
|
10
|
+
|
|
4
11
|
.main__content {
|
|
5
|
-
@include u-box;
|
|
12
|
+
@include globals.u-box;
|
|
6
13
|
max-width: 100%;
|
|
7
|
-
min-width:
|
|
14
|
+
min-width: globals.$u-content-min-width + 2 * globals.$u-content-margin;
|
|
8
15
|
flex: 1;
|
|
9
|
-
padding: u-spacing( 4 ) 0 3*u-spacing( 2 );
|
|
16
|
+
padding: spacing.u-spacing( 4 ) 0 3 * spacing.u-spacing( 2 );
|
|
10
17
|
position: relative;
|
|
11
18
|
|
|
12
|
-
@include u-responsive-wide {
|
|
13
|
-
padding-right:
|
|
19
|
+
@include globals.u-responsive-wide {
|
|
20
|
+
padding-right: globals.$u-sidebar-width;
|
|
14
21
|
}
|
|
15
22
|
|
|
16
|
-
@include u-responsive-tablet {
|
|
23
|
+
@include globals.u-responsive-tablet {
|
|
17
24
|
min-width: unset;
|
|
18
25
|
}
|
|
19
26
|
|
|
20
|
-
@include u-responsive-mobile {
|
|
21
|
-
padding: u-spacing( 0 ) 0;
|
|
27
|
+
@include globals.u-responsive-mobile {
|
|
28
|
+
padding: spacing.u-spacing( 0 ) 0;
|
|
22
29
|
}
|
|
23
30
|
|
|
24
31
|
&-inner {
|
|
@@ -30,39 +37,39 @@
|
|
|
30
37
|
}
|
|
31
38
|
max-width: 100%;
|
|
32
39
|
|
|
33
|
-
@include u-responsive-narrow {
|
|
34
|
-
max-width:
|
|
40
|
+
@include globals.u-responsive-narrow {
|
|
41
|
+
max-width: globals.$u-content-max-width + 2 * globals.$u-content-margin;
|
|
35
42
|
padding: {
|
|
36
|
-
left:
|
|
37
|
-
right:
|
|
43
|
+
left: globals.$u-content-margin;
|
|
44
|
+
right: globals.$u-content-margin;
|
|
38
45
|
}
|
|
39
46
|
}
|
|
40
47
|
|
|
41
|
-
@include u-responsive-wide {
|
|
48
|
+
@include globals.u-responsive-wide {
|
|
42
49
|
width: auto;
|
|
43
50
|
margin: {
|
|
44
|
-
left:
|
|
45
|
-
right:
|
|
51
|
+
left: globals.$u-content-margin;
|
|
52
|
+
right: globals.$u-content-margin;
|
|
46
53
|
}
|
|
47
54
|
}
|
|
48
55
|
|
|
49
|
-
@include u-responsive-wide-plus {
|
|
50
|
-
width:
|
|
56
|
+
@include globals.u-responsive-wide-plus {
|
|
57
|
+
width: globals.$u-content-max-width;
|
|
51
58
|
margin: 0 auto;
|
|
52
59
|
}
|
|
53
60
|
|
|
54
|
-
@include u-responsive-tablet {
|
|
61
|
+
@include globals.u-responsive-tablet {
|
|
55
62
|
max-width: 100%;
|
|
56
63
|
padding: {
|
|
57
|
-
left: u-spacing( 3 );
|
|
58
|
-
right: u-spacing( 3 );
|
|
64
|
+
left: spacing.u-spacing( 3 );
|
|
65
|
+
right: spacing.u-spacing( 3 );
|
|
59
66
|
}
|
|
60
67
|
}
|
|
61
68
|
|
|
62
|
-
@include u-responsive-mobile {
|
|
69
|
+
@include globals.u-responsive-mobile {
|
|
63
70
|
padding: {
|
|
64
|
-
left: u-spacing( 0 );
|
|
65
|
-
right: u-spacing( 0 );
|
|
71
|
+
left: spacing.u-spacing( 0 );
|
|
72
|
+
right: spacing.u-spacing( 0 );
|
|
66
73
|
}
|
|
67
74
|
}
|
|
68
75
|
|
|
@@ -71,26 +78,26 @@
|
|
|
71
78
|
height: auto;
|
|
72
79
|
}
|
|
73
80
|
|
|
74
|
-
@include u-responsive-wide-plus {
|
|
81
|
+
@include globals.u-responsive-wide-plus {
|
|
75
82
|
img {
|
|
76
|
-
max-width:
|
|
83
|
+
max-width: globals.$u-content-max-width;
|
|
77
84
|
}
|
|
78
85
|
}
|
|
79
86
|
|
|
80
87
|
|
|
81
88
|
h1 {
|
|
82
89
|
&:first-of-type {
|
|
83
|
-
margin-bottom: math.div( u-spacing( 0 ), 2 );
|
|
90
|
+
margin-bottom: math.div( spacing.u-spacing( 0 ), 2 );
|
|
84
91
|
}
|
|
85
92
|
}
|
|
86
93
|
|
|
87
94
|
.types {
|
|
88
|
-
margin-bottom: u-spacing( 2 );
|
|
95
|
+
margin-bottom: spacing.u-spacing( 2 );
|
|
89
96
|
}
|
|
90
97
|
/* #351 Npm badge should be aligned to the left instead of centered. */
|
|
91
98
|
a[href*="npmjs.com"] {
|
|
92
99
|
img {
|
|
93
|
-
margin: u-spacing( -2 ) 0 u-spacing( 3 );
|
|
100
|
+
margin: spacing.u-spacing( -2 ) 0 spacing.u-spacing( 3 );
|
|
94
101
|
}
|
|
95
102
|
}
|
|
96
103
|
}
|
|
@@ -107,14 +114,14 @@
|
|
|
107
114
|
|
|
108
115
|
img {
|
|
109
116
|
height: 2.7em;
|
|
110
|
-
margin-right: u-spacing( 3 );
|
|
117
|
+
margin-right: spacing.u-spacing( 3 );
|
|
111
118
|
}
|
|
112
119
|
|
|
113
120
|
h1 {
|
|
114
121
|
/* #494. Break long named API elements in the main header. */
|
|
115
122
|
word-break: break-word;
|
|
116
123
|
|
|
117
|
-
$rhythm: map
|
|
124
|
+
$rhythm: map.get( font.$u-baseline-levels, 4 );
|
|
118
125
|
|
|
119
126
|
padding: 0;
|
|
120
127
|
margin: 0;
|
|
@@ -124,7 +131,7 @@
|
|
|
124
131
|
font-size: 0.9em;
|
|
125
132
|
padding: 0;
|
|
126
133
|
margin: -0.4em 0 0 0;
|
|
127
|
-
color: u-color( 'text', 50% );
|
|
134
|
+
color: color.u-color( 'text', 50% );
|
|
128
135
|
|
|
129
136
|
&--hidden {
|
|
130
137
|
display: none;
|
|
@@ -133,7 +140,7 @@
|
|
|
133
140
|
}
|
|
134
141
|
|
|
135
142
|
h1.main__content-title {
|
|
136
|
-
// @include u-font-mono;
|
|
143
|
+
// @include font.u-font-mono;
|
|
137
144
|
// Never separate the icon from the title.
|
|
138
145
|
// white-space: nowrap;
|
|
139
146
|
display: inline-block;
|
|
@@ -143,10 +150,10 @@
|
|
|
143
150
|
vertical-align: middle;
|
|
144
151
|
position: relative;
|
|
145
152
|
top: -.1em;
|
|
146
|
-
margin-right: u-spacing( -2 );
|
|
153
|
+
margin-right: spacing.u-spacing( -2 );
|
|
147
154
|
|
|
148
|
-
@include u-responsive-mobile {
|
|
149
|
-
margin-right: u-spacing( -4 );
|
|
155
|
+
@include globals.u-responsive-mobile {
|
|
156
|
+
margin-right: spacing.u-spacing( -4 );
|
|
150
157
|
}
|
|
151
158
|
}
|
|
152
159
|
}
|
|
@@ -157,7 +164,7 @@
|
|
|
157
164
|
|
|
158
165
|
/* #469. Method name in the API collapsing list should be styled differently. */
|
|
159
166
|
a.member-name,
|
|
160
|
-
span.member-name
|
|
167
|
+
span.member-name {
|
|
161
168
|
font-weight: bold;
|
|
162
169
|
}
|
|
163
170
|
}
|
|
@@ -173,11 +180,11 @@
|
|
|
173
180
|
|
|
174
181
|
.typedef-callback {
|
|
175
182
|
h4 {
|
|
176
|
-
@include u-baseline-padding( 0 );
|
|
183
|
+
@include font.u-baseline-padding( 0 );
|
|
177
184
|
}
|
|
178
185
|
|
|
179
186
|
dl {
|
|
180
|
-
padding: 0 0 0 u-spacing( 3 );
|
|
187
|
+
padding: 0 0 0 spacing.u-spacing( 3 );
|
|
181
188
|
}
|
|
182
189
|
|
|
183
190
|
dt code {
|
|
@@ -186,11 +193,11 @@
|
|
|
186
193
|
}
|
|
187
194
|
|
|
188
195
|
dd {
|
|
189
|
-
min-height: u-spacing( 1 );
|
|
196
|
+
min-height: spacing.u-spacing( 1 );
|
|
190
197
|
margin: 0;
|
|
191
198
|
|
|
192
199
|
p {
|
|
193
|
-
padding-left: u-spacing( 3 );
|
|
200
|
+
padding-left: spacing.u-spacing( 3 );
|
|
194
201
|
}
|
|
195
202
|
}
|
|
196
203
|
}
|
|
@@ -201,12 +208,12 @@
|
|
|
201
208
|
top: 0;
|
|
202
209
|
|
|
203
210
|
// https://github.com/cksource/umberto/issues/348
|
|
204
|
-
@include u-responsive-narrow {
|
|
205
|
-
right:
|
|
211
|
+
@include globals.u-responsive-narrow {
|
|
212
|
+
right: globals.$u-content-margin;
|
|
206
213
|
}
|
|
207
214
|
|
|
208
215
|
// We dont' need these buttons on mobile: https://github.com/cksource/umberto/issues/538
|
|
209
|
-
@include u-responsive-mobile {
|
|
216
|
+
@include globals.u-responsive-mobile {
|
|
210
217
|
display: none;
|
|
211
218
|
}
|
|
212
219
|
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
// Copyright (c) 2017-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
// For licensing, see LICENSE.md or http://ckeditor.com/license
|
|
3
3
|
|
|
4
|
+
@use 'helpers/color';
|
|
5
|
+
@use 'helpers/globals';
|
|
6
|
+
|
|
4
7
|
$border-color-light: hsl( 0, 0%, 90% );
|
|
5
8
|
$border-color-dark: hsl( 0, 0%, 50% );
|
|
6
9
|
|
|
@@ -8,7 +11,7 @@ $border-color-dark: hsl( 0, 0%, 50% );
|
|
|
8
11
|
.algolia-docsearch-suggestion--category-header {
|
|
9
12
|
background: hsl(0, 0%, 96%);
|
|
10
13
|
font-size: 1.2em;
|
|
11
|
-
color: u-color( 'text-gray') ;
|
|
14
|
+
color: color.u-color( 'text-gray') ;
|
|
12
15
|
border-bottom: 1px solid $border-color-dark;
|
|
13
16
|
border-top: 1px solid $border-color-dark;
|
|
14
17
|
|
|
@@ -59,17 +62,17 @@ $border-color-dark: hsl( 0, 0%, 50% );
|
|
|
59
62
|
overflow-y: auto;
|
|
60
63
|
max-height: 90vh;
|
|
61
64
|
|
|
62
|
-
@include u-responsive-tablet-plus {
|
|
65
|
+
@include globals.u-responsive-tablet-plus {
|
|
63
66
|
max-width: 800px;
|
|
64
67
|
width: 800px;
|
|
65
68
|
}
|
|
66
69
|
|
|
67
|
-
@include u-responsive-tablet {
|
|
70
|
+
@include globals.u-responsive-tablet {
|
|
68
71
|
max-width: 80vw;
|
|
69
72
|
width: 80vw;
|
|
70
73
|
}
|
|
71
74
|
|
|
72
|
-
@include u-responsive-mobile {
|
|
75
|
+
@include globals.u-responsive-mobile {
|
|
73
76
|
max-width: 95vw;
|
|
74
77
|
width: 95vw;
|
|
75
78
|
}
|
|
@@ -78,7 +81,7 @@ $border-color-dark: hsl( 0, 0%, 50% );
|
|
|
78
81
|
.ds-suggestion {
|
|
79
82
|
.algolia-docsearch-suggestion {
|
|
80
83
|
&--subcategory-column-text {
|
|
81
|
-
color: u-color( text );
|
|
84
|
+
color: color.u-color( text );
|
|
82
85
|
}
|
|
83
86
|
&--no-results {
|
|
84
87
|
border: none;
|
|
@@ -86,7 +89,7 @@ $border-color-dark: hsl( 0, 0%, 50% );
|
|
|
86
89
|
font-weight: 400;
|
|
87
90
|
}
|
|
88
91
|
&----category-header {
|
|
89
|
-
color: u-color( 'text-gray' );
|
|
92
|
+
color: color.u-color( 'text-gray' );
|
|
90
93
|
}
|
|
91
94
|
}
|
|
92
95
|
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
// Copyright (c) 2017-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
// For licensing, see LICENSE.md or http://ckeditor.com/license
|
|
3
3
|
|
|
4
|
+
@use 'helpers/color';
|
|
5
|
+
@use 'helpers/globals';
|
|
6
|
+
|
|
4
7
|
$u-button-size-width: 72px;
|
|
5
8
|
$u-space-between: 15px;
|
|
6
9
|
$u-icon-size: 36px;
|
|
7
10
|
|
|
8
11
|
.dropdown {
|
|
9
12
|
&__wrapper {
|
|
10
|
-
width:
|
|
13
|
+
width: globals.$u-sidebar-width;
|
|
11
14
|
position: relative;
|
|
12
15
|
padding-left: $u-space-between;
|
|
13
16
|
}
|
|
@@ -16,15 +19,15 @@ $u-icon-size: 36px;
|
|
|
16
19
|
display: inline-block;
|
|
17
20
|
padding-left: $u-space-between;
|
|
18
21
|
font-weight: bold;
|
|
19
|
-
color: u-color( 'text-gray' );
|
|
20
|
-
line-height:
|
|
22
|
+
color: color.u-color( 'text-gray' );
|
|
23
|
+
line-height: globals.$u-top-sub;
|
|
21
24
|
}
|
|
22
25
|
|
|
23
26
|
&__content {
|
|
24
27
|
position: absolute;
|
|
25
28
|
overflow: hidden;
|
|
26
29
|
z-index: 1;
|
|
27
|
-
background: u-color( 'background-bright' );
|
|
30
|
+
background: color.u-color( 'background-bright' );
|
|
28
31
|
transition: opacity 200ms ease-in-out;
|
|
29
32
|
|
|
30
33
|
li {
|
|
@@ -33,7 +36,7 @@ $u-icon-size: 36px;
|
|
|
33
36
|
|
|
34
37
|
a {
|
|
35
38
|
display: block;
|
|
36
|
-
color: u-color( 'text-gray' );
|
|
39
|
+
color: color.u-color( 'text-gray' );
|
|
37
40
|
text-decoration: none;
|
|
38
41
|
transition: all 200ms ease-in-out;
|
|
39
42
|
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
// Copyright (c) 2017-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
// For licensing, see LICENSE.md or http://ckeditor.com/license
|
|
3
3
|
|
|
4
|
+
@use 'helpers/color';
|
|
5
|
+
@use 'helpers/spacing';
|
|
6
|
+
|
|
4
7
|
.feedback-widget {
|
|
5
|
-
border-top: 1px solid u-color( 'separator' );
|
|
6
|
-
margin-top: u-spacing( 3 );
|
|
7
|
-
padding-top: u-spacing( 3 ) * 2;
|
|
8
|
+
border-top: 1px solid color.u-color( 'separator' );
|
|
9
|
+
margin-top: spacing.u-spacing( 3 );
|
|
10
|
+
padding-top: spacing.u-spacing( 3 ) * 2;
|
|
8
11
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// Copyright (c) 2017-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
// For licensing, see LICENSE.md or http://ckeditor.com/license
|
|
3
|
+
|
|
4
|
+
// All external fonts have to be imported via this file, and this file can only be imported once in the root file.
|
|
5
|
+
// This is because if a file that has external imports is imported in several places, imports such as the one below
|
|
6
|
+
// will be duplicated in compiled css.
|
|
7
|
+
|
|
8
|
+
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600');
|
|
@@ -1,35 +1,40 @@
|
|
|
1
1
|
// Copyright (c) 2017-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
// For licensing, see LICENSE.md or http://ckeditor.com/license
|
|
3
3
|
|
|
4
|
+
@use 'helpers/color';
|
|
5
|
+
@use 'helpers/font';
|
|
6
|
+
@use 'helpers/globals';
|
|
7
|
+
@use 'helpers/spacing';
|
|
8
|
+
|
|
4
9
|
.footer {
|
|
5
10
|
z-index: 30;
|
|
6
|
-
font-size: u-font-size( -2 );
|
|
7
|
-
|
|
8
|
-
|
|
11
|
+
font-size: font.u-font-size( -2 );
|
|
12
|
+
width: globals.$u-sidebar-width;
|
|
13
|
+
height: 50px;
|
|
9
14
|
|
|
10
|
-
@include u-responsive-narrow {
|
|
11
|
-
background: u-color( 'background-bright' );
|
|
15
|
+
@include globals.u-responsive-narrow {
|
|
16
|
+
background: color.u-color( 'background-bright' );
|
|
12
17
|
text-align: right;
|
|
13
|
-
padding: u-spacing( -2 ) u-spacing( 4 ) u-spacing( 0 ) u-spacing( 2 );
|
|
18
|
+
padding: spacing.u-spacing( -2 ) spacing.u-spacing( 4 ) spacing.u-spacing( 0 ) spacing.u-spacing( 2 );
|
|
14
19
|
position: relative;
|
|
15
20
|
float:right;
|
|
16
|
-
|
|
21
|
+
height: globals.$u-footer-height;
|
|
17
22
|
}
|
|
18
23
|
|
|
19
|
-
@include u-responsive-wide {
|
|
24
|
+
@include globals.u-responsive-wide {
|
|
20
25
|
position: fixed;
|
|
21
|
-
|
|
22
|
-
|
|
26
|
+
bottom: 0;
|
|
27
|
+
right: 0;
|
|
23
28
|
|
|
24
|
-
|
|
25
|
-
border-left: 1px solid u-color( 'background-hue' );
|
|
29
|
+
&--bordered {
|
|
30
|
+
border-left: 1px solid color.u-color( 'background-hue' );
|
|
26
31
|
}
|
|
27
32
|
}
|
|
28
33
|
|
|
29
34
|
p {
|
|
30
|
-
color: u-color( 'text', 20% );
|
|
31
|
-
|
|
32
|
-
bottom: u-spacing( 2 );
|
|
33
|
-
right: u-spacing( 3 );
|
|
35
|
+
color: color.u-color( 'text', 20% );
|
|
36
|
+
position: absolute;
|
|
37
|
+
bottom: spacing.u-spacing( 2 );
|
|
38
|
+
right: spacing.u-spacing( 3 );
|
|
34
39
|
}
|
|
35
40
|
}
|