ngx-tethys 18.1.0-next.1 → 18.2.0-next.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/CHANGELOG.md +15 -0
- package/alert/styles/mixin.scss +1 -1
- package/anchor/style/anchor.scss +4 -2
- package/avatar/styles/avatar.scss +1 -1
- package/back-top/styles/back-top.scss +3 -3
- package/button/styles/button-group.scss +9 -9
- package/button/styles/button.scss +2 -6
- package/button/styles/mixin.scss +6 -53
- package/calendar/styles/calendar.scss +3 -11
- package/card/styles/card.scss +3 -3
- package/carousel/styles/carousel.scss +10 -10
- package/cascader/styles/cascader.scss +3 -2
- package/collapse/styles/collapse.scss +4 -2
- package/color-picker/styles/alpha.scss +1 -1
- package/color-picker/styles/color-picker-panel.scss +1 -1
- package/color-picker/styles/hue.scss +1 -1
- package/color-picker/styles/saturation.scss +1 -1
- package/comment/styles/mixin.scss +1 -1
- package/core/index.d.ts +1 -0
- package/core/overlay/abstract-overlay.config.d.ts +5 -0
- package/core/theme/index.d.ts +2 -0
- package/core/theme/store.d.ts +11 -0
- package/core/theme/theme.d.ts +5 -0
- package/date-picker/styles/calendar.scss +1 -1
- package/date-picker/styles/decade-panel.scss +1 -1
- package/date-picker/styles/picker.scss +1 -1
- package/date-picker/styles/range-picker.scss +3 -3
- package/date-picker/styles/year-panel.scss +2 -2
- package/dialog/styles/dialog.scss +6 -6
- package/drag-drop/drag-content.directive.d.ts +1 -0
- package/drag-drop/drag-drop.service.d.ts +1 -0
- package/drag-drop/drag-handle.directive.d.ts +1 -0
- package/drag-drop/drag.directive.d.ts +1 -0
- package/drag-drop/drop-container.directive.d.ts +2 -5
- package/drag-drop/module.d.ts +4 -0
- package/dropdown/styles/dropdown.scss +3 -3
- package/empty/styles/empty.scss +22 -2
- package/esm2022/carousel/carousel.component.mjs +3 -3
- package/esm2022/core/index.mjs +2 -1
- package/esm2022/core/overlay/abstract-overlay.config.mjs +1 -1
- package/esm2022/core/overlay/abstract-overlay.service.mjs +2 -2
- package/esm2022/core/theme/index.mjs +3 -0
- package/esm2022/core/theme/store.mjs +42 -0
- package/esm2022/core/theme/theme.mjs +2 -0
- package/esm2022/dialog/dialog-container.component.mjs +2 -2
- package/esm2022/drag-drop/drag-content.directive.mjs +2 -1
- package/esm2022/drag-drop/drag-drop.service.mjs +2 -1
- package/esm2022/drag-drop/drag-handle.directive.mjs +2 -1
- package/esm2022/drag-drop/drag.directive.mjs +2 -1
- package/esm2022/drag-drop/drop-container.directive.mjs +2 -1
- package/esm2022/drag-drop/module.mjs +9 -2
- package/esm2022/empty/svgs.mjs +103 -8
- package/esm2022/guider/guider-hint/guider-hint.component.mjs +3 -3
- package/esm2022/notify/notify.component.mjs +3 -3
- package/esm2022/result/result.component.mjs +3 -3
- package/esm2022/table/table-skeleton.component.mjs +3 -3
- package/esm2022/version.mjs +2 -2
- package/esm2022/watermark/config.mjs +2 -2
- package/esm2022/watermark/watermark.directive.mjs +18 -10
- package/fesm2022/ngx-tethys-carousel.mjs +2 -2
- package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
- package/fesm2022/ngx-tethys-core.mjs +43 -3
- package/fesm2022/ngx-tethys-core.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dialog.mjs +1 -1
- package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
- package/fesm2022/ngx-tethys-drag-drop.mjs +13 -2
- package/fesm2022/ngx-tethys-drag-drop.mjs.map +1 -1
- package/fesm2022/ngx-tethys-empty.mjs +102 -7
- package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
- package/fesm2022/ngx-tethys-guider.mjs +2 -2
- package/fesm2022/ngx-tethys-guider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-notify.mjs +2 -2
- package/fesm2022/ngx-tethys-notify.mjs.map +1 -1
- package/fesm2022/ngx-tethys-result.mjs +2 -2
- package/fesm2022/ngx-tethys-result.mjs.map +1 -1
- package/fesm2022/ngx-tethys-table.mjs +2 -2
- package/fesm2022/ngx-tethys-table.mjs.map +1 -1
- package/fesm2022/ngx-tethys-watermark.mjs +18 -10
- package/fesm2022/ngx-tethys-watermark.mjs.map +1 -1
- package/fesm2022/ngx-tethys.mjs +1 -1
- package/fesm2022/ngx-tethys.mjs.map +1 -1
- package/form/styles/form-check.scss +1 -1
- package/form/styles/forms.scss +2 -3
- package/form/styles/mixin.scss +6 -5
- package/guider/styles/guider-tip.scss +2 -1
- package/icon/examples/all/all.component.scss +3 -1
- package/image/styles/image.scss +15 -11
- package/input/styles/input-group.scss +1 -1
- package/input/styles/input.scss +2 -2
- package/layout/examples/sidebar/sidebar.component.scss +1 -1
- package/layout/styles/layout.scss +3 -3
- package/menu/examples/theme/theme.component.scss +0 -8
- package/menu/styles/theme.scss +4 -4
- package/message/styles/message.scss +1 -1
- package/nav/examples/basic/basic.component.scss +1 -1
- package/nav/examples/extra/extra.component.scss +1 -1
- package/nav/examples/fill/fill.component.scss +1 -1
- package/nav/examples/lite/lite.component.scss +1 -1
- package/nav/examples/pills/pills.component.scss +1 -1
- package/nav/examples/responsive/responsive.component.scss +1 -1
- package/nav/examples/size/size.component.scss +1 -1
- package/nav/examples/tabs/tabs.component.scss +1 -1
- package/nav/examples/type/type.component.scss +1 -1
- package/nav/examples/vertical/vertical.component.scss +1 -1
- package/notify/styles/notify.scss +4 -4
- package/package.json +1 -1
- package/pagination/styles/pagination.scss +2 -2
- package/popover/styles.scss +3 -3
- package/property/styles/properties.scss +1 -1
- package/resizable/examples/line/line.component.scss +3 -1
- package/resizable/examples/style.scss +7 -5
- package/result/styles/result.scss +25 -1
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
- package/segment/styles/mixin.scss +2 -3
- package/segment/styles/segment.scss +1 -1
- package/select/styles/select.scss +1 -1
- package/shared/option/styles/option.mixin.scss +1 -1
- package/shared/select/styles/select.mixin.scss +2 -2
- package/slide/examples/drawer-container/drawer-container.component.scss +1 -1
- package/slide/examples/layout/layout.component.scss +4 -2
- package/slide/styles/slide.scss +3 -2
- package/slider/slider.scss +2 -2
- package/stepper/examples/basic/basic.component.scss +3 -1
- package/stepper/examples/icon/icon.component.scss +3 -1
- package/stepper/styles/stepper.scss +7 -3
- package/styles/bootstrap/_variables.scss +14 -876
- package/styles/bootstrap/utilities/_background.scss +27 -5
- package/styles/bootstrap/utilities/_text.scss +29 -31
- package/styles/index.scss +2 -1
- package/styles/mixins/background-variant.scss +2 -10
- package/styles/mixins/utilities.scss +2 -11
- package/styles/modules/cdk/drag-drop.scss +6 -8
- package/styles/modules/close.scss +1 -1
- package/styles/modules/reboot.scss +1 -1
- package/styles/modules/tables.scss +1 -1
- package/styles/modules/utils.scss +0 -17
- package/styles/theme/dark.scss +70 -0
- package/styles/theme/default.scss +70 -0
- package/styles/theme/index.scss +2 -0
- package/styles/variables.scss +114 -76
- package/switch/styles/mixin.scss +0 -13
- package/table/styles/table.scss +7 -19
- package/tabs/styles/tabs.scss +1 -1
- package/tag/styles/mixin.scss +7 -42
- package/tag/styles/tag.scss +2 -2
- package/time-picker/styles/time-panel.scss +1 -1
- package/timeline/styles/timeline.scss +2 -2
- package/tooltip/styles.scss +4 -4
- package/transfer/styles/transfer.scss +2 -2
- package/tree/styles/tree.scss +3 -5
- package/watermark/config.d.ts +1 -1
- package/watermark/watermark.directive.d.ts +23 -2
- package/carousel/styles/index.scss +0 -1
- package/carousel/styles/variables.scss +0 -5
package/styles/variables.scss
CHANGED
|
@@ -2,18 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
$thy-prefix: 'thy';
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
$
|
|
7
|
-
$gray-70:
|
|
8
|
-
$gray-80:
|
|
9
|
-
$gray-100:
|
|
10
|
-
$gray-200:
|
|
11
|
-
$gray-300:
|
|
12
|
-
$gray-400:
|
|
13
|
-
$gray-500:
|
|
14
|
-
$gray-600:
|
|
15
|
-
$gray-700:
|
|
16
|
-
$gray-800:
|
|
5
|
+
// colors
|
|
6
|
+
$gray-10: var(--gray-10) !default; // 在默认皮肤下是白色,Dark 模式下非白色
|
|
7
|
+
$gray-70: var(--gray-70) !default;
|
|
8
|
+
$gray-80: var(--gray-80) !default;
|
|
9
|
+
$gray-100: var(--gray-100) !default;
|
|
10
|
+
$gray-200: var(--gray-200) !default;
|
|
11
|
+
$gray-300: var(--gray-300) !default;
|
|
12
|
+
$gray-400: var(--gray-400) !default;
|
|
13
|
+
$gray-500: var(--gray-500) !default;
|
|
14
|
+
$gray-600: var(--gray-600) !default;
|
|
15
|
+
$gray-700: var(--gray-700) !default;
|
|
16
|
+
$gray-800: var(--gray-800) !default;
|
|
17
|
+
|
|
18
|
+
$white: #fff !default;
|
|
19
|
+
$primary: #6698ff !default;
|
|
20
|
+
$success: #73d897 !default;
|
|
21
|
+
$info: #5dcfff !default;
|
|
22
|
+
$warning: #ffcd5d !default;
|
|
23
|
+
$danger: #ff7575 !default;
|
|
24
|
+
|
|
25
|
+
$body-color: $gray-800 !default;
|
|
26
|
+
$secondary: $gray-700 !default;
|
|
27
|
+
$secondary-item-active: rgba($primary, 0.1) !default;
|
|
28
|
+
$item-active-bg-color: rgba($primary, 0.1) !default;
|
|
29
|
+
$light: $gray-300 !default;
|
|
30
|
+
$dark: #48525c !default;
|
|
31
|
+
$pass: #2cccda !default;
|
|
17
32
|
|
|
18
33
|
// deprecated
|
|
19
34
|
$gray-210: #e9e9e9 !default; //整块区域的背景色为 #f3f3f3 后,某个卡片模块的背景色,用于文件详情
|
|
@@ -22,6 +37,37 @@ $gray-900: #212529 !default;
|
|
|
22
37
|
// deprecated
|
|
23
38
|
$black: #000;
|
|
24
39
|
|
|
40
|
+
/** text color */
|
|
41
|
+
$text-placeholder: $gray-400 !default;
|
|
42
|
+
$text-body: $gray-800 !default;
|
|
43
|
+
$text-desc: $gray-500 !default;
|
|
44
|
+
$text-primary: $primary !default;
|
|
45
|
+
$text-secondary: $gray-700 !default;
|
|
46
|
+
$text-success: $success !default;
|
|
47
|
+
$text-info: $info !default;
|
|
48
|
+
$text-warning: $warning !default;
|
|
49
|
+
$text-danger: $danger !default;
|
|
50
|
+
$text-light: $light !default;
|
|
51
|
+
$text-dark: $gray-800 !default;
|
|
52
|
+
$text-muted: $gray-600 !default;
|
|
53
|
+
$text-white: $white !default;
|
|
54
|
+
|
|
55
|
+
/** bg color */
|
|
56
|
+
$bg-default: var(--bg-color-default) !default;
|
|
57
|
+
$bg-lighter: $gray-100 !default;
|
|
58
|
+
$bg-bright: $gray-80 !default;
|
|
59
|
+
$bg-content: $gray-80 !default;
|
|
60
|
+
$bg-primary: $primary !default;
|
|
61
|
+
$bg-secondary: $secondary !default;
|
|
62
|
+
$bg-success: $success !default;
|
|
63
|
+
$bg-info: $info !default;
|
|
64
|
+
$bg-warning: $warning !default;
|
|
65
|
+
$bg-danger: $danger !default;
|
|
66
|
+
$bg-light: $light !default;
|
|
67
|
+
$bg-dark: $gray-800 !default;
|
|
68
|
+
$bg-panel: var(--bg-color-panel) !default;
|
|
69
|
+
$bg-float: var(--bg-color-float) !default;
|
|
70
|
+
|
|
25
71
|
//px to rem
|
|
26
72
|
$rem-5px: 0.3125rem;
|
|
27
73
|
$rem-10px: 0.625rem;
|
|
@@ -30,20 +76,6 @@ $rem-15px: 0.9375rem;
|
|
|
30
76
|
$rem-18px: 1.125rem;
|
|
31
77
|
$rem-20px: 1.25rem;
|
|
32
78
|
$rem-26px: 1.625rem;
|
|
33
|
-
// color
|
|
34
|
-
$body-color: $gray-800 !default;
|
|
35
|
-
$primary: #6698ff !default;
|
|
36
|
-
|
|
37
|
-
$secondary: $gray-700 !default;
|
|
38
|
-
$success: #73d897 !default; // 2dbcff
|
|
39
|
-
$info: #5dcfff !default;
|
|
40
|
-
$warning: #ffcd5d !default;
|
|
41
|
-
$danger: #ff7575 !default;
|
|
42
|
-
$pass: #2cccda !default;
|
|
43
|
-
$secondary-item-active: rgba($primary, 0.1) !default;
|
|
44
|
-
$item-active-bg-color: rgba($primary, 0.1) !default;
|
|
45
|
-
$light: $gray-300 !default;
|
|
46
|
-
$dark: #48525c !default;
|
|
47
79
|
|
|
48
80
|
// font
|
|
49
81
|
$font-family-sans-serif:
|
|
@@ -68,7 +100,7 @@ $font-size-sm: 0.75rem !default; // 12px
|
|
|
68
100
|
// 标题字体大小,header Title of card、Layout、Sidebar、Slid
|
|
69
101
|
$font-size-title: 15px;
|
|
70
102
|
|
|
71
|
-
$text-color:
|
|
103
|
+
$text-color: var(--text-color) !default;
|
|
72
104
|
$text-color-inverse: $white !default;
|
|
73
105
|
|
|
74
106
|
// line-height
|
|
@@ -97,6 +129,7 @@ $link-disabled-opacity: 50% !default;
|
|
|
97
129
|
|
|
98
130
|
// box shadow
|
|
99
131
|
$box-shadow: 0 0 16px rgb(0 0 0 / 8%) !default;
|
|
132
|
+
$box-shadow-none: none !default;
|
|
100
133
|
|
|
101
134
|
// icon
|
|
102
135
|
$icon-vertical-align: -0.16em !default;
|
|
@@ -146,6 +179,7 @@ $btn-border-radius-lg: 4px !default;
|
|
|
146
179
|
$btn-border-radius-sm: 4px !default;
|
|
147
180
|
$btn-border-radius-xs: 4px !default;
|
|
148
181
|
$btn-box-shadow: null !default;
|
|
182
|
+
$btn-active-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !default;
|
|
149
183
|
|
|
150
184
|
$btn-line-height: $input-btn-line-height;
|
|
151
185
|
$btn-line-height-sm: $input-btn-line-height-sm;
|
|
@@ -248,8 +282,6 @@ $input-height-md: $input-btn-height-md !default;
|
|
|
248
282
|
$input-height-lg: $input-btn-height-lg !default;
|
|
249
283
|
// others
|
|
250
284
|
$input-focus-border-color: $primary !default;
|
|
251
|
-
$input-btn-focus-box-shadow: none !default;
|
|
252
|
-
$input-box-shadow: none !default;
|
|
253
285
|
$input-placeholder-color: $gray-400 !default;
|
|
254
286
|
$input-color: $gray-800 !default;
|
|
255
287
|
$input-focus-bg: transparent !default;
|
|
@@ -278,13 +310,13 @@ $form-check-input-margin-l: 1rem !default;
|
|
|
278
310
|
$form-check-inline-margin-r: 0.75rem !default;
|
|
279
311
|
$form-check-inline-input-margin-r: 0 !default;
|
|
280
312
|
$form-check-label-margin-l: 0.5rem !default;
|
|
313
|
+
$checkbox-disabled-bg-color: var(--checkbox-disabled-bg-color) !default;
|
|
281
314
|
|
|
282
315
|
// Dropdown
|
|
283
316
|
$dropdown-menu-width: 240px !default;
|
|
284
317
|
$dropdown-menu-group-width: 280px !default;
|
|
285
318
|
$dropdown-menu-padding-y: 12px;
|
|
286
319
|
$dropdown-menu-max-height: 400px !default;
|
|
287
|
-
$dropdown-menu-bg: $white !default;
|
|
288
320
|
$dropdown-menu-item-padding-x: 20px !default;
|
|
289
321
|
$dropdown-menu-item-padding-y: 9px !default;
|
|
290
322
|
$dropdown-menu-item-color: $gray-800 !default;
|
|
@@ -311,7 +343,7 @@ $pop-box-top-margin: 3px !default;
|
|
|
311
343
|
$zindex-pop-box: 1080 !default;
|
|
312
344
|
|
|
313
345
|
// Layout
|
|
314
|
-
$layout-header-background: $
|
|
346
|
+
$layout-header-background: $bg-default !default;
|
|
315
347
|
$layout-header-padding: 0 20px !default;
|
|
316
348
|
$layout-header-height: 48px !default;
|
|
317
349
|
$layout-header-height-sm: 44px !default;
|
|
@@ -320,12 +352,11 @@ $layout-header-height-xlg: 100px !default;
|
|
|
320
352
|
$layout-header-prefix-icon-size: 20px !default;
|
|
321
353
|
$layout-header-separator-color: $gray-500 !default;
|
|
322
354
|
$layout-header-icon-link-opacity: 0.85;
|
|
323
|
-
$layout-header-box-shadow:
|
|
324
|
-
|
|
355
|
+
$layout-header-box-shadow: var(--layout-header-box-shadow) !default;
|
|
325
356
|
$layout-content-background: $gray-80 !default;
|
|
326
357
|
$layout-content-padding: 15px 20px 15px 20px !default;
|
|
327
358
|
$layout-sidebar-width: 240px !default;
|
|
328
|
-
$layout-sidebar-background-light:
|
|
359
|
+
$layout-sidebar-background-light: var(--layout-sidebar-light-bg-color) !default;
|
|
329
360
|
$layout-sidebar-background-dark: $gray-800 !default;
|
|
330
361
|
$layout-sidebar-border-color: $gray-200 !default;
|
|
331
362
|
$layout-sidebar-border-right: 1px solid $layout-sidebar-border-color !default;
|
|
@@ -336,8 +367,12 @@ $layout-sidebar-header-title-font-size: $font-size-title !default;
|
|
|
336
367
|
$layout-sidebar-header-padding: $layout-header-padding !default;
|
|
337
368
|
$layout-sidebar-footer-height: 48px !default;
|
|
338
369
|
$layout-content-section-border-radius: 0px !default;
|
|
339
|
-
$layout-content-section-background: $
|
|
370
|
+
$layout-content-section-background: $bg-default !default;
|
|
340
371
|
$layout-content-section-margin-bottom: 8px !default;
|
|
372
|
+
|
|
373
|
+
$float-btn-box-shadow: var(--float-btn-box-shadow) !default;
|
|
374
|
+
$float-btn-hover-box-shadow: var(--float-btn-hover-box-shadow) !default;
|
|
375
|
+
|
|
341
376
|
// Tables
|
|
342
377
|
$table-color: $gray-800;
|
|
343
378
|
$table-bg: transparent !default;
|
|
@@ -379,6 +414,8 @@ $table-default-sm-header-padding: 8px 16px !default;
|
|
|
379
414
|
$table-default-header-height: inherit !default;
|
|
380
415
|
$table-group-first-cell-padding-left: 43px !default;
|
|
381
416
|
$table-operation-column-spacing: 32px !default;
|
|
417
|
+
$table-fixed-column-left-box-shadow: var(--table-fixed-column-left-box-shadow) !default;
|
|
418
|
+
$table-fixed-column-right-box-shadow: var(--table-fixed-column-right-box-shadow) !default;
|
|
382
419
|
|
|
383
420
|
// grid
|
|
384
421
|
$table-footer-padding: 0 20px !default;
|
|
@@ -403,7 +440,6 @@ $tag-colors: () !default;
|
|
|
403
440
|
$tag-colors: map.merge(
|
|
404
441
|
(
|
|
405
442
|
'primary': $primary,
|
|
406
|
-
'secondary': $secondary,
|
|
407
443
|
'info': $info,
|
|
408
444
|
'success': $success,
|
|
409
445
|
'warning': $warning,
|
|
@@ -412,30 +448,6 @@ $tag-colors: map.merge(
|
|
|
412
448
|
$tag-colors
|
|
413
449
|
);
|
|
414
450
|
|
|
415
|
-
$tag-bg-hover-colors: () !default;
|
|
416
|
-
$tag-bg-hover-colors: map.merge(
|
|
417
|
-
(
|
|
418
|
-
'primary': #4d87ff,
|
|
419
|
-
'info': #44c7ff,
|
|
420
|
-
'success': #5fd288,
|
|
421
|
-
'warning': #ffc544,
|
|
422
|
-
'danger': #ff5c5c
|
|
423
|
-
),
|
|
424
|
-
$tag-bg-hover-colors
|
|
425
|
-
);
|
|
426
|
-
|
|
427
|
-
$tag-weak-fill-bg-hover-colors: () !default;
|
|
428
|
-
$tag-weak-fill-bg-hover-colors: map.merge(
|
|
429
|
-
(
|
|
430
|
-
'primary': #4d87ff1a,
|
|
431
|
-
'info': #44c7ff1a,
|
|
432
|
-
'success': #5fd2881a,
|
|
433
|
-
'warning': #ffc5441a,
|
|
434
|
-
'danger': #ff5c5c1a
|
|
435
|
-
),
|
|
436
|
-
$tag-weak-fill-bg-hover-colors
|
|
437
|
-
);
|
|
438
|
-
|
|
439
451
|
$tag-height-sm: 20px !default;
|
|
440
452
|
$tag-height-md: 24px !default;
|
|
441
453
|
$tag-height-lg: 28px !default;
|
|
@@ -483,6 +495,7 @@ $avatar-sizes: map.merge(
|
|
|
483
495
|
// avatar-list
|
|
484
496
|
$avatar-item-space: 4px !default;
|
|
485
497
|
$overlap-avatar-item-space-percent: 0.25 !default;
|
|
498
|
+
$avatar-disabled-color: var(--avatar-disabled-color) !default;
|
|
486
499
|
|
|
487
500
|
// Navs
|
|
488
501
|
$nav-item-disabled-color: $gray-400 !default;
|
|
@@ -642,14 +655,12 @@ $notify-margin-bottom: 10px !default;
|
|
|
642
655
|
$notify-line-height: 1.5 !default;
|
|
643
656
|
$notify-padding: 18px !default;
|
|
644
657
|
$notify-border-radius-width: 4px !default;
|
|
645
|
-
$notify-bg: $white !default;
|
|
646
658
|
$notify-success: $success !default;
|
|
647
659
|
$notify-info: $info !default;
|
|
648
660
|
$notify-warning: $warning !default;
|
|
649
661
|
$notify-danger: $danger !default;
|
|
650
662
|
$notify-title-color: $gray-800 !default;
|
|
651
663
|
$notify-icon-font-size: 18px !default;
|
|
652
|
-
$notify-box-shadow: $box-shadow !default;
|
|
653
664
|
$notify-content-color: $gray-500 !default;
|
|
654
665
|
$notify-close-color: $gray-400 !default;
|
|
655
666
|
$notify-close-hover-color: $gray-600 !default;
|
|
@@ -666,9 +677,8 @@ $message-z-index: 1100 !default;
|
|
|
666
677
|
$message-spacing: 20px !default;
|
|
667
678
|
$message-margin-bottom: 10px !default;
|
|
668
679
|
$message-border-radius-width: 4px !default;
|
|
669
|
-
$message-bg: $white !default;
|
|
670
680
|
$message-border: 1px solid $gray-200 !default;
|
|
671
|
-
$message-box-shadow:
|
|
681
|
+
$message-box-shadow: $box-shadow !default;
|
|
672
682
|
$message-icon-font-size: $font-size-md !default;
|
|
673
683
|
$message-icon-margin: 8px !default;
|
|
674
684
|
$message-close-color: $gray-400 !default;
|
|
@@ -747,7 +757,7 @@ $progress-circle-height-lg: 160px !default;
|
|
|
747
757
|
$progress-circle-height-sm: 80px !default;
|
|
748
758
|
$progress-circle-height-xs: 44px !default;
|
|
749
759
|
$progress-bg: $gray-200 !default;
|
|
750
|
-
$progress-split-color: $
|
|
760
|
+
$progress-split-color: $bg-default !default;
|
|
751
761
|
$progress-circle-border-radius: 100px !default;
|
|
752
762
|
$progress-circle-font-size: 1rem !default;
|
|
753
763
|
$progress-circle-color: $gray-800 !default;
|
|
@@ -846,11 +856,13 @@ $menu-group-margin-left: 15px !default;
|
|
|
846
856
|
$menu-divider-margin: 10px 20px !default;
|
|
847
857
|
$menu-loose-item-padding: 0 12px 0 20px !default;
|
|
848
858
|
$menu-loose-item-border-radius: 4px !default;
|
|
849
|
-
$menu-theme-dark-color:
|
|
850
|
-
$menu-theme-dark-
|
|
851
|
-
$menu-theme-dark-
|
|
859
|
+
$menu-theme-dark-color: var(--menu-theme-dark-text-color) !default;
|
|
860
|
+
$menu-theme-dark-icon-color: var(--menu-theme-dark-icon-color) !default;
|
|
861
|
+
$menu-theme-dark-hover-color: var(--menu-theme-dark-hover-color) !default;
|
|
862
|
+
$menu-theme-dark-hover-icon-color: var(--menu-theme-dark-hover-icon-color) !default;
|
|
863
|
+
$menu-theme-dark-bg-color: #48525c !default;
|
|
852
864
|
$menu-theme-dark-hover-bg-color: #39414c !default;
|
|
853
|
-
$menu-theme-dark-divider-color:
|
|
865
|
+
$menu-theme-dark-divider-color: var(--menu-theme-dark-divider-color) !default;
|
|
854
866
|
$menu-collapsed-width: 60px !default;
|
|
855
867
|
$menu-collapsed-height: 60px !default;
|
|
856
868
|
$menu-collapsed-icon-size: 20px !default;
|
|
@@ -886,18 +898,17 @@ $pagination-padding-x: 0.375rem !default;
|
|
|
886
898
|
$pagination-color: $gray-500 !default;
|
|
887
899
|
$pagination-number-color: $gray-700 !default;
|
|
888
900
|
$pagination-font-size: 12px !default;
|
|
889
|
-
$pagination-bg: $
|
|
901
|
+
$pagination-bg: $bg-default !default;
|
|
890
902
|
$pagination-border-width: 1px !default;
|
|
891
903
|
$pagination-border-color: $gray-200 !default;
|
|
892
|
-
$pagination-focus-box-shadow: none !default;
|
|
893
904
|
$pagination-hover-color: $link-hover-color !default;
|
|
894
|
-
$pagination-hover-bg: $
|
|
905
|
+
$pagination-hover-bg: $bg-default !default;
|
|
895
906
|
$pagination-hover-border-color: $gray-200 !default;
|
|
896
907
|
$pagination-active-color: $white !default;
|
|
897
908
|
$pagination-active-bg: $primary !default;
|
|
898
909
|
$pagination-active-border-color: $primary !default;
|
|
899
910
|
$pagination-disabled-color: $gray-400 !default;
|
|
900
|
-
$pagination-disabled-bg: $
|
|
911
|
+
$pagination-disabled-bg: $bg-default !default;
|
|
901
912
|
$pagination-disabled-border-color: $gray-200 !default;
|
|
902
913
|
$pagination-total-pages-color: $gray-700;
|
|
903
914
|
$pagination-jumper-margin: 0 10px !default;
|
|
@@ -911,7 +922,7 @@ $pagination-page-size-width-lg: 7.875rem;
|
|
|
911
922
|
$tooltip-font-size: $font-size-base !default;
|
|
912
923
|
$tooltip-max-width: 350px !default;
|
|
913
924
|
$tooltip-color: $white !default;
|
|
914
|
-
$tooltip-bg:
|
|
925
|
+
$tooltip-bg: var(--tooltip-bg-color) !default;
|
|
915
926
|
$tooltip-border-radius: $border-radius !default;
|
|
916
927
|
$tooltip-opacity: 0.9 !default;
|
|
917
928
|
$tooltip-padding-y: 0.375rem !default;
|
|
@@ -1020,8 +1031,7 @@ $divider-colors: map.merge(
|
|
|
1020
1031
|
// segment
|
|
1021
1032
|
$segment-container-padding: 2px !default;
|
|
1022
1033
|
$segment-border-radius: 2px !default;
|
|
1023
|
-
$segment-bg:
|
|
1024
|
-
$segment-item-active-bg: $white !default;
|
|
1034
|
+
$segment-active-bg-color: var(--segment-active-bg-color) !default;
|
|
1025
1035
|
$segment-height-default: 36px !default;
|
|
1026
1036
|
$segment-height-md: 32px !default;
|
|
1027
1037
|
$segment-height-sm: 28px !default;
|
|
@@ -1047,6 +1057,9 @@ $segment-icon-with-text-default-color: $gray-600 !default;
|
|
|
1047
1057
|
$segment-icon-with-text-active-color: $gray-700 !default;
|
|
1048
1058
|
$segment-icon-with-text-hover-color: $gray-700 !default;
|
|
1049
1059
|
$segment-disabled-color: $gray-500 !default;
|
|
1060
|
+
$segment-active-box-shadow:
|
|
1061
|
+
0 0 1px 0 rgba(0, 0, 0, 0.1),
|
|
1062
|
+
0 1px 4px -1px rgba(0, 0, 0, 0.1) !default;
|
|
1050
1063
|
|
|
1051
1064
|
// collapse
|
|
1052
1065
|
$collapse-border-color: $gray-200 !default;
|
|
@@ -1118,6 +1131,31 @@ $skeleton-row-width: 100%;
|
|
|
1118
1131
|
$skeleton-primary-color: $gray-70;
|
|
1119
1132
|
$skeleton-animated-interval: 1.5s;
|
|
1120
1133
|
|
|
1134
|
+
// image
|
|
1135
|
+
$image-preview-bg-color: var(--image-preview-bg-color) !default;
|
|
1136
|
+
$image-preview-backdrop-bg-color: var(--image-preview-backdrop-bg-color) !default;
|
|
1137
|
+
$image-preview-text-color: var(--image-preview-text-color) !default;
|
|
1138
|
+
$image-preview-action-bg-color: var(--image-preview-action-bg-color) !default;
|
|
1139
|
+
$image-preview-action-icon-color: var(--image-preview-action-icon-color) !default;
|
|
1140
|
+
$image-preview-switch-bg-color: var(--image-preview-switch-bg-color) !default;
|
|
1141
|
+
$image-preview-switch-hover-bg-color: var(--image-preview-switch-hover-bg-color) !default;
|
|
1142
|
+
$image-preview-switch-icon-color: var(--image-preview-switch-icon-color) !default;
|
|
1143
|
+
$image-preview-switch-icon-hover-color: var(--image-preview-switch-icon-hover-color) !default;
|
|
1144
|
+
|
|
1145
|
+
// carousel
|
|
1146
|
+
$carousel-dot-bg-color: var(--carousel-dot-bg-color) !default;
|
|
1147
|
+
$carousel-control-bg-color: var(--carousel-control-bg-color) !default;
|
|
1148
|
+
$carousel-control-hover-bg-color: var(--carousel-control-hover-bg-color) !default;
|
|
1149
|
+
|
|
1150
|
+
// color-picker
|
|
1151
|
+
$color-picker-pointer-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5) !default;
|
|
1152
|
+
|
|
1153
|
+
// calendar
|
|
1154
|
+
$calendar-active-box-shadow: var(--calendar-active-box-shadow) !default;
|
|
1155
|
+
|
|
1156
|
+
// drag drop
|
|
1157
|
+
$cdk-drag-preview-box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.08) !default;
|
|
1158
|
+
|
|
1121
1159
|
// Prevent style packing optimization
|
|
1122
1160
|
$zero: 0;
|
|
1123
1161
|
|
package/switch/styles/mixin.scss
CHANGED
|
@@ -34,13 +34,9 @@
|
|
|
34
34
|
font-weight: 600;
|
|
35
35
|
text-transform: uppercase;
|
|
36
36
|
background-color: variables.$gray-400;
|
|
37
|
-
// border: 1px solid $border-color;
|
|
38
37
|
border-radius: 2px;
|
|
39
38
|
transition: opacity background 0.15s ease-out;
|
|
40
39
|
}
|
|
41
|
-
.thy-switch-input:checked ~ .thy-switch-label {
|
|
42
|
-
//background: $gray-lightest;
|
|
43
|
-
}
|
|
44
40
|
.thy-switch-input:checked ~ .thy-switch-label::before {
|
|
45
41
|
opacity: 0;
|
|
46
42
|
}
|
|
@@ -54,19 +50,14 @@
|
|
|
54
50
|
width: $height - $handle-margin * 2;
|
|
55
51
|
height: $height - $handle-margin * 2;
|
|
56
52
|
background: variables.$white;
|
|
57
|
-
// border: 1px solid $border-color;
|
|
58
53
|
border-radius: 1px;
|
|
59
54
|
transition: left 0.15s ease-out;
|
|
60
55
|
border: 0;
|
|
61
|
-
// box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
|
|
62
56
|
}
|
|
63
57
|
.thy-switch-input:checked ~ .thy-switch-handle {
|
|
64
58
|
left: $width - $height + $handle-margin;
|
|
65
59
|
}
|
|
66
60
|
@extend .thy-switch-pill;
|
|
67
|
-
// &.thy-switch-lg {
|
|
68
|
-
// @include thy-switch-size($switch-lg-width, $switch-lg-height, 0);
|
|
69
|
-
// }
|
|
70
61
|
&.thy-switch-sm {
|
|
71
62
|
@include thy-switch-size(variables.$switch-sm-width, variables.$switch-sm-height, 2);
|
|
72
63
|
}
|
|
@@ -78,9 +69,5 @@
|
|
|
78
69
|
@mixin thy-switch-variant($color) {
|
|
79
70
|
> .thy-switch-input:checked ~ .thy-switch-label {
|
|
80
71
|
background: $color !important;
|
|
81
|
-
// border-color: darken($color, 10%);
|
|
82
|
-
}
|
|
83
|
-
> .thy-switch-input:checked ~ .thy-switch-handle {
|
|
84
|
-
// border-color: darken($color, 10%);
|
|
85
72
|
}
|
|
86
73
|
}
|
package/table/styles/table.scss
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
@mixin thy-table-scroll-left {
|
|
6
6
|
.thy-table-fixed-column-right {
|
|
7
|
-
box-shadow: -
|
|
7
|
+
box-shadow: variables.$table-fixed-column-right-box-shadow;
|
|
8
8
|
|
|
9
9
|
& + .thy-table-fixed-column-right {
|
|
10
|
-
box-shadow: none;
|
|
10
|
+
box-shadow: variables.$box-shadow-none;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
@mixin thy-table-scroll-right {
|
|
16
16
|
.thy-table-fixed-column-left {
|
|
17
|
-
box-shadow:
|
|
17
|
+
box-shadow: variables.$table-fixed-column-left-box-shadow;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -231,8 +231,6 @@
|
|
|
231
231
|
|
|
232
232
|
.thy-table-footer {
|
|
233
233
|
margin-top: variables.$table-footer-margin-top;
|
|
234
|
-
// display: flex;
|
|
235
|
-
// justify-content: flex-end;
|
|
236
234
|
|
|
237
235
|
&.thy-table-footer-has-padding {
|
|
238
236
|
padding: variables.$table-footer-padding;
|
|
@@ -269,16 +267,6 @@
|
|
|
269
267
|
}
|
|
270
268
|
}
|
|
271
269
|
|
|
272
|
-
// &.thy-table-bordered {
|
|
273
|
-
// border-radius: variables.$table-boxed-border-radius;
|
|
274
|
-
// border: variables.$table-border-width solid variables.$gray-200;
|
|
275
|
-
// overflow: hidden;
|
|
276
|
-
// table {
|
|
277
|
-
// border-collapse: collapse;
|
|
278
|
-
// border-style: hidden;
|
|
279
|
-
// }
|
|
280
|
-
// }
|
|
281
|
-
|
|
282
270
|
&-fixed {
|
|
283
271
|
flex: auto;
|
|
284
272
|
width: 100%;
|
|
@@ -296,7 +284,7 @@
|
|
|
296
284
|
|
|
297
285
|
.thy-table-fixed-column-left,
|
|
298
286
|
.thy-table-fixed-column-right {
|
|
299
|
-
background-color: variables.$
|
|
287
|
+
background-color: variables.$bg-default;
|
|
300
288
|
position: sticky !important;
|
|
301
289
|
z-index: variables.$z-index-5;
|
|
302
290
|
}
|
|
@@ -357,8 +345,8 @@
|
|
|
357
345
|
|
|
358
346
|
&-fixed-header {
|
|
359
347
|
thead {
|
|
360
|
-
|
|
361
|
-
background-color: variables.$
|
|
348
|
+
border: 1px solid variables.$gray-200;
|
|
349
|
+
background-color: variables.$bg-default;
|
|
362
350
|
position: sticky;
|
|
363
351
|
left: 0;
|
|
364
352
|
top: 0;
|
|
@@ -390,7 +378,7 @@
|
|
|
390
378
|
th:last-child::after {
|
|
391
379
|
width: 1px;
|
|
392
380
|
height: 2px;
|
|
393
|
-
background: variables.$
|
|
381
|
+
background: variables.$bg-default;
|
|
394
382
|
content: '';
|
|
395
383
|
display: block;
|
|
396
384
|
position: absolute;
|
package/tabs/styles/tabs.scss
CHANGED
package/tag/styles/mixin.scss
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
|
+
@use 'sass:color';
|
|
1
2
|
@use '../../styles/variables.scss';
|
|
2
3
|
|
|
3
|
-
@mixin tag-bg-variant($bg-color, $bg-
|
|
4
|
+
@mixin tag-bg-variant($bg-color, $hover-bg-color: null) {
|
|
4
5
|
& {
|
|
5
6
|
background-color: $bg-color;
|
|
6
7
|
}
|
|
7
8
|
|
|
8
9
|
&.thy-tag-hover {
|
|
9
10
|
&:hover {
|
|
10
|
-
|
|
11
|
+
@if $hover-bg-color != null {
|
|
12
|
+
background-color: $hover-bg-color;
|
|
13
|
+
} @else {
|
|
14
|
+
background-color: color.adjust($bg-color, $lightness: -5%);
|
|
15
|
+
}
|
|
11
16
|
cursor: variables.$hand-cursor;
|
|
12
17
|
}
|
|
13
18
|
}
|
|
@@ -47,44 +52,4 @@
|
|
|
47
52
|
.thy-icon {
|
|
48
53
|
font-size: $icon-font-size;
|
|
49
54
|
}
|
|
50
|
-
// @if $size == lg {
|
|
51
|
-
// &-#{$size} {
|
|
52
|
-
// height: $height;
|
|
53
|
-
// padding: {
|
|
54
|
-
// left: $padding-x;
|
|
55
|
-
// right: $padding-x;
|
|
56
|
-
// }
|
|
57
|
-
// font-size: variables.$font-size-base;
|
|
58
|
-
// .i,
|
|
59
|
-
// .thy-icon {
|
|
60
|
-
// font-size: variables.$font-size-md;
|
|
61
|
-
// }
|
|
62
|
-
// }
|
|
63
|
-
// } @else if $size == md {
|
|
64
|
-
// &-#{$size} {
|
|
65
|
-
// height: $height;
|
|
66
|
-
// font-size: variables.$font-size-sm;
|
|
67
|
-
// padding: {
|
|
68
|
-
// left: $padding-x;
|
|
69
|
-
// right: $padding-x;
|
|
70
|
-
// }
|
|
71
|
-
// .i,
|
|
72
|
-
// .thy-icon {
|
|
73
|
-
// font-size: variables.$font-size-base;
|
|
74
|
-
// }
|
|
75
|
-
// }
|
|
76
|
-
// } @else {
|
|
77
|
-
// &-#{$size} {
|
|
78
|
-
// height: $height;
|
|
79
|
-
// font-size: variables.$font-size-sm;
|
|
80
|
-
// padding: {
|
|
81
|
-
// left: $padding-x;
|
|
82
|
-
// right: $padding-x;
|
|
83
|
-
// }
|
|
84
|
-
// .i,
|
|
85
|
-
// .thy-icon {
|
|
86
|
-
// font-size: variables.$font-size-sm;
|
|
87
|
-
// }
|
|
88
|
-
// }
|
|
89
|
-
// }
|
|
90
55
|
}
|
package/tag/styles/tag.scss
CHANGED
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
/**** colors ****/
|
|
53
53
|
@each $color, $value in variables.$tag-colors {
|
|
54
54
|
&-#{$color} {
|
|
55
|
-
@include mixin.tag-bg-variant($value
|
|
55
|
+
@include mixin.tag-bg-variant($value);
|
|
56
56
|
@include mixin.tag-color-variant(variables.$white, variables.$white);
|
|
57
57
|
}
|
|
58
58
|
&-weak-fill-#{$color} {
|
|
59
|
-
@include mixin.tag-bg-variant(rgba($value, 0.1)
|
|
59
|
+
@include mixin.tag-bg-variant(rgba($value, 0.1));
|
|
60
60
|
@include mixin.tag-color-variant($value, $value);
|
|
61
61
|
}
|
|
62
62
|
&-outline-#{$color} {
|
|
@@ -9,7 +9,7 @@ $column-border: 1px solid vars.$time-picker-panel-border-color;
|
|
|
9
9
|
border: $column-border;
|
|
10
10
|
border-radius: variables.$border-radius-lg;
|
|
11
11
|
box-shadow: variables.$box-shadow;
|
|
12
|
-
background-color: variables.$
|
|
12
|
+
background-color: variables.$bg-panel;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
&-columns-2 {
|
|
15
15
|
width: vars.$time-picker-panel-column-2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use
|
|
1
|
+
@use '../../styles/variables';
|
|
2
2
|
|
|
3
3
|
.thy-timeline-item {
|
|
4
4
|
position: relative;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
position: absolute;
|
|
17
17
|
width: 7px;
|
|
18
18
|
height: 7px;
|
|
19
|
-
background-color: variables.$
|
|
19
|
+
background-color: variables.$bg-default;
|
|
20
20
|
border: 1px solid transparent;
|
|
21
21
|
border-radius: 50%;
|
|
22
22
|
}
|
package/tooltip/styles.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
3
|
-
@use
|
|
1
|
+
@use '../styles/bootstrap/mixins/border-radius';
|
|
2
|
+
@use '../styles/bootstrap/mixins/reset-text';
|
|
3
|
+
@use '../styles/variables';
|
|
4
4
|
|
|
5
5
|
.thy-tooltip {
|
|
6
6
|
// position: absolute;
|
|
@@ -146,7 +146,7 @@ $tooltip-un-center-arrow-offset: 16px;
|
|
|
146
146
|
color: variables.$tooltip-color;
|
|
147
147
|
text-align: left;
|
|
148
148
|
background-color: variables.$tooltip-bg;
|
|
149
|
-
box-shadow: variables.$tooltip-box-shadow;
|
|
149
|
+
box-shadow: variables.$tooltip-box-shadow;
|
|
150
150
|
min-height: variables.$tooltip-content-min-height;
|
|
151
151
|
|
|
152
152
|
@include border-radius.border-radius(variables.$tooltip-border-radius);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use
|
|
1
|
+
@use '../../styles/variables';
|
|
2
2
|
|
|
3
3
|
.thy-transfer {
|
|
4
4
|
display: flex;
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
.cdk-drop-list-empty {
|
|
42
42
|
margin: -12px 0;
|
|
43
43
|
padding: 12px 20px;
|
|
44
|
-
background: variables.$
|
|
44
|
+
background: variables.$bg-default;
|
|
45
45
|
}
|
|
46
46
|
.thy-transfer-list-content-item {
|
|
47
47
|
padding-right: 15px;
|
package/tree/styles/tree.scss
CHANGED
|
@@ -114,7 +114,6 @@
|
|
|
114
114
|
&:not(.disabled:not(.expand)) {
|
|
115
115
|
&.hover,
|
|
116
116
|
&:hover {
|
|
117
|
-
// @include item-box-shadow();
|
|
118
117
|
background-color: variables.$gray-100;
|
|
119
118
|
}
|
|
120
119
|
|
|
@@ -138,7 +137,7 @@
|
|
|
138
137
|
&-edit {
|
|
139
138
|
width: 100%;
|
|
140
139
|
input {
|
|
141
|
-
background-color: variables.$
|
|
140
|
+
background-color: variables.$bg-default;
|
|
142
141
|
}
|
|
143
142
|
}
|
|
144
143
|
|
|
@@ -233,7 +232,7 @@
|
|
|
233
232
|
top: -5px;
|
|
234
233
|
width: 8px;
|
|
235
234
|
height: 8px;
|
|
236
|
-
background-color: variables.$
|
|
235
|
+
background-color: variables.$bg-default;
|
|
237
236
|
border: 2px solid variables.$primary;
|
|
238
237
|
border-radius: 50%;
|
|
239
238
|
}
|
|
@@ -253,7 +252,7 @@
|
|
|
253
252
|
bottom: -5px;
|
|
254
253
|
width: 8px;
|
|
255
254
|
height: 8px;
|
|
256
|
-
background-color: variables.$
|
|
255
|
+
background-color: variables.$bg-default;
|
|
257
256
|
border: 2px solid variables.$primary;
|
|
258
257
|
border-radius: 50%;
|
|
259
258
|
}
|
|
@@ -277,7 +276,6 @@
|
|
|
277
276
|
}
|
|
278
277
|
|
|
279
278
|
.thy-tree-node.cdk-drag-preview {
|
|
280
|
-
opacity: 0.9;
|
|
281
279
|
.thy-tree-node-wrapper.active {
|
|
282
280
|
background: unset !important;
|
|
283
281
|
color: unset !important;
|