@progress/kendo-theme-default 5.6.1-dev.6 → 5.6.1-dev.7
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 +447 -262
- package/dist/all.scss +161 -38
- 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.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 +3 -3
- package/scss/adaptive/_layout.scss +2 -1
- package/scss/button/_variables.scss +1 -1
- package/scss/colorgradient/_layout.scss +1 -1
- package/scss/editor/_layout.scss +2 -1
- package/scss/grid/_layout.scss +3 -1
- package/scss/grid/_theme.scss +2 -0
- package/scss/notification/_layout.scss +4 -2
- package/scss/notification/_theme.scss +2 -1
- package/scss/pager/_layout.scss +4 -0
- package/scss/pdf-viewer/_index.scss +3 -0
- package/scss/pdf-viewer/_layout.scss +80 -28
- package/scss/pdf-viewer/_theme.scss +21 -0
- package/scss/pdf-viewer/_variables.scss +14 -1
- package/scss/scheduler/_layout.scss +2 -0
- package/scss/slider/_layout.scss +2 -2
- package/scss/toolbar/_layout.scss +6 -0
- package/scss/toolbar/_theme.scss +7 -0
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
border-width: $pdf-viewer-border-width;
|
|
5
5
|
border-style: solid;
|
|
6
6
|
box-sizing: border-box;
|
|
7
|
+
position: relative;
|
|
7
8
|
outline: 0;
|
|
8
9
|
font-family: $pdf-viewer-font-family;
|
|
9
10
|
font-size: $pdf-viewer-font-size;
|
|
@@ -34,11 +35,14 @@
|
|
|
34
35
|
|
|
35
36
|
|
|
36
37
|
// Canvas
|
|
37
|
-
.k-
|
|
38
|
+
.k-canvas {
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: column;
|
|
38
41
|
flex: 1 1 auto;
|
|
39
42
|
outline: none;
|
|
40
43
|
|
|
41
|
-
.k-enable-text-select
|
|
44
|
+
.k-enable-text-select,
|
|
45
|
+
&.k-enable-text-select {
|
|
42
46
|
-webkit-user-select: text;
|
|
43
47
|
-moz-user-select: text;
|
|
44
48
|
-ms-user-select: text;
|
|
@@ -46,16 +50,22 @@
|
|
|
46
50
|
cursor: text;
|
|
47
51
|
}
|
|
48
52
|
|
|
49
|
-
.k-enable-panning
|
|
53
|
+
.k-enable-panning,
|
|
54
|
+
&.k-enable-panning {
|
|
50
55
|
cursor: grab;
|
|
51
56
|
}
|
|
52
|
-
.k-enable-panning span::selection
|
|
57
|
+
.k-enable-panning span::selection,
|
|
58
|
+
&.k-enable-panning span::selection {
|
|
53
59
|
background-color: transparent;
|
|
54
60
|
}
|
|
55
61
|
}
|
|
56
62
|
|
|
57
63
|
|
|
58
|
-
//
|
|
64
|
+
// Pages
|
|
65
|
+
.k-pdf-viewer-pages {
|
|
66
|
+
flex: 1 1 auto;
|
|
67
|
+
}
|
|
68
|
+
|
|
59
69
|
.k-page {
|
|
60
70
|
position: relative;
|
|
61
71
|
margin: $pdf-viewer-page-spacing auto;
|
|
@@ -81,46 +91,88 @@
|
|
|
81
91
|
mark {
|
|
82
92
|
color: transparent;
|
|
83
93
|
}
|
|
94
|
+
|
|
95
|
+
.k-search-highlight-mark {
|
|
96
|
+
color: transparent;
|
|
97
|
+
}
|
|
84
98
|
}
|
|
85
99
|
}
|
|
86
|
-
}
|
|
87
100
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
padding: $pdf-viewer-search-dialog-padding;
|
|
91
|
-
|
|
92
|
-
.k-search-container {
|
|
101
|
+
.k-blank-page {
|
|
102
|
+
margin: 0;
|
|
93
103
|
display: flex;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
justify-content: flex-start;
|
|
104
|
+
flex-flow: column nowrap;
|
|
105
|
+
width: 100%;
|
|
106
|
+
height: 100%;
|
|
98
107
|
align-items: center;
|
|
108
|
+
justify-content: center;
|
|
109
|
+
background-color: inherit !important; // sass-lint:disable-line no-important
|
|
110
|
+
|
|
111
|
+
.k-upload,
|
|
112
|
+
.k-dropzone,
|
|
113
|
+
.k-dropzone-inner {
|
|
114
|
+
border: 0;
|
|
115
|
+
background: none;
|
|
116
|
+
}
|
|
99
117
|
|
|
100
|
-
.k-
|
|
101
|
-
|
|
102
|
-
margin-left: 0;
|
|
118
|
+
> .k-icon {
|
|
119
|
+
font-size: $pdf-viewer-icon-size;
|
|
103
120
|
}
|
|
121
|
+
}
|
|
104
122
|
|
|
105
|
-
|
|
106
|
-
width: 10em;
|
|
107
|
-
flex: none;
|
|
123
|
+
}
|
|
108
124
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
125
|
+
// Search
|
|
126
|
+
.k-pdf-viewer-search-dialog {
|
|
127
|
+
padding: 0 !important; // sass-lint:disable-line no-important
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.k-search-panel {
|
|
131
|
+
padding: $pdf-viewer-search-dialog-padding-y $pdf-viewer-search-dialog-padding-x;
|
|
132
|
+
display: flex;
|
|
133
|
+
gap: $pdf-viewer-search-dialog-spacing;
|
|
134
|
+
flex-flow: row nowrap;
|
|
135
|
+
flex: 0 0 auto;
|
|
136
|
+
justify-content: flex-start;
|
|
137
|
+
align-items: center;
|
|
138
|
+
|
|
139
|
+
.k-search-dialog-draghandle {
|
|
140
|
+
cursor: move;
|
|
141
|
+
margin-left: 0;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.k-textbox {
|
|
145
|
+
width: 10em;
|
|
146
|
+
flex: none;
|
|
113
147
|
|
|
114
|
-
.k-
|
|
115
|
-
|
|
148
|
+
.k-button {
|
|
149
|
+
border-width: 0;
|
|
116
150
|
}
|
|
117
151
|
}
|
|
152
|
+
|
|
153
|
+
.k-search-matches {
|
|
154
|
+
display: inline-flex;
|
|
155
|
+
gap: $pdf-viewer-search-panel-matches-spacing;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.k-pdf-viewer-canvas > .k-search-panel {
|
|
160
|
+
width: max-content;
|
|
161
|
+
margin-top: calc( (#{$kendo-button-calc-size} + #{$pdf-viewer-search-panel-border-width} + ( 2 * #{$pdf-viewer-search-dialog-padding-y} )) * -1 );
|
|
162
|
+
border-width: $pdf-viewer-search-panel-border-width;
|
|
163
|
+
border-style: solid;
|
|
164
|
+
border-radius: $pdf-viewer-search-panel-border-radius;
|
|
165
|
+
z-index: 10;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
// Alias
|
|
169
|
+
.k-search-container {
|
|
170
|
+
@extend .k-search-panel !optional;
|
|
118
171
|
}
|
|
119
172
|
|
|
120
173
|
|
|
121
174
|
// IE
|
|
122
175
|
.k-ie .k-pdf-viewer-search-dialog {
|
|
123
|
-
|
|
124
176
|
.k-search-container > * + * {
|
|
125
177
|
margin-left: $pdf-viewer-search-dialog-spacing;
|
|
126
178
|
}
|
|
@@ -40,12 +40,33 @@
|
|
|
40
40
|
@include box-shadow( $pdf-viewer-page-shadow );
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
.k-blank-page > .k-icon {
|
|
44
|
+
@include fill( $color: $pdf-viewer-icon-text );
|
|
45
|
+
}
|
|
46
|
+
|
|
43
47
|
|
|
44
48
|
// Search
|
|
45
49
|
.k-search-highlight {
|
|
46
50
|
background-color: $pdf-viewer-search-highlight-bg;
|
|
47
51
|
}
|
|
48
52
|
|
|
53
|
+
.k-search-highlight-mark {
|
|
54
|
+
@include fill( $bg: $pdf-viewer-search-highlight-mark-bg );
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.k-pdf-viewer-canvas > .k-search-panel {
|
|
60
|
+
@include fill(
|
|
61
|
+
$pdf-viewer-search-panel-text,
|
|
62
|
+
$pdf-viewer-search-panel-bg,
|
|
63
|
+
$pdf-viewer-search-panel-border,
|
|
64
|
+
);
|
|
65
|
+
@include box-shadow( $pdf-viewer-search-panel-shadow );
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.k-search-container {
|
|
69
|
+
@extend .k-search-panel !optional;
|
|
49
70
|
}
|
|
50
71
|
|
|
51
72
|
}
|
|
@@ -24,9 +24,22 @@ $pdf-viewer-page-text: $component-text !default;
|
|
|
24
24
|
$pdf-viewer-page-border: $component-border !default;
|
|
25
25
|
$pdf-viewer-page-shadow: 0 0 ($pdf-viewer-page-spacing / 2) $pdf-viewer-page-border !default;
|
|
26
26
|
|
|
27
|
-
$pdf-viewer-search-dialog-padding: $toolbar-padding-x !default;
|
|
27
|
+
$pdf-viewer-search-dialog-padding-x: $toolbar-padding-x !default;
|
|
28
|
+
$pdf-viewer-search-dialog-padding-y: calc( #{$toolbar-padding-x} * 2 ) !default;
|
|
28
29
|
$pdf-viewer-search-dialog-spacing: $toolbar-spacing !default;
|
|
29
30
|
|
|
31
|
+
$pdf-viewer-search-panel-border-width: 1px !default;
|
|
32
|
+
$pdf-viewer-search-panel-border-radius: 0 !default;
|
|
33
|
+
$pdf-viewer-search-panel-bg: $component-bg !default;
|
|
34
|
+
$pdf-viewer-search-panel-text: $component-text !default;
|
|
35
|
+
$pdf-viewer-search-panel-border: $component-border !default;
|
|
36
|
+
$pdf-viewer-search-panel-shadow: $window-shadow !default;
|
|
37
|
+
$pdf-viewer-search-panel-matches-spacing: $padding-x-sm !default;
|
|
38
|
+
|
|
30
39
|
$pdf-viewer-selection-line-height: $line-height-sm !default;
|
|
31
40
|
|
|
32
41
|
$pdf-viewer-search-highlight-bg: $body-text !default;
|
|
42
|
+
$pdf-viewer-search-highlight-mark-bg: yellow !default;
|
|
43
|
+
|
|
44
|
+
$pdf-viewer-icon-text: $dropzone-icon-text !default;
|
|
45
|
+
$pdf-viewer-icon-size: calc( #{$icon-size} * 3 ) !default;
|
package/scss/slider/_layout.scss
CHANGED