@progress/kendo-theme-default 6.8.0-dev.0 → 6.8.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.
@@ -0,0 +1,113 @@
1
+ /// The width of the border around the DockManager component.
2
+ /// @group dock-manager
3
+ $kendo-dock-manager-border-width: 1px !default;
4
+ /// The style of the border around the DockManager component.
5
+ /// @group dock-manager
6
+ $kendo-dock-manager-border-style: solid !default;
7
+ /// The color of the border around the DockManager component.
8
+ /// @group dock-manager
9
+ $kendo-dock-manager-border: $kendo-base-border !default;
10
+
11
+ /// The vertical padding of the pane header in the DockManager component.
12
+ /// @group dock-manager
13
+ $kendo-dock-manager-pane-header-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
14
+ /// The horizontal padding of the pane header in the DockManager component.
15
+ /// @group dock-manager
16
+ $kendo-dock-manager-pane-header-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
17
+ /// The width of the border around the pane header in the DockManager component.
18
+ /// @group dock-manager
19
+ $kendo-dock-manager-pane-header-border-width: $kendo-dock-manager-border-width !default;
20
+ /// The style of the border around the pane header in the DockManager component.
21
+ /// @group dock-manager
22
+ $kendo-dock-manager-pane-header-border-style: solid !default;
23
+ /// The background color of the pane header in the DockManager component.
24
+ /// @group dock-manager
25
+ $kendo-dock-manager-pane-header-bg: $kendo-component-header-bg !default;
26
+
27
+ /// The vertical padding of the pane title in the DockManager component.
28
+ /// @group dock-manager
29
+ $kendo-dock-manager-pane-title-padding-y: null !default;
30
+ /// The horizontal padding of the pane title in the DockManager component.
31
+ /// @group dock-manager
32
+ $kendo-dock-manager-pane-title-padding-x: null !default;
33
+ /// The font family of the pane title in the DockManager component.
34
+ /// @group dock-manager
35
+ $kendo-dock-manager-pane-title-font-family: $kendo-font-family !default;
36
+ /// The font size of the pane title in the DockManager component.
37
+ /// @group dock-manager
38
+ $kendo-dock-manager-pane-title-font-size: $kendo-font-size-lg !default;
39
+ /// The line height of the pane title in the DockManager component.
40
+ /// @group dock-manager
41
+ $kendo-dock-manager-pane-title-line-height: $kendo-line-height-sm !default;
42
+ /// The font weight of the pane title in the DockManager component.
43
+ /// @group dock-manager
44
+ $kendo-dock-manager-pane-title-font-weight: $kendo-font-weight-normal !default;
45
+
46
+ /// The horizontal padding of the pane content in the DockManager component.
47
+ /// @group dock-manager
48
+ $kendo-dock-manager-pane-content-padding-x: $kendo-dock-manager-pane-header-padding-x !default;
49
+ /// The vertical padding of the pane content in the DockManager component.
50
+ /// @group dock-manager
51
+ $kendo-dock-manager-pane-content-padding-y: $kendo-dock-manager-pane-header-padding-x !default;
52
+
53
+ /// The horizontal padding of the tabbed pane in the DockManager component.
54
+ /// @group dock-manager
55
+ $kendo-dock-manager-tabbed-pane-padding-y: k-map-get( $kendo-spacing, 3.5 ) !default;
56
+ /// The horizontal padding of the tabbed pane in the DockManager component.
57
+ /// @group dock-manager
58
+ $kendo-dock-manager-tabbed-pane-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
59
+
60
+ /// The width of the unpinned pane container in the DockManager component.
61
+ /// @group dock-manager
62
+ $kendo-dock-manager-unpinned-container-width: 300px !default;
63
+ /// The background-color of the unpinned pane container in the DockManager component.
64
+ /// @group dock-manager
65
+ $kendo-dock-manager-unpinned-container-bg: $kendo-color-white !default;
66
+ /// The box shadow of the unpinned pane container in the DockManager component.
67
+ /// @group dock-manager
68
+ $kendo-dock-manager-unpinned-container-shadow: 4px 0px 5px 0px rgba(0, 0, 0, 0.04), 2px 0px 4px 0px rgba(0, 0, 0, 0.03) !default;
69
+
70
+ /// The padding of the dock indicator in the DockManager component.
71
+ /// @group dock-manager
72
+ $kendo-dock-indicator-padding: k-map-get( $kendo-spacing, 1.5 ) !default;
73
+ /// The background color of the dock indicator in the DockManager component.
74
+ /// @group dock-manager
75
+ $kendo-dock-indicator-bg: #f5f5f5 !default;
76
+ /// The text color of the dock indicator in the DockManager component.
77
+ /// @group dock-manager
78
+ $kendo-dock-indicator-text: $kendo-color-primary !default;
79
+ /// The outline width of the dock indicator in the DockManager component.
80
+ /// @group dock-manager
81
+ $kendo-dock-indicator-outline-width: 1px !default;
82
+ /// The outline style of the dock indicator in the DockManager component.
83
+ /// @group dock-manager
84
+ $kendo-dock-indicator-outline-style: solid !default;
85
+ /// The outline color of the dock indicator in the DockManager component.
86
+ /// @group dock-manager
87
+ $kendo-dock-indicator-outline: $kendo-dock-indicator-text !default;
88
+ /// The box shadow of the dock indicator in the DockManager component.
89
+ /// @group dock-manager
90
+ $kendo-dock-indicator-shadow: drop-shadow( 0px 1px 18px rgba(0, 0, 0, 0.12) ) drop-shadow( 0px 6px 10px rgba(0, 0, 0, 0.14) ) drop-shadow( 0px 3px 5px rgba(0, 0, 0, 0.20) ) !default;
91
+
92
+ /// The background color of the hovered dock indicator in the DockManager component.
93
+ /// @group dock-manager
94
+ $kendo-dock-indicator-hover-bg: $kendo-color-primary !default;
95
+ /// The text color of the hovered dock indicator in the DockManager component.
96
+ /// @group dock-manager
97
+ $kendo-dock-indicator-hover-text: $kendo-color-white !default;
98
+
99
+ /// The width of the border around the dropping area in the DockManager component.
100
+ /// @group dock-manager
101
+ $kendo-dock-manager-dock-preview-border-width: 1px !default;
102
+ /// The style of the border around the dropping area in the DockManager component.
103
+ /// @group dock-manager
104
+ $kendo-dock-manager-dock-preview-border-style: dashed !default;
105
+ /// The border radius of the dropping area in the DockManager component.
106
+ /// @group dock-manager
107
+ $kendo-dock-manager-dock-preview-border-radius: $kendo-border-radius-sm !default;
108
+ /// The background color of the dropping area in the DockManager component.
109
+ /// @group dock-manager
110
+ $kendo-dock-manager-dock-preview-bg: rgba( $kendo-color-primary, .16 ) !default;
111
+ /// The border color of the dropping area in the DockManager component.
112
+ /// @group dock-manager
113
+ $kendo-dock-manager-dock-preview-border: $kendo-color-primary !default;
package/scss/index.scss CHANGED
@@ -120,6 +120,7 @@
120
120
  @import "./panelbar/_index.scss";
