@progress/kendo-theme-core 14.5.1-dev.4 → 14.5.1-dev.6
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 +1 -1
- package/scss/components/floating-toolbar/_layout.scss +37 -0
- package/scss/components/floating-toolbar/_theme.scss +52 -0
- package/scss/components/floating-toolbar/_variables.scss +1 -0
- package/scss/components/grid/_layout.scss +1 -0
- package/scss/components/pdf-viewer/_layout.scss +0 -4
- package/scss/components/toolbar/_layout.scss +5 -10
- package/scss/components/toolbar/_variables.scss +0 -2
package/package.json
CHANGED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@use "./_variables.scss" as *;
|
|
2
|
+
@use "../../spacing/index.scss" as *;
|
|
3
|
+
@use "../../typography/index.scss" as *;
|
|
4
|
+
|
|
5
|
+
@mixin kendo-floating-toolbar--layout-base() {
|
|
6
|
+
|
|
7
|
+
// Base
|
|
8
|
+
.k-floating-toolbar {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: row;
|
|
11
|
+
align-items: stretch;
|
|
12
|
+
max-width: fit-content;
|
|
13
|
+
border-radius: $kendo-floating-toolbar-border-radius;
|
|
14
|
+
|
|
15
|
+
.k-toolbar {
|
|
16
|
+
flex: 1 1 auto;
|
|
17
|
+
min-width: 0;
|
|
18
|
+
border-width: 0;
|
|
19
|
+
border-radius: inherit;
|
|
20
|
+
}
|
|
21
|
+
.k-floating-toolbar-drag-handle {
|
|
22
|
+
display: inline-flex;
|
|
23
|
+
flex: none;
|
|
24
|
+
align-items: center;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
margin-inline: k-spacing(2.5);
|
|
27
|
+
padding-inline: k-spacing(1);
|
|
28
|
+
padding-block: k-spacing(2.5);
|
|
29
|
+
cursor: move;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
> .k-separator-vertical {
|
|
33
|
+
align-self: center;
|
|
34
|
+
height: $kendo-line-height-em;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
@use "../../mixins/index.scss" as *;
|
|
2
|
+
@use "../../functions/index.scss" as *;
|
|
3
|
+
@use "../popup/_variables.scss" as *;
|
|
4
|
+
@use "../toolbar/_variables.scss" as *;
|
|
5
|
+
|
|
6
|
+
@mixin kendo-floating-toolbar--theme-base() {
|
|
7
|
+
|
|
8
|
+
.k-floating-toolbar {
|
|
9
|
+
|
|
10
|
+
// Solid
|
|
11
|
+
#{k-when-default($kendo-toolbar-default-fill-mode, "solid")}
|
|
12
|
+
&.k-floating-toolbar-solid {
|
|
13
|
+
@include fill(
|
|
14
|
+
$kendo-toolbar-text,
|
|
15
|
+
$kendo-toolbar-bg,
|
|
16
|
+
$kendo-toolbar-border,
|
|
17
|
+
$kendo-toolbar-gradient
|
|
18
|
+
);
|
|
19
|
+
@include box-shadow( $kendo-toolbar-shadow );
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// Outline
|
|
23
|
+
#{k-when-default($kendo-toolbar-default-fill-mode, "outline")}
|
|
24
|
+
&.k-floating-toolbar-outline {
|
|
25
|
+
@include fill(
|
|
26
|
+
$kendo-toolbar-outline-text,
|
|
27
|
+
$kendo-popup-bg,
|
|
28
|
+
$kendo-toolbar-outline-border
|
|
29
|
+
);
|
|
30
|
+
@include box-shadow( $kendo-toolbar-outline-shadow );
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// Flat
|
|
34
|
+
#{k-when-default($kendo-toolbar-default-fill-mode, "flat")}
|
|
35
|
+
&.k-floating-toolbar-flat {
|
|
36
|
+
@include fill(
|
|
37
|
+
$kendo-toolbar-flat-text,
|
|
38
|
+
$kendo-popup-bg,
|
|
39
|
+
$kendo-toolbar-flat-border
|
|
40
|
+
);
|
|
41
|
+
@include box-shadow( $kendo-toolbar-flat-shadow );
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
> .k-separator {
|
|
45
|
+
border-color: $kendo-toolbar-separator-border;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.k-toolbar {
|
|
49
|
+
box-shadow: none;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
$kendo-floating-toolbar-border-radius: null !default;
|
|
@@ -144,6 +144,11 @@
|
|
|
144
144
|
justify-content: flex-start;
|
|
145
145
|
flex: 1 1 auto;
|
|
146
146
|
overflow: hidden;
|
|
147
|
+
|
|
148
|
+
// Items only get flex-shrink: 0 from the Toolbar's own "> *" rule when NOT wrapped in this scroll container.
|
|
149
|
+
> * {
|
|
150
|
+
flex-shrink: 0;
|
|
151
|
+
}
|
|
147
152
|
}
|
|
148
153
|
|
|
149
154
|
.k-toolbar-items-scroll {
|
|
@@ -271,16 +276,6 @@
|
|
|
271
276
|
}
|
|
272
277
|
}
|
|
273
278
|
|
|
274
|
-
.k-floating-toolbar {
|
|
275
|
-
max-width: fit-content;
|
|
276
|
-
border-radius: $kendo-floating-toolbar-border-radius;
|
|
277
|
-
|
|
278
|
-
.k-toolbar {
|
|
279
|
-
border-width: 0;
|
|
280
|
-
border-radius: inherit;
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
|
|
284
279
|
.k-window-content:where(.editorToolbarWindow) { // stylelint-disable-line
|
|
285
280
|
padding-block: $kendo-toolbar-md-padding-y !important; // stylelint-disable-line declaration-no-important
|
|
286
281
|
padding-inline: $kendo-toolbar-md-padding-x !important; // stylelint-disable-line declaration-no-important
|