@progress/kendo-theme-default 10.2.0-dev.1 → 10.2.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/default-blue.css +1 -1
- package/dist/default-dataviz-v4.css +1 -1
- package/dist/default-green.css +1 -1
- package/dist/default-main-dark.css +1 -1
- package/dist/default-main.css +1 -1
- package/dist/default-nordic.css +1 -1
- package/dist/default-ocean-blue-a11y.css +1 -1
- package/dist/default-ocean-blue.css +1 -1
- package/dist/default-orange.css +1 -1
- package/dist/default-purple.css +1 -1
- package/dist/default-turquoise.css +1 -1
- package/dist/default-urban.css +1 -1
- package/dist/meta/sassdoc-data.json +638 -854
- package/dist/meta/sassdoc-raw-data.json +318 -418
- package/dist/meta/variables.json +21 -21
- package/lib/swatches/default-blue.json +1 -1
- package/lib/swatches/default-dataviz-v4.json +1 -1
- package/lib/swatches/default-green.json +1 -1
- package/lib/swatches/default-main-dark.json +1 -1
- package/lib/swatches/default-main.json +1 -1
- package/lib/swatches/default-nordic.json +1 -1
- package/lib/swatches/default-ocean-blue-a11y.json +1 -1
- package/lib/swatches/default-ocean-blue.json +1 -1
- package/lib/swatches/default-orange.json +1 -1
- package/lib/swatches/default-purple.json +1 -1
- package/lib/swatches/default-turquoise.json +1 -1
- package/lib/swatches/default-urban.json +1 -1
- package/package.json +4 -4
- package/scss/_variables.scss +0 -11
- package/scss/action-buttons/_layout.scss +1 -67
- package/scss/action-buttons/_theme.scss +1 -16
- package/scss/action-buttons/_variables.scss +12 -0
- package/scss/action-sheet/_layout.scss +1 -397
- package/scss/action-sheet/_theme.scss +1 -100
- package/scss/action-sheet/_variables.scss +69 -0
- package/scss/adaptive/_layout.scss +1 -479
- package/scss/adaptive/_theme.scss +1 -99
- package/scss/adaptive/_variables.scss +21 -0
- package/scss/appbar/_layout.scss +1 -115
- package/scss/appbar/_theme.scss +1 -31
- package/scss/appbar/_variables.scss +19 -0
- package/scss/autocomplete/_layout.scss +1 -6
- package/scss/autocomplete/_theme.scss +1 -6
- package/scss/avatar/_layout.scss +1 -78
- package/scss/avatar/_theme.scss +1 -27
- package/scss/avatar/_variables.scss +9 -0
- package/scss/badge/_layout.scss +1 -149
- package/scss/badge/_theme.scss +1 -27
- package/scss/badge/_variables.scss +26 -0
- package/scss/bottom-navigation/_layout.scss +1 -117
- package/scss/bottom-navigation/_theme.scss +1 -57
- package/scss/bottom-navigation/_variables.scss +22 -0
- package/scss/breadcrumb/_layout.scss +1 -133
- package/scss/breadcrumb/_theme.scss +1 -100
- package/scss/breadcrumb/_variables.scss +64 -0
- package/scss/button/_layout.scss +1 -352
- package/scss/button/_theme.scss +1 -333
- package/scss/button/_variables.scss +92 -0
- package/scss/calendar/_layout.scss +1 -523
- package/scss/calendar/_theme.scss +1 -210
- package/scss/calendar/_variables.scss +99 -0
- package/scss/captcha/_layout.scss +1 -64
- package/scss/captcha/_theme.scss +1 -15
- package/scss/captcha/_variables.scss +17 -0
- package/scss/card/_layout.scss +1 -343
- package/scss/card/_theme.scss +1 -103
- package/scss/card/_variables.scss +58 -0
- package/scss/chart-wizard/_layout.scss +1 -42
- package/scss/chart-wizard/_theme.scss +1 -33
- package/scss/chart-wizard/_variables.scss +14 -0
- package/scss/chat/_layout.scss +1 -470
- package/scss/chat/_theme.scss +1 -99
- package/scss/chat/_variables.scss +67 -0
- package/scss/checkbox/_layout.scss +1 -230
- package/scss/checkbox/_theme.scss +1 -104
- package/scss/checkbox/_variables.scss +51 -0
- package/scss/chip/_layout.scss +1 -164
- package/scss/chip/_theme.scss +1 -146
- package/scss/chip/_variables.scss +46 -0
- package/scss/color-preview/_layout.scss +1 -79
- package/scss/color-preview/_theme.scss +1 -20
- package/scss/color-preview/_variables.scss +14 -0
- package/scss/coloreditor/_layout.scss +1 -117
- package/scss/coloreditor/_theme.scss +1 -27
- package/scss/coloreditor/_variables.scss +55 -0
- package/scss/colorgradient/_layout.scss +1 -233
- package/scss/colorgradient/_theme.scss +1 -86
- package/scss/colorgradient/_variables.scss +71 -0
- package/scss/colorpalette/_layout.scss +1 -71
- package/scss/colorpalette/_theme.scss +1 -26
- package/scss/colorpalette/_variables.scss +18 -0
- package/scss/colorpicker/_layout.scss +1 -13
- package/scss/colorpicker/_theme.scss +1 -5
- package/scss/combobox/_layout.scss +1 -6
- package/scss/combobox/_theme.scss +1 -6
- package/scss/core/color-system/_swatch-legacy.scss +76 -15
- package/scss/core/motion/index.import.scss +1 -0
- package/scss/dataviz/_layout.scss +1 -569
- package/scss/dataviz/_theme.scss +1 -115
- package/scss/dataviz/_variables.scss +106 -1
- package/scss/dateinput/_layout.scss +1 -6
- package/scss/dateinput/_theme.scss +1 -6
- package/scss/datepicker/_layout.scss +1 -5
- package/scss/datepicker/_theme.scss +1 -6
- package/scss/daterangepicker/_layout.scss +1 -47
- package/scss/daterangepicker/_theme.scss +1 -6
- package/scss/daterangepicker/_variables.scss +4 -0
- package/scss/datetimepicker/_layout.scss +1 -51
- package/scss/datetimepicker/_theme.scss +1 -6
- package/scss/datetimepicker/_variables.scss +4 -0
- package/scss/dialog/_layout.scss +1 -73
- package/scss/dialog/_theme.scss +1 -24
- package/scss/dialog/_variables.scss +11 -0
- package/scss/dock-manager/_layout.scss +1 -220
- package/scss/dock-manager/_theme.scss +1 -45
- package/scss/dock-manager/_variables.scss +38 -0
- package/scss/draggable/_layout.scss +1 -127
- package/scss/draggable/_theme.scss +1 -17
- package/scss/draggable/_variables.scss +23 -0
- package/scss/drawer/_layout.scss +1 -202
- package/scss/drawer/_theme.scss +1 -63
- package/scss/drawer/_variables.scss +34 -0
- package/scss/dropdowngrid/_layout.scss +1 -15
- package/scss/dropdowngrid/_theme.scss +1 -6
- package/scss/dropdownlist/_layout.scss +1 -38
- package/scss/dropdownlist/_theme.scss +1 -9
- package/scss/dropdowntree/_layout.scss +1 -39
- package/scss/dropdowntree/_theme.scss +1 -6
- package/scss/dropdowntree/_variables.scss +5 -0
- package/scss/dropzone/_layout.scss +1 -44
- package/scss/dropzone/_theme.scss +1 -36
- package/scss/dropzone/_variables.scss +22 -0
- package/scss/editor/_layout.scss +1 -648
- package/scss/editor/_theme.scss +1 -103
- package/scss/editor/_variables.scss +24 -0
- package/scss/expansion-panel/_layout.scss +1 -82
- package/scss/expansion-panel/_theme.scss +1 -44
- package/scss/expansion-panel/_variables.scss +25 -0
- package/scss/fab/_layout.scss +1 -145
- package/scss/fab/_theme.scss +1 -128
- package/scss/fab/_variables.scss +50 -0
- package/scss/filemanager/_layout.scss +1 -238
- package/scss/filemanager/_theme.scss +1 -112
- package/scss/filemanager/_variables.scss +60 -0
- package/scss/filter/_layout.scss +1 -93
- package/scss/filter/_theme.scss +1 -32
- package/scss/filter/_variables.scss +11 -0
- package/scss/floating-label/_layout.scss +1 -90
- package/scss/floating-label/_theme.scss +1 -30
- package/scss/floating-label/_variables.scss +18 -0
- package/scss/forms/_layout.scss +1 -379
- package/scss/forms/_theme.scss +1 -39
- package/scss/forms/_variables.scss +54 -0
- package/scss/gantt/_layout.scss +1 -921
- package/scss/gantt/_theme.scss +1 -279
- package/scss/gantt/_variables.scss +78 -0
- package/scss/grid/_layout.scss +1 -1374
- package/scss/grid/_theme.scss +1 -450
- package/scss/grid/_variables.scss +146 -0
- package/scss/gridlayout/_layout.scss +1 -6
- package/scss/gridlayout/_theme.scss +1 -6
- package/scss/icons/_layout.scss +1 -80
- package/scss/icons/_theme.scss +1 -1
- package/scss/icons/_variables.scss +13 -0
- package/scss/imageeditor/_layout.scss +1 -160
- package/scss/imageeditor/_theme.scss +1 -54
- package/scss/imageeditor/_variables.scss +34 -0
- package/scss/input/_layout.scss +1 -586
- package/scss/input/_theme.scss +1 -512
- package/scss/input/_variables.scss +139 -7
- package/scss/list/_layout.scss +1 -246
- package/scss/list/_theme.scss +1 -95
- package/scss/list/_variables.scss +87 -0
- package/scss/listbox/_layout.scss +1 -86
- package/scss/listbox/_theme.scss +1 -20
- package/scss/listbox/_variables.scss +18 -0
- package/scss/listgroup/_layout.scss +1 -191
- package/scss/listgroup/_theme.scss +1 -15
- package/scss/listgroup/_variables.scss +13 -0
- package/scss/listview/_layout.scss +1 -141
- package/scss/listview/_theme.scss +1 -43
- package/scss/listview/_variables.scss +21 -0
- package/scss/loader/_layout.scss +2 -582
- package/scss/loader/_theme.scss +1 -17
- package/scss/loader/_variables.scss +40 -0
- package/scss/map/_layout.scss +1 -138
- package/scss/map/_theme.scss +1 -34
- package/scss/map/_variables.scss +24 -0
- package/scss/maskedtextbox/_layout.scss +1 -6
- package/scss/maskedtextbox/_theme.scss +1 -6
- package/scss/mediaplayer/_layout.scss +1 -105
- package/scss/mediaplayer/_theme.scss +1 -23
- package/scss/mediaplayer/_variables.scss +16 -0
- package/scss/menu/_layout.scss +1 -320
- package/scss/menu/_theme.scss +1 -140
- package/scss/menu/_variables.scss +91 -0
- package/scss/menu-button/_layout.scss +1 -32
- package/scss/menu-button/_theme.scss +1 -6
- package/scss/menu-button/_variables.scss +4 -0
- package/scss/messagebox/_layout.scss +1 -23
- package/scss/messagebox/_theme.scss +1 -25
- package/scss/messagebox/_variables.scss +14 -0
- package/scss/multiselect/_layout.scss +1 -6
- package/scss/multiselect/_theme.scss +1 -6
- package/scss/no-data/_layout.scss +1 -22
- package/scss/no-data/_theme.scss +1 -10
- package/scss/no-data/_variables.scss +5 -0
- package/scss/notification/_functions.scss +17 -0
- package/scss/notification/_layout.scss +1 -73
- package/scss/notification/_theme.scss +1 -27
- package/scss/notification/_variables.scss +19 -14
- package/scss/numerictextbox/_layout.scss +1 -10
- package/scss/numerictextbox/_theme.scss +1 -6
- package/scss/orgchart/_layout.scss +1 -112
- package/scss/orgchart/_theme.scss +1 -53
- package/scss/orgchart/_variables.scss +47 -0
- package/scss/otp/_layout.scss +1 -37
- package/scss/otp/_theme.scss +1 -8
- package/scss/otp/_variables.scss +16 -0
- package/scss/overlay/_layout.scss +1 -16
- package/scss/overlay/_theme.scss +1 -17
- package/scss/overlay/_variables.scss +6 -0
- package/scss/pager/_layout.scss +1 -186
- package/scss/pager/_theme.scss +1 -21
- package/scss/pager/_variables.scss +48 -0
- package/scss/panel/_layout.scss +1 -29
- package/scss/panel/_theme.scss +1 -22
- package/scss/panel/_variables.scss +13 -0
- package/scss/panelbar/_layout.scss +1 -141
- package/scss/panelbar/_theme.scss +1 -209
- package/scss/panelbar/_variables.scss +86 -0
- package/scss/pdf-viewer/_layout.scss +1 -332
- package/scss/pdf-viewer/_theme.scss +1 -89
- package/scss/pdf-viewer/_variables.scss +43 -3
- package/scss/pivotgrid/_layout.scss +1 -654
- package/scss/pivotgrid/_theme.scss +1 -245
- package/scss/pivotgrid/_variables.scss +87 -0
- package/scss/popover/_layout.scss +1 -93
- package/scss/popover/_theme.scss +1 -41
- package/scss/popover/_variables.scss +29 -0
- package/scss/popup/_layout.scss +1 -79
- package/scss/popup/_theme.scss +1 -19
- package/scss/popup/_variables.scss +15 -0
- package/scss/progressbar/_layout.scss +1 -244
- package/scss/progressbar/_theme.scss +1 -52
- package/scss/progressbar/_variables.scss +25 -0
- package/scss/prompt/_layout.scss +1 -73
- package/scss/prompt/_theme.scss +1 -39
- package/scss/prompt/_variables.scss +23 -0
- package/scss/radio/_layout.scss +1 -226
- package/scss/radio/_theme.scss +1 -91
- package/scss/radio/_variables.scss +48 -0
- package/scss/rating/_layout.scss +1 -93
- package/scss/rating/_theme.scss +1 -43
- package/scss/rating/_variables.scss +19 -0
- package/scss/responsivepanel/_layout.scss +1 -47
- package/scss/responsivepanel/_theme.scss +1 -5
- package/scss/ripple/_layout.scss +1 -51
- package/scss/ripple/_theme.scss +1 -5
- package/scss/scheduler/_layout.scss +1 -1040
- package/scss/scheduler/_theme.scss +1 -236
- package/scss/scheduler/_variables.scss +82 -0
- package/scss/scroller/_layout.scss +1 -85
- package/scss/scroller/_theme.scss +1 -7
- package/scss/scrollview/_layout.scss +1 -165
- package/scss/scrollview/_theme.scss +1 -91
- package/scss/scrollview/_variables.scss +31 -0
- package/scss/searchbox/_layout.scss +1 -6
- package/scss/searchbox/_theme.scss +1 -6
- package/scss/signature/_layout.scss +1 -74
- package/scss/signature/_theme.scss +1 -13
- package/scss/signature/_variables.scss +27 -0
- package/scss/skeleton/_layout.scss +1 -92
- package/scss/skeleton/_theme.scss +1 -26
- package/scss/skeleton/_variables.scss +9 -0
- package/scss/slider/_layout.scss +1 -401
- package/scss/slider/_theme.scss +1 -80
- package/scss/slider/_variables.scss +40 -0
- package/scss/split-button/_layout.scss +1 -36
- package/scss/split-button/_theme.scss +1 -12
- package/scss/split-button/_variables.scss +12 -0
- package/scss/splitter/_layout.scss +1 -191
- package/scss/splitter/_theme.scss +1 -38
- package/scss/splitter/_variables.scss +22 -0
- package/scss/spreadsheet/_layout.scss +1 -905
- package/scss/spreadsheet/_theme.scss +1 -211
- package/scss/spreadsheet/_variables.scss +86 -0
- package/scss/stacklayout/_layout.scss +1 -5
- package/scss/stacklayout/_theme.scss +1 -5
- package/scss/stepper/_layout.scss +1 -291
- package/scss/stepper/_theme.scss +1 -238
- package/scss/stepper/_variables.scss +72 -0
- package/scss/switch/_layout.scss +1 -159
- package/scss/switch/_theme.scss +1 -169
- package/scss/switch/_variables.scss +59 -0
- package/scss/table/_layout.scss +1 -288
- package/scss/table/_theme.scss +1 -88
- package/scss/table/_variables.scss +43 -0
- package/scss/tabstrip/_layout.scss +1 -494
- package/scss/tabstrip/_theme.scss +1 -151
- package/scss/tabstrip/_variables.scss +65 -0
- package/scss/taskboard/_layout.scss +1 -217
- package/scss/taskboard/_theme.scss +1 -111
- package/scss/taskboard/_variables.scss +78 -0
- package/scss/textarea/_layout.scss +1 -8
- package/scss/textarea/_theme.scss +2 -7
- package/scss/textbox/_layout.scss +1 -6
- package/scss/textbox/_theme.scss +1 -6
- package/scss/tilelayout/_layout.scss +1 -47
- package/scss/tilelayout/_theme.scss +1 -24
- package/scss/tilelayout/_variables.scss +13 -0
- package/scss/time-marker/_layout.scss +1 -19
- package/scss/time-marker/_theme.scss +1 -21
- package/scss/time-marker/_variables.scss +5 -0
- package/scss/timedurationpicker/_layout.scss +1 -12
- package/scss/timedurationpicker/_theme.scss +1 -6
- package/scss/timeline/_layout.scss +1 -445
- package/scss/timeline/_theme.scss +1 -72
- package/scss/timeline/_variables.scss +53 -0
- package/scss/timepicker/_layout.scss +1 -12
- package/scss/timepicker/_theme.scss +1 -6
- package/scss/timeselector/_layout.scss +1 -260
- package/scss/timeselector/_theme.scss +1 -76
- package/scss/timeselector/_variables.scss +41 -0
- package/scss/toolbar/_layout.scss +1 -352
- package/scss/toolbar/_theme.scss +1 -192
- package/scss/toolbar/_variables.scss +50 -0
- package/scss/tooltip/_functions.scss +17 -0
- package/scss/tooltip/_layout.scss +1 -116
- package/scss/tooltip/_theme.scss +1 -36
- package/scss/tooltip/_variables.scss +20 -14
- package/scss/treelist/_layout.scss +1 -109
- package/scss/treelist/_theme.scss +1 -13
- package/scss/treelist/_variables.scss +5 -0
- package/scss/treeview/_layout.scss +1 -199
- package/scss/treeview/_theme.scss +1 -82
- package/scss/treeview/_variables.scss +52 -0
- package/scss/typography/_layout.scss +1 -124
- package/scss/typography/_theme.scss +1 -24
- package/scss/typography/_variables.scss +80 -0
- package/scss/upload/_layout.scss +1 -248
- package/scss/upload/_theme.scss +1 -105
- package/scss/upload/_variables.scss +35 -0
- package/scss/validator/_layout.scss +1 -25
- package/scss/validator/_theme.scss +1 -6
- package/scss/virtual-scroller/_layout.scss +1 -35
- package/scss/virtual-scroller/_theme.scss +1 -6
- package/scss/window/_layout.scss +1 -173
- package/scss/window/_theme.scss +1 -41
- package/scss/window/_variables.scss +33 -0
- package/scss/wizard/_layout.scss +1 -124
- package/scss/wizard/_theme.scss +1 -12
- package/scss/wizard/_variables.scss +13 -0
|
@@ -1,127 +1,4 @@
|
|
|
1
|
-
@use "
|
|
2
|
-
@use "../core/_index.scss" as *;
|
|
3
|
-
@use "../_variables.scss" as *;
|
|
4
|
-
@use "./_variables.scss" as *;
|
|
5
|
-
|
|
6
|
-
@mixin kendo-typography--layout-base() {
|
|
7
|
-
|
|
8
|
-
@if $kendo-enable-typography {
|
|
9
|
-
body { @extend .k-body !optional; }
|
|
10
|
-
h1 { @extend .k-h1 !optional; }
|
|
11
|
-
h2 { @extend .k-h2 !optional; }
|
|
12
|
-
h3 { @extend .k-h3 !optional; }
|
|
13
|
-
h4 { @extend .k-h4 !optional; }
|
|
14
|
-
h5 { @extend .k-h5 !optional; }
|
|
15
|
-
h6 { @extend .k-h6 !optional; }
|
|
16
|
-
p { @extend .k-paragraph !optional; }
|
|
17
|
-
pre { @extend .k-pre !optional; }
|
|
18
|
-
code { @extend .k-code !optional; }
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
// TODO delete k-typography class for R1 2022
|
|
22
|
-
.k-body,
|
|
23
|
-
.k-typography {
|
|
24
|
-
@include typography(
|
|
25
|
-
var( --kendo-font-size, inherit ),
|
|
26
|
-
var( --kendo-font-family, inherit ),
|
|
27
|
-
var( --kendo-line-height, normal ),
|
|
28
|
-
var( --kendo-font-weight-normal, normal ),
|
|
29
|
-
var( --kendo-letter-spacing, normal )
|
|
30
|
-
);
|
|
31
|
-
margin: 0;
|
|
32
|
-
|
|
33
|
-
p {
|
|
34
|
-
margin: $kendo-paragraph-margin;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
// Headings
|
|
39
|
-
@each $heading, $heading-props in $kendo-headings {
|
|
40
|
-
$_font-size: map.get( $heading-props, font-size );
|
|
41
|
-
$_font-family: map.get( $heading-props, font-family );
|
|
42
|
-
$_line-height: map.get( $heading-props, line-height );
|
|
43
|
-
$_font-weight: map.get( $heading-props, font-weight );
|
|
44
|
-
$_letter-spacing: map.get( $heading-props, letter-spacing );
|
|
45
|
-
$_margin: map.get( $heading-props, margin );
|
|
46
|
-
|
|
47
|
-
.k-#{$heading} {
|
|
48
|
-
@include typography(
|
|
49
|
-
var( --kendo-#{$heading}-font-size, #{$_font-size} ),
|
|
50
|
-
var( --kendo-#{$heading}-font-family, #{$_font-family} ),
|
|
51
|
-
var( --kendo-#{$heading}-line-height, #{$_line-height} ),
|
|
52
|
-
var( --kendo-#{$heading}-font-weight, #{$_font-weight} ),
|
|
53
|
-
var( --kendo-#{$heading}-letter-spacing, #{$_letter-spacing} ),
|
|
54
|
-
);
|
|
55
|
-
margin: var( --kendo-#{$heading}-margin, #{$_margin} );
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// Paragraph
|
|
60
|
-
.k-paragraph {
|
|
61
|
-
@include typography(
|
|
62
|
-
var( --kendo-paragraph-font-size, #{$kendo-paragraph-font-size}),
|
|
63
|
-
var( --kendo-paragraph-font-family, #{$kendo-paragraph-font-family}),
|
|
64
|
-
var( --kendo-paragraph-line-height, #{$kendo-paragraph-line-height}),
|
|
65
|
-
var( --kendo-paragraph-font-weight, #{$kendo-paragraph-font-weight}),
|
|
66
|
-
var( --kendo-paragraph-letter-spacing, #{$kendo-paragraph-letter-spacing})
|
|
67
|
-
);
|
|
68
|
-
margin: var( --kendo-paragraph-margin, #{$kendo-paragraph-margin});
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
// Code snippet
|
|
72
|
-
.k-pre,
|
|
73
|
-
.k-code {
|
|
74
|
-
@include typography(
|
|
75
|
-
var( --kendo-code-font-size, #{$kendo-code-font-size}),
|
|
76
|
-
var( --kendo-code-font-family, #{$kendo-code-font-family}),
|
|
77
|
-
var( --kendo-code-line-height, #{$kendo-code-line-height}),
|
|
78
|
-
var( --kendo-code-font-weight, #{$kendo-code-font-weight}),
|
|
79
|
-
var( --kendo-code-letter-spacing, #{$kendo-code-letter-spacing})
|
|
80
|
-
);
|
|
81
|
-
border-style: solid;
|
|
82
|
-
border-width: $kendo-code-border-width;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.k-pre {
|
|
86
|
-
padding-block: $kendo-pre-padding-y;
|
|
87
|
-
padding-inline: $kendo-pre-padding-x;
|
|
88
|
-
overflow: auto;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.k-pre > .k-code {
|
|
92
|
-
padding: 0;
|
|
93
|
-
border-width: 0;
|
|
94
|
-
border-color: transparent;
|
|
95
|
-
background-color: transparent;
|
|
96
|
-
font-family: inherit;
|
|
97
|
-
font-size: inherit;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.k-code {
|
|
101
|
-
padding-block: $kendo-code-padding-y;
|
|
102
|
-
padding-inline: $kendo-code-padding-x;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// Display
|
|
106
|
-
@each $display, $kendo-display-props in $kendo-display {
|
|
107
|
-
$_font-size: map.get( $kendo-display-props, font-size );
|
|
108
|
-
$_font-family: map.get( $kendo-display-props, font-family );
|
|
109
|
-
$_line-height: map.get( $kendo-display-props, line-height );
|
|
110
|
-
$_font-weight: map.get( $kendo-display-props, font-weight );
|
|
111
|
-
$_letter-spacing: map.get( $kendo-display-props, letter-spacing );
|
|
112
|
-
$_margin: map.get( $kendo-display-props, margin );
|
|
113
|
-
|
|
114
|
-
.k-display-#{$display} {
|
|
115
|
-
@include typography(
|
|
116
|
-
var( --kendo-display#{$display}-font-size, #{$_font-size} ),
|
|
117
|
-
var( --kendo-display#{$display}-font-family, #{$_font-family} ),
|
|
118
|
-
var( --kendo-display#{$display}-line-height, #{$_line-height} ),
|
|
119
|
-
var( --kendo-display#{$display}-font-weight, #{$_font-weight} ),
|
|
120
|
-
var( --kendo-display#{$display}-letter-spacing, #{$_letter-spacing} ),
|
|
121
|
-
);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
1
|
+
@use "@progress/kendo-theme-core/scss/components/typography/_layout.scss" as *;
|
|
125
2
|
|
|
126
3
|
|
|
127
4
|
@mixin kendo-typography--layout() {
|
|
@@ -1,27 +1,4 @@
|
|
|
1
|
-
@use "
|
|
2
|
-
@use "../core/mixins/index.import.scss" as *;
|
|
3
|
-
@use "./_variables.scss" as *;
|
|
4
|
-
|
|
5
|
-
@mixin kendo-typography--theme-base() {
|
|
6
|
-
|
|
7
|
-
.k-body {
|
|
8
|
-
@include fill(
|
|
9
|
-
$kendo-body-text,
|
|
10
|
-
$kendo-body-bg
|
|
11
|
-
);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// Code snippet
|
|
15
|
-
.k-pre,
|
|
16
|
-
.k-code {
|
|
17
|
-
@include fill(
|
|
18
|
-
$kendo-code-text,
|
|
19
|
-
$kendo-code-bg,
|
|
20
|
-
$kendo-code-border
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
}
|
|
1
|
+
@use "@progress/kendo-theme-core/scss/components/typography/_theme.scss" as *;
|
|
25
2
|
|
|
26
3
|
|
|
27
4
|
@mixin kendo-typography--theme() {
|
|
@@ -336,3 +336,83 @@ $kendo-display: (
|
|
|
336
336
|
letter-spacing: $kendo-display4-letter-spacing
|
|
337
337
|
)
|
|
338
338
|
) !default;
|
|
339
|
+
|
|
340
|
+
@forward "@progress/kendo-theme-core/scss/components/typography/_variables.scss" with (
|
|
341
|
+
$kendo-h1-font-size: $kendo-h1-font-size,
|
|
342
|
+
$kendo-h2-font-size: $kendo-h2-font-size,
|
|
343
|
+
$kendo-h3-font-size: $kendo-h3-font-size,
|
|
344
|
+
$kendo-h4-font-size: $kendo-h4-font-size,
|
|
345
|
+
$kendo-h5-font-size: $kendo-h5-font-size,
|
|
346
|
+
$kendo-h6-font-size: $kendo-h6-font-size,
|
|
347
|
+
$kendo-h1-font-family: $kendo-h1-font-family,
|
|
348
|
+
$kendo-h2-font-family: $kendo-h2-font-family,
|
|
349
|
+
$kendo-h3-font-family: $kendo-h3-font-family,
|
|
350
|
+
$kendo-h4-font-family: $kendo-h4-font-family,
|
|
351
|
+
$kendo-h5-font-family: $kendo-h5-font-family,
|
|
352
|
+
$kendo-h6-font-family: $kendo-h6-font-family,
|
|
353
|
+
$kendo-h1-line-height: $kendo-h1-line-height,
|
|
354
|
+
$kendo-h2-line-height: $kendo-h2-line-height,
|
|
355
|
+
$kendo-h3-line-height: $kendo-h3-line-height,
|
|
356
|
+
$kendo-h4-line-height: $kendo-h4-line-height,
|
|
357
|
+
$kendo-h5-line-height: $kendo-h5-line-height,
|
|
358
|
+
$kendo-h6-line-height: $kendo-h6-line-height,
|
|
359
|
+
$kendo-h1-font-weight: $kendo-h1-font-weight,
|
|
360
|
+
$kendo-h2-font-weight: $kendo-h2-font-weight,
|
|
361
|
+
$kendo-h3-font-weight: $kendo-h3-font-weight,
|
|
362
|
+
$kendo-h4-font-weight: $kendo-h4-font-weight,
|
|
363
|
+
$kendo-h5-font-weight: $kendo-h5-font-weight,
|
|
364
|
+
$kendo-h6-font-weight: $kendo-h6-font-weight,
|
|
365
|
+
$kendo-h1-letter-spacing: $kendo-h1-letter-spacing,
|
|
366
|
+
$kendo-h2-letter-spacing: $kendo-h2-letter-spacing,
|
|
367
|
+
$kendo-h3-letter-spacing: $kendo-h3-letter-spacing,
|
|
368
|
+
$kendo-h4-letter-spacing: $kendo-h4-letter-spacing,
|
|
369
|
+
$kendo-h5-letter-spacing: $kendo-h5-letter-spacing,
|
|
370
|
+
$kendo-h6-letter-spacing: $kendo-h6-letter-spacing,
|
|
371
|
+
$kendo-h1-margin: $kendo-h1-margin,
|
|
372
|
+
$kendo-h2-margin: $kendo-h2-margin,
|
|
373
|
+
$kendo-h3-margin: $kendo-h3-margin,
|
|
374
|
+
$kendo-h4-margin: $kendo-h4-margin,
|
|
375
|
+
$kendo-h5-margin: $kendo-h5-margin,
|
|
376
|
+
$kendo-h6-margin: $kendo-h6-margin,
|
|
377
|
+
$kendo-headings: $kendo-headings,
|
|
378
|
+
$kendo-paragraph-margin: $kendo-paragraph-margin,
|
|
379
|
+
$kendo-paragraph-font-size: $kendo-paragraph-font-size,
|
|
380
|
+
$kendo-paragraph-font-family: $kendo-paragraph-font-family,
|
|
381
|
+
$kendo-paragraph-line-height: $kendo-paragraph-line-height,
|
|
382
|
+
$kendo-paragraph-font-weight: $kendo-paragraph-font-weight,
|
|
383
|
+
$kendo-paragraph-letter-spacing: $kendo-paragraph-letter-spacing,
|
|
384
|
+
$kendo-code-font-size: $kendo-code-font-size,
|
|
385
|
+
$kendo-code-font-family: $kendo-code-font-family,
|
|
386
|
+
$kendo-code-line-height: $kendo-code-line-height,
|
|
387
|
+
$kendo-code-font-weight: $kendo-code-font-weight,
|
|
388
|
+
$kendo-code-letter-spacing: $kendo-code-letter-spacing,
|
|
389
|
+
$kendo-code-padding-x: $kendo-code-padding-x,
|
|
390
|
+
$kendo-code-padding-y: $kendo-code-padding-y,
|
|
391
|
+
$kendo-pre-padding-x: $kendo-pre-padding-x,
|
|
392
|
+
$kendo-pre-padding-y: $kendo-pre-padding-y,
|
|
393
|
+
$kendo-code-border-width: $kendo-code-border-width,
|
|
394
|
+
$kendo-code-bg: $kendo-code-bg,
|
|
395
|
+
$kendo-code-text: $kendo-code-text,
|
|
396
|
+
$kendo-code-border: $kendo-code-border,
|
|
397
|
+
$kendo-display1-font-size: $kendo-display1-font-size,
|
|
398
|
+
$kendo-display2-font-size: $kendo-display2-font-size,
|
|
399
|
+
$kendo-display3-font-size: $kendo-display3-font-size,
|
|
400
|
+
$kendo-display4-font-size: $kendo-display4-font-size,
|
|
401
|
+
$kendo-display1-font-family: $kendo-display1-font-family,
|
|
402
|
+
$kendo-display2-font-family: $kendo-display2-font-family,
|
|
403
|
+
$kendo-display3-font-family: $kendo-display3-font-family,
|
|
404
|
+
$kendo-display4-font-family: $kendo-display4-font-family,
|
|
405
|
+
$kendo-display1-line-height: $kendo-display1-line-height,
|
|
406
|
+
$kendo-display2-line-height: $kendo-display2-line-height,
|
|
407
|
+
$kendo-display3-line-height: $kendo-display3-line-height,
|
|
408
|
+
$kendo-display4-line-height: $kendo-display4-line-height,
|
|
409
|
+
$kendo-display1-font-weight: $kendo-display1-font-weight,
|
|
410
|
+
$kendo-display2-font-weight: $kendo-display2-font-weight,
|
|
411
|
+
$kendo-display3-font-weight: $kendo-display3-font-weight,
|
|
412
|
+
$kendo-display4-font-weight: $kendo-display4-font-weight,
|
|
413
|
+
$kendo-display1-letter-spacing: $kendo-display1-letter-spacing,
|
|
414
|
+
$kendo-display2-letter-spacing: $kendo-display2-letter-spacing,
|
|
415
|
+
$kendo-display3-letter-spacing: $kendo-display3-letter-spacing,
|
|
416
|
+
$kendo-display4-letter-spacing: $kendo-display4-letter-spacing,
|
|
417
|
+
$kendo-display: $kendo-display
|
|
418
|
+
);
|
package/scss/upload/_layout.scss
CHANGED
|
@@ -1,251 +1,4 @@
|
|
|
1
|
-
@use "
|
|
2
|
-
@use "./variables.scss" as *;
|
|
3
|
-
@use "../icons/_variables.scss" as *;
|
|
4
|
-
|
|
5
|
-
@mixin kendo-upload--layout-base() {
|
|
6
|
-
|
|
7
|
-
.k-upload {
|
|
8
|
-
border-width: $kendo-upload-border-width;
|
|
9
|
-
border-style: solid;
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
outline: 0;
|
|
12
|
-
font-family: $kendo-upload-font-family;
|
|
13
|
-
font-size: $kendo-upload-font-size;
|
|
14
|
-
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-block: $kendo-upload-dropzone-padding-y;
|
|
34
|
-
padding-inline: $kendo-upload-dropzone-padding-x;
|
|
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: $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: $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: $kendo-upload-item-padding-y $kendo-upload-item-padding-x calc(#{$kendo-upload-item-padding-y} + #{$kendo-upload-progress-thickness});
|
|
107
|
-
border-width: 0 0 1px;
|
|
108
|
-
border-style: solid;
|
|
109
|
-
outline: none;
|
|
110
|
-
display: flex;
|
|
111
|
-
align-items: flex-start;
|
|
112
|
-
position: relative;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.k-file:last-child {
|
|
116
|
-
border-width: 0;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.k-filename {
|
|
120
|
-
margin-left: k-spacing(4);
|
|
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-block: 0;
|
|
130
|
-
margin-inline: $kendo-upload-icon-spacing;
|
|
131
|
-
font-weight: normal;
|
|
132
|
-
vertical-align: middle;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
~ .k-clear-selected,
|
|
136
|
-
~ .k-upload-selected {
|
|
137
|
-
margin-top: $kendo-upload-files-list-margin;
|
|
138
|
-
border-width: 0;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
~ .k-upload-selected {
|
|
142
|
-
border-left-width: 1px;
|
|
143
|
-
border-left-style: solid;
|
|
144
|
-
margin-left: -1px;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.k-file-name,
|
|
148
|
-
.k-file-size,
|
|
149
|
-
.k-file-validation-message,
|
|
150
|
-
.k-file-summary {
|
|
151
|
-
display: block;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.k-file-name {
|
|
155
|
-
overflow: hidden;
|
|
156
|
-
text-overflow: ellipsis;
|
|
157
|
-
white-space: nowrap;
|
|
158
|
-
position: relative;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.k-file-size,
|
|
162
|
-
.k-file-summary,
|
|
163
|
-
.k-file-validation-message {
|
|
164
|
-
font-size: $kendo-upload-validation-font-size;
|
|
165
|
-
line-height: $kendo-upload-validation-line-height;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
.k-file-icon-wrapper {
|
|
170
|
-
|
|
171
|
-
.k-file-state {
|
|
172
|
-
position: absolute;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.k-file-state {
|
|
177
|
-
visibility: hidden;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.k-upload-files .k-file-info {
|
|
182
|
-
min-height: $kendo-icon-size-xxl;
|
|
183
|
-
display: block;
|
|
184
|
-
overflow: hidden;
|
|
185
|
-
flex: 1 0 0;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.k-multiple-files-wrapper,
|
|
189
|
-
.k-file-single > .k-file-info {
|
|
190
|
-
margin-inline-start: $kendo-upload-file-info-margin;
|
|
191
|
-
min-height: $kendo-icon-size-xxl;
|
|
192
|
-
display: block;
|
|
193
|
-
overflow: hidden;
|
|
194
|
-
flex: 1 0 0;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.k-multiple-files-wrapper {
|
|
198
|
-
.k-file-info {
|
|
199
|
-
margin-bottom: $kendo-upload-multiple-items-spacing;
|
|
200
|
-
display: block;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.k-file-summary {
|
|
204
|
-
margin-top: calc( calc( #{$kendo-upload-multiple-items-spacing} / 3) * -1 );
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.k-progressbar {
|
|
209
|
-
--kendo-progressbar-height: #{$kendo-upload-progress-thickness};
|
|
210
|
-
position: absolute;
|
|
211
|
-
left: $kendo-upload-item-padding-x;
|
|
212
|
-
right: $kendo-upload-item-padding-x;
|
|
213
|
-
bottom: calc( #{$kendo-upload-item-padding-y} / 2 );
|
|
214
|
-
width: auto;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
// Action buttons
|
|
218
|
-
.k-actions {
|
|
219
|
-
border-top-width: 1px;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.k-upload-button-wrap {
|
|
225
|
-
position: relative;
|
|
226
|
-
direction: ltr;
|
|
227
|
-
|
|
228
|
-
input {
|
|
229
|
-
// font should not depend on outside styles, otherwise upload may break
|
|
230
|
-
font: 170px monospace !important; // stylelint-disable-line declaration-no-important
|
|
231
|
-
margin: 0;
|
|
232
|
-
padding: 0;
|
|
233
|
-
width: 100%;
|
|
234
|
-
height: 100%;
|
|
235
|
-
opacity: 0;
|
|
236
|
-
cursor: pointer;
|
|
237
|
-
position: absolute;
|
|
238
|
-
bottom: 0;
|
|
239
|
-
right: 0;
|
|
240
|
-
z-index: 1;
|
|
241
|
-
}
|
|
242
|
-
input[disabled],
|
|
243
|
-
input.k-disabled {
|
|
244
|
-
visibility: hidden;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
}
|
|
1
|
+
@use "@progress/kendo-theme-core/scss/components/upload/_layout.scss" as *;
|
|
249
2
|
|
|
250
3
|
|
|
251
4
|
@mixin kendo-upload--layout() {
|
package/scss/upload/_theme.scss
CHANGED
|
@@ -1,108 +1,4 @@
|
|
|
1
|
-
@use "
|
|
2
|
-
@use "./variables.scss" as *;
|
|
3
|
-
|
|
4
|
-
@mixin kendo-upload--theme-base() {
|
|
5
|
-
|
|
6
|
-
.k-upload {
|
|
7
|
-
@include fill(
|
|
8
|
-
$kendo-upload-text,
|
|
9
|
-
$kendo-upload-bg,
|
|
10
|
-
$kendo-upload-border
|
|
11
|
-
);
|
|
12
|
-
|
|
13
|
-
.k-dropzone,
|
|
14
|
-
.k-upload-dropzone {
|
|
15
|
-
@include fill(
|
|
16
|
-
$kendo-upload-dropzone-text,
|
|
17
|
-
$kendo-upload-dropzone-bg,
|
|
18
|
-
$kendo-upload-dropzone-border
|
|
19
|
-
);
|
|
20
|
-
|
|
21
|
-
&.k-hover {
|
|
22
|
-
background-color: $kendo-upload-dropzone-hover-bg;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.k-dropzone-hint {
|
|
26
|
-
color: $kendo-upload-status-text;
|
|
27
|
-
opacity: $kendo-upload-status-text-opacity;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.k-upload-files,
|
|
33
|
-
.k-file {
|
|
34
|
-
border-color: $kendo-upload-border;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.k-file {
|
|
38
|
-
&.k-focus {
|
|
39
|
-
@include focus-indicator( $indicator: ( inset $kendo-upload-focus-shadow ), $inset: true );
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.k-upload-action.k-focus {
|
|
43
|
-
@include focus-indicator( $kendo-upload-focus-shadow );
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.k-upload-status {
|
|
49
|
-
color: $kendo-upload-status-text;
|
|
50
|
-
opacity: $kendo-upload-status-text-opacity;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
// Upload status: uploading
|
|
54
|
-
.k-file-progress {
|
|
55
|
-
.k-progressbar .k-selected {
|
|
56
|
-
background-color: $kendo-upload-progress-bg;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
// Upload status: success
|
|
62
|
-
.k-file-success {
|
|
63
|
-
.k-file-validation-message {
|
|
64
|
-
color: $kendo-upload-success-text;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.k-progressbar .k-selected {
|
|
68
|
-
background-color: $kendo-upload-success-bg;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// Upload status: error
|
|
73
|
-
.k-file-error {
|
|
74
|
-
.k-file-validation-message {
|
|
75
|
-
color: $kendo-upload-error-text;
|
|
76
|
-
}
|
|
77
|
-
.k-progressbar .k-selected {
|
|
78
|
-
background-color: $kendo-upload-error-bg;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.k-file-icon-wrapper {
|
|
83
|
-
color: $kendo-upload-icon-color;
|
|
84
|
-
border-color: $kendo-upload-icon-color;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.k-file-size,
|
|
88
|
-
.k-file-validation-message,
|
|
89
|
-
.k-file-summary {
|
|
90
|
-
color: $kendo-subtle-text;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.k-multiple-files-wrapper .k-file-summary {
|
|
94
|
-
color: $kendo-upload-text;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Invalid,
|
|
98
|
-
&.k-invalid,
|
|
99
|
-
&.ng-invalid.ng-touched,
|
|
100
|
-
&.ng-invalid.ng-dirty {
|
|
101
|
-
border-color: $kendo-invalid-border;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
}
|
|
1
|
+
@use "@progress/kendo-theme-core/scss/components/upload/_theme.scss" as *;
|
|
106
2
|
|
|
107
3
|
|
|
108
4
|
@mixin kendo-upload--theme() {
|
|
@@ -107,3 +107,38 @@ $kendo-upload-focus-shadow: 0 0 0 2px rgba(0, 0, 0, .13) !default;
|
|
|
107
107
|
$kendo-upload-files-list-margin: calc( -1 * #{k-spacing(1)} ) !default;
|
|
108
108
|
|
|
109
109
|
$kendo-upload-file-info-margin: k-spacing(2) !default;
|
|
110
|
+
|
|
111
|
+
@forward "@progress/kendo-theme-core/scss/components/upload/_variables.scss" with (
|
|
112
|
+
$kendo-upload-border-width: $kendo-upload-border-width,
|
|
113
|
+
$kendo-upload-font-family: $kendo-upload-font-family,
|
|
114
|
+
$kendo-upload-font-size: $kendo-upload-font-size,
|
|
115
|
+
$kendo-upload-line-height: $kendo-upload-line-height,
|
|
116
|
+
$kendo-upload-max-height: $kendo-upload-max-height,
|
|
117
|
+
$kendo-upload-text: $kendo-upload-text,
|
|
118
|
+
$kendo-upload-bg: $kendo-upload-bg,
|
|
119
|
+
$kendo-upload-border: $kendo-upload-border,
|
|
120
|
+
$kendo-upload-dropzone-padding-x: $kendo-upload-dropzone-padding-x,
|
|
121
|
+
$kendo-upload-dropzone-padding-y: $kendo-upload-dropzone-padding-y,
|
|
122
|
+
$kendo-upload-dropzone-text: $kendo-upload-dropzone-text,
|
|
123
|
+
$kendo-upload-dropzone-bg: $kendo-upload-dropzone-bg,
|
|
124
|
+
$kendo-upload-dropzone-border: $kendo-upload-dropzone-border,
|
|
125
|
+
$kendo-upload-dropzone-hover-bg: $kendo-upload-dropzone-hover-bg,
|
|
126
|
+
$kendo-upload-status-text: $kendo-upload-status-text,
|
|
127
|
+
$kendo-upload-status-text-opacity: $kendo-upload-status-text-opacity,
|
|
128
|
+
$kendo-upload-item-padding-x: $kendo-upload-item-padding-x,
|
|
129
|
+
$kendo-upload-item-padding-y: $kendo-upload-item-padding-y,
|
|
130
|
+
$kendo-upload-multiple-items-spacing: $kendo-upload-multiple-items-spacing,
|
|
131
|
+
$kendo-upload-validation-font-size: $kendo-upload-validation-font-size,
|
|
132
|
+
$kendo-upload-validation-line-height: $kendo-upload-validation-line-height,
|
|
133
|
+
$kendo-upload-icon-spacing: $kendo-upload-icon-spacing,
|
|
134
|
+
$kendo-upload-icon-color: $kendo-upload-icon-color,
|
|
135
|
+
$kendo-upload-progress-thickness: $kendo-upload-progress-thickness,
|
|
136
|
+
$kendo-upload-progress-bg: $kendo-upload-progress-bg,
|
|
137
|
+
$kendo-upload-success-text: $kendo-upload-success-text,
|
|
138
|
+
$kendo-upload-success-bg: $kendo-upload-success-bg,
|
|
139
|
+
$kendo-upload-error-text: $kendo-upload-error-text,
|
|
140
|
+
$kendo-upload-error-bg: $kendo-upload-error-bg,
|
|
141
|
+
$kendo-upload-focus-shadow: $kendo-upload-focus-shadow,
|
|
142
|
+
$kendo-upload-files-list-margin: $kendo-upload-files-list-margin,
|
|
143
|
+
$kendo-upload-file-info-margin: $kendo-upload-file-info-margin
|
|
144
|
+
);
|
|
@@ -1,28 +1,4 @@
|
|
|
1
|
-
@use "
|
|
2
|
-
|
|
3
|
-
@mixin kendo-validator--layout-base() {
|
|
4
|
-
|
|
5
|
-
// Validator
|
|
6
|
-
.k-validator {}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
// Validator tooltip
|
|
10
|
-
.k-validator-tooltip {
|
|
11
|
-
margin-top: calc( #{$kendo-tooltip-callout-size} + #{$kendo-tooltip-border-width} );
|
|
12
|
-
width: auto;
|
|
13
|
-
white-space: normal;
|
|
14
|
-
display: flex;
|
|
15
|
-
align-items: center;
|
|
16
|
-
// NOTE: This works around popup / tooltip stacking issue
|
|
17
|
-
z-index: 9999;
|
|
18
|
-
|
|
19
|
-
// .k-callout-n { inset-inline-start: 16px; }
|
|
20
|
-
}
|
|
21
|
-
.k-grid .k-validator-tooltip {
|
|
22
|
-
max-width: 300px;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
}
|
|
1
|
+
@use "@progress/kendo-theme-core/scss/components/validator/_layout.scss" as *;
|
|
26
2
|
|
|
27
3
|
|
|
28
4
|
@mixin kendo-validator--layout() {
|