121
121
  @import "./splitter/_index.scss";
122
122
  @import "./tilelayout/_index.scss";
123
+ @import "./dock-manager/_index.scss";
123
124
 
124
125
 
125
126
  // Data management
@@ -288,6 +289,7 @@
288
289
  @include kendo-panelbar--styles();
289
290
  @include kendo-splitter--styles();
290
291
  @include kendo-tile-layout--styles();
292
+ @include kendo-dock-manager--styles();
291
293
 
292
294
 
293
295
  // Data management
@@ -42,19 +42,17 @@
42
42
  flex: 1 1 auto;
43
43
  outline: none;
44
44
 
45
- .k-enable-text-select,
46
45
  &.k-enable-text-select {
47
46
  user-select: text;
48
47
  cursor: text;
49
48
  }
50
49
 
51
- .k-enable-panning,
52
50
  &.k-enable-panning {
53
51
  cursor: grab;
54
- }
55
- .k-enable-panning span::selection,
56
- &.k-enable-panning span::selection {
57
- background-color: transparent;
52
+
53
+ span::selection {
54
+ background-color: transparent;
55
+ }
58
56
  }
59
57
  }
60
58
 
@@ -87,10 +85,6 @@
87
85
  color: transparent;
88
86
  }
89
87
 
90
- mark {
91
- color: transparent;
92
- }
93
-
94
88
  .k-search-highlight-mark {
95
89
  color: transparent;
96
90
  }
@@ -118,19 +112,22 @@
118
112
  }
119
113
 
120
114
  // Search
