@sdata/web-vue 2.2.1 → 2.6.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/README.md +1 -1
- package/dist/sd.css +117 -191
- package/dist/sd.min.css +1 -1
- package/es/_components/picker/input-range.vue.d.ts +2 -2
- package/es/_components/transition/expand-transition.vue.d.ts +2 -2
- package/es/_hooks/use-responsive.d.ts +2 -2
- package/es/_hooks/use-theme-mode.d.ts +3 -0
- package/es/{calendar/hooks/use-calendar-theme.js → _hooks/use-theme-mode.js} +14 -10
- package/es/_utils/date.d.ts +10 -9
- package/es/_utils/date.js +23 -7
- package/es/_utils/responsive-observe.d.ts +5 -4
- package/es/_utils/responsive-observe.js +2 -1
- package/es/alert/index.d.ts +3 -3
- package/es/anchor/anchor.vue.d.ts +52 -2
- package/es/anchor/anchor.vue_vue_type_script_setup_true_lang.js +75 -15
- package/es/anchor/index.d.ts +78 -3
- package/es/avatar/index.d.ts +20 -20
- package/es/border-beam/border-beam.js +5 -0
- package/es/border-beam/border-beam.vue.d.ts +52 -0
- package/es/border-beam/border-beam.vue_vue_type_script_setup_true_lang.js +623 -0
- package/es/border-beam/index.d.ts +106 -0
- package/es/border-beam/index.js +10 -0
- package/es/border-beam/pulseDriver.d.ts +2 -0
- package/es/border-beam/pulseDriver.js +74 -0
- package/es/border-beam/style/css.js +2 -0
- package/es/border-beam/style/index.css +21 -0
- package/es/border-beam/style/index.d.ts +2 -0
- package/es/border-beam/style/index.js +2 -0
- package/es/border-beam/style/index.scss +12 -0
- package/es/border-beam/style/token.scss +12 -0
- package/es/border-beam/styles.d.ts +42 -0
- package/es/border-beam/styles.js +3545 -0
- package/es/border-beam/types.d.ts +27 -0
- package/es/button/button.vue.d.ts +16 -3
- package/es/button/button.vue_vue_type_script_setup_true_lang.js +39 -9
- package/es/button/index.d.ts +43 -24
- package/es/button/interface.d.ts +1 -0
- package/es/calendar/components/cell.vue.d.ts +26 -26
- package/es/calendar/components/index.vue.d.ts +1 -1
- package/es/calendar/components/index.vue_vue_type_script_setup_true_lang.js +3 -2
- package/es/calendar/index.d.ts +5 -5
- package/es/carousel/index.d.ts +3 -3
- package/es/cascader/cascader.vue.d.ts +8 -8
- package/es/checkbox/checkbox.d.ts +3 -3
- package/es/collapse/collapse-item.d.ts +5 -5
- package/es/collapse/index.d.ts +3 -3
- package/es/components.d.ts +1 -0
- package/es/config-provider/config-provider.vue.d.ts +9 -0
- package/es/config-provider/config-provider.vue_vue_type_script_setup_true_lang.js +10 -1
- package/es/config-provider/context.d.ts +1 -0
- package/es/config-provider/index.d.ts +36 -21
- package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +1 -0
- package/es/date-picker/hooks/use-cell-class-name.d.ts +1 -0
- package/es/date-picker/hooks/use-cell-class-name.js +3 -2
- package/es/date-picker/hooks/use-header-value.d.ts +2 -0
- package/es/date-picker/hooks/use-header-value.js +23 -19
- package/es/date-picker/hooks/use-picker-state.d.ts +2 -0
- package/es/date-picker/hooks/use-picker-state.js +3 -3
- package/es/date-picker/hooks/use-range-header-value.d.ts +2 -0
- package/es/date-picker/hooks/use-range-header-value.js +5 -1
- package/es/date-picker/hooks/use-range-picker-state.d.ts +2 -0
- package/es/date-picker/hooks/use-range-picker-state.js +3 -3
- package/es/date-picker/hooks/use-value-format.d.ts +5 -3
- package/es/date-picker/hooks/use-value-format.js +10 -8
- package/es/date-picker/index.d.ts +1373 -12
- package/es/date-picker/interface.d.ts +7 -0
- package/es/date-picker/panels/body.vue.d.ts +24 -6
- package/es/date-picker/panels/body.vue_vue_type_script_setup_true_lang.js +13 -12
- package/es/date-picker/panels/date/index.vue.d.ts +26 -8
- package/es/date-picker/panels/date/index.vue_vue_type_script_setup_true_lang.js +18 -9
- package/es/date-picker/panels/header.vue_vue_type_script_setup_true_lang.js +13 -20
- package/es/date-picker/panels/month/index.vue.d.ts +13 -8
- package/es/date-picker/panels/month/index.vue_vue_type_script_setup_true_lang.js +6 -6
- package/es/date-picker/panels/quarter/index.vue.d.ts +13 -8
- package/es/date-picker/panels/quarter/index.vue_vue_type_script_setup_true_lang.js +6 -6
- package/es/date-picker/panels/shortcuts.vue_vue_type_script_setup_true_lang.js +2 -6
- package/es/date-picker/panels/week/index.vue.d.ts +13 -1
- package/es/date-picker/panels/week/index.vue_vue_type_script_setup_true_lang.js +5 -2
- package/es/date-picker/panels/year/index.vue.d.ts +13 -8
- package/es/date-picker/panels/year/index.vue_vue_type_script_setup_true_lang.js +25 -15
- package/es/date-picker/picker-panel.vue.d.ts +56 -14
- package/es/date-picker/picker-panel.vue_vue_type_script_setup_true_lang.js +36 -19
- package/es/date-picker/picker.vue.d.ts +951 -3
- package/es/date-picker/picker.vue_vue_type_script_setup_true_lang.js +91 -29
- package/es/date-picker/range-picker-panel.vue.d.ts +77 -15
- package/es/date-picker/range-picker-panel.vue_vue_type_script_setup_true_lang.js +52 -28
- package/es/date-picker/range-picker.vue.d.ts +1348 -4
- package/es/date-picker/range-picker.vue_vue_type_script_setup_true_lang.js +114 -34
- package/es/descriptions/index.d.ts +24 -24
- package/es/drawer/drawer.vue.d.ts +5 -5
- package/es/drawer/index.d.ts +15 -15
- package/es/dropdown/dropdown-button.vue.d.ts +4 -4
- package/es/dropdown/index.d.ts +15 -15
- package/es/ellipsis/ellipsis.vue.d.ts +7 -7
- package/es/ellipsis/performant-ellipsis.vue.d.ts +5 -5
- package/es/form/form-item.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/form/index.d.ts +3 -3
- package/es/grid/grid-col.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/grid/grid.vue_vue_type_script_setup_true_lang.js +10 -10
- package/es/icon/icon-menu/icon-menu.js +5 -0
- package/es/icon/icon-menu/icon-menu.vue_vue_type_script_setup_true_lang.js +52 -0
- package/es/icon/icon-menu/index.js +9 -0
- package/es/image/preview-toolbar.vue.d.ts +2 -3
- package/es/image/preview-toolbar.vue_vue_type_script_setup_true_lang.js +2 -3
- package/es/image/preview.vue.d.ts +2 -2
- package/es/index.css +117 -191
- package/es/index.d.ts +3 -1
- package/es/index.js +3 -2
- package/es/index.scss +1 -0
- package/es/input/index.d.ts +7 -7
- package/es/input/input-password.vue.d.ts +3 -3
- package/es/json-form/index.d.ts +9 -9
- package/es/json-form/json-form-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/json-form/json-form.vue.d.ts +3 -3
- package/es/layout/content.vue.d.ts +2 -2
- package/es/layout/content.vue_vue_type_script_setup_true_lang.js +8 -3
- package/es/layout/context.d.ts +12 -9
- package/es/layout/context.js +11 -3
- package/es/layout/footer.vue.d.ts +2 -2
- package/es/layout/footer.vue_vue_type_script_setup_true_lang.js +8 -3
- package/es/layout/header.vue.d.ts +3 -30
- package/es/layout/header.vue_vue_type_script_setup_true_lang.js +9 -339
- package/es/layout/hooks/use-has-sider.d.ts +2 -0
- package/es/layout/hooks/use-has-sider.js +38 -0
- package/es/layout/index.d.ts +91 -380
- package/es/layout/index.js +2 -2
- package/es/layout/interface.d.ts +12 -46
- package/es/layout/layout.vue.d.ts +4 -2
- package/es/layout/layout.vue_vue_type_script_setup_true_lang.js +38 -14
- package/es/layout/sider.vue.d.ts +47 -183
- package/es/layout/sider.vue_vue_type_script_setup_true_lang.js +191 -370
- package/es/layout/style/index.css +112 -190
- package/es/layout/style/index.scss +127 -239
- package/es/layout/style/token.scss +46 -26
- package/es/link/index.d.ts +6 -6
- package/es/list/index.d.ts +18 -18
- package/es/locale/interface.d.ts +2 -0
- package/es/locale/lang/ar-eg.js +46 -0
- package/es/locale/lang/de-de.js +46 -0
- package/es/locale/lang/es-es.js +46 -0
- package/es/locale/lang/fr-fr.js +46 -0
- package/es/locale/lang/id-id.js +46 -0
- package/es/locale/lang/it-it.js +46 -0
- package/es/locale/lang/km-kh.js +46 -0
- package/es/locale/lang/ko-kr.js +46 -0
- package/es/locale/lang/ms-my.js +46 -0
- package/es/locale/lang/pt-pt.js +46 -0
- package/es/locale/lang/th-th.js +46 -0
- package/es/locale/lang/vi-vn.js +46 -0
- package/es/mention/mention.js +2 -0
- package/es/menu/base-menu.vue.d.ts +1 -1
- package/es/menu/base-menu.vue_vue_type_script_setup_true_lang.js +14 -14
- package/es/menu/item.d.ts +1 -1
- package/es/menu/menu.d.ts +12 -12
- package/es/menu/menu.js +3 -3
- package/es/menu/sub-menu-pop.vue_vue_type_script_setup_true_lang.js +3 -4
- package/es/modal/index.d.ts +22 -20
- package/es/modal/index.js +47 -11
- package/es/modal/interface.d.ts +5 -0
- package/es/modal/modal.vue.d.ts +4 -4
- package/es/popconfirm/index.d.ts +12 -12
- package/es/popover/index.d.ts +12 -12
- package/es/progress/index.d.ts +6 -6
- package/es/qr-code/index.d.ts +3 -3
- package/es/radio/radio.d.ts +3 -3
- package/es/resize-box/resize-box.vue.d.ts +4 -4
- package/es/resize-box/resize-box.vue_vue_type_script_setup_true_lang.js +7 -7
- package/es/result/index.d.ts +3 -3
- package/es/scrollbar/style/index.css +1 -1
- package/es/scrollbar/style/index.scss +4 -1
- package/es/sd-vue.js +3 -1
- package/es/select/select.d.ts +17 -17
- package/es/slider/index.d.ts +3 -3
- package/es/split/split.vue.d.ts +4 -4
- package/es/split/split.vue_vue_type_script_setup_true_lang.js +6 -6
- package/es/steps/index.d.ts +6 -6
- package/es/tabs/index.d.ts +6 -6
- package/es/tag/index.d.ts +6 -6
- package/es/tag/tag.vue.d.ts +2 -2
- package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +4 -4
- package/es/theme-provider/index.d.ts +9 -9
- package/es/time-picker/index.d.ts +6 -6
- package/es/time-picker/time-picker.vue.d.ts +2 -2
- package/es/timeline/index.d.ts +3 -3
- package/es/timeline/timeline.d.ts +1 -1
- package/es/tooltip/index.d.ts +3 -3
- package/es/tour/index.d.ts +3 -3
- package/es/tour/tour.vue_vue_type_script_setup_true_lang.js +6 -6
- package/es/tree/base-node.vue_vue_type_script_setup_true_lang.js +6 -21
- package/es/tree/expand-transition.vue.d.ts +2 -2
- package/es/tree/node-switcher.vue.d.ts +1 -12
- package/es/tree/node-switcher.vue_vue_type_script_lang.js +1 -5
- package/es/tree/tree.vue_vue_type_script_setup_true_lang.js +23 -23
- package/es/tree-select/tree-select.vue.d.ts +9 -9
- package/es/trigger/trigger.js +2 -1
- package/es/verification-code/verification-code.js +17 -7
- package/json/vetur-attributes.json +76 -156
- package/json/vetur-tags.json +26 -44
- package/json/web-types.json +150 -304
- package/package.json +5 -5
- package/es/_components/render-function.d.ts +0 -14
- package/es/_components/render-function.js +0 -14
- package/es/calendar/hooks/use-calendar-theme.d.ts +0 -4
- package/es/layout/utils.d.ts +0 -1
- package/es/layout/utils.js +0 -11
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
1
2
|
/******** borderSize *******/
|
|
2
3
|
/******** borderStyle *******/
|
|
3
4
|
/******** radius *******/
|
|
@@ -15,229 +16,150 @@
|
|
|
15
16
|
/******** link *******/
|
|
16
17
|
/******** radius *******/
|
|
17
18
|
/********* icon hover *********/
|
|
19
|
+
/*****************************************************
|
|
20
|
+
* Layout 整体背景(容器主体与页脚共用)
|
|
21
|
+
*****************************************************/
|
|
22
|
+
/*****************************************************
|
|
23
|
+
* Header
|
|
24
|
+
*****************************************************/
|
|
25
|
+
/*****************************************************
|
|
26
|
+
* Footer
|
|
27
|
+
*****************************************************/
|
|
28
|
+
/*****************************************************
|
|
29
|
+
* Sider
|
|
30
|
+
* 深色背景与 Menu 深色背景保持一致,避免内嵌菜单出现接缝
|
|
31
|
+
*****************************************************/
|
|
32
|
+
/*****************************************************
|
|
33
|
+
* Sider light 主题
|
|
34
|
+
*****************************************************/
|
|
35
|
+
/*****************************************************
|
|
36
|
+
* 公共
|
|
37
|
+
*****************************************************/
|
|
18
38
|
.sd-layout {
|
|
19
39
|
display: flex;
|
|
20
|
-
flex:
|
|
40
|
+
flex: auto;
|
|
21
41
|
flex-direction: column;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
.sd-layout-sider {
|
|
26
|
-
position: relative;
|
|
27
|
-
flex: none;
|
|
28
|
-
width: auto;
|
|
29
|
-
max-width: 100%;
|
|
30
|
-
margin: 0;
|
|
31
|
-
padding: 0;
|
|
32
|
-
overflow: hidden;
|
|
33
|
-
background: var(--sd-color-menu-dark-bg);
|
|
34
|
-
transition: width 0.2s cubic-bezier(0.34, 0.69, 0.1, 1), height 0.2s cubic-bezier(0.34, 0.69, 0.1, 1), transform 0.2s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
42
|
+
/* fix firefox can't set height smaller than content on flex item */
|
|
43
|
+
min-height: 0;
|
|
44
|
+
background: var(--sd-color-fill-1);
|
|
35
45
|
}
|
|
36
|
-
.sd-layout
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
.sd-layout-sider-children {
|
|
40
|
-
flex: 1;
|
|
41
|
-
height: 100%;
|
|
42
|
-
overflow: auto;
|
|
43
|
-
}
|
|
44
|
-
.sd-layout-sider-mask {
|
|
45
|
-
position: fixed;
|
|
46
|
-
inset: 0;
|
|
47
|
-
background: rgba(0, 0, 0, 0.45);
|
|
46
|
+
.sd-layout, .sd-layout * {
|
|
47
|
+
box-sizing: border-box;
|
|
48
48
|
}
|
|
49
|
-
.sd-layout
|
|
50
|
-
|
|
49
|
+
.sd-layout.sd-layout-has-sider {
|
|
50
|
+
flex-direction: row;
|
|
51
51
|
}
|
|
52
|
-
.sd-layout-sider
|
|
52
|
+
.sd-layout.sd-layout-has-sider > .sd-layout,
|
|
53
|
+
.sd-layout.sd-layout-has-sider > .sd-layout-content {
|
|
53
54
|
width: 0;
|
|
54
55
|
}
|
|
55
|
-
.sd-layout-
|
|
56
|
-
|
|
57
|
-
flex-direction: column;
|
|
58
|
-
box-sizing: border-box;
|
|
59
|
-
padding-bottom: 48px;
|
|
60
|
-
}
|
|
61
|
-
.sd-layout-sider-rail {
|
|
62
|
-
width: 56px;
|
|
56
|
+
.sd-layout .sd-layout-header, .sd-layout.sd-layout-footer {
|
|
57
|
+
flex: 0 0 auto;
|
|
63
58
|
}
|
|
64
|
-
.sd-layout-
|
|
65
|
-
|
|
66
|
-
right: 0;
|
|
67
|
-
bottom: 0;
|
|
68
|
-
left: 0;
|
|
69
|
-
z-index: 1;
|
|
70
|
-
display: flex;
|
|
71
|
-
align-items: center;
|
|
72
|
-
justify-content: center;
|
|
73
|
-
box-sizing: border-box;
|
|
74
|
-
width: 100%;
|
|
75
|
-
height: 48px;
|
|
76
|
-
color: var(--sd-color-white);
|
|
77
|
-
background: rgba(255, 255, 255, 0.2);
|
|
78
|
-
cursor: pointer;
|
|
79
|
-
transition: width 0.2s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
59
|
+
.sd-layout-rtl {
|
|
60
|
+
direction: rtl;
|
|
80
61
|
}
|
|
81
|
-
|
|
62
|
+
|
|
63
|
+
.sd-layout-header {
|
|
64
|
+
height: 64px;
|
|
65
|
+
padding: 0 50px;
|
|
82
66
|
color: var(--sd-color-text-1);
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
}
|
|
86
|
-
.sd-layout-sider-floating {
|
|
87
|
-
box-shadow: none;
|
|
88
|
-
}
|
|
89
|
-
.sd-layout-sider-sticky {
|
|
90
|
-
z-index: 1;
|
|
67
|
+
line-height: 64px;
|
|
68
|
+
background: #001529;
|
|
91
69
|
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
96
|
-
.sd-layout-sider-temporary.sd-layout-sider-left {
|
|
97
|
-
top: 0;
|
|
98
|
-
bottom: 0;
|
|
99
|
-
left: 0;
|
|
100
|
-
transform: translateX(-100%);
|
|
101
|
-
}
|
|
102
|
-
.sd-layout-sider-temporary.sd-layout-sider-right {
|
|
103
|
-
top: 0;
|
|
104
|
-
right: 0;
|
|
105
|
-
bottom: 0;
|
|
106
|
-
transform: translateX(100%);
|
|
107
|
-
}
|
|
108
|
-
.sd-layout-sider-temporary.sd-layout-sider-top {
|
|
109
|
-
top: 0;
|
|
110
|
-
right: 0;
|
|
111
|
-
left: 0;
|
|
112
|
-
width: 100%;
|
|
113
|
-
transform: translateY(-100%);
|
|
114
|
-
}
|
|
115
|
-
.sd-layout-sider-temporary.sd-layout-sider-bottom {
|
|
116
|
-
right: 0;
|
|
117
|
-
bottom: 0;
|
|
118
|
-
left: 0;
|
|
119
|
-
width: 100%;
|
|
120
|
-
transform: translateY(100%);
|
|
121
|
-
}
|
|
122
|
-
.sd-layout-sider-temporary.sd-layout-sider-active {
|
|
123
|
-
transform: translate(0, 0);
|
|
124
|
-
}
|
|
125
|
-
.sd-layout-sider-light {
|
|
126
|
-
background: var(--sd-color-menu-light-bg);
|
|
127
|
-
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.08);
|
|
128
|
-
}
|
|
129
|
-
.sd-layout-header {
|
|
130
|
-
position: relative;
|
|
131
|
-
flex: 0 0 auto;
|
|
132
|
-
box-sizing: border-box;
|
|
133
|
-
margin: 0;
|
|
134
|
-
overflow: hidden;
|
|
70
|
+
|
|
71
|
+
.sd-layout-footer {
|
|
72
|
+
padding: 24px 50px;
|
|
135
73
|
color: var(--sd-color-text-1);
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
transition: height 0.2s cubic-bezier(0.34, 0.69, 0.1, 1), transform 0.2s cubic-bezier(0.34, 0.69, 0.1, 1), box-shadow 0.2s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
74
|
+
font-size: 14px;
|
|
75
|
+
background: var(--sd-color-fill-1);
|
|
139
76
|
}
|
|
140
|
-
|
|
141
|
-
|
|
77
|
+
|
|
78
|
+
.sd-layout-content {
|
|
79
|
+
flex: auto;
|
|
80
|
+
min-height: 0;
|
|
81
|
+
color: var(--sd-color-text-1);
|
|
142
82
|
}
|
|
143
|
-
|
|
83
|
+
|
|
84
|
+
.sd-layout-sider {
|
|
85
|
+
position: relative;
|
|
144
86
|
display: flex;
|
|
145
|
-
|
|
87
|
+
flex-direction: column;
|
|
88
|
+
min-width: 0;
|
|
89
|
+
background: var(--sd-color-menu-dark-bg);
|
|
90
|
+
transition: all 0.2s cubic-bezier(0.34, 0.69, 0.1, 1), background 0s;
|
|
146
91
|
}
|
|
147
|
-
.sd-layout-
|
|
148
|
-
|
|
149
|
-
z-index: 1;
|
|
150
|
-
gap: 16px;
|
|
151
|
-
min-height: var(--sd-layout-header-content-height, 64px);
|
|
152
|
-
padding: 0 20px;
|
|
92
|
+
.sd-layout-sider-has-trigger {
|
|
93
|
+
padding-bottom: 44px;
|
|
153
94
|
}
|
|
154
|
-
.sd-layout-
|
|
155
|
-
|
|
156
|
-
gap: 8px;
|
|
95
|
+
.sd-layout-sider-right {
|
|
96
|
+
order: 1;
|
|
157
97
|
}
|
|
158
|
-
.sd-layout-header
|
|
159
|
-
position: relative;
|
|
160
|
-
z-index: 1;
|
|
98
|
+
.sd-layout-sider-header {
|
|
161
99
|
flex: none;
|
|
162
|
-
max-width: min(40%, 480px);
|
|
163
|
-
overflow: hidden;
|
|
164
|
-
color: inherit;
|
|
165
|
-
font-weight: 600;
|
|
166
|
-
font-size: 18px;
|
|
167
|
-
white-space: nowrap;
|
|
168
|
-
text-overflow: ellipsis;
|
|
169
100
|
}
|
|
170
|
-
.sd-layout-
|
|
171
|
-
position: relative;
|
|
172
|
-
z-index: 1;
|
|
101
|
+
.sd-layout-sider-children {
|
|
173
102
|
flex: 1;
|
|
174
|
-
|
|
175
|
-
min-width: 0;
|
|
103
|
+
min-height: 0;
|
|
176
104
|
}
|
|
177
|
-
.sd-layout-
|
|
178
|
-
|
|
179
|
-
z-index: 1;
|
|
180
|
-
gap: 8px;
|
|
181
|
-
min-height: var(--sd-layout-header-extension-height, 48px);
|
|
182
|
-
padding: 0 20px;
|
|
183
|
-
border-top: 1px solid var(--sd-color-border-2);
|
|
105
|
+
.sd-layout-sider-children-scroll {
|
|
106
|
+
overflow: hidden auto;
|
|
184
107
|
}
|
|
185
|
-
.sd-layout-
|
|
186
|
-
position: absolute;
|
|
187
|
-
inset: 0;
|
|
108
|
+
.sd-layout-sider-zero-width .sd-layout-sider-children {
|
|
188
109
|
overflow: hidden;
|
|
189
110
|
}
|
|
190
|
-
.sd-layout-
|
|
111
|
+
.sd-layout-sider-trigger {
|
|
191
112
|
position: absolute;
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
opacity: var(--sd-layout-header-image-opacity, 1);
|
|
201
|
-
transition: opacity 0.2s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
202
|
-
}
|
|
203
|
-
.sd-layout-header-flat {
|
|
204
|
-
box-shadow: none;
|
|
205
|
-
}
|
|
206
|
-
.sd-layout-header:not(.sd-layout-header-flat) {
|
|
207
|
-
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
|
208
|
-
}
|
|
209
|
-
.sd-layout-header-floating {
|
|
210
|
-
box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
|
|
211
|
-
}
|
|
212
|
-
.sd-layout-header-hidden {
|
|
213
|
-
pointer-events: none;
|
|
214
|
-
}
|
|
215
|
-
.sd-layout-header-collapsed .sd-layout-header-extension {
|
|
216
|
-
display: none;
|
|
113
|
+
bottom: 0;
|
|
114
|
+
z-index: 1;
|
|
115
|
+
height: 44px;
|
|
116
|
+
color: var(--sd-color-white);
|
|
117
|
+
line-height: 44px;
|
|
118
|
+
text-align: center;
|
|
119
|
+
cursor: pointer;
|
|
120
|
+
transition: all 0.2s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
217
121
|
}
|
|
218
|
-
.sd-layout-
|
|
122
|
+
.sd-layout-sider-zero-width-trigger {
|
|
123
|
+
position: absolute;
|
|
124
|
+
top: 64px;
|
|
125
|
+
z-index: 1;
|
|
126
|
+
display: flex;
|
|
127
|
+
align-items: center;
|
|
128
|
+
justify-content: center;
|
|
129
|
+
width: 40px;
|
|
130
|
+
height: 40px;
|
|
219
131
|
color: var(--sd-color-white);
|
|
220
|
-
|
|
132
|
+
font-size: 18px;
|
|
133
|
+
background: var(--sd-color-menu-dark-bg);
|
|
134
|
+
border-radius: 0 8px 8px 0;
|
|
135
|
+
cursor: pointer;
|
|
136
|
+
transition: background-color 0.3s ease;
|
|
137
|
+
inset-inline-end: -40px;
|
|
221
138
|
}
|
|
222
|
-
.sd-layout-
|
|
223
|
-
|
|
139
|
+
.sd-layout-sider-zero-width-trigger::after {
|
|
140
|
+
position: absolute;
|
|
141
|
+
inset: 0;
|
|
142
|
+
background: transparent;
|
|
143
|
+
transition: all 0.3s;
|
|
144
|
+
content: "";
|
|
224
145
|
}
|
|
225
|
-
.sd-layout-
|
|
226
|
-
|
|
227
|
-
border-bottom: 0;
|
|
146
|
+
.sd-layout-sider-zero-width-trigger:hover::after {
|
|
147
|
+
background: rgba(255, 255, 255, 0.2);
|
|
228
148
|
}
|
|
229
|
-
.sd-layout-
|
|
230
|
-
|
|
149
|
+
.sd-layout-sider-zero-width-trigger-right {
|
|
150
|
+
inset-inline-start: -40px;
|
|
151
|
+
border-radius: 8px 0 0 8px;
|
|
231
152
|
}
|
|
232
|
-
.sd-layout-
|
|
233
|
-
|
|
234
|
-
margin: 0;
|
|
153
|
+
.sd-layout-sider-light {
|
|
154
|
+
background: var(--sd-color-bg-1);
|
|
235
155
|
}
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
156
|
+
.sd-layout-sider-light .sd-layout-sider-trigger {
|
|
157
|
+
color: var(--sd-color-text-1);
|
|
158
|
+
background: var(--sd-color-bg-1);
|
|
239
159
|
}
|
|
240
|
-
.sd-layout-
|
|
241
|
-
|
|
242
|
-
|
|
160
|
+
.sd-layout-sider-light .sd-layout-sider-zero-width-trigger {
|
|
161
|
+
color: var(--sd-color-text-1);
|
|
162
|
+
background: var(--sd-color-bg-1);
|
|
163
|
+
border: 1px solid var(--sd-color-fill-1);
|
|
164
|
+
border-inline-start: 0;
|
|
243
165
|
}
|