@progress/kendo-theme-fluent 12.0.0-dev.1 → 12.0.0-dev.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/dist/all.css +1 -1
- package/dist/fluent-1-dark.css +1 -0
- package/dist/fluent-1-dark.scss +157 -0
- package/dist/fluent-1.css +1 -0
- package/dist/fluent-1.scss +157 -0
- package/dist/fluent-main-dark.css +1 -1
- package/dist/fluent-main-dark.scss +145 -145
- package/dist/fluent-main.css +1 -1
- package/dist/meta/sassdoc-data.json +11271 -14429
- package/dist/meta/sassdoc-raw-data.json +3708 -5183
- package/dist/meta/variables.json +2093 -2384
- package/lib/swatches/all.json +1 -1
- package/lib/swatches/fluent-1-dark.json +757 -0
- package/lib/swatches/fluent-1.json +757 -0
- package/lib/swatches/fluent-main-dark.json +151 -151
- package/lib/swatches/fluent-main.json +5 -5
- package/package.json +4 -4
- package/scss/action-buttons/_variables.scss +3 -3
- package/scss/action-sheet/_layout.scss +4 -4
- package/scss/action-sheet/_theme.scss +0 -16
- package/scss/action-sheet/_variables.scss +12 -12
- package/scss/adaptive/_theme.scss +1 -1
- package/scss/appbar/_theme.scss +9 -1
- package/scss/appbar/_variables.scss +21 -3
- package/scss/badge/_theme.scss +6 -0
- package/scss/badge/_variables.scss +6 -6
- package/scss/bottom-navigation/_layout.scss +0 -17
- package/scss/bottom-navigation/_theme.scss +2 -10
- package/scss/bottom-navigation/_variables.scss +0 -10
- package/scss/breadcrumb/_layout.scss +0 -6
- package/scss/breadcrumb/_theme.scss +30 -17
- package/scss/breadcrumb/_variables.scss +26 -26
- package/scss/bubble/_theme.scss +2 -2
- package/scss/bubble/_variables.scss +2 -2
- package/scss/button/_layout.scss +15 -20
- package/scss/button/_theme.scss +100 -118
- package/scss/button/_variables.scss +22 -62
- package/scss/calendar/_layout.scss +13 -60
- package/scss/calendar/_theme.scss +63 -91
- package/scss/calendar/_variables.scss +21 -30
- package/scss/captcha/_variables.scss +2 -2
- package/scss/card/_layout.scss +6 -0
- package/scss/card/_theme.scss +5 -0
- package/scss/card/_variables.scss +8 -8
- package/scss/chat/_layout.scss +4 -18
- package/scss/chat/_theme.scss +10 -2
- package/scss/chat/_variables.scss +4 -4
- package/scss/checkbox/_layout.scss +6 -3
- package/scss/checkbox/_theme.scss +12 -0
- package/scss/checkbox/_variables.scss +7 -7
- package/scss/chip/_layout.scss +7 -11
- package/scss/chip/_theme.scss +43 -25
- package/scss/chip/_variables.scss +15 -24
- package/scss/coloreditor/_layout.scss +2 -2
- package/scss/coloreditor/_variables.scss +14 -14
- package/scss/colorgradient/_layout.scss +17 -1
- package/scss/colorgradient/_theme.scss +21 -16
- package/scss/colorgradient/_variables.scss +4 -4
- package/scss/colorpalette/_layout.scss +0 -2
- package/scss/colorpalette/_theme.scss +1 -9
- package/scss/colorpalette/_variables.scss +3 -24
- package/scss/column-menu/_variables.scss +6 -6
- package/scss/core/border-radii/_index.scss +4 -4
- package/scss/core/color-system/_palettes.scss +240 -556
- package/scss/core/color-system/_swatch.scss +144 -144
- package/scss/core/elevation/_index.scss +16 -16
- package/scss/core/typography/_index.scss +25 -1
- package/scss/dialog/_layout.scss +0 -24
- package/scss/dialog/_variables.scss +2 -22
- package/scss/dock-manager/_layout.scss +14 -2
- package/scss/dock-manager/_theme.scss +9 -0
- package/scss/dock-manager/_variables.scss +9 -9
- package/scss/drawer/_layout.scss +8 -4
- package/scss/drawer/_theme.scss +4 -2
- package/scss/drawer/_variables.scss +32 -19
- package/scss/dropzone/_layout.scss +1 -0
- package/scss/dropzone/_variables.scss +3 -3
- package/scss/expansion-panel/_layout.scss +1 -10
- package/scss/expansion-panel/_theme.scss +7 -3
- package/scss/expansion-panel/_variables.scss +14 -20
- package/scss/fab/_layout.scss +31 -16
- package/scss/fab/_theme.scss +16 -9
- package/scss/fab/_variables.scss +47 -54
- package/scss/filemanager/_theme.scss +8 -0
- package/scss/filemanager/_variables.scss +1 -1
- package/scss/filter/_layout.scss +0 -24
- package/scss/floating-label/_layout.scss +0 -4
- package/scss/floating-label/_variables.scss +0 -4
- package/scss/forms/_layout.scss +0 -7
- package/scss/forms/_variables.scss +1 -5
- package/scss/gantt/_variables.scss +21 -21
- package/scss/grid/_layout.scss +12 -7
- package/scss/grid/_theme.scss +1 -1
- package/scss/grid/_variables.scss +3 -3
- package/scss/imageeditor/_theme.scss +4 -0
- package/scss/input/_layout.scss +47 -32
- package/scss/input/_theme.scss +46 -35
- package/scss/input/_variables.scss +39 -39
- package/scss/list/_layout.scss +13 -0
- package/scss/list/_variables.scss +36 -24
- package/scss/listbox/_theme.scss +1 -1
- package/scss/listview/_layout.scss +0 -14
- package/scss/listview/_theme.scss +0 -19
- package/scss/listview/_variables.scss +1 -35
- package/scss/loader/_layout.scss +4 -0
- package/scss/loader/_variables.scss +7 -7
- package/scss/mediaplayer/_layout.scss +6 -2
- package/scss/mediaplayer/_variables.scss +1 -1
- package/scss/menu/_layout.scss +4 -2
- package/scss/menu/_variables.scss +3 -3
- package/scss/messagebox/_layout.scss +4 -0
- package/scss/messagebox/_theme.scss +3 -0
- package/scss/messagebox/_variables.scss +6 -3
- package/scss/notification/_functions.scss +2 -2
- package/scss/notification/_theme.scss +0 -4
- package/scss/notification/_variables.scss +8 -8
- package/scss/pager/_layout.scss +2 -0
- package/scss/pager/_variables.scss +1 -1
- package/scss/panelbar/_layout.scss +17 -17
- package/scss/panelbar/_theme.scss +1 -13
- package/scss/panelbar/_variables.scss +15 -18
- package/scss/pdf-viewer/_theme.scss +4 -0
- package/scss/pdf-viewer/_variables.scss +1 -1
- package/scss/pivotgrid/_layout.scss +10 -14
- package/scss/popover/_layout.scss +3 -16
- package/scss/popover/_variables.scss +13 -16
- package/scss/popup/_variables.scss +2 -2
- package/scss/progressbar/_variables.scss +4 -4
- package/scss/prompt/_variables.scss +20 -20
- package/scss/radio/_layout.scss +3 -0
- package/scss/radio/_theme.scss +8 -0
- package/scss/radio/_variables.scss +6 -6
- package/scss/rating/_layout.scss +2 -1
- package/scss/rating/_theme.scss +2 -13
- package/scss/rating/_variables.scss +3 -6
- package/scss/scheduler/_layout.scss +0 -10
- package/scss/scheduler/_variables.scss +10 -10
- package/scss/signature/_layout.scss +0 -8
- package/scss/signature/_theme.scss +1 -1
- package/scss/signature/_variables.scss +2 -6
- package/scss/skeleton/_variables.scss +1 -1
- package/scss/slider/_layout.scss +19 -53
- package/scss/slider/_theme.scss +27 -0
- package/scss/slider/_variables.scss +7 -7
- package/scss/split-button/_layout.scss +0 -48
- package/scss/split-button/_variables.scss +6 -16
- package/scss/splitter/_variables.scss +15 -15
- package/scss/spreadsheet/_layout.scss +2 -159
- package/scss/spreadsheet/_theme.scss +5 -35
- package/scss/spreadsheet/_variables.scss +12 -40
- package/scss/stepper/_layout.scss +1 -5
- package/scss/stepper/_theme.scss +7 -1
- package/scss/stepper/_variables.scss +10 -10
- package/scss/suggestion/_layout.scss +9 -0
- package/scss/suggestion/_theme.scss +3 -3
- package/scss/suggestion/_variables.scss +2 -2
- package/scss/switch/_layout.scss +2 -1
- package/scss/switch/_variables.scss +10 -10
- package/scss/table/_layout.scss +3 -3
- package/scss/table/_variables.scss +10 -20
- package/scss/tabstrip/_layout.scss +47 -5
- package/scss/tabstrip/_theme.scss +1 -2
- package/scss/tabstrip/_variables.scss +7 -7
- package/scss/taskboard/_layout.scss +3 -2
- package/scss/taskboard/_theme.scss +5 -1
- package/scss/taskboard/_variables.scss +9 -6
- package/scss/timeline/_layout.scss +0 -4
- package/scss/timeline/_variables.scss +1 -4
- package/scss/timepicker/_layout.scss +0 -3
- package/scss/timeselector/_layout.scss +15 -3
- package/scss/timeselector/_theme.scss +1 -1
- package/scss/timeselector/_variables.scss +16 -16
- package/scss/toolbar/_variables.scss +13 -13
- package/scss/tooltip/_layout.scss +0 -9
- package/scss/tooltip/_theme.scss +5 -0
- package/scss/tooltip/_variables.scss +5 -5
- package/scss/treelist/_layout.scss +1 -1
- package/scss/treeview/_layout.scss +0 -5
- package/scss/treeview/_theme.scss +2 -26
- package/scss/treeview/_variables.scss +48 -28
- package/scss/typography/_variables.scss +21 -21
- package/scss/upload/_layout.scss +12 -3
- package/scss/upload/_theme.scss +24 -0
- package/scss/upload/_variables.scss +10 -10
- package/scss/window/_layout.scss +16 -5
- package/scss/window/_theme.scss +7 -0
- package/scss/window/_variables.scss +9 -9
- package/scss/wizard/_layout.scss +3 -0
- package/scss/wizard/_variables.scss +3 -3
package/scss/drawer/_layout.scss
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
// Drawer items - only border-radius is unique to fluent
|
|
10
10
|
.k-drawer-items {
|
|
11
11
|
border-radius: $kendo-drawer-item-border-radius;
|
|
12
|
+
gap: $kendo-drawer-items-gap;
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
// Drawer items - unique fluent properties
|
|
@@ -20,10 +21,13 @@
|
|
|
20
21
|
border-width: 0;
|
|
21
22
|
border-inline-start-width: $kendo-drawer-item-ripple-border-width;
|
|
22
23
|
border-style: solid;
|
|
23
|
-
|
|
24
|
+
border-radius: $kendo-drawer-item-ripple-border-radius;
|
|
25
|
+
height: $kendo-drawer-item-ripple-border-height;
|
|
24
26
|
display: block;
|
|
25
27
|
position: absolute;
|
|
26
|
-
inset-block-start:
|
|
28
|
+
inset-block-start: 50%;
|
|
29
|
+
inset-inline-start: $kendo-drawer-item-ripple-spacing-x;
|
|
30
|
+
transform: translateY(-50%);
|
|
27
31
|
z-index: 2;
|
|
28
32
|
opacity: 0;
|
|
29
33
|
transition: opacity .3s;
|
|
@@ -42,10 +46,10 @@
|
|
|
42
46
|
}
|
|
43
47
|
|
|
44
48
|
:is(.k-drawer-start, .k-drawer-left) .k-drawer-item::before {
|
|
45
|
-
inset-inline-start:
|
|
49
|
+
inset-inline-start: $kendo-drawer-item-ripple-spacing-x;
|
|
46
50
|
}
|
|
47
51
|
|
|
48
52
|
:is(.k-drawer-end, .k-drawer-right) .k-drawer-item::before {
|
|
49
|
-
inset-inline-end:
|
|
53
|
+
inset-inline-end: $kendo-drawer-item-ripple-spacing-x;
|
|
50
54
|
}
|
|
51
55
|
}
|
package/scss/drawer/_theme.scss
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
@mixin kendo-drawer--theme() {
|
|
6
6
|
|
|
7
7
|
@include kendo-drawer--theme-base();
|
|
8
|
-
|
|
8
|
+
|
|
9
9
|
// Drawer items - unique fluent styling
|
|
10
10
|
.k-drawer-item {
|
|
11
11
|
@include fill(
|
|
@@ -67,7 +67,9 @@
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
.k-drawer-separator
|
|
70
|
+
.k-drawer-separator,
|
|
71
|
+
.k-drawer-separator:hover,
|
|
72
|
+
.k-drawer-separator.k-hover {
|
|
71
73
|
background-color: $kendo-drawer-border;
|
|
72
74
|
}
|
|
73
75
|
|
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
/// The background color of the Drawer.
|
|
6
6
|
/// @group drawer
|
|
7
|
-
$kendo-drawer-bg: var( --kendo-drawer-bg, k-color(
|
|
7
|
+
$kendo-drawer-bg: var( --kendo-drawer-bg, k-color(secondary-subtle) ) !default;
|
|
8
8
|
/// The text color of the Drawer.
|
|
9
9
|
/// @group drawer
|
|
10
10
|
$kendo-drawer-text: var( --kendo-drawer-text, k-color(on-app-surface) )!default;
|
|
11
11
|
/// The border color of the Drawer.
|
|
12
12
|
/// @group drawer
|
|
13
|
-
$kendo-drawer-border: var( --kendo-drawer-border, color-mix(in srgb, k-color(border)
|
|
13
|
+
$kendo-drawer-border: var( --kendo-drawer-border, color-mix(in srgb, k-color(border) 26%, transparent) ) !default;
|
|
14
14
|
/// The border width of the Drawer.
|
|
15
15
|
/// @group drawer
|
|
16
|
-
$kendo-drawer-border-width: var( --kendo-drawer-border-width,
|
|
16
|
+
$kendo-drawer-border-width: var( --kendo-drawer-border-width, 0 ) !default;
|
|
17
17
|
/// The font family of the Drawer.
|
|
18
18
|
/// @group drawer
|
|
19
19
|
$kendo-drawer-font-family: var( --kendo-font-family, inherit ) !default;
|
|
@@ -49,10 +49,14 @@ $kendo-drawer-scrollbar-hover-color: var( --kendo-drawer-scrollbar-hover-color,
|
|
|
49
49
|
|
|
50
50
|
/// The horizontal padding of the Drawer items.
|
|
51
51
|
/// @group drawer
|
|
52
|
-
$kendo-drawer-items-padding-x: var( --kendo-drawer-items-padding-x,
|
|
52
|
+
$kendo-drawer-items-padding-x: var( --kendo-drawer-items-padding-x, k-spacing(2.5) ) !default;
|
|
53
53
|
/// The vertical padding of the Drawer items.
|
|
54
54
|
/// @group drawer
|
|
55
|
-
$kendo-drawer-items-padding-y: var( --kendo-drawer-items-padding-y,
|
|
55
|
+
$kendo-drawer-items-padding-y: var( --kendo-drawer-items-padding-y, k-spacing(2.5) ) !default;
|
|
56
|
+
/// The spacing between the Drawer items.
|
|
57
|
+
/// @group drawer
|
|
58
|
+
$kendo-drawer-items-gap: var( --kendo-drawer-items-gap, k-spacing(0.5) ) !default;
|
|
59
|
+
|
|
56
60
|
/// The horizontal padding of the Drawer item.
|
|
57
61
|
/// @group drawer
|
|
58
62
|
$kendo-drawer-item-padding-x: var( --kendo-drawer-item-padding-x, k-spacing(4) ) !default;
|
|
@@ -80,7 +84,7 @@ $kendo-drawer-item-level-padding-x: var( --kendo-drawer-item-level-padding-x, k-
|
|
|
80
84
|
$kendo-drawer-item-level-count: 5 !default;
|
|
81
85
|
/// The border radius of the Drawer item.
|
|
82
86
|
/// @group drawer
|
|
83
|
-
$kendo-drawer-item-border-radius: var( --kendo-drawer-item-border-radius,
|
|
87
|
+
$kendo-drawer-item-border-radius: var( --kendo-drawer-item-border-radius, k-border-radius(md) ) !default;
|
|
84
88
|
|
|
85
89
|
/// The horizontal padding of the Drawer icon.
|
|
86
90
|
/// @group drawer
|
|
@@ -91,12 +95,21 @@ $kendo-drawer-icon-padding-y: var( --kendo-drawer-icon-padding-y, k-spacing(1) )
|
|
|
91
95
|
|
|
92
96
|
/// The initial width of the mini Drawer.
|
|
93
97
|
/// @group drawer
|
|
94
|
-
$kendo-drawer-mini-initial-width: calc( 2 * #{
|
|
98
|
+
$kendo-drawer-mini-initial-width: calc( 2 * #{$kendo-drawer-item-padding-x} + 2 * #{$kendo-drawer-items-padding-x} + var( --kendo-icon-size, 1rem ) ) !default;
|
|
95
99
|
|
|
96
100
|
/// The border width of the Drawer item ripple.
|
|
97
101
|
/// @group drawer
|
|
102
|
+
$kendo-drawer-item-ripple-border-width: var( --kendo-drawer-item-ripple-border-width, k-spacing(1) ) !default;
|
|
103
|
+
/// The border height of the Drawer item ripple.
|
|
104
|
+
/// @group drawer
|
|
105
|
+
$kendo-drawer-item-ripple-border-height: var( --kendo-drawer-item-ripple-border-height, k-spacing(5) ) !default;
|
|
106
|
+
/// The border radius of the Drawer item ripple.
|
|
107
|
+
/// @group drawer
|
|
108
|
+
$kendo-drawer-item-ripple-border-radius: var( --kendo-drawer-item-ripple-border-radius, k-border-radius(md) ) !default;
|
|
109
|
+
/// The horizontal spacing of the Drawer item ripple.
|
|
110
|
+
/// @group drawer
|
|
111
|
+
$kendo-drawer-item-ripple-spacing-x: var( --kendo-drawer-item-ripple-spacing-x, k-spacing(0.5) ) !default;
|
|
98
112
|
|
|
99
|
-
$kendo-drawer-item-ripple-border-width: var( --kendo-drawer-item-ripple-border-width, k-spacing(0.5) ) !default;
|
|
100
113
|
/// The border color of the drawer item ripple
|
|
101
114
|
/// @group drawer
|
|
102
115
|
$kendo-drawer-item-ripple-border: var( --kendo-drawer-item-ripple-border, k-color(primary) ) !default;
|
|
@@ -108,17 +121,17 @@ $kendo-drawer-item-bg: var( --kendo-drawer-item-bg, $kendo-drawer-bg ) !default;
|
|
|
108
121
|
$kendo-drawer-item-text: var( --kendo-drawer-item-text, $kendo-drawer-text ) !default;
|
|
109
122
|
/// The text color of the Drawer item icon.
|
|
110
123
|
/// @group drawer
|
|
111
|
-
$kendo-drawer-item-icon-text: var( --kendo-drawer-icon-text,
|
|
124
|
+
$kendo-drawer-item-icon-text: var( --kendo-drawer-icon-text, $kendo-drawer-text ) !default;
|
|
112
125
|
|
|
113
126
|
/// The background color of the hovered Drawer item.
|
|
114
127
|
/// @group drawer
|
|
115
|
-
$kendo-drawer-item-hover-bg: var( --kendo-drawer-item-hover-bg,
|
|
128
|
+
$kendo-drawer-item-hover-bg: var( --kendo-drawer-item-hover-bg, k-color(surface-alt) ) !default;
|
|
116
129
|
/// The text color of the hovered Drawer item.
|
|
117
130
|
/// @group drawer
|
|
118
|
-
$kendo-drawer-item-hover-text: var( --kendo-drawer-item-hover-text,
|
|
131
|
+
$kendo-drawer-item-hover-text: var( --kendo-drawer-item-hover-text, $kendo-drawer-item-text ) !default;
|
|
119
132
|
/// The text color of the hovered Drawer item icon.
|
|
120
133
|
/// @group drawer
|
|
121
|
-
$kendo-drawer-item-hover-icon-text: var( --kendo-drawer-item-hover-icon-text,
|
|
134
|
+
$kendo-drawer-item-hover-icon-text: var( --kendo-drawer-item-hover-icon-text, $kendo-drawer-item-icon-text ) !default;
|
|
122
135
|
|
|
123
136
|
/// The background color of the focused Drawer item.
|
|
124
137
|
/// @group drawer
|
|
@@ -128,29 +141,29 @@ $kendo-drawer-item-focus-bg: var( --kendo-drawer-item-focus-bg, $kendo-drawer-it
|
|
|
128
141
|
$kendo-drawer-item-focus-text: var( --kendo-drawer-item-focus-text, $kendo-drawer-item-text ) !default;
|
|
129
142
|
/// The box shadow of the focused Drawer item.
|
|
130
143
|
/// @group drawer
|
|
131
|
-
$kendo-drawer-item-focus-shadow: var( --kendo-drawer-item-focus-shadow, inset 0 0 0
|
|
144
|
+
$kendo-drawer-item-focus-shadow: var( --kendo-drawer-item-focus-shadow, inset 0 0 0 2px k-color(border-alt) ) !default;
|
|
132
145
|
/// The text color of the focused Drawer item icon.
|
|
133
146
|
/// @group drawer
|
|
134
147
|
$kendo-drawer-item-focus-icon-text: var( --kendo-drawer-item-focus-icon-text, $kendo-drawer-item-icon-text ) !default;
|
|
135
148
|
|
|
136
149
|
/// The font weight of the selected Drawer item.
|
|
137
150
|
/// @group drawer
|
|
138
|
-
$kendo-drawer-item-selected-font-weight: var( --kendo-drawer-item-selected-font-weight, var( --kendo-font-weight-
|
|
151
|
+
$kendo-drawer-item-selected-font-weight: var( --kendo-drawer-item-selected-font-weight, var( --kendo-font-weight-semibold, 600 ) ) !default;
|
|
139
152
|
/// The background color of the selected Drawer item.
|
|
140
153
|
/// @group drawer
|
|
141
|
-
$kendo-drawer-item-selected-bg: var( --kendo-drawer-item-selected-bg,
|
|
154
|
+
$kendo-drawer-item-selected-bg: var( --kendo-drawer-item-selected-bg, $kendo-drawer-item-bg ) !default;
|
|
142
155
|
/// The text color of the selected Drawer item.
|
|
143
156
|
/// @group drawer
|
|
144
|
-
$kendo-drawer-item-selected-text: var( --kendo-drawer-item-selected-text,
|
|
157
|
+
$kendo-drawer-item-selected-text: var( --kendo-drawer-item-selected-text, $kendo-drawer-item-text ) !default;
|
|
145
158
|
/// The text color of the selected Drawer item icon.
|
|
146
159
|
/// @group drawer
|
|
147
|
-
$kendo-drawer-item-selected-icon-text: var( --kendo-drawer-item-selected-icon-text, k-color(primary
|
|
160
|
+
$kendo-drawer-item-selected-icon-text: var( --kendo-drawer-item-selected-icon-text, k-color(primary) ) !default;
|
|
148
161
|
/// The background color of the selected and hovered Drawer item.
|
|
149
162
|
/// @group drawer
|
|
150
|
-
$kendo-drawer-item-selected-hover-bg: var( --kendo-drawer-item-selected-hover-bg, k-color(
|
|
163
|
+
$kendo-drawer-item-selected-hover-bg: var( --kendo-drawer-item-selected-hover-bg, k-color(surface-alt) ) !default;
|
|
151
164
|
/// The text color of the selected and hovered Drawer item.
|
|
152
165
|
/// @group drawer
|
|
153
|
-
$kendo-drawer-item-selected-hover-text: var( --kendo-drawer-item-selected-hover-text,
|
|
166
|
+
$kendo-drawer-item-selected-hover-text: var( --kendo-drawer-item-selected-hover-text, $kendo-drawer-item-text ) !default;
|
|
154
167
|
|
|
155
168
|
@forward "@progress/kendo-theme-core/scss/components/drawer/_variables.scss" with (
|
|
156
169
|
$kendo-drawer-bg: $kendo-drawer-bg,
|
|
@@ -39,17 +39,17 @@ $kendo-dropzone-border: var( --kendo-dropzone-border, #{color-mix(in srgb, k-col
|
|
|
39
39
|
$kendo-dropzone-icon-spacing: var( --kendo-dropzone-icon-spacing, #{k-spacing(6)} ) !default;
|
|
40
40
|
/// The text color of the DropZone icon.
|
|
41
41
|
/// @group dropzone
|
|
42
|
-
$kendo-dropzone-icon-text: var( --kendo-dropzone-icon-text, #{k-color(
|
|
42
|
+
$kendo-dropzone-icon-text: var( --kendo-dropzone-icon-text, color-mix(in srgb, #{k-color(on-app-surface)} 30%, transparent) ) !default;
|
|
43
43
|
/// Text color of the icon when the dropzone is hovered.
|
|
44
44
|
/// @group dropzone
|
|
45
45
|
$kendo-dropzone-icon-hover-text: var( --kendo-dropzone-icon-hover-text, #{k-color(primary)} ) !default;
|
|
46
46
|
|
|
47
47
|
/// The font size of the DropZone hint.
|
|
48
48
|
/// @group dropzone
|
|
49
|
-
$kendo-dropzone-hint-font-size: var( --kendo-dropzone-hint-font-size, inherit ) !default;
|
|
49
|
+
$kendo-dropzone-hint-font-size: var( --kendo-dropzone-hint-font-size, var( --kendo-font-size, inherit ) ) !default;
|
|
50
50
|
/// The font weight of the DropZone hint.
|
|
51
51
|
/// @group dropzone
|
|
52
|
-
$kendo-dropzone-hint-font-weight: var( --kendo-dropzone-hint-font-weight, var( --kendo-font-weight-
|
|
52
|
+
$kendo-dropzone-hint-font-weight: var( --kendo-dropzone-hint-font-weight, var( --kendo-font-weight-semibold, 600 ) ) !default;
|
|
53
53
|
/// The spacing below the DropZone hint.
|
|
54
54
|
/// @group dropzone
|
|
55
55
|
$kendo-dropzone-hint-spacing: var( --kendo-dropzone-hint-spacing, #{k-spacing(2)} ) !default;
|
|
@@ -37,15 +37,6 @@
|
|
|
37
37
|
// Multiple expanders
|
|
38
38
|
.k-expander + .k-expander.k-expanded,
|
|
39
39
|
.k-expander.k-expanded + .k-expander {
|
|
40
|
-
margin-
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.k-rtl .k-expander,
|
|
44
|
-
.k-expander.k-rtl,
|
|
45
|
-
.k-expander[dir="rtl"] {
|
|
46
|
-
// Expand / collapse icon
|
|
47
|
-
.k-expander-indicator {
|
|
48
|
-
margin-inline-end: $kendo-icon-spacing;
|
|
49
|
-
}
|
|
40
|
+
margin-block-start: $kendo-expander-margin-y;
|
|
50
41
|
}
|
|
51
42
|
}
|
|
@@ -13,8 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
&.k-focus,
|
|
15
15
|
&:focus {
|
|
16
|
-
box-shadow:
|
|
17
|
-
|
|
16
|
+
box-shadow: $kendo-expander-focus-shadow;
|
|
17
|
+
|
|
18
|
+
.k-expander-title {
|
|
19
|
+
@include fill(
|
|
20
|
+
$color: k-color(primary),
|
|
21
|
+
);
|
|
22
|
+
}
|
|
18
23
|
|
|
19
24
|
&::after {
|
|
20
25
|
outline-color: $kendo-expander-focus-outline;
|
|
@@ -33,7 +38,6 @@
|
|
|
33
38
|
.k-expander-indicator {
|
|
34
39
|
@include fill(
|
|
35
40
|
$color: $kendo-expander-disabled-text,
|
|
36
|
-
$bg: $kendo-expander-disabled-bg
|
|
37
41
|
);
|
|
38
42
|
}
|
|
39
43
|
}
|
|
@@ -25,7 +25,7 @@ $kendo-expander-text: var( --kendo-expander-text, k-color(on-app-surface) ) !def
|
|
|
25
25
|
$kendo-expander-bg: var( --kendo-expander-bg, k-color(surface) ) !default;
|
|
26
26
|
/// The border color of the ExpansionPanel.
|
|
27
27
|
/// @group expander
|
|
28
|
-
$kendo-expander-border: var( --kendo-expander-border, color-mix(in srgb, k-color(border)
|
|
28
|
+
$kendo-expander-border: var( --kendo-expander-border, color-mix(in srgb, k-color(border) 26%, transparent) ) !default;
|
|
29
29
|
|
|
30
30
|
/// The background color of the expanded ExpansionPanel.
|
|
31
31
|
/// @group expander
|
|
@@ -33,41 +33,35 @@ $kendo-expander-expanded-bg: var( --kendo-expander-expanded-bg, k-color(surface-
|
|
|
33
33
|
|
|
34
34
|
/// The text color of the disabled ExpansionPanel.
|
|
35
35
|
/// @group expander
|
|
36
|
-
$kendo-expander-disabled-text: var( --kendo-expander-disabled-text, color-mix(in srgb, k-color(on-app-surface)
|
|
37
|
-
|
|
38
|
-
/// @group expander
|
|
39
|
-
$kendo-expander-disabled-bg: var( --kendo-expander-disabled-bg, k-color(base-subtle) ) !default;
|
|
36
|
+
$kendo-expander-disabled-text: var( --kendo-expander-disabled-text, color-mix(in srgb, k-color(on-app-surface) 30%, transparent) ) !default;
|
|
37
|
+
|
|
40
38
|
|
|
41
39
|
/// The offset of the focused ExpansionPanel.
|
|
42
40
|
/// @group expander
|
|
43
|
-
$kendo-expander-focus-offset: var( --kendo-expander-focus-offset,
|
|
41
|
+
$kendo-expander-focus-offset: var( --kendo-expander-focus-offset, 2px ) !default;
|
|
44
42
|
/// The outline width of the focused ExpansionPanel.
|
|
45
43
|
/// @group expander
|
|
46
|
-
$kendo-expander-focus-outline-width: var( --kendo-expander-focus-outline-width,
|
|
44
|
+
$kendo-expander-focus-outline-width: var( --kendo-expander-focus-outline-width, 2px ) !default;
|
|
47
45
|
/// The outline style of the focused ExpansionPanel.
|
|
48
46
|
/// @group expander
|
|
49
47
|
$kendo-expander-focus-outline-style: var( --kendo-expander-focus-outline-style, solid ) !default;
|
|
50
48
|
/// The outline color of the focused ExpansionPanel.
|
|
51
49
|
/// @group expander
|
|
52
|
-
$kendo-expander-focus-outline: var( --kendo-expander-focus-outline,
|
|
53
|
-
|
|
54
|
-
/// The background color of the focused ExpansionPanel.
|
|
55
|
-
/// @group expander
|
|
56
|
-
$kendo-expander-focus-bg: var( --kendo-expander-focus-bg, k-color(surface-alt) ) !default;
|
|
50
|
+
$kendo-expander-focus-outline: var( --kendo-expander-focus-outline, inherit ) !default;
|
|
57
51
|
/// The box shadow of the focused ExpansionPanel.
|
|
58
52
|
/// @group expander
|
|
59
|
-
$kendo-expander-focus-shadow: var( --kendo-expander-focus-shadow,
|
|
53
|
+
$kendo-expander-focus-shadow: var( --kendo-expander-focus-shadow, none ) !default;
|
|
60
54
|
|
|
61
55
|
/// The horizontal padding of the ExpansionPanel header.
|
|
62
56
|
/// @group expander
|
|
63
|
-
$kendo-expander-header-padding-x: var( --kendo-expander-header-padding-x, k-spacing(
|
|
57
|
+
$kendo-expander-header-padding-x: var( --kendo-expander-header-padding-x, k-spacing(3) ) !default;
|
|
64
58
|
/// The vertical padding of the ExpansionPanel header.
|
|
65
59
|
/// @group expander
|
|
66
60
|
$kendo-expander-header-padding-y: var( --kendo-expander-header-padding-y, k-spacing(3) ) !default;
|
|
67
61
|
|
|
68
62
|
/// The text color of the ExpansionPanel header.
|
|
69
63
|
/// @group expander
|
|
70
|
-
$kendo-expander-header-text: var( --kendo-expander-header-text, k-color(
|
|
64
|
+
$kendo-expander-header-text: var( --kendo-expander-header-text, k-color(on-app-surface) ) !default;
|
|
71
65
|
/// The background color of the ExpansionPanel header.
|
|
72
66
|
/// @group expander
|
|
73
67
|
$kendo-expander-header-bg: var( --kendo-expander-header-bg, inherit ) !default;
|
|
@@ -78,7 +72,7 @@ $kendo-expander-header-hover-bg: var( --kendo-expander-header-hover-bg, k-color(
|
|
|
78
72
|
|
|
79
73
|
/// The text color of the ExpansionPanel title.
|
|
80
74
|
/// @group expander
|
|
81
|
-
$kendo-expander-title-text: var( --kendo-expander-title-text, k-color(
|
|
75
|
+
$kendo-expander-title-text: var( --kendo-expander-title-text, k-color(on-app-surface) ) !default;
|
|
82
76
|
|
|
83
77
|
/// The text color of the ExpansionPanel sub-title.
|
|
84
78
|
/// @group expander
|
|
@@ -86,17 +80,17 @@ $kendo-expander-header-sub-title-text: var( --kendo-expander-header-sub-title-te
|
|
|
86
80
|
|
|
87
81
|
/// The horizontal margin of the ExpansionPanel indicator.
|
|
88
82
|
/// @group expander
|
|
89
|
-
$kendo-expander-indicator-margin-x: var( --kendo-expander-indicator-margin-x, k-spacing(2
|
|
83
|
+
$kendo-expander-indicator-margin-x: var( --kendo-expander-indicator-margin-x, k-spacing(2) ) !default;
|
|
90
84
|
/// The text color of the ExpansionPanel indicator.
|
|
91
85
|
/// @group expander
|
|
92
|
-
$kendo-expander-indicator-text: var( --kendo-expander-indicator-text,
|
|
86
|
+
$kendo-expander-indicator-text: var( --kendo-expander-indicator-text, k-color(subtle) ) !default;
|
|
93
87
|
|
|
94
88
|
/// The horizontal padding of the ExpansionPanel content.
|
|
95
89
|
/// @group expander
|
|
96
|
-
$kendo-expander-content-padding-x: var( --kendo-expander-content-padding-x, k-spacing(
|
|
90
|
+
$kendo-expander-content-padding-x: var( --kendo-expander-content-padding-x, k-spacing(3) ) !default;
|
|
97
91
|
/// The vertical padding of the ExpansionPanel content.
|
|
98
92
|
/// @group expander
|
|
99
|
-
$kendo-expander-content-padding-y: var( --kendo-expander-content-padding-y, k-spacing(
|
|
93
|
+
$kendo-expander-content-padding-y: var( --kendo-expander-content-padding-y, k-spacing(3) ) !default;
|
|
100
94
|
|
|
101
95
|
@forward "@progress/kendo-theme-core/scss/components/expansion-panel/_variables.scss" with (
|
|
102
96
|
$kendo-expander-border-width: $kendo-expander-border-width,
|
package/scss/fab/_layout.scss
CHANGED
|
@@ -1,24 +1,37 @@
|
|
|
1
|
+
@use "sass:map";
|
|
1
2
|
@use "./_variables.scss" as *;
|
|
3
|
+
@use "../core/_index.scss" as *;
|
|
2
4
|
@use "@progress/kendo-theme-core/scss/components/fab/_layout.scss" as *;
|
|
3
5
|
|
|
4
6
|
@mixin kendo-fab--layout() {
|
|
5
7
|
@include kendo-fab--layout-base();
|
|
6
8
|
|
|
7
9
|
.k-fab {
|
|
10
|
+
&:focus::before,
|
|
11
|
+
&.k-focus::before {
|
|
12
|
+
content: "";
|
|
13
|
+
position: absolute;
|
|
14
|
+
border: medium none;
|
|
15
|
+
inset: $kendo-fab-focus-offset;
|
|
16
|
+
outline-width: $kendo-fab-focus-outline-width;
|
|
17
|
+
outline-style: $kendo-fab-focus-outline-style;
|
|
18
|
+
z-index: 1;
|
|
19
|
+
}
|
|
8
20
|
|
|
9
21
|
&:focus::after,
|
|
10
22
|
&.k-focus::after {
|
|
11
23
|
content: "";
|
|
12
24
|
position: absolute;
|
|
13
25
|
border: medium none;
|
|
14
|
-
inset: $kendo-fab-focus-offset;
|
|
15
|
-
outline-width: $kendo-fab-focus-outline-width;
|
|
26
|
+
inset: calc( #{ $kendo-fab-focus-offset} + 1px );
|
|
27
|
+
outline-width: calc( #{ $kendo-fab-focus-outline-width} - 1px );
|
|
16
28
|
outline-style: $kendo-fab-focus-outline-style;
|
|
17
29
|
z-index: 1;
|
|
18
30
|
}
|
|
19
31
|
|
|
20
|
-
// Fix for focused FAB with full roundness
|
|
21
32
|
&.k-rounded-full {
|
|
33
|
+
&:focus::before,
|
|
34
|
+
&.k-focus::before,
|
|
22
35
|
&:focus::after,
|
|
23
36
|
&.k-focus::after {
|
|
24
37
|
border-radius: inherit;
|
|
@@ -27,17 +40,13 @@
|
|
|
27
40
|
}
|
|
28
41
|
|
|
29
42
|
.k-fab-item {
|
|
30
|
-
&:focus .k-fab-item-text
|
|
31
|
-
&:focus .k-fab-item-icon
|
|
32
|
-
&.k-focus .k-fab-item-text
|
|
33
|
-
&.k-focus .k-fab-item-icon
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
inset: $kendo-fab-item-focus-offset;
|
|
38
|
-
outline-width: $kendo-fab-item-focus-outline-width;
|
|
39
|
-
outline-style: $kendo-fab-item-focus-outline-style;
|
|
40
|
-
z-index: 1;
|
|
43
|
+
&:focus .k-fab-item-text,
|
|
44
|
+
&:focus .k-fab-item-icon,
|
|
45
|
+
&.k-focus .k-fab-item-text,
|
|
46
|
+
&.k-focus .k-fab-item-icon {
|
|
47
|
+
outline-width: $kendo-fab-focus-outline-width;
|
|
48
|
+
outline-style: $kendo-fab-focus-outline-style;
|
|
49
|
+
outline-offset: calc( #{$kendo-fab-border-width} * 2 * -1);
|
|
41
50
|
}
|
|
42
51
|
}
|
|
43
52
|
|
|
@@ -49,9 +58,15 @@
|
|
|
49
58
|
|
|
50
59
|
.k-fab-item-icon {
|
|
51
60
|
border-style: $kendo-fab-item-icon-border-style;
|
|
61
|
+
}
|
|
52
62
|
|
|
53
|
-
|
|
54
|
-
|
|
63
|
+
// Sizes
|
|
64
|
+
@each $size, $size-props in $kendo-fab-sizes {
|
|
65
|
+
$_gap: map.get( $size-props, gap );
|
|
66
|
+
|
|
67
|
+
.k-fab-#{$size} {
|
|
68
|
+
gap: $_gap;
|
|
55
69
|
}
|
|
70
|
+
|
|
56
71
|
}
|
|
57
72
|
}
|
package/scss/fab/_theme.scss
CHANGED
|
@@ -26,11 +26,22 @@
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
&:focus::before,
|
|
30
|
+
&.k-focus::before {
|
|
31
|
+
outline-color: $kendo-fab-item-focus-outline;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&:focus::after,
|
|
35
|
+
&.k-focus::after {
|
|
36
|
+
outline-color: k-color(surface);
|
|
37
|
+
}
|
|
38
|
+
|
|
29
39
|
&:disabled,
|
|
30
40
|
&.k-disabled {
|
|
31
41
|
color: $kendo-fab-disabled-text;
|
|
32
42
|
background-color: $kendo-fab-disabled-bg;
|
|
33
43
|
border-color: $kendo-fab-disabled-border;
|
|
44
|
+
box-shadow: none;
|
|
34
45
|
}
|
|
35
46
|
}
|
|
36
47
|
|
|
@@ -72,16 +83,12 @@
|
|
|
72
83
|
// Focus
|
|
73
84
|
&:focus,
|
|
74
85
|
&.k-focus {
|
|
86
|
+
.k-fab-item-text,
|
|
75
87
|
.k-fab-item-icon {
|
|
76
88
|
color: $kendo-fab-item-focus-text;
|
|
77
89
|
background-color: $kendo-fab-item-focus-bg;
|
|
78
90
|
border-color: $kendo-fab-item-focus-border;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
.k-fab-item-text {
|
|
82
|
-
color: $kendo-fab-item-focus-text;
|
|
83
|
-
background-color: $kendo-fab-item-focus-bg;
|
|
84
|
-
border-color: $kendo-fab-item-focus-border;
|
|
91
|
+
outline-color: $kendo-fab-item-focus-outline;
|
|
85
92
|
}
|
|
86
93
|
}
|
|
87
94
|
|
|
@@ -112,9 +119,9 @@
|
|
|
112
119
|
&:disabled .k-fab-item-text,
|
|
113
120
|
&.k-disabled .k-fab-item-text {
|
|
114
121
|
@include disabled(
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
122
|
+
$kendo-fab-disabled-text,
|
|
123
|
+
$kendo-fab-disabled-bg,
|
|
124
|
+
$kendo-fab-disabled-border
|
|
118
125
|
);
|
|
119
126
|
}
|
|
120
127
|
}
|