121
- .k-pdf-viewer-search-dialog {
122
- padding: 0 !important; // stylelint-disable-line declaration-no-important
123
- }
124
-
125
- .k-search-panel {
126
- padding-block: $kendo-pdf-viewer-search-dialog-padding-y;
127
- padding-inline: $kendo-pdf-viewer-search-dialog-padding-x;
115
+ .k-pdf-viewer-canvas > .k-search-panel {
116
+ width: max-content;
117
+ margin-top: calc( (#{$kendo-button-calc-size} + ( 2 * #{$kendo-pdf-viewer-search-panel-border-width} ) + ( 2 * #{$kendo-pdf-viewer-search-panel-padding-y} )) * -1 );
118
+ padding-block: $kendo-pdf-viewer-search-panel-padding-y;
119
+ padding-inline: $kendo-pdf-viewer-search-panel-padding-x;
120
+ border-width: $kendo-pdf-viewer-search-panel-border-width;
121
+ border-style: solid;
122
+ border-radius: $kendo-pdf-viewer-search-panel-border-radius;
128
123
  display: flex;
129
- gap: $kendo-pdf-viewer-search-dialog-spacing;
124
+ gap: $kendo-pdf-viewer-search-panel-spacing;
130
125
  flex-flow: row nowrap;
131
126
  flex: 0 0 auto;
132
127
  justify-content: flex-start;
133
128
  align-items: center;
129
+ z-index: 10;
130
+ cursor: default;
134
131
 
135
132
  .k-search-dialog-draghandle {
136
133
  cursor: move;
@@ -152,21 +149,6 @@
152
149
  }
153
150
  }
154
151
 
155
- .k-pdf-viewer-canvas > .k-search-panel {
156
- width: max-content;
157
- margin-top: calc( (#{$kendo-button-calc-size} + ( 2 * #{$kendo-pdf-viewer-search-panel-border-width} ) + ( 2 * #{$kendo-pdf-viewer-search-dialog-padding-y} )) * -1 );
158
- border-width: $kendo-pdf-viewer-search-panel-border-width;
159
- border-style: solid;
160
- border-radius: $kendo-pdf-viewer-search-panel-border-radius;
161
- z-index: 10;
162
- cursor: default;
163
- }
164
-
165
- // Alias
166
- .k-search-container {
167
- @extend .k-search-panel !optional;
168
- }
169
-
170
152
  }
171
153
 
172
154
 
@@ -66,10 +66,6 @@
66
66
  @include box-shadow( $kendo-pdf-viewer-search-panel-shadow );
67
67
  }
68
68
 
69
- .k-search-container {
70
- @extend .k-search-panel !optional;
71
- }
72
-
73
69
  }
74
70
 
75
71
 
@@ -25,10 +25,9 @@ $kendo-pdf-viewer-page-text: $kendo-component-text !default;
25
25
  $kendo-pdf-viewer-page-border: $kendo-component-border !default;
26
26
  $kendo-pdf-viewer-page-shadow: 0 0 k-math-div( $kendo-pdf-viewer-page-spacing, 2 ) $kendo-pdf-viewer-page-border !default;
27
27
 
28
- $kendo-pdf-viewer-search-dialog-padding-x: $kendo-toolbar-md-padding-x !default;
29
- $kendo-pdf-viewer-search-dialog-padding-y: calc( #{$kendo-toolbar-md-padding-x} * 2 ) !default;
30
- $kendo-pdf-viewer-search-dialog-spacing: $kendo-toolbar-md-spacing !default;
31
-
28
+ $kendo-pdf-viewer-search-panel-padding-x: $kendo-toolbar-md-padding-x !default;
29
+ $kendo-pdf-viewer-search-panel-padding-y: calc( #{$kendo-toolbar-md-padding-x} * 2 ) !default;
30
+ $kendo-pdf-viewer-search-panel-spacing: $kendo-toolbar-md-spacing !default;
32
31
  $kendo-pdf-viewer-search-panel-border-width: 1px !default;
33
32
  $kendo-pdf-viewer-search-panel-border-radius: 0 !default;
34
33
  $kendo-pdf-viewer-search-panel-bg: $kendo-component-bg !default;
@@ -18,6 +18,7 @@
18
18
  // Pane
19
19
  .k-pane {
20
20
  overflow: hidden;
21
+ box-sizing: border-box;
21
22
  }
22
23
  .k-scrollable {
23
24
  overflow: auto;