@progress/kendo-theme-fluent 11.2.1-dev.1 → 11.3.0-dev.0
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-main-dark.css +1 -1
- package/dist/fluent-main.css +1 -1
- package/dist/meta/sassdoc-data.json +24099 -27323
- package/dist/meta/sassdoc-raw-data.json +8421 -7718
- package/dist/meta/variables.json +7880 -8036
- package/lib/swatches/all.json +1 -1
- package/lib/swatches/fluent-main-dark.json +1 -1
- package/lib/swatches/fluent-main.json +1 -1
- package/package.json +4 -4
- package/scss/action-buttons/_layout.scss +2 -55
- package/scss/action-buttons/_theme.scss +2 -11
- package/scss/action-buttons/_variables.scss +17 -7
- package/scss/action-sheet/_layout.scss +11 -399
- package/scss/action-sheet/_theme.scss +14 -69
- package/scss/action-sheet/_variables.scss +129 -66
- package/scss/adaptive/_index.scss +0 -3
- package/scss/adaptive/_layout.scss +2 -457
- package/scss/adaptive/_theme.scss +2 -75
- package/scss/adaptive/_variables.scss +39 -18
- package/scss/appbar/_layout.scss +2 -114
- package/scss/appbar/_theme.scss +9 -20
- package/scss/appbar/_variables.scss +38 -71
- package/scss/avatar/_layout.scss +2 -73
- package/scss/avatar/_theme.scss +2 -16
- package/scss/avatar/_variables.scss +24 -82
- package/scss/badge/_layout.scss +3 -146
- package/scss/badge/_theme.scss +8 -21
- package/scss/badge/_variables.scss +41 -88
- package/scss/bottom-navigation/_layout.scss +5 -108
- package/scss/bottom-navigation/_theme.scss +73 -74
- package/scss/bottom-navigation/_variables.scss +58 -117
- package/scss/breadcrumb/_layout.scss +8 -132
- package/scss/breadcrumb/_theme.scss +15 -71
- package/scss/breadcrumb/_variables.scss +133 -71
- package/scss/button/_layout.scss +18 -182
- package/scss/button/_theme.scss +132 -113
- package/scss/button/_variables.scss +156 -301
- package/scss/calendar/_layout.scss +27 -383
- package/scss/calendar/_theme.scss +55 -127
- package/scss/calendar/_variables.scss +185 -100
- package/scss/captcha/_layout.scss +2 -59
- package/scss/captcha/_theme.scss +2 -9
- package/scss/captcha/_variables.scss +25 -9
- package/scss/card/_layout.scss +9 -314
- package/scss/card/_theme.scss +3 -103
- package/scss/card/_variables.scss +110 -60
- package/scss/chart-wizard/_layout.scss +2 -38
- package/scss/chart-wizard/_theme.scss +2 -28
- package/scss/chart-wizard/_variables.scss +25 -11
- package/scss/chat/_index.scss +0 -3
- package/scss/chat/_layout.scss +26 -450
- package/scss/chat/_theme.scss +9 -80
- package/scss/chat/_variables.scss +143 -71
- package/scss/checkbox/_layout.scss +14 -191
- package/scss/checkbox/_theme.scss +11 -100
- package/scss/checkbox/_variables.scss +165 -78
- package/scss/chip/_layout.scss +11 -137
- package/scss/chip/_theme.scss +56 -57
- package/scss/chip/_variables.scss +99 -94
- package/scss/color-preview/_layout.scss +4 -64
- package/scss/color-preview/_theme.scss +2 -27
- package/scss/color-preview/_variables.scss +23 -9
- package/scss/coloreditor/_layout.scss +21 -109
- package/scss/coloreditor/_theme.scss +3 -24
- package/scss/coloreditor/_variables.scss +92 -57
- package/scss/colorgradient/_layout.scss +12 -196
- package/scss/colorgradient/_theme.scss +27 -65
- package/scss/colorgradient/_variables.scss +134 -76
- package/scss/colorpalette/_layout.scss +6 -40
- package/scss/colorpalette/_theme.scss +10 -20
- package/scss/colorpalette/_variables.scss +39 -21
- package/scss/colorpicker/_layout.scss +2 -11
- package/scss/colorpicker/_theme.scss +2 -1
- package/scss/column-menu/_layout.scss +5 -56
- package/scss/column-menu/_theme.scss +1 -24
- package/scss/column-menu/_variables.scss +38 -17
- package/scss/combobox/_layout.scss +4 -2
- package/scss/combobox/_theme.scss +4 -2
- package/scss/core/functions/index.import.scss +1 -0
- package/scss/dataviz/_layout.scss +6 -543
- package/scss/dataviz/_theme.scss +12 -76
- package/scss/dataviz/_variables.scss +152 -33
- package/scss/daterangepicker/_layout.scss +2 -37
- package/scss/daterangepicker/_theme.scss +16 -7
- package/scss/daterangepicker/_variables.scss +9 -0
- package/scss/datetimepicker/_layout.scss +3 -41
- package/scss/datetimepicker/_theme.scss +3 -2
- package/scss/datetimepicker/_variables.scss +5 -1
- package/scss/dialog/_layout.scss +8 -53
- package/scss/dialog/_theme.scss +5 -25
- package/scss/dialog/_variables.scss +31 -60
- package/scss/dock-manager/_layout.scss +9 -193
- package/scss/dock-manager/_theme.scss +6 -28
- package/scss/dock-manager/_variables.scss +74 -36
- package/scss/draggable/_layout.scss +13 -59
- package/scss/draggable/_theme.scss +10 -15
- package/scss/draggable/_variables.scss +45 -23
- package/scss/drawer/_layout.scss +7 -198
- package/scss/drawer/_theme.scss +25 -52
- package/scss/drawer/_variables.scss +73 -45
- package/scss/dropdowngrid/_layout.scss +3 -11
- package/scss/dropdowngrid/_theme.scss +3 -3
- package/scss/dropdownlist/_layout.scss +4 -28
- package/scss/dropdownlist/_theme.scss +3 -7
- package/scss/dropdowntree/_layout.scss +2 -35
- package/scss/dropdowntree/_theme.scss +3 -4
- package/scss/dropdowntree/_variables.scss +4 -3
- package/scss/dropzone/_layout.scss +7 -31
- package/scss/dropzone/_theme.scss +2 -30
- package/scss/dropzone/_variables.scss +43 -21
- package/scss/editor/_layout.scss +3 -588
- package/scss/editor/_theme.scss +12 -78
- package/scss/editor/_variables.scss +45 -26
- package/scss/expansion-panel/_layout.scss +22 -57
- package/scss/expansion-panel/_theme.scss +13 -36
- package/scss/expansion-panel/_variables.scss +49 -28
- package/scss/fab/_layout.scss +11 -134
- package/scss/fab/_theme.scss +37 -126
- package/scss/fab/_variables.scss +104 -56
- package/scss/filemanager/_layout.scss +2 -240
- package/scss/filemanager/_theme.scss +8 -89
- package/scss/filemanager/_variables.scss +109 -56
- package/scss/filter/_layout.scss +8 -71
- package/scss/filter/_theme.scss +5 -14
- package/scss/filter/_variables.scss +20 -10
- package/scss/floating-label/_layout.scss +3 -75
- package/scss/floating-label/_theme.scss +4 -20
- package/scss/floating-label/_variables.scss +35 -17
- package/scss/forms/_layout.scss +5 -302
- package/scss/forms/_theme.scss +5 -24
- package/scss/forms/_variables.scss +73 -39
- package/scss/gantt/_layout.scss +5 -801
- package/scss/gantt/_theme.scss +17 -236
- package/scss/gantt/_variables.scss +142 -73
- package/scss/grid/_layout.scss +60 -1276
- package/scss/grid/_theme.scss +35 -343
- package/scss/grid/_variables.scss +306 -183
- package/scss/gridlayout/_layout.scss +1 -6
- package/scss/gridlayout/_theme.scss +1 -6
- package/scss/icons/_layout.scss +4 -33
- package/scss/icons/_theme.scss +7 -1
- package/scss/icons/_variables.scss +35 -9
- package/scss/imageeditor/_layout.scss +2 -152
- package/scss/imageeditor/_theme.scss +5 -42
- package/scss/imageeditor/_variables.scss +66 -32
- package/scss/index.scss +2 -1
- package/scss/input/_layout.scss +36 -468
- package/scss/input/_theme.scss +52 -128
- package/scss/input/_variables.scss +153 -208
- package/scss/list/_layout.scss +3 -252
- package/scss/list/_theme.scss +10 -81
- package/scss/list/_variables.scss +176 -92
- package/scss/listbox/_layout.scss +2 -80
- package/scss/listbox/_theme.scss +5 -8
- package/scss/listbox/_variables.scss +28 -13
- package/scss/listgroup/_layout.scss +2 -174
- package/scss/listgroup/_theme.scss +2 -8
- package/scss/listgroup/_variables.scss +23 -10
- package/scss/listview/_layout.scss +6 -133
- package/scss/listview/_theme.scss +8 -37
- package/scss/listview/_variables.scss +66 -39
- package/scss/loader/_layout.scss +15 -572
- package/scss/loader/_theme.scss +2 -14
- package/scss/loader/_variables.scss +90 -92
- package/scss/map/_layout.scss +7 -121
- package/scss/map/_theme.scss +5 -17
- package/scss/map/_variables.scss +40 -22
- package/scss/maskedtextbox/_layout.scss +3 -3
- package/scss/maskedtextbox/_theme.scss +3 -3
- package/scss/mediaplayer/_layout.scss +5 -72
- package/scss/mediaplayer/_theme.scss +5 -15
- package/scss/mediaplayer/_variables.scss +27 -14
- package/scss/menu/_layout.scss +25 -267
- package/scss/menu/_theme.scss +14 -73
- package/scss/menu/_variables.scss +135 -76
- package/scss/menu-button/_layout.scss +9 -14
- package/scss/menu-button/_theme.scss +5 -1
- package/scss/menu-button/_variables.scss +10 -0
- package/scss/messagebox/_layout.scss +2 -18
- package/scss/messagebox/_theme.scss +4 -19
- package/scss/messagebox/_variables.scss +33 -37
- package/scss/multiselect/_layout.scss +3 -4
- package/scss/multiselect/_theme.scss +3 -4
- package/scss/no-data/_layout.scss +2 -17
- package/scss/no-data/_theme.scss +2 -5
- package/scss/no-data/_variables.scss +7 -2
- package/scss/notification/_functions.scss +17 -0
- package/scss/notification/_layout.scss +2 -68
- package/scss/notification/_theme.scss +4 -28
- package/scss/notification/_variables.scss +50 -91
- package/scss/numerictextbox/_layout.scss +3 -7
- package/scss/numerictextbox/_theme.scss +3 -3
- package/scss/orgchart/_layout.scss +8 -99
- package/scss/orgchart/_theme.scss +4 -45
- package/scss/orgchart/_variables.scss +87 -45
- package/scss/otp/_layout.scss +1 -34
- package/scss/otp/_theme.scss +1 -7
- package/scss/otp/_variables.scss +25 -12
- package/scss/overlay/_layout.scss +2 -11
- package/scss/overlay/_theme.scss +4 -3
- package/scss/overlay/_variables.scss +7 -3
- package/scss/pager/_layout.scss +11 -145
- package/scss/pager/_theme.scss +7 -15
- package/scss/pager/_variables.scss +49 -26
- package/scss/panel/_layout.scss +2 -24
- package/scss/panel/_theme.scss +10 -13
- package/scss/panel/_variables.scss +23 -10
- package/scss/panelbar/_layout.scss +17 -95
- package/scss/panelbar/_theme.scss +15 -164
- package/scss/panelbar/_variables.scss +134 -68
- package/scss/pdf-viewer/_layout.scss +3 -327
- package/scss/pdf-viewer/_theme.scss +2 -80
- package/scss/pdf-viewer/_variables.scss +75 -36
- package/scss/pivotgrid/_index.scss +0 -6
- package/scss/pivotgrid/_layout.scss +44 -579
- package/scss/pivotgrid/_theme.scss +5 -192
- package/scss/pivotgrid/_variables.scss +144 -70
- package/scss/popover/_layout.scss +6 -73
- package/scss/popover/_theme.scss +2 -36
- package/scss/popover/_variables.scss +54 -27
- package/scss/popup/_layout.scss +5 -70
- package/scss/popup/_theme.scss +2 -9
- package/scss/popup/_variables.scss +25 -12
- package/scss/progressbar/_layout.scss +10 -196
- package/scss/progressbar/_theme.scss +11 -46
- package/scss/progressbar/_variables.scss +57 -34
- package/scss/prompt/_layout.scss +2 -75
- package/scss/prompt/_theme.scss +2 -35
- package/scss/prompt/_variables.scss +43 -20
- package/scss/radio/_layout.scss +12 -178
- package/scss/radio/_theme.scss +7 -75
- package/scss/radio/_variables.scss +72 -36
- package/scss/rating/_layout.scss +11 -57
- package/scss/rating/_theme.scss +8 -6
- package/scss/rating/_variables.scss +21 -13
- package/scss/responsivepanel/_layout.scss +2 -45
- package/scss/responsivepanel/_theme.scss +3 -3
- package/scss/ripple/_layout.scss +2 -50
- package/scss/ripple/_theme.scss +2 -2
- package/scss/scheduler/_layout.scss +11 -773
- package/scss/scheduler/_theme.scss +32 -167
- package/scss/scheduler/_variables.scss +149 -77
- package/scss/scroller/_layout.scss +2 -80
- package/scss/scroller/_theme.scss +2 -5
- package/scss/scrollview/_layout.scss +2 -159
- package/scss/scrollview/_theme.scss +11 -35
- package/scss/scrollview/_variables.scss +52 -29
- package/scss/searchbox/_layout.scss +2 -0
- package/scss/searchbox/_theme.scss +4 -1
- package/scss/searchbox/_variables.scss +1 -1
- package/scss/signature/_layout.scss +3 -67
- package/scss/signature/_theme.scss +3 -8
- package/scss/signature/_variables.scss +46 -25
- package/scss/skeleton/_layout.scss +2 -79
- package/scss/skeleton/_theme.scss +2 -17
- package/scss/skeleton/_variables.scss +15 -6
- package/scss/slider/_layout.scss +18 -203
- package/scss/slider/_theme.scss +31 -40
- package/scss/slider/_variables.scss +58 -41
- package/scss/speech-to-text-button/_layout.scss +1 -9
- package/scss/speech-to-text-button/_theme.scss +1 -3
- package/scss/split-button/_layout.scss +22 -18
- package/scss/split-button/_theme.scss +2 -1
- package/scss/split-button/_variables.scss +18 -9
- package/scss/splitter/_layout.scss +8 -171
- package/scss/splitter/_theme.scss +2 -31
- package/scss/splitter/_variables.scss +42 -20
- package/scss/spreadsheet/_layout.scss +50 -724
- package/scss/spreadsheet/_theme.scss +14 -182
- package/scss/spreadsheet/_variables.scss +172 -99
- package/scss/stacklayout/_layout.scss +1 -5
- package/scss/stacklayout/_theme.scss +1 -5
- package/scss/stepper/_layout.scss +9 -255
- package/scss/stepper/_theme.scss +4 -186
- package/scss/stepper/_variables.scss +125 -60
- package/scss/suggestion/_layout.scss +2 -38
- package/scss/suggestion/_theme.scss +3 -66
- package/scss/suggestion/_variables.scss +42 -19
- package/scss/switch/_layout.scss +2 -138
- package/scss/switch/_theme.scss +2 -136
- package/scss/switch/_variables.scss +99 -49
- package/scss/table/_layout.scss +6 -249
- package/scss/table/_theme.scss +9 -95
- package/scss/table/_variables.scss +100 -64
- package/scss/tabstrip/_layout.scss +2 -421
- package/scss/tabstrip/_theme.scss +12 -123
- package/scss/tabstrip/_variables.scss +113 -61
- package/scss/taskboard/_layout.scss +28 -178
- package/scss/taskboard/_theme.scss +20 -55
- package/scss/taskboard/_variables.scss +122 -63
- package/scss/textarea/_layout.scss +3 -6
- package/scss/textarea/_theme.scss +3 -4
- package/scss/textbox/_layout.scss +3 -4
- package/scss/textbox/_theme.scss +3 -4
- package/scss/tilelayout/_layout.scss +2 -36
- package/scss/tilelayout/_theme.scss +13 -10
- package/scss/tilelayout/_variables.scss +19 -8
- package/scss/time-marker/_layout.scss +2 -15
- package/scss/time-marker/_theme.scss +2 -17
- package/scss/time-marker/_variables.scss +7 -2
- package/scss/timedurationpicker/_layout.scss +3 -4
- package/scss/timedurationpicker/_theme.scss +3 -4
- package/scss/timeline/_layout.scss +8 -423
- package/scss/timeline/_theme.scss +11 -34
- package/scss/timeline/_variables.scss +108 -61
- package/scss/timepicker/_layout.scss +7 -3
- package/scss/timepicker/_theme.scss +3 -4
- package/scss/timeselector/_layout.scss +3 -223
- package/scss/timeselector/_theme.scss +5 -55
- package/scss/timeselector/_variables.scss +84 -41
- package/scss/toolbar/_layout.scss +11 -296
- package/scss/toolbar/_theme.scss +3 -167
- package/scss/toolbar/_variables.scss +65 -32
- package/scss/tooltip/_functions.scss +17 -0
- package/scss/tooltip/_layout.scss +13 -74
- package/scss/tooltip/_theme.scss +17 -23
- package/scss/tooltip/_variables.scss +50 -72
- package/scss/treelist/_layout.scss +3 -82
- package/scss/treelist/_theme.scss +4 -6
- package/scss/treelist/_variables.scss +7 -2
- package/scss/treeview/_layout.scss +8 -137
- package/scss/treeview/_theme.scss +20 -65
- package/scss/treeview/_variables.scss +88 -48
- package/scss/typography/_layout.scss +3 -113
- package/scss/typography/_theme.scss +2 -17
- package/scss/typography/_variables.scss +84 -3
- package/scss/upload/_layout.scss +7 -219
- package/scss/upload/_theme.scss +4 -90
- package/scss/upload/_variables.scss +66 -29
- package/scss/validator/_layout.scss +2 -16
- package/scss/validator/_theme.scss +2 -2
- package/scss/virtual-scroller/_layout.scss +2 -34
- package/scss/virtual-scroller/_theme.scss +2 -2
- package/scss/window/_layout.scss +9 -141
- package/scss/window/_theme.scss +7 -35
- package/scss/window/_variables.scss +65 -70
- package/scss/wizard/_layout.scss +8 -95
- package/scss/wizard/_theme.scss +4 -7
- package/scss/wizard/_variables.scss +24 -11
package/scss/upload/_layout.scss
CHANGED
|
@@ -1,249 +1,37 @@
|
|
|
1
1
|
@use "../core/_index.scss" as *;
|
|
2
2
|
@use "./_variables.scss" as *;
|
|
3
3
|
@use "../core/spacing/_index.scss" as *;
|
|
4
|
+
@use "@progress/kendo-theme-core/scss/components/upload/_layout.scss" as *;
|
|
4
5
|
|
|
5
6
|
@mixin kendo-upload--layout() {
|
|
7
|
+
@include kendo-upload--layout-base();
|
|
6
8
|
|
|
7
9
|
.k-upload {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
outline: 0;
|
|
12
|
-
font-family: var( --kendo-upload-font-family, #{$kendo-upload-font-family} );
|
|
13
|
-
font-size: var( --kendo-upload-font-size, #{$kendo-upload-font-size} );
|
|
14
|
-
line-height: var( --kendo-upload-line-height, #{$kendo-upload-line-height} );
|
|
15
|
-
position: relative;
|
|
16
|
-
display: block;
|
|
17
|
-
-webkit-touch-callout: none;
|
|
18
|
-
-webkit-tap-highlight-color: $kendo-color-rgba-transparent;
|
|
19
|
-
|
|
20
|
-
*,
|
|
21
|
-
*::before,
|
|
22
|
-
*::after {
|
|
23
|
-
box-sizing: border-box;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.k-upload-button {
|
|
27
|
-
min-width: 7em;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
// Drop zone
|
|
31
|
-
.k-dropzone,
|
|
32
|
-
.k-upload-dropzone {
|
|
33
|
-
padding-inline: var( --kendo-upload-dropzone-padding-x, #{$kendo-upload-dropzone-padding-x} );
|
|
34
|
-
padding-block: var( --kendo-upload-dropzone-padding-y, #{$kendo-upload-dropzone-padding-y} );
|
|
35
|
-
border-width: 0;
|
|
36
|
-
text-align: end;
|
|
37
|
-
display: flex;
|
|
38
|
-
align-items: center;
|
|
39
|
-
justify-content: space-between;
|
|
40
|
-
position: relative;
|
|
41
|
-
background-color: transparent;
|
|
42
|
-
|
|
43
|
-
.k-dropzone-hint {
|
|
44
|
-
font-style: normal;
|
|
45
|
-
font-weight: normal;
|
|
46
|
-
white-space: nowrap;
|
|
47
|
-
overflow: hidden;
|
|
48
|
-
text-overflow: ellipsis;
|
|
49
|
-
position: relative;
|
|
50
|
-
flex: 1;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.k-upload-status {
|
|
54
|
-
font-weight: normal;
|
|
55
|
-
display: flex;
|
|
56
|
-
align-items: center;
|
|
57
|
-
position: relative;
|
|
58
|
-
|
|
59
|
-
> .k-icon {
|
|
60
|
-
margin-inline-end: var( --kendo-upload-icon-spacing, #{$kendo-upload-icon-spacing} );
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.k-upload-status + .k-dropzone-hint {
|
|
65
|
-
display: none;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.k-dropzone-active {
|
|
70
|
-
.k-upload-status {
|
|
71
|
-
display: none;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.k-upload-status + .k-dropzone-hint {
|
|
75
|
-
display: block;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
// Upload files list
|
|
80
|
-
.k-upload-files {
|
|
81
|
-
max-height: var( --kendo-upload-max-height, #{$kendo-upload-max-height} );
|
|
82
|
-
overflow-y: auto;
|
|
83
|
-
margin: 0;
|
|
84
|
-
padding: 0;
|
|
85
|
-
border-width: 1px 0 0;
|
|
86
|
-
border-style: solid;
|
|
87
|
-
border-color: inherit;
|
|
88
|
-
list-style: none;
|
|
89
|
-
|
|
90
|
-
.k-file-multiple,
|
|
91
|
-
.k-file-single {
|
|
92
|
-
width: 100%;
|
|
93
|
-
display: flex;
|
|
94
|
-
justify-content: space-between;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.k-file-single {
|
|
98
|
-
align-items: center;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.k-file-multiple {
|
|
102
|
-
align-items: flex-start;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.k-file {
|
|
106
|
-
padding-inline: var( --kendo-upload-item-padding-x, #{$kendo-upload-item-padding-x} );
|
|
107
|
-
padding-block: var( --kendo-upload-item-padding-y, #{$kendo-upload-item-padding-y} ) calc( var( --kendo-upload-item-padding-y, #{$kendo-upload-item-padding-y} ) + var( --kendo-upload-progress-thickness, #{$kendo-upload-progress-thickness} ) );
|
|
108
|
-
border-width: 0 0 1px;
|
|
109
|
-
border-style: solid;
|
|
110
|
-
outline: none;
|
|
111
|
-
display: flex;
|
|
112
|
-
align-items: flex-start;
|
|
113
|
-
position: relative;
|
|
114
|
-
}
|
|
115
|
-
.k-file:last-child {
|
|
116
|
-
border-width: 0;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.k-filename {
|
|
120
|
-
margin-inline-start: k-spacing(2);
|
|
121
|
-
flex: 1;
|
|
122
|
-
overflow: hidden;
|
|
123
|
-
text-overflow: ellipsis;
|
|
124
|
-
white-space: nowrap;
|
|
125
|
-
position: relative;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.k-upload-pct {
|
|
129
|
-
margin-inline: var( --kendo-upload-icon-spacing, #{$kendo-upload-icon-spacing} );
|
|
130
|
-
font-weight: normal;
|
|
131
|
-
vertical-align: middle;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
~ .k-clear-selected,
|
|
135
|
-
~ .k-upload-selected {
|
|
136
|
-
margin-block-start: calc( -1 * #{k-spacing(1)} );
|
|
137
|
-
border-width: 0;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
~ .k-upload-selected {
|
|
141
|
-
border-inline-start: 1px;
|
|
142
|
-
border-left-style: solid;
|
|
143
|
-
margin-inline-start: -1px;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.k-file-name,
|
|
147
|
-
.k-file-size,
|
|
148
|
-
.k-file-validation-message,
|
|
149
|
-
.k-file-summary {
|
|
150
|
-
display: block;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.k-file-name {
|
|
154
|
-
overflow: hidden;
|
|
155
|
-
text-overflow: ellipsis;
|
|
156
|
-
white-space: nowrap;
|
|
157
|
-
position: relative;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.k-file-size,
|
|
161
|
-
.k-file-summary,
|
|
162
|
-
.k-file-validation-message {
|
|
163
|
-
font-size: var( --kendo-upload-validation-font-size, #{$kendo-upload-validation-font-size} );
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.k-file-state {
|
|
167
|
-
visibility: hidden;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.k-file-icon-wrapper {
|
|
171
|
-
|
|
172
|
-
.k-file-state {
|
|
173
|
-
position: absolute;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
10
|
+
.k-filename {
|
|
11
|
+
margin-inline-start: k-spacing(2);
|
|
176
12
|
}
|
|
177
13
|
|
|
178
14
|
.k-upload-files .k-file-info {
|
|
179
15
|
margin-inline-start: 0;
|
|
180
16
|
margin-inline-end: 0;
|
|
181
|
-
min-height: var( --kendo-icon-size-xxl, 2rem );
|
|
182
|
-
display: block;
|
|
183
|
-
overflow: hidden;
|
|
184
|
-
flex: 1 0 0;
|
|
185
17
|
}
|
|
186
18
|
|
|
187
19
|
.k-multiple-files-wrapper,
|
|
188
20
|
.k-file-single > .k-file-info {
|
|
189
21
|
margin-inline-start: k-spacing(2);
|
|
190
22
|
margin-inline-end: 0;
|
|
191
|
-
min-height: var( --kendo-icon-size-xxl, 2rem );
|
|
192
|
-
display: block;
|
|
193
|
-
overflow: hidden;
|
|
194
|
-
flex: 1 0 0;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.k-multiple-files-wrapper {
|
|
198
|
-
|
|
199
|
-
.k-file-info {
|
|
200
|
-
margin-block-end: var( --kendo-upload-multiple-items-spacing, #{$kendo-upload-multiple-items-spacing} );
|
|
201
|
-
display: block;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.k-file-summary {
|
|
205
|
-
margin-block-start: calc( -1 * var( --kendo-upload-multiple-items-spacing, #{$kendo-upload-multiple-items-spacing} ) / 3);
|
|
206
|
-
}
|
|
207
23
|
}
|
|
208
24
|
|
|
209
25
|
.k-progressbar {
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
right: var( --kendo-upload-item-padding-x, #{$kendo-upload-item-padding-x} );
|
|
214
|
-
bottom: calc( var( --kendo-upload-item-padding-y, #{$kendo-upload-item-padding-y} ) / 2 );
|
|
215
|
-
width: auto;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
// Action buttons
|
|
219
|
-
.k-actions {
|
|
220
|
-
border-top-width: 1px;
|
|
26
|
+
left: $kendo-upload-item-padding-x;
|
|
27
|
+
right: $kendo-upload-item-padding-x;
|
|
28
|
+
bottom: calc( $kendo-upload-item-padding-y / 2 );
|
|
221
29
|
}
|
|
222
|
-
|
|
223
30
|
}
|
|
224
31
|
|
|
225
32
|
.k-upload-button-wrap {
|
|
226
|
-
position: relative;
|
|
227
|
-
direction: ltr;
|
|
228
|
-
|
|
229
33
|
input {
|
|
230
|
-
// font should not depend on outside styles, otherwise upload may break
|
|
231
|
-
font: 170px monospace !important; // stylelint-disable-line declaration-no-important
|
|
232
|
-
margin: 0;
|
|
233
|
-
padding: 0;
|
|
234
|
-
width: 100%;
|
|
235
|
-
height: 100%;
|
|
236
|
-
opacity: 0;
|
|
237
|
-
cursor: pointer;
|
|
238
|
-
position: absolute;
|
|
239
|
-
bottom: 0;
|
|
240
|
-
right: 0;
|
|
241
34
|
z-index: 2;
|
|
242
35
|
}
|
|
243
|
-
|
|
244
|
-
input[disabled],
|
|
245
|
-
input.k-disabled {
|
|
246
|
-
visibility: hidden;
|
|
247
|
-
}
|
|
248
36
|
}
|
|
249
37
|
}
|
package/scss/upload/_theme.scss
CHANGED
|
@@ -1,103 +1,17 @@
|
|
|
1
1
|
@use "../core/_index.scss" as *;
|
|
2
2
|
@use "./_variables.scss" as *;
|
|
3
|
+
@use "@progress/kendo-theme-core/scss/components/upload/_theme.scss" as *;
|
|
3
4
|
|
|
4
5
|
@mixin kendo-upload--theme() {
|
|
5
|
-
|
|
6
|
-
@include fill(
|
|
7
|
-
var( --kendo-upload-text, #{$kendo-upload-text} ),
|
|
8
|
-
var( --kendo-upload-bg, #{$kendo-upload-bg} ),
|
|
9
|
-
var( --kendo-upload-border, #{$kendo-upload-border} )
|
|
10
|
-
);
|
|
11
|
-
|
|
12
|
-
.k-dropzone {
|
|
13
|
-
@include fill(
|
|
14
|
-
var( --kendo-upload-dropzone-text, #{$kendo-upload-dropzone-text} ),
|
|
15
|
-
var( --kendo-upload-dropzone-bg, #{$kendo-upload-dropzone-bg} ),
|
|
16
|
-
var( --kendo-upload-dropzone-border, #{$kendo-upload-dropzone-border} )
|
|
17
|
-
);
|
|
18
|
-
|
|
19
|
-
&:hover,
|
|
20
|
-
&.k-hover,
|
|
21
|
-
&.k-dropzone-hover,
|
|
22
|
-
&.k-dropzone-hovered {
|
|
23
|
-
background-color: var( --kendo-upload-dropzone-hover-bg, #{$kendo-upload-dropzone-hover-bg} );
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.k-dropzone-hint {
|
|
27
|
-
color: var( --kendo-upload-status-text, #{$kendo-upload-status-text} );
|
|
28
|
-
opacity: var( --kendo-upload-status-text-opacity, #{$kendo-upload-status-text-opacity} );
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.k-upload-files,
|
|
34
|
-
.k-file {
|
|
35
|
-
border-color: var( --kendo-upload-border, #{$kendo-upload-border} );
|
|
36
|
-
}
|
|
6
|
+
@include kendo-upload--theme-base();
|
|
37
7
|
|
|
8
|
+
.k-upload {
|
|
38
9
|
.k-file {
|
|
39
|
-
|
|
40
10
|
&.k-focus {
|
|
41
|
-
box-shadow:
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.k-upload-action.k-focus {
|
|
45
|
-
box-shadow: var( --kendo-upload-focus-shadow, #{$kendo-upload-focus-shadow} );
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.k-dropzone .k-upload-status {
|
|
51
|
-
color: var( --kendo-upload-status-text, #{$kendo-upload-status-text} );
|
|
52
|
-
opacity: var( --kendo-upload-status-text-opacity, #{$kendo-upload-status-text-opacity} );
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
// Upload status: uploading
|
|
56
|
-
.k-file-progress {
|
|
57
|
-
.k-progressbar .k-selected {
|
|
58
|
-
background-color: var( --kendo-upload-progress-bg, #{$kendo-upload-progress-bg} );
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
// Upload status: success
|
|
64
|
-
.k-file-success {
|
|
65
|
-
.k-file-validation-message {
|
|
66
|
-
color: $kendo-upload-success-text;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.k-progressbar .k-selected {
|
|
70
|
-
background-color: var( --kendo-upload-success-bg, #{$kendo-upload-success-bg} );
|
|
11
|
+
box-shadow: $kendo-upload-focus-shadow;
|
|
71
12
|
}
|
|
72
13
|
}
|
|
73
14
|
|
|
74
|
-
// Upload satus: error
|
|
75
|
-
.k-file-error {
|
|
76
|
-
.k-file-validation-message {
|
|
77
|
-
color: var( --kendo-upload-error-text, #{$kendo-upload-error-text} );
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.k-progressbar .k-selected {
|
|
81
|
-
background-color: var( --kendo-upload-error-bg, #{$kendo-upload-error-bg} );
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.k-file-icon-wrapper {
|
|
86
|
-
color: var( --kendo-upload-icon-color, #{$kendo-upload-icon-color} );
|
|
87
|
-
border-color: var( --kendo-upload-icon-color, #{$kendo-upload-icon-color} );
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.k-file-size,
|
|
91
|
-
.k-file-validation-message,
|
|
92
|
-
.k-file-summary {
|
|
93
|
-
color: k-color(subtle);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.k-multiple-files-wrapper .k-file-summary {
|
|
97
|
-
color: var( --kendo-upload-text, #{$kendo-upload-text} );
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Invalid,
|
|
101
15
|
&.k-invalid,
|
|
102
16
|
&.ng-invalid.ng-touched,
|
|
103
17
|
&.ng-invalid.ng-dirty {
|
|
@@ -3,98 +3,135 @@
|
|
|
3
3
|
|
|
4
4
|
/// The width of the border around the Upload.
|
|
5
5
|
/// @group upload
|
|
6
|
-
$kendo-upload-border-width: 1px !default;
|
|
6
|
+
$kendo-upload-border-width: var( --kendo-upload-border-width, 1px ) !default;
|
|
7
7
|
/// The font family of the Upload.
|
|
8
8
|
/// @group upload
|
|
9
|
-
$kendo-upload-font-family: var( --kendo-font-family, inherit ) !default;
|
|
9
|
+
$kendo-upload-font-family: var( --kendo-upload-font-family, var( --kendo-font-family, inherit ) ) !default;
|
|
10
10
|
/// The font size of the Upload.
|
|
11
11
|
/// @group upload
|
|
12
|
-
$kendo-upload-font-size: var( --kendo-font-size, inherit ) !default;
|
|
12
|
+
$kendo-upload-font-size: var( --kendo-upload-font-size, var( --kendo-font-size, inherit ) ) !default;
|
|
13
13
|
/// The line height of the Upload.
|
|
14
14
|
/// @group upload
|
|
15
|
-
$kendo-upload-line-height: var( --kendo-line-height, normal ) !default;
|
|
15
|
+
$kendo-upload-line-height: var( --kendo-upload-line-height, var( --kendo-line-height, normal ) ) !default;
|
|
16
16
|
/// The maximum height of the list with uploaded items.
|
|
17
17
|
/// @group upload
|
|
18
|
-
$kendo-upload-max-height: 300px !default;
|
|
18
|
+
$kendo-upload-max-height: var( --kendo-upload-max-height, 300px ) !default;
|
|
19
19
|
|
|
20
20
|
/// The text color of the Upload.
|
|
21
21
|
/// @group upload
|
|
22
|
-
$kendo-upload-text: k-color(on-app-surface) !default;
|
|
22
|
+
$kendo-upload-text: var( --kendo-upload-text, k-color(on-app-surface) ) !default;
|
|
23
23
|
/// The background color of the Upload.
|
|
24
24
|
/// @group upload
|
|
25
|
-
$kendo-upload-bg: k-color(surface-alt) !default;
|
|
25
|
+
$kendo-upload-bg: var( --kendo-upload-bg, k-color(surface-alt) ) !default;
|
|
26
26
|
/// The border color of the Upload.
|
|
27
27
|
/// @group upload
|
|
28
|
-
$kendo-upload-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
|
|
28
|
+
$kendo-upload-border: var( --kendo-upload-border, color-mix(in srgb, k-color(border) 16%, transparent) ) !default;
|
|
29
29
|
|
|
30
30
|
/// The horizontal padding of the Upload dropzone.
|
|
31
31
|
/// @group upload
|
|
32
|
-
$kendo-upload-dropzone-padding-x: k-spacing(2) !default;
|
|
32
|
+
$kendo-upload-dropzone-padding-x: var( --kendo-upload-dropzone-padding-x, k-spacing(2) ) !default;
|
|
33
33
|
/// The vertical padding of the Upload dropzone.
|
|
34
34
|
/// @group upload
|
|
35
|
-
$kendo-upload-dropzone-padding-y: k-spacing(2) !default;
|
|
35
|
+
$kendo-upload-dropzone-padding-y: var( --kendo-upload-dropzone-padding-y, k-spacing(2) ) !default;
|
|
36
36
|
/// The text color of the Upload dropzone.
|
|
37
37
|
/// @group upload
|
|
38
|
-
$kendo-upload-dropzone-text: k-color(subtle) !default;
|
|
38
|
+
$kendo-upload-dropzone-text: var( --kendo-upload-dropzone-text, k-color(subtle) ) !default;
|
|
39
39
|
/// The background color of the Upload dropzone.
|
|
40
40
|
/// @group upload
|
|
41
|
-
$kendo-upload-dropzone-bg: k-color(surface) !default;
|
|
41
|
+
$kendo-upload-dropzone-bg: var( --kendo-upload-dropzone-bg, k-color(surface) ) !default;
|
|
42
42
|
/// The border color of the Upload dropzone.
|
|
43
43
|
/// @group upload
|
|
44
|
-
$kendo-upload-dropzone-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
|
|
44
|
+
$kendo-upload-dropzone-border: var( --kendo-upload-dropzone-border, color-mix(in srgb, k-color(border) 16%, transparent) ) !default;
|
|
45
45
|
/// The background color of the hovered Upload dropzone.
|
|
46
46
|
/// @group upload
|
|
47
|
-
$kendo-upload-dropzone-hover-bg: k-color(base-hover) !default;
|
|
47
|
+
$kendo-upload-dropzone-hover-bg: var( --kendo-upload-dropzone-hover-bg, k-color(base-hover) ) !default;
|
|
48
48
|
|
|
49
49
|
/// The text color of the Upload status message.
|
|
50
50
|
/// @group upload
|
|
51
|
-
$kendo-upload-status-text: k-color(subtle) !default;
|
|
51
|
+
$kendo-upload-status-text: var( --kendo-upload-status-text, k-color(subtle) ) !default;
|
|
52
52
|
/// The opacity of the Upload status message.
|
|
53
53
|
/// @group upload
|
|
54
|
-
$kendo-upload-status-text-opacity: null !default;
|
|
54
|
+
$kendo-upload-status-text-opacity: var( --kendo-upload-status-text-opacity, null ) !default;
|
|
55
55
|
|
|
56
56
|
/// The horizontal padding of an uploaded item.
|
|
57
57
|
/// @group upload
|
|
58
|
-
$kendo-upload-item-padding-x: k-spacing(2) !default;
|
|
58
|
+
$kendo-upload-item-padding-x: var( --kendo-upload-item-padding-x, k-spacing(2) ) !default;
|
|
59
59
|
/// The vertical padding of an uploaded item.
|
|
60
60
|
/// @group upload
|
|
61
|
-
$kendo-upload-item-padding-y: k-spacing(2) !default;
|
|
61
|
+
$kendo-upload-item-padding-y: var( --kendo-upload-item-padding-y, k-spacing(2) ) !default;
|
|
62
62
|
|
|
63
63
|
/// The vertical spacing between uploaded batch items.
|
|
64
64
|
/// @group upload
|
|
65
|
-
$kendo-upload-multiple-items-spacing: k-spacing(4) !default;
|
|
65
|
+
$kendo-upload-multiple-items-spacing: var( --kendo-upload-multiple-items-spacing, k-spacing(4) ) !default;
|
|
66
66
|
|
|
67
67
|
/// The font size of the Upload validation message.
|
|
68
68
|
/// @group upload
|
|
69
|
-
$kendo-upload-validation-font-size: var( --kendo-font-size-xs, inherit ) !default;
|
|
69
|
+
$kendo-upload-validation-font-size: var( --kendo-upload-validation-font-size, var( --kendo-font-size-xs, inherit ) ) !default;
|
|
70
70
|
/// The horizontal spacing of the Upload status icon.
|
|
71
71
|
/// @group upload
|
|
72
|
-
$kendo-upload-icon-spacing: var( --kendo-icon-spacing, .5rem ) !default;
|
|
72
|
+
$kendo-upload-icon-spacing: var( --kendo-upload-icon-spacing, var( --kendo-icon-spacing, .5rem ) ) !default;
|
|
73
73
|
/// The color of the uploaded items icon.
|
|
74
74
|
/// @group upload
|
|
75
|
-
$kendo-upload-icon-color: k-color(subtle) !default;
|
|
75
|
+
$kendo-upload-icon-color: var( --kendo-upload-icon-color, k-color(subtle) ) !default;
|
|
76
76
|
|
|
77
77
|
/// The thickness of the Upload progress bar.
|
|
78
78
|
/// @group upload
|
|
79
|
-
$kendo-upload-progress-thickness: 2px !default;
|
|
79
|
+
$kendo-upload-progress-thickness: var( --kendo-upload-progress-thickness, 2px ) !default;
|
|
80
80
|
/// The background color of the Upload progress bar.
|
|
81
81
|
/// @group upload
|
|
82
|
-
$kendo-upload-progress-bg: k-color(primary) !default;
|
|
82
|
+
$kendo-upload-progress-bg: var( --kendo-upload-progress-bg, k-color(primary) ) !default;
|
|
83
83
|
|
|
84
84
|
/// The success text color of the Upload.
|
|
85
85
|
/// @group upload
|
|
86
|
-
$kendo-upload-success-text: k-color(success-on-surface) !default;
|
|
86
|
+
$kendo-upload-success-text: var( --kendo-upload-success-text, k-color(success-on-surface) ) !default;
|
|
87
87
|
/// The success background color of the Upload progress bar.
|
|
88
88
|
/// @group upload
|
|
89
|
-
$kendo-upload-success-bg: k-color(success-on-surface) !default;
|
|
89
|
+
$kendo-upload-success-bg: var( --kendo-upload-success-bg, k-color(success-on-surface) ) !default;
|
|
90
90
|
|
|
91
91
|
/// The error text color of the Upload.
|
|
92
92
|
/// @group upload
|
|
93
|
-
$kendo-upload-error-text: k-color(error-on-surface) !default;
|
|
93
|
+
$kendo-upload-error-text: var( --kendo-upload-error-text, k-color(error-on-surface) ) !default;
|
|
94
94
|
/// The error background color of the Upload progress bar.
|
|
95
95
|
/// @group upload
|
|
96
|
-
$kendo-upload-error-bg: k-color(error-on-surface) !default;
|
|
96
|
+
$kendo-upload-error-bg: var( --kendo-upload-error-bg, k-color(error-on-surface) ) !default;
|
|
97
97
|
|
|
98
98
|
/// The shadow of the focused Upload button, actions and uploaded items.
|
|
99
99
|
/// @group upload
|
|
100
|
-
$kendo-upload-focus-shadow: inset 0 0 0 2px rgba(0, 0, 0, .13) !default;
|
|
100
|
+
$kendo-upload-focus-shadow: var( --kendo-upload-focus-shadow, inset 0 0 0 2px rgba(0, 0, 0, .13) ) !default;
|
|
101
|
+
|
|
102
|
+
/// The margin of the Upload files list.
|
|
103
|
+
/// @group upload
|
|
104
|
+
$kendo-upload-files-list-margin: calc( -1 * #{k-spacing(1)} ) !default;
|
|
105
|
+
|
|
106
|
+
@forward "@progress/kendo-theme-core/scss/components/upload/_variables.scss" with (
|
|
107
|
+
$kendo-upload-border-width: $kendo-upload-border-width,
|
|
108
|
+
$kendo-upload-font-family: $kendo-upload-font-family,
|
|
109
|
+
$kendo-upload-font-size: $kendo-upload-font-size,
|
|
110
|
+
$kendo-upload-line-height: $kendo-upload-line-height,
|
|
111
|
+
$kendo-upload-max-height: $kendo-upload-max-height,
|
|
112
|
+
$kendo-upload-text: $kendo-upload-text,
|
|
113
|
+
$kendo-upload-bg: $kendo-upload-bg,
|
|
114
|
+
$kendo-upload-border: $kendo-upload-border,
|
|
115
|
+
$kendo-upload-dropzone-padding-x: $kendo-upload-dropzone-padding-x,
|
|
116
|
+
$kendo-upload-dropzone-padding-y: $kendo-upload-dropzone-padding-y,
|
|
117
|
+
$kendo-upload-dropzone-text: $kendo-upload-dropzone-text,
|
|
118
|
+
$kendo-upload-dropzone-bg: $kendo-upload-dropzone-bg,
|
|
119
|
+
$kendo-upload-dropzone-border: $kendo-upload-dropzone-border,
|
|
120
|
+
$kendo-upload-dropzone-hover-bg: $kendo-upload-dropzone-hover-bg,
|
|
121
|
+
$kendo-upload-status-text: $kendo-upload-status-text,
|
|
122
|
+
$kendo-upload-status-text-opacity: $kendo-upload-status-text-opacity,
|
|
123
|
+
$kendo-upload-item-padding-x: $kendo-upload-item-padding-x,
|
|
124
|
+
$kendo-upload-item-padding-y: $kendo-upload-item-padding-y,
|
|
125
|
+
$kendo-upload-multiple-items-spacing: $kendo-upload-multiple-items-spacing,
|
|
126
|
+
$kendo-upload-validation-font-size: $kendo-upload-validation-font-size,
|
|
127
|
+
$kendo-upload-icon-spacing: $kendo-upload-icon-spacing,
|
|
128
|
+
$kendo-upload-icon-color: $kendo-upload-icon-color,
|
|
129
|
+
$kendo-upload-progress-thickness: $kendo-upload-progress-thickness,
|
|
130
|
+
$kendo-upload-progress-bg: $kendo-upload-progress-bg,
|
|
131
|
+
$kendo-upload-success-text: $kendo-upload-success-text,
|
|
132
|
+
$kendo-upload-success-bg: $kendo-upload-success-bg,
|
|
133
|
+
$kendo-upload-error-text: $kendo-upload-error-text,
|
|
134
|
+
$kendo-upload-error-bg: $kendo-upload-error-bg,
|
|
135
|
+
$kendo-upload-focus-shadow: $kendo-upload-focus-shadow,
|
|
136
|
+
$kendo-upload-files-list-margin: $kendo-upload-files-list-margin,
|
|
137
|
+
);
|
|
@@ -1,19 +1,5 @@
|
|
|
1
|
-
@use "
|
|
2
|
-
@use "../tooltip/_variables.scss" as *;
|
|
1
|
+
@use "@progress/kendo-theme-core/scss/components/validator/_layout.scss" as *;
|
|
3
2
|
|
|
4
3
|
@mixin kendo-validator--layout() {
|
|
5
|
-
|
|
6
|
-
.k-validator-tooltip {
|
|
7
|
-
margin-block-start: calc( var( --kendo-validator-tooltip-margin, #{$kendo-tooltip-callout-size} ) + #{$kendo-tooltip-border-width} );
|
|
8
|
-
width: auto;
|
|
9
|
-
white-space: normal;
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
// NOTE: This works around popup / tooltip stackin issue
|
|
13
|
-
z-index: 9999;
|
|
14
|
-
}
|
|
15
|
-
.k-grid .k-validator-tooltip {
|
|
16
|
-
max-width: 300px;
|
|
17
|
-
}
|
|
18
|
-
|
|
4
|
+
@include kendo-validator--layout-base();
|
|
19
5
|
}
|
|
@@ -1,37 +1,5 @@
|
|
|
1
|
-
@use "
|
|
1
|
+
@use "@progress/kendo-theme-core/scss/components/virtual-scroller/_layout.scss" as *;
|
|
2
2
|
|
|
3
3
|
@mixin kendo-virtual-scroller--layout() {
|
|
4
|
-
|
|
5
|
-
// Virtual scroller
|
|
6
|
-
.k-virtual-scroller {
|
|
7
|
-
width: 100%;
|
|
8
|
-
height: 100%;
|
|
9
|
-
flex: 1 1 auto;
|
|
10
|
-
overflow: auto;
|
|
11
|
-
position: relative;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
// Virtual scroller wrap
|
|
16
|
-
.k-virtual-scroller-wrap {
|
|
17
|
-
position: relative;
|
|
18
|
-
z-index: 1;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
// Virtual scroller content
|
|
23
|
-
.k-virtual-scroller-content {
|
|
24
|
-
position: absolute;
|
|
25
|
-
width: 100%;
|
|
26
|
-
top: 0;
|
|
27
|
-
inset-inline-start: 0;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
// Virtual scroller size
|
|
32
|
-
.k-virtual-scroller-size {
|
|
33
|
-
position: relative;
|
|
34
|
-
z-index: 0;
|
|
35
|
-
}
|
|
36
|
-
|
|
4
|
+
@include kendo-virtual-scroller--layout-base();
|
|
37
5
|
}
|