@julingbase/jly-arco-design 0.0.2 → 0.0.3
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 +2 -8
- package/dist/arco-vue-icon.js.map +1 -1
- package/dist/arco-vue-icon.min.js.map +1 -1
- package/dist/arco-vue.js +30 -6
- package/dist/arco-vue.js.map +1 -1
- package/dist/arco-vue.min.js +471 -468
- package/dist/arco-vue.min.js.map +1 -1
- package/es/_components/auto-tooltip/style/index.less +10 -10
- package/es/_components/input-label/style/index.less +7 -7
- package/es/_components/input-label/style/input-label.less +70 -70
- package/es/_components/picker/style/index.less +191 -191
- package/es/_components/picker/style/token.less +58 -58
- package/es/_components/select-view/style/index.less +58 -58
- package/es/_components/select-view/style/token.less +4 -4
- package/es/affix/style/index.less +8 -8
- package/es/alert/style/index.less +198 -198
- package/es/alert/style/token.less +76 -76
- package/es/anchor/style/index.less +99 -99
- package/es/anchor/style/token.less +30 -30
- package/es/auto-complete/style/index.less +44 -44
- package/es/auto-complete/style/token.less +29 -29
- package/es/avatar/style/index.less +155 -155
- package/es/avatar/style/token.less +29 -29
- package/es/back-top/style/index.less +33 -33
- package/es/back-top/style/token.less +12 -12
- package/es/badge/style/index.less +178 -178
- package/es/badge/style/token.less +30 -30
- package/es/breadcrumb/style/index.less +76 -76
- package/es/breadcrumb/style/token.less +24 -24
- package/es/button/style/index.less +304 -304
- package/es/button/style/token.less +459 -459
- package/es/calendar/style/index.less +479 -479
- package/es/calendar/style/token.less +62 -62
- package/es/card/style/index.less +219 -219
- package/es/card/style/token.less +40 -40
- package/es/carousel/style/index.less +405 -405
- package/es/carousel/style/slide.less +175 -175
- package/es/carousel/style/token.less +33 -33
- package/es/cascader/style/index.less +234 -234
- package/es/cascader/style/token.less +24 -24
- package/es/checkbox/style/index.less +182 -182
- package/es/checkbox/style/token.less +37 -37
- package/es/collapse/style/index.less +180 -180
- package/es/collapse/style/token.less +34 -34
- package/es/color-picker/style/index.less +309 -309
- package/es/color-picker/style/token.less +70 -70
- package/es/comment/style/index.less +66 -66
- package/es/comment/style/token.less +17 -17
- package/es/date-picker/index.d.ts +1 -1
- package/es/date-picker/picker.d.ts +1 -1
- package/es/date-picker/range-picker.d.ts +1 -1
- package/es/date-picker/style/date.less +128 -128
- package/es/date-picker/style/index.less +309 -309
- package/es/date-picker/style/month.less +26 -26
- package/es/date-picker/style/quarter.less +8 -8
- package/es/date-picker/style/range.less +9 -9
- package/es/date-picker/style/shortcuts.less +25 -25
- package/es/date-picker/style/token.less +76 -76
- package/es/date-picker/style/week.less +68 -68
- package/es/date-picker/style/year.less +8 -8
- package/es/descriptions/descriptions.d.ts +1 -1
- package/es/descriptions/index.d.ts +3 -3
- package/es/descriptions/style/index.less +159 -159
- package/es/descriptions/style/token.less +45 -45
- package/es/divider/style/index.less +56 -56
- package/es/divider/style/token.less +15 -15
- package/es/drawer/style/index.less +230 -230
- package/es/drawer/style/token.less +16 -16
- package/es/dropdown/context.d.ts +2 -1
- package/es/dropdown/dropdown-button.d.ts +12 -3
- package/es/dropdown/dropdown-panel.js +18 -4
- package/es/dropdown/dropdown.d.ts +12 -3
- package/es/dropdown/dropdown.js +12 -2
- package/es/dropdown/index.d.ts +33 -9
- package/es/dropdown/style/index.less +106 -106
- package/es/dropdown/style/token.less +40 -40
- package/es/empty/style/index.less +26 -26
- package/es/empty/style/token.less +10 -10
- package/es/form/style/index.less +257 -257
- package/es/form/style/status.less +152 -152
- package/es/form/style/token.less +81 -81
- package/es/grid/style/col.less +95 -95
- package/es/grid/style/grid.less +5 -5
- package/es/grid/style/index.less +3 -3
- package/es/grid/style/row.less +44 -44
- package/es/image/style/image.less +158 -158
- package/es/image/style/index.less +5 -5
- package/es/image/style/preview.less +227 -227
- package/es/image/style/token.less +123 -123
- package/es/image/style/trigger.less +14 -14
- package/es/input/index.d.ts +4 -4
- package/es/input/input-password.d.ts +1 -1
- package/es/input/input.d.ts +1 -1
- package/es/input/style/group.less +63 -63
- package/es/input/style/index.less +121 -121
- package/es/input/style/input.less +185 -185
- package/es/input/style/password.less +11 -11
- package/es/input/style/search.less +18 -18
- package/es/input/style/size.less +149 -149
- package/es/input/style/textarea.less +37 -37
- package/es/input/style/token.less +131 -131
- package/es/input-number/style/index.less +160 -160
- package/es/input-number/style/token.less +19 -19
- package/es/input-tag/style/index.less +40 -40
- package/es/input-tag/style/input-tag.less +129 -129
- package/es/input-tag/style/token.less +83 -83
- package/es/layout/style/index.less +104 -104
- package/es/layout/style/token.less +13 -13
- package/es/link/style/index.less +120 -120
- package/es/link/style/token.less +48 -48
- package/es/list/style/index.less +183 -183
- package/es/list/style/token.less +55 -55
- package/es/mention/index.d.ts +3 -3
- package/es/mention/mention.d.ts +1 -1
- package/es/mention/style/index.less +21 -21
- package/es/mention/style/token.less +6 -6
- package/es/menu/style/index.less +622 -622
- package/es/menu/style/token.less +117 -117
- package/es/message/style/index.less +191 -191
- package/es/message/style/token.less +52 -52
- package/es/modal/style/index.less +283 -283
- package/es/modal/style/token.less +30 -30
- package/es/notification/style/index.less +249 -249
- package/es/notification/style/token.less +58 -58
- package/es/overflow-list/style/index.less +19 -19
- package/es/page-header/style/index.less +127 -127
- package/es/page-header/style/token.less +30 -30
- package/es/pagination/style/index.less +300 -300
- package/es/pagination/style/token.less +91 -91
- package/es/popconfirm/style/index.less +70 -70
- package/es/popconfirm/style/token.less +20 -20
- package/es/popover/style/index.less +38 -38
- package/es/popover/style/token.less +15 -15
- package/es/progress/style/index.less +378 -378
- package/es/progress/style/token.less +60 -60
- package/es/radio/index.d.ts +4 -4
- package/es/radio/radio-group.d.ts +1 -1
- package/es/radio/radio.d.ts +1 -1
- package/es/radio/style/index.less +266 -266
- package/es/radio/style/token.less +55 -55
- package/es/rate/style/index.less +87 -87
- package/es/rate/style/token.less +13 -13
- package/es/resize-box/style/index.less +60 -60
- package/es/resize-box/style/token.less +6 -6
- package/es/result/style/index.less +94 -94
- package/es/result/style/token.less +32 -32
- package/es/scrollbar/style/index.less +137 -137
- package/es/scrollbar/style/token.less +12 -12
- package/es/select/style/index.less +132 -132
- package/es/select/style/token.less +43 -43
- package/es/skeleton/style/index.less +66 -66
- package/es/skeleton/style/token.less +15 -15
- package/es/slider/style/index.less +282 -282
- package/es/slider/style/token.less +50 -50
- package/es/space/style/index.less +50 -50
- package/es/spin/style/dot-loading.less +64 -64
- package/es/spin/style/index.less +56 -56
- package/es/spin/style/token.less +17 -17
- package/es/split/style/index.less +53 -53
- package/es/split/style/token.less +7 -7
- package/es/statistic/style/index.less +47 -47
- package/es/statistic/style/token.less +15 -15
- package/es/steps/style/arrow.less +212 -212
- package/es/steps/style/circle.less +265 -265
- package/es/steps/style/dot.less +210 -210
- package/es/steps/style/index.less +74 -74
- package/es/steps/style/navigation.less +60 -60
- package/es/steps/style/token.less +144 -144
- package/es/style/animation/fade.less +57 -57
- package/es/style/animation/index.less +3 -3
- package/es/style/animation/slide.less +158 -158
- package/es/style/animation/zoom.less +217 -217
- package/es/style/color/colors.less +427 -427
- package/es/style/color/css-variables.less +389 -389
- package/es/style/color/get-rgb-str.js +17 -17
- package/es/style/color/palette-dark.js +10 -10
- package/es/style/color/palette.js +10 -10
- package/es/style/icon.less +86 -86
- package/es/style/index.less +11 -11
- package/es/style/mixins/icon-hover.less +14 -14
- package/es/style/mixins/index.less +13 -13
- package/es/style/normalize.less +353 -353
- package/es/style/theme/component.less +21 -21
- package/es/style/theme/css-variables.less +146 -146
- package/es/style/theme/global.less +416 -416
- package/es/style/theme/index.less +42 -42
- package/es/switch/index.d.ts +3 -3
- package/es/switch/style/index.less +332 -332
- package/es/switch/style/token.less +62 -62
- package/es/switch/switch.d.ts +1 -1
- package/es/table/style/filters-popup.less +51 -51
- package/es/table/style/index.less +868 -868
- package/es/table/style/token.less +134 -134
- package/es/table/table-operation-td.d.ts +4 -4
- package/es/tabs/style/index.less +730 -730
- package/es/tabs/style/rtl.less +104 -104
- package/es/tabs/style/token.less +146 -146
- package/es/tabs/style/vertical.less +156 -156
- package/es/tag/style/index.less +171 -171
- package/es/tag/style/token.less +171 -171
- package/es/textarea/style/index.less +64 -64
- package/es/time-picker/index.d.ts +3 -3
- package/es/time-picker/style/index.less +94 -94
- package/es/time-picker/style/token.less +17 -17
- package/es/time-picker/time-picker.d.ts +1 -1
- package/es/timeline/style/horizontal.less +87 -87
- package/es/timeline/style/index.less +272 -272
- package/es/timeline/style/token.less +25 -25
- package/es/tooltip/style/index.less +24 -24
- package/es/tooltip/style/token.less +14 -14
- package/es/transfer/style/index.less +294 -294
- package/es/transfer/style/token.less +48 -48
- package/es/tree/style/index.less +396 -396
- package/es/tree/style/token.less +51 -51
- package/es/tree-select/style/index.less +49 -49
- package/es/tree-select/style/token.less +7 -7
- package/es/trigger/style/index.less +57 -57
- package/es/trigger/style/token.less +5 -5
- package/es/typography/edit-content.d.ts +12 -12
- package/es/typography/style/index.less +207 -207
- package/es/typography/style/token.less +55 -55
- package/es/upload/style/index.less +515 -515
- package/es/upload/style/token.less +97 -97
- package/es/verification-code/style/index.less +32 -32
- package/es/verification-code/style/token.less +1 -1
- package/json/vetur-attributes.json +1403 -1399
- package/json/vetur-tags.json +573 -572
- package/json/web-types.json +4401 -4393
- package/lib/_components/auto-tooltip/style/index.less +10 -10
- package/lib/_components/input-label/style/index.less +7 -7
- package/lib/_components/input-label/style/input-label.less +70 -70
- package/lib/_components/picker/style/index.less +191 -191
- package/lib/_components/picker/style/token.less +58 -58
- package/lib/_components/select-view/style/index.less +58 -58
- package/lib/_components/select-view/style/token.less +4 -4
- package/lib/affix/style/index.less +8 -8
- package/lib/alert/style/index.less +198 -198
- package/lib/alert/style/token.less +76 -76
- package/lib/anchor/style/index.less +99 -99
- package/lib/anchor/style/token.less +30 -30
- package/lib/auto-complete/style/index.less +44 -44
- package/lib/auto-complete/style/token.less +29 -29
- package/lib/avatar/style/index.less +155 -155
- package/lib/avatar/style/token.less +29 -29
- package/lib/back-top/style/index.less +33 -33
- package/lib/back-top/style/token.less +12 -12
- package/lib/badge/style/index.less +178 -178
- package/lib/badge/style/token.less +30 -30
- package/lib/breadcrumb/style/index.less +76 -76
- package/lib/breadcrumb/style/token.less +24 -24
- package/lib/button/style/index.less +304 -304
- package/lib/button/style/token.less +459 -459
- package/lib/calendar/style/index.less +479 -479
- package/lib/calendar/style/token.less +62 -62
- package/lib/card/style/index.less +219 -219
- package/lib/card/style/token.less +40 -40
- package/lib/carousel/style/index.less +405 -405
- package/lib/carousel/style/slide.less +175 -175
- package/lib/carousel/style/token.less +33 -33
- package/lib/cascader/style/index.less +234 -234
- package/lib/cascader/style/token.less +24 -24
- package/lib/checkbox/style/index.less +182 -182
- package/lib/checkbox/style/token.less +37 -37
- package/lib/collapse/style/index.less +180 -180
- package/lib/collapse/style/token.less +34 -34
- package/lib/color-picker/style/index.less +309 -309
- package/lib/color-picker/style/token.less +70 -70
- package/lib/comment/style/index.less +66 -66
- package/lib/comment/style/token.less +17 -17
- package/lib/date-picker/style/date.less +128 -128
- package/lib/date-picker/style/index.less +309 -309
- package/lib/date-picker/style/month.less +26 -26
- package/lib/date-picker/style/quarter.less +8 -8
- package/lib/date-picker/style/range.less +9 -9
- package/lib/date-picker/style/shortcuts.less +25 -25
- package/lib/date-picker/style/token.less +76 -76
- package/lib/date-picker/style/week.less +68 -68
- package/lib/date-picker/style/year.less +8 -8
- package/lib/descriptions/style/index.less +159 -159
- package/lib/descriptions/style/token.less +45 -45
- package/lib/divider/style/index.less +56 -56
- package/lib/divider/style/token.less +15 -15
- package/lib/drawer/style/index.less +230 -230
- package/lib/drawer/style/token.less +16 -16
- package/lib/dropdown/dropdown-panel.js +18 -4
- package/lib/dropdown/dropdown.js +12 -2
- package/lib/dropdown/style/index.less +106 -106
- package/lib/dropdown/style/token.less +40 -40
- package/lib/empty/style/index.less +26 -26
- package/lib/empty/style/token.less +10 -10
- package/lib/form/style/index.less +257 -257
- package/lib/form/style/status.less +152 -152
- package/lib/form/style/token.less +81 -81
- package/lib/grid/style/col.less +95 -95
- package/lib/grid/style/grid.less +5 -5
- package/lib/grid/style/index.less +3 -3
- package/lib/grid/style/row.less +44 -44
- package/lib/image/style/image.less +158 -158
- package/lib/image/style/index.less +5 -5
- package/lib/image/style/preview.less +227 -227
- package/lib/image/style/token.less +123 -123
- package/lib/image/style/trigger.less +14 -14
- package/lib/input/style/group.less +63 -63
- package/lib/input/style/index.less +121 -121
- package/lib/input/style/input.less +185 -185
- package/lib/input/style/password.less +11 -11
- package/lib/input/style/search.less +18 -18
- package/lib/input/style/size.less +149 -149
- package/lib/input/style/textarea.less +37 -37
- package/lib/input/style/token.less +131 -131
- package/lib/input-number/style/index.less +160 -160
- package/lib/input-number/style/token.less +19 -19
- package/lib/input-tag/style/index.less +40 -40
- package/lib/input-tag/style/input-tag.less +129 -129
- package/lib/input-tag/style/token.less +83 -83
- package/lib/layout/style/index.less +104 -104
- package/lib/layout/style/token.less +13 -13
- package/lib/link/style/index.less +120 -120
- package/lib/link/style/token.less +48 -48
- package/lib/list/style/index.less +183 -183
- package/lib/list/style/token.less +55 -55
- package/lib/mention/style/index.less +21 -21
- package/lib/mention/style/token.less +6 -6
- package/lib/menu/style/index.less +622 -622
- package/lib/menu/style/token.less +117 -117
- package/lib/message/style/index.less +191 -191
- package/lib/message/style/token.less +52 -52
- package/lib/modal/style/index.less +283 -283
- package/lib/modal/style/token.less +30 -30
- package/lib/notification/style/index.less +249 -249
- package/lib/notification/style/token.less +58 -58
- package/lib/overflow-list/style/index.less +19 -19
- package/lib/page-header/style/index.less +127 -127
- package/lib/page-header/style/token.less +30 -30
- package/lib/pagination/style/index.less +300 -300
- package/lib/pagination/style/token.less +91 -91
- package/lib/popconfirm/style/index.less +70 -70
- package/lib/popconfirm/style/token.less +20 -20
- package/lib/popover/style/index.less +38 -38
- package/lib/popover/style/token.less +15 -15
- package/lib/progress/style/index.less +378 -378
- package/lib/progress/style/token.less +60 -60
- package/lib/radio/style/index.less +266 -266
- package/lib/radio/style/token.less +55 -55
- package/lib/rate/style/index.less +87 -87
- package/lib/rate/style/token.less +13 -13
- package/lib/resize-box/style/index.less +60 -60
- package/lib/resize-box/style/token.less +6 -6
- package/lib/result/style/index.less +94 -94
- package/lib/result/style/token.less +32 -32
- package/lib/scrollbar/style/index.less +137 -137
- package/lib/scrollbar/style/token.less +12 -12
- package/lib/select/style/index.less +132 -132
- package/lib/select/style/token.less +43 -43
- package/lib/skeleton/style/index.less +66 -66
- package/lib/skeleton/style/token.less +15 -15
- package/lib/slider/style/index.less +282 -282
- package/lib/slider/style/token.less +50 -50
- package/lib/space/style/index.less +50 -50
- package/lib/spin/style/dot-loading.less +64 -64
- package/lib/spin/style/index.less +56 -56
- package/lib/spin/style/token.less +17 -17
- package/lib/split/style/index.less +53 -53
- package/lib/split/style/token.less +7 -7
- package/lib/statistic/style/index.less +47 -47
- package/lib/statistic/style/token.less +15 -15
- package/lib/steps/style/arrow.less +212 -212
- package/lib/steps/style/circle.less +265 -265
- package/lib/steps/style/dot.less +210 -210
- package/lib/steps/style/index.less +74 -74
- package/lib/steps/style/navigation.less +60 -60
- package/lib/steps/style/token.less +144 -144
- package/lib/style/animation/fade.less +57 -57
- package/lib/style/animation/index.less +3 -3
- package/lib/style/animation/slide.less +158 -158
- package/lib/style/animation/zoom.less +217 -217
- package/lib/style/color/colors.less +427 -427
- package/lib/style/color/css-variables.less +389 -389
- package/lib/style/color/get-rgb-str.js +17 -17
- package/lib/style/color/palette-dark.js +10 -10
- package/lib/style/color/palette.js +10 -10
- package/lib/style/icon.less +86 -86
- package/lib/style/index.less +11 -11
- package/lib/style/mixins/icon-hover.less +14 -14
- package/lib/style/mixins/index.less +13 -13
- package/lib/style/normalize.less +353 -353
- package/lib/style/theme/component.less +21 -21
- package/lib/style/theme/css-variables.less +146 -146
- package/lib/style/theme/global.less +416 -416
- package/lib/style/theme/index.less +42 -42
- package/lib/switch/style/index.less +332 -332
- package/lib/switch/style/token.less +62 -62
- package/lib/table/style/filters-popup.less +51 -51
- package/lib/table/style/index.less +868 -868
- package/lib/table/style/token.less +134 -134
- package/lib/tabs/style/index.less +730 -730
- package/lib/tabs/style/rtl.less +104 -104
- package/lib/tabs/style/token.less +146 -146
- package/lib/tabs/style/vertical.less +156 -156
- package/lib/tag/style/index.less +171 -171
- package/lib/tag/style/token.less +171 -171
- package/lib/textarea/style/index.less +64 -64
- package/lib/time-picker/style/index.less +94 -94
- package/lib/time-picker/style/token.less +17 -17
- package/lib/timeline/style/horizontal.less +87 -87
- package/lib/timeline/style/index.less +272 -272
- package/lib/timeline/style/token.less +25 -25
- package/lib/tooltip/style/index.less +24 -24
- package/lib/tooltip/style/token.less +14 -14
- package/lib/transfer/style/index.less +294 -294
- package/lib/transfer/style/token.less +48 -48
- package/lib/tree/style/index.less +396 -396
- package/lib/tree/style/token.less +51 -51
- package/lib/tree-select/style/index.less +49 -49
- package/lib/tree-select/style/token.less +7 -7
- package/lib/trigger/style/index.less +57 -57
- package/lib/trigger/style/token.less +5 -5
- package/lib/typography/style/index.less +207 -207
- package/lib/typography/style/token.less +55 -55
- package/lib/upload/style/index.less +515 -515
- package/lib/upload/style/token.less +97 -97
- package/lib/verification-code/style/index.less +32 -32
- package/lib/verification-code/style/token.less +1 -1
- package/package.json +2 -2
|
@@ -1,868 +1,868 @@
|
|
|
1
|
-
@import '../../style/mixins/index.less';
|
|
2
|
-
@import './token.less';
|
|
3
|
-
@import './filters-popup.less';
|
|
4
|
-
|
|
5
|
-
@table-prefix-cls: ~'@{prefix}-table';
|
|
6
|
-
|
|
7
|
-
@table-cls-table: ~'@{table-prefix-cls}-element';
|
|
8
|
-
@table-cls-tr: ~'@{table-prefix-cls}-tr';
|
|
9
|
-
@table-cls-th: ~'@{table-prefix-cls}-th';
|
|
10
|
-
@table-cls-td: ~'@{table-prefix-cls}-td';
|
|
11
|
-
|
|
12
|
-
.expandBtn() {
|
|
13
|
-
display: inline-flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
justify-content: center;
|
|
16
|
-
width: @table-size-expand-button;
|
|
17
|
-
height: @table-size-expand-button;
|
|
18
|
-
padding: 0;
|
|
19
|
-
color: @table-color-expand-icon;
|
|
20
|
-
font-size: @table-font-size-expand-button;
|
|
21
|
-
line-height: @table-size-expand-button;
|
|
22
|
-
background-color: @table-color-bg-expand-icon;
|
|
23
|
-
border: @table-border-expand-icon-width solid @table-color-expand-icon-border;
|
|
24
|
-
border-radius: @table-border-radius-expand-button;
|
|
25
|
-
outline: none;
|
|
26
|
-
cursor: pointer;
|
|
27
|
-
transition: background-color @transition-duration-1
|
|
28
|
-
@transition-timing-function-linear;
|
|
29
|
-
|
|
30
|
-
&:hover {
|
|
31
|
-
color: @table-color-expand-icon_hover;
|
|
32
|
-
background-color: @table-color-bg-expand-icon_hover;
|
|
33
|
-
border-color: @table-color-expand-icon-border_hover;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.table-size(@size) {
|
|
38
|
-
.@{table-prefix-cls}-cell {
|
|
39
|
-
padding: ~'@{table-size-@{size}-padding-vertical}' ~'@{table-size-@{size}-padding-horizontal}';
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
//.@{table-prefix-cls}-col-has-sorter .@{table-prefix-cls}-cell-with-sorter {
|
|
43
|
-
// padding: ~'@{table-size-@{size}-padding-vertical}' ~'@{table-size-@{size}-padding-horizontal}';
|
|
44
|
-
// cursor: pointer;
|
|
45
|
-
//}
|
|
46
|
-
|
|
47
|
-
//.@{table-cls-td} {
|
|
48
|
-
// padding: ~'@{table-size-@{size}-padding-vertical}' ~'@{table-size-@{size}-padding-horizontal}';
|
|
49
|
-
//}
|
|
50
|
-
|
|
51
|
-
.@{table-cls-th} {
|
|
52
|
-
font-size: ~'@{table-size-@{size}-font-header-size}';
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.@{table-cls-td} {
|
|
56
|
-
font-size: ~'@{table-size-@{size}-font-size}';
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.@{table-prefix-cls}-footer {
|
|
60
|
-
padding: ~'@{table-size-@{size}-padding-vertical}' ~'@{table-size-@{size}-padding-horizontal}';
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// expand row in fixed
|
|
64
|
-
//.@{table-prefix-cls}-cell-fixed-expand {
|
|
65
|
-
// margin: ~'-@{table-size-@{size}-padding-vertical}' ~'-@{table-size-@{size}-padding-horizontal}';
|
|
66
|
-
// padding: ~'@{table-size-@{size}-padding-vertical}' ~'@{table-size-@{size}-padding-horizontal}';
|
|
67
|
-
//}
|
|
68
|
-
|
|
69
|
-
// sub table
|
|
70
|
-
.@{table-prefix-cls}-tr-expand .@{table-cls-td} .@{table-prefix-cls} {
|
|
71
|
-
margin: ~'-@{table-size-@{size}-padding-vertical}' ~'-@{table-size-@{size}-padding-horizontal}'
|
|
72
|
-
~'calc(-@{table-size-@{size}-padding-vertical} - @{table-border-width})' ~'-@{table-size-@{size}-padding-horizontal}';
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
// editor row
|
|
76
|
-
.@{table-prefix-cls}-editable-row {
|
|
77
|
-
.@{table-prefix-cls}-cell-wrap-value {
|
|
78
|
-
padding: ~'@{table-size-@{size}-padding-vertical}' ~'@{table-size-@{size}-padding-horizontal}';
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.@{table-prefix-cls} {
|
|
84
|
-
position: relative;
|
|
85
|
-
|
|
86
|
-
&-column-handle {
|
|
87
|
-
position: absolute;
|
|
88
|
-
top: 0;
|
|
89
|
-
right: -4px;
|
|
90
|
-
z-index: 1;
|
|
91
|
-
width: 8px;
|
|
92
|
-
height: 100%;
|
|
93
|
-
cursor: col-resize;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// spin
|
|
97
|
-
.@{prefix}-spin {
|
|
98
|
-
display: flex;
|
|
99
|
-
flex-direction: column;
|
|
100
|
-
height: 100%;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// ???
|
|
104
|
-
> .@{prefix}-spin > .@{prefix}-spin-children::after {
|
|
105
|
-
z-index: 2;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
// footer
|
|
109
|
-
&-footer {
|
|
110
|
-
border-radius: 0 0 @table-border-radius @table-border-radius;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
// box-shadow of the fixed column on the left
|
|
114
|
-
&-scroll-position-right &-col-fixed-left-last::after,
|
|
115
|
-
&-scroll-position-middle &-col-fixed-left-last::after {
|
|
116
|
-
box-shadow: @table-shadow-left;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
// box-shadow of the fixed column on the right
|
|
120
|
-
&-scroll-position-left &-col-fixed-right-first::after,
|
|
121
|
-
&-scroll-position-middle &-col-fixed-right-first::after {
|
|
122
|
-
box-shadow: @table-shadow-right;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
&-layout-fixed {
|
|
126
|
-
.@{table-cls-table} {
|
|
127
|
-
table-layout: fixed;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.@{table-cls-table} {
|
|
132
|
-
width: 100%;
|
|
133
|
-
min-width: 100%;
|
|
134
|
-
margin: 0;
|
|
135
|
-
border-collapse: separate;
|
|
136
|
-
border-spacing: 0;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
&-th {
|
|
140
|
-
position: relative;
|
|
141
|
-
box-sizing: border-box;
|
|
142
|
-
color: @table-color-text-header-cell;
|
|
143
|
-
font-weight: @table-font-weight-header-text;
|
|
144
|
-
line-height: @line-height-base;
|
|
145
|
-
text-align: left;
|
|
146
|
-
background-color: @table-color-bg-header-cell;
|
|
147
|
-
|
|
148
|
-
&[colspan] {
|
|
149
|
-
text-align: center;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
&-align-right {
|
|
153
|
-
text-align: right;
|
|
154
|
-
|
|
155
|
-
.@{table-prefix-cls}-cell-with-sorter {
|
|
156
|
-
justify-content: flex-end;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
&-align-center {
|
|
161
|
-
text-align: center;
|
|
162
|
-
|
|
163
|
-
.@{table-prefix-cls}-cell-with-sorter {
|
|
164
|
-
justify-content: center;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
&-td {
|
|
170
|
-
box-sizing: border-box;
|
|
171
|
-
color: @table-color-text-body-cell;
|
|
172
|
-
line-height: @line-height-base;
|
|
173
|
-
text-align: left;
|
|
174
|
-
word-break: break-all;
|
|
175
|
-
background-color: @table-color-bg-body-cell;
|
|
176
|
-
border-bottom: @table-border-width @table-border-style @table-color-border;
|
|
177
|
-
|
|
178
|
-
&-align-right {
|
|
179
|
-
text-align: right;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
&-align-center {
|
|
183
|
-
text-align: center;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
&.@{table-prefix-cls}-drag-handle {
|
|
187
|
-
cursor: move;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
&-cell {
|
|
192
|
-
display: flex;
|
|
193
|
-
align-items: center;
|
|
194
|
-
|
|
195
|
-
&-align-right {
|
|
196
|
-
justify-content: flex-end;
|
|
197
|
-
text-align: right;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
&-align-center {
|
|
201
|
-
justify-content: center;
|
|
202
|
-
text-align: center;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
&-text-ellipsis {
|
|
207
|
-
overflow: hidden;
|
|
208
|
-
white-space: nowrap;
|
|
209
|
-
text-overflow: ellipsis;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
&-td-content {
|
|
213
|
-
display: block;
|
|
214
|
-
width: 100%;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.@{table-cls-th}&-col-sorted {
|
|
218
|
-
background-color: @table-color-bg-header-sorted-cell;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.@{table-cls-td}&-col-sorted {
|
|
222
|
-
background-color: @table-color-bg-body-sorted-cell;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
&-col-fixed-left,
|
|
226
|
-
&-col-fixed-right {
|
|
227
|
-
position: sticky;
|
|
228
|
-
z-index: 10;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
&-col-fixed-left-last::after,
|
|
232
|
-
&-col-fixed-right-first::after {
|
|
233
|
-
position: absolute;
|
|
234
|
-
top: 0;
|
|
235
|
-
bottom: -@table-border-width;
|
|
236
|
-
left: 0;
|
|
237
|
-
width: @table-size-shadow-wrapper-width;
|
|
238
|
-
box-shadow: none;
|
|
239
|
-
transform: translateX(-100%);
|
|
240
|
-
transition: box-shadow @transition-duration-1
|
|
241
|
-
@transition-timing-function-linear;
|
|
242
|
-
content: '';
|
|
243
|
-
pointer-events: none;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
// ????
|
|
247
|
-
&-col-fixed-left-last::after {
|
|
248
|
-
right: 0;
|
|
249
|
-
left: unset;
|
|
250
|
-
transform: translateX(100%);
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
&-cell-text-ellipsis {
|
|
254
|
-
overflow: hidden;
|
|
255
|
-
white-space: nowrap;
|
|
256
|
-
text-overflow: ellipsis;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
// useless
|
|
260
|
-
&-editable-row {
|
|
261
|
-
.@{table-prefix-cls}-cell-wrap-value {
|
|
262
|
-
border: @table-border-width solid @table-color-editable-body-cell-border;
|
|
263
|
-
border-radius: @table-border-radius;
|
|
264
|
-
cursor: pointer;
|
|
265
|
-
transition: all @transition-duration-1 @transition-timing-function-linear;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
&:hover {
|
|
269
|
-
.@{table-prefix-cls}-cell-wrap-value {
|
|
270
|
-
border: @table-border-width solid @table-color-border;
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
//&-cell {
|
|
276
|
-
// word-break: break-all;
|
|
277
|
-
//}
|
|
278
|
-
|
|
279
|
-
// Expand
|
|
280
|
-
.@{table-prefix-cls}-expand-btn {
|
|
281
|
-
.expandBtn();
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
&-cell-expand-icon {
|
|
285
|
-
display: flex;
|
|
286
|
-
align-items: center;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
&-cell-expand-icon &-cell-inline-icon {
|
|
290
|
-
display: inline-flex;
|
|
291
|
-
margin-right: @table-spacing-expand-button-margin-right;
|
|
292
|
-
|
|
293
|
-
.@{prefix}-icon-loading {
|
|
294
|
-
color: @color-primary-6;
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
&-cell-expand-icon-hidden {
|
|
299
|
-
display: inline-block;
|
|
300
|
-
width: @table-size-expand-button;
|
|
301
|
-
height: @table-size-expand-button;
|
|
302
|
-
margin-right: @table-spacing-expand-button-margin-right;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
&-tr-expand .@{table-cls-td} {
|
|
306
|
-
background-color: @table-color-bg-expand-content;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
&-cell-fixed-expand {
|
|
310
|
-
position: sticky;
|
|
311
|
-
left: 0;
|
|
312
|
-
box-sizing: border-box;
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
&-tr-expand .@{table-cls-td} & {
|
|
316
|
-
.@{table-prefix-cls}-container {
|
|
317
|
-
border: none;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
.@{table-cls-th} {
|
|
321
|
-
border-bottom: @table-border-width @table-border-style @table-color-border;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
.@{table-cls-th},
|
|
325
|
-
.@{table-cls-td} {
|
|
326
|
-
background-color: transparent;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.@{table-prefix-cls}-pagination {
|
|
330
|
-
margin-bottom: @table-spacing-pagination-margin;
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
// Selection
|
|
335
|
-
//& &-th&-operation &-th-item,
|
|
336
|
-
//& &-td&-operation {
|
|
337
|
-
// padding-right: @table-spacing-selection-padding-horizontal;
|
|
338
|
-
// padding-left: @table-spacing-selection-padding-horizontal;
|
|
339
|
-
//}
|
|
340
|
-
&-th&-operation,
|
|
341
|
-
&-td&-operation {
|
|
342
|
-
text-align: center;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
&-th&-operation &-cell,
|
|
346
|
-
&-td&-operation &-cell {
|
|
347
|
-
display: flex;
|
|
348
|
-
justify-content: center;
|
|
349
|
-
padding: 0;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
&-radio,
|
|
353
|
-
&-checkbox {
|
|
354
|
-
justify-content: center;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
&-checkbox .@{prefix}-checkbox,
|
|
358
|
-
&-radio .@{prefix}-radio {
|
|
359
|
-
padding-left: 0;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
// colgroup selection
|
|
363
|
-
&-selection-checkbox-col,
|
|
364
|
-
&-selection-radio-col {
|
|
365
|
-
.fixed-width(@table-size-selection-col-width);
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
&-expand-col {
|
|
369
|
-
.fixed-width(@table-size-expand-icon-col-width);
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
&-drag-handle-col {
|
|
373
|
-
.fixed-width(@table-size-drag-handle-col-width);
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
&-th {
|
|
377
|
-
transition: background-color @transition-duration-1
|
|
378
|
-
@transition-timing-function-linear;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
&-cell-with-sorter {
|
|
382
|
-
display: flex;
|
|
383
|
-
align-items: center;
|
|
384
|
-
cursor: pointer;
|
|
385
|
-
|
|
386
|
-
&:hover {
|
|
387
|
-
background-color: @table-color-bg-header-sorted-cell_hover;
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
&-cell-with-filter {
|
|
392
|
-
display: flex;
|
|
393
|
-
align-items: center;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
&-cell-next-ascend &-sorter-icon {
|
|
397
|
-
.@{prefix}-icon-caret-up {
|
|
398
|
-
color: @table-color-header-sorter-icon_next;
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
&-cell-next-descend &-sorter-icon {
|
|
403
|
-
.@{prefix}-icon-caret-down {
|
|
404
|
-
color: @table-color-header-sorter-icon_next;
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
&-sorter {
|
|
409
|
-
display: inline-block;
|
|
410
|
-
margin-left: @table-spacing-header-sorter-icon-margin-left;
|
|
411
|
-
vertical-align: -3px;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
&-sorter&-sorter-direction-one {
|
|
415
|
-
vertical-align: 0;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
&-sorter-icon {
|
|
419
|
-
position: relative;
|
|
420
|
-
width: @table-size-header-sorter-icon-width;
|
|
421
|
-
height: @table-size-header-sorter-icon-height;
|
|
422
|
-
overflow: hidden;
|
|
423
|
-
line-height: @table-size-header-sorter-icon-height;
|
|
424
|
-
|
|
425
|
-
.@{prefix}-icon-caret-up,
|
|
426
|
-
.@{prefix}-icon-caret-down {
|
|
427
|
-
position: absolute;
|
|
428
|
-
top: 50%;
|
|
429
|
-
color: @table-color-header-sorter-icon;
|
|
430
|
-
font-size: @table-font-size-header-sorter-icon;
|
|
431
|
-
transition: all @transition-duration-1 @transition-timing-function-linear;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
.@{prefix}-icon-caret-up {
|
|
435
|
-
top: @table-position-header-sorter-icon-up-top;
|
|
436
|
-
left: @table-position-header-sorter-icon-left;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
.@{prefix}-icon-caret-down {
|
|
440
|
-
top: @table-position-header-sorter-icon-down-top;
|
|
441
|
-
left: @table-position-header-sorter-icon-left;
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
&&-active {
|
|
445
|
-
svg {
|
|
446
|
-
color: @table-color-header-sorter-icon_active;
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
&-filters {
|
|
452
|
-
position: absolute;
|
|
453
|
-
top: 0;
|
|
454
|
-
right: 0;
|
|
455
|
-
display: flex;
|
|
456
|
-
align-items: center;
|
|
457
|
-
justify-content: center;
|
|
458
|
-
width: @table-size-filters-width;
|
|
459
|
-
height: 100%;
|
|
460
|
-
line-height: 1;
|
|
461
|
-
vertical-align: 0;
|
|
462
|
-
background-color: transparent;
|
|
463
|
-
cursor: pointer;
|
|
464
|
-
transition: all @transition-duration-1 @transition-timing-function-linear;
|
|
465
|
-
|
|
466
|
-
&:hover,
|
|
467
|
-
&-open {
|
|
468
|
-
background-color: @table-color-bg-header-filters-icon_hover;
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
svg {
|
|
472
|
-
color: @table-color-header-filters-icon;
|
|
473
|
-
font-size: @table-font-size-filters-icon;
|
|
474
|
-
transition: all @transition-duration-1 @transition-timing-function-linear;
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
&-active {
|
|
478
|
-
svg {
|
|
479
|
-
color: @table-color-header-filters-icon_active;
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
&-align-left {
|
|
484
|
-
position: relative;
|
|
485
|
-
width: auto;
|
|
486
|
-
margin-left: @table-spacing-header-sorter-icon-margin-left;
|
|
487
|
-
|
|
488
|
-
svg {
|
|
489
|
-
font-size: @table-font-size-header-sorter-icon;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
&:hover,
|
|
493
|
-
&-open {
|
|
494
|
-
background: none;
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
&:hover::before,
|
|
498
|
-
&.@{table-prefix-cls}-filters-open::before {
|
|
499
|
-
background: @table-filters-icon-bg_hover;
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
/* ---- Table sorter, filter, checkbox, radio (End) ---- */
|
|
505
|
-
&-container {
|
|
506
|
-
position: relative;
|
|
507
|
-
border-radius: @table-border-radius @table-border-radius 0 0;
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
&-header {
|
|
511
|
-
flex-shrink: 0;
|
|
512
|
-
border-radius: @table-border-radius @table-border-radius 0 0;
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
&-container {
|
|
516
|
-
box-sizing: border-box;
|
|
517
|
-
width: 100%;
|
|
518
|
-
min-height: 0;
|
|
519
|
-
|
|
520
|
-
// chrome not fluent: https://codepen.io/quanqqq/pen/BaLpEQd?editors=0010
|
|
521
|
-
// border-radius: @table-border-radius @table-border-radius 0 0 0;
|
|
522
|
-
|
|
523
|
-
.@{table-prefix-cls}-content {
|
|
524
|
-
display: flex;
|
|
525
|
-
flex-direction: column;
|
|
526
|
-
width: auto;
|
|
527
|
-
height: 100%;
|
|
528
|
-
|
|
529
|
-
&-scroll-x {
|
|
530
|
-
overflow-x: auto;
|
|
531
|
-
overflow-y: hidden;
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
&::before,
|
|
536
|
-
&::after {
|
|
537
|
-
position: absolute;
|
|
538
|
-
//top: -@table-border-width;
|
|
539
|
-
//bottom: -@table-border-width;
|
|
540
|
-
z-index: 1;
|
|
541
|
-
width: @table-size-shadow-wrapper-width;
|
|
542
|
-
height: 100%;
|
|
543
|
-
box-shadow: none;
|
|
544
|
-
transition: box-shadow @transition-duration-1
|
|
545
|
-
@transition-timing-function-linear;
|
|
546
|
-
content: '';
|
|
547
|
-
pointer-events: none;
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
&::before {
|
|
551
|
-
top: 0;
|
|
552
|
-
left: 0;
|
|
553
|
-
border-top-left-radius: @table-border-radius;
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
&::after {
|
|
557
|
-
top: 0;
|
|
558
|
-
right: 0;
|
|
559
|
-
border-top-right-radius: @table-border-radius;
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
// box-shadow on the left side of the scroll table
|
|
563
|
-
&:not(.@{table-prefix-cls}-has-fixed-col-left) {
|
|
564
|
-
&.@{table-prefix-cls}-scroll-position-right::before,
|
|
565
|
-
&.@{table-prefix-cls}-scroll-position-middle::before {
|
|
566
|
-
box-shadow: @table-shadow-left;
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
// box-shadow on the right side of the scroll table
|
|
571
|
-
&:not(.@{table-prefix-cls}-has-fixed-col-right) {
|
|
572
|
-
&.@{table-prefix-cls}-scroll-position-left::after,
|
|
573
|
-
&.@{table-prefix-cls}-scroll-position-middle::after {
|
|
574
|
-
box-shadow: @table-shadow-right;
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
&-header {
|
|
580
|
-
overflow-x: hidden;
|
|
581
|
-
overflow-y: hidden;
|
|
582
|
-
background-color: @table-color-bg-header-cell;
|
|
583
|
-
scrollbar-color: transparent transparent;
|
|
584
|
-
|
|
585
|
-
&-sticky {
|
|
586
|
-
position: sticky;
|
|
587
|
-
top: 0;
|
|
588
|
-
z-index: 100;
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
&:not(&-empty) &-header::-webkit-scrollbar {
|
|
593
|
-
// 仅隐藏横向滚动条
|
|
594
|
-
height: 0;
|
|
595
|
-
background-color: transparent;
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
&&-empty &-header {
|
|
599
|
-
overflow-x: auto;
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
&-body {
|
|
603
|
-
position: relative;
|
|
604
|
-
width: 100%;
|
|
605
|
-
min-height: @table-size-body-min-width;
|
|
606
|
-
overflow: auto;
|
|
607
|
-
background-color: @table-color-body-background;
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
&-border {
|
|
611
|
-
.@{table-prefix-cls}-container {
|
|
612
|
-
border-top: @table-border-width @table-border-style @table-color-border;
|
|
613
|
-
border-left: @table-border-width @table-border-style @table-color-border;
|
|
614
|
-
|
|
615
|
-
// ??用处
|
|
616
|
-
//&::before {
|
|
617
|
-
// position: absolute;
|
|
618
|
-
// bottom: 0;
|
|
619
|
-
// left: 0;
|
|
620
|
-
// z-index: 2;
|
|
621
|
-
// width: 100%;
|
|
622
|
-
// height: @table-border-width;
|
|
623
|
-
// background-color: @table-color-border;
|
|
624
|
-
// content: '';
|
|
625
|
-
//}
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
.@{table-prefix-cls}-scroll-y {
|
|
629
|
-
border-bottom: @table-border-width @table-border-style @table-color-border;
|
|
630
|
-
|
|
631
|
-
.@{table-prefix-cls}-body .@{table-cls-tr}:last-of-type .@{table-cls-td},
|
|
632
|
-
tfoot .@{table-cls-tr}:last-of-type .@{table-cls-td} {
|
|
633
|
-
border-bottom: none;
|
|
634
|
-
|
|
635
|
-
&.@{table-prefix-cls}-col-fixed-left-last::after,
|
|
636
|
-
&.@{table-prefix-cls}-col-fixed-right-first::after {
|
|
637
|
-
bottom: 0;
|
|
638
|
-
}
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
.@{table-cls-tr} .@{table-cls-th} {
|
|
643
|
-
border-bottom: @table-border-width @table-border-style @table-color-border;
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
//.@{table-prefix-cls}-tr-expand .@{table-prefix-cls}-cell-fixed-expand {
|
|
647
|
-
// border-left: @table-border-width @table-border-style @table-color-border;
|
|
648
|
-
//}
|
|
649
|
-
|
|
650
|
-
.@{table-prefix-cls}-footer {
|
|
651
|
-
border: @table-border-width @table-border-style @table-color-border;
|
|
652
|
-
border-top: 0;
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
&-border:not(&-border-cell) {
|
|
657
|
-
.@{table-prefix-cls}-container {
|
|
658
|
-
border-right: @table-border-width @table-border-style @table-color-border;
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
//.@{table-cls-tr} .@{table-cls-th}[colspan] {
|
|
662
|
-
// border-bottom: none;
|
|
663
|
-
//}
|
|
664
|
-
//
|
|
665
|
-
//.@{table-prefix-cls}-tr-expand .@{table-prefix-cls}-cell-fixed-expand {
|
|
666
|
-
// border-left: none;
|
|
667
|
-
//}
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
&-border-cell {
|
|
671
|
-
.@{table-cls-th},
|
|
672
|
-
.@{table-cls-td}:not(.@{table-prefix-cls}-tr-expand) {
|
|
673
|
-
border-right: @table-border-width @table-border-style @table-color-border;
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
.@{table-cls-th}-resizing,
|
|
677
|
-
.@{table-cls-td}-resizing:not(.@{table-prefix-cls}-tr-expand) {
|
|
678
|
-
border-right-color: @table-color-border_resizing;
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
&-border-header-cell {
|
|
683
|
-
.@{table-cls-th} {
|
|
684
|
-
border-right: @table-border-width @table-border-style @table-color-border;
|
|
685
|
-
border-bottom: @table-border-width @table-border-style @table-color-border;
|
|
686
|
-
}
|
|
687
|
-
.@{table-cls-th}-resizing,
|
|
688
|
-
.@{table-cls-td}-resizing:not(.@{table-prefix-cls}-tr-expand) {
|
|
689
|
-
border-right-color: @table-color-border_resizing;
|
|
690
|
-
}
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
&-border&-border-header-cell {
|
|
694
|
-
thead {
|
|
695
|
-
.@{table-cls-tr}:first-child .@{table-cls-th}:last-child {
|
|
696
|
-
border-right: 0;
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
&-border-body-cell {
|
|
702
|
-
.@{table-cls-td}:not(:last-child):not(.@{table-prefix-cls}-tr-expand) {
|
|
703
|
-
border-right: @table-border-width @table-border-style @table-color-border;
|
|
704
|
-
}
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
// stripe: true
|
|
708
|
-
&-stripe {
|
|
709
|
-
&:not(.@{table-prefix-cls}-dragging)
|
|
710
|
-
.@{table-cls-tr}:not(.@{table-prefix-cls}-tr-empty):not(.@{table-prefix-cls}-tr-summary):nth-child(even),
|
|
711
|
-
.@{table-cls-tr}-drag {
|
|
712
|
-
.@{table-cls-td}:not(.@{table-prefix-cls}-col-fixed-left):not(.@{table-prefix-cls}-col-fixed-right) {
|
|
713
|
-
background-color: @table-color-bg-body-stripe-row;
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
.@{table-cls-td}.@{table-prefix-cls}-col-fixed-left,
|
|
717
|
-
.@{table-cls-td}.@{table-prefix-cls}-col-fixed-right {
|
|
718
|
-
&::before {
|
|
719
|
-
position: absolute;
|
|
720
|
-
top: 0;
|
|
721
|
-
left: 0;
|
|
722
|
-
z-index: -1;
|
|
723
|
-
width: 100%;
|
|
724
|
-
height: 100%;
|
|
725
|
-
background-color: @table-color-bg-body-stripe-row;
|
|
726
|
-
content: '';
|
|
727
|
-
}
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
& .@{table-cls-tr}-draggable {
|
|
733
|
-
cursor: move;
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
&-hover {
|
|
737
|
-
&:not(.@{table-prefix-cls}-dragging)
|
|
738
|
-
.@{table-cls-tr}:not(.@{table-prefix-cls}-tr-empty):not(.@{table-prefix-cls}-tr-summary):hover,
|
|
739
|
-
.@{table-cls-tr}-drag {
|
|
740
|
-
.@{table-cls-td}:not(.@{table-prefix-cls}-col-fixed-left):not(.@{table-prefix-cls}-col-fixed-right) {
|
|
741
|
-
background-color: @table-color-bg-body-row_hover;
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
.@{table-cls-td}.@{table-prefix-cls}-col-fixed-left,
|
|
745
|
-
.@{table-cls-td}.@{table-prefix-cls}-col-fixed-right {
|
|
746
|
-
&::before {
|
|
747
|
-
position: absolute;
|
|
748
|
-
top: 0;
|
|
749
|
-
left: 0;
|
|
750
|
-
z-index: -1;
|
|
751
|
-
width: 100%;
|
|
752
|
-
height: 100%;
|
|
753
|
-
background-color: @table-color-bg-body-row_hover;
|
|
754
|
-
content: '';
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
.@{table-cls-tr}-expand:not(.@{table-prefix-cls}-tr-empty):hover {
|
|
760
|
-
.@{table-cls-td}:not(.@{table-prefix-cls}-col-fixed-left):not(.@{table-prefix-cls}-col-fixed-right) {
|
|
761
|
-
background-color: @table-color-bg-expand-content_hover;
|
|
762
|
-
}
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
// 去除嵌套子表格的 hover 效果
|
|
766
|
-
.@{table-prefix-cls}-tr-expand .@{table-cls-td} & {
|
|
767
|
-
.@{table-cls-tr}:not(.@{table-prefix-cls}-tr-empty) {
|
|
768
|
-
.@{table-cls-td}:not(.@{table-prefix-cls}-col-fixed-left):not(.@{table-prefix-cls}-col-fixed-right) {
|
|
769
|
-
background-color: transparent;
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
.@{table-cls-td}.@{table-prefix-cls}-col-fixed-left,
|
|
773
|
-
.@{table-cls-td}.@{table-prefix-cls}-col-fixed-right {
|
|
774
|
-
&::before {
|
|
775
|
-
background-color: transparent;
|
|
776
|
-
}
|
|
777
|
-
}
|
|
778
|
-
}
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
&-tfoot {
|
|
783
|
-
position: relative;
|
|
784
|
-
z-index: 1;
|
|
785
|
-
flex-shrink: 0;
|
|
786
|
-
width: 100%;
|
|
787
|
-
overflow-x: auto;
|
|
788
|
-
background-color: @table-color-bg-tfoot;
|
|
789
|
-
box-shadow: 0 -@table-border-width 0 @table-color-border;
|
|
790
|
-
scrollbar-color: transparent transparent;
|
|
791
|
-
|
|
792
|
-
&::-webkit-scrollbar {
|
|
793
|
-
height: 0;
|
|
794
|
-
background-color: transparent;
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
& tfoot &-td {
|
|
799
|
-
background-color: @table-color-bg-tfoot;
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
// Active row
|
|
803
|
-
&-tr-checked .@{table-cls-td} {
|
|
804
|
-
background-color: @table-color-bg-body-row_active;
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
// Size
|
|
808
|
-
.table-size(large);
|
|
809
|
-
|
|
810
|
-
&-size-medium {
|
|
811
|
-
.table-size(medium);
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
&-size-small {
|
|
815
|
-
.table-size(small);
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
&-size-mini {
|
|
819
|
-
.table-size(mini);
|
|
820
|
-
}
|
|
821
|
-
|
|
822
|
-
// virtualized
|
|
823
|
-
&-virtualized .@{table-cls-table} {
|
|
824
|
-
table-layout: fixed;
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
&-virtualized div&-body div&-tr {
|
|
828
|
-
display: flex;
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
&-virtualized div&-body div&-td {
|
|
832
|
-
display: flex;
|
|
833
|
-
flex: 1;
|
|
834
|
-
align-items: center;
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
.@{table-prefix-cls}-pagination {
|
|
839
|
-
display: flex;
|
|
840
|
-
align-items: center;
|
|
841
|
-
justify-content: flex-end;
|
|
842
|
-
margin-top: @table-spacing-pagination-margin;
|
|
843
|
-
|
|
844
|
-
&-left {
|
|
845
|
-
justify-content: flex-start;
|
|
846
|
-
}
|
|
847
|
-
|
|
848
|
-
&-center {
|
|
849
|
-
justify-content: center;
|
|
850
|
-
}
|
|
851
|
-
|
|
852
|
-
&-top {
|
|
853
|
-
margin-top: 0;
|
|
854
|
-
margin-bottom: @table-spacing-pagination-margin;
|
|
855
|
-
}
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
.@{prefix}-virtual-list {
|
|
859
|
-
& > .@{table-prefix-cls}-element {
|
|
860
|
-
width: auto;
|
|
861
|
-
}
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
@{arco-theme-tag}[arco-theme='dark'] {
|
|
865
|
-
.@{table-prefix-cls}-tr-checked .@{table-cls-td} {
|
|
866
|
-
background-color: @table-color-bg-body-row_active_dark;
|
|
867
|
-
}
|
|
868
|
-
}
|
|
1
|
+
@import '../../style/mixins/index.less';
|
|
2
|
+
@import './token.less';
|
|
3
|
+
@import './filters-popup.less';
|
|
4
|
+
|
|
5
|
+
@table-prefix-cls: ~'@{prefix}-table';
|
|
6
|
+
|
|
7
|
+
@table-cls-table: ~'@{table-prefix-cls}-element';
|
|
8
|
+
@table-cls-tr: ~'@{table-prefix-cls}-tr';
|
|
9
|
+
@table-cls-th: ~'@{table-prefix-cls}-th';
|
|
10
|
+
@table-cls-td: ~'@{table-prefix-cls}-td';
|
|
11
|
+
|
|
12
|
+
.expandBtn() {
|
|
13
|
+
display: inline-flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
width: @table-size-expand-button;
|
|
17
|
+
height: @table-size-expand-button;
|
|
18
|
+
padding: 0;
|
|
19
|
+
color: @table-color-expand-icon;
|
|
20
|
+
font-size: @table-font-size-expand-button;
|
|
21
|
+
line-height: @table-size-expand-button;
|
|
22
|
+
background-color: @table-color-bg-expand-icon;
|
|
23
|
+
border: @table-border-expand-icon-width solid @table-color-expand-icon-border;
|
|
24
|
+
border-radius: @table-border-radius-expand-button;
|
|
25
|
+
outline: none;
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
transition: background-color @transition-duration-1
|
|
28
|
+
@transition-timing-function-linear;
|
|
29
|
+
|
|
30
|
+
&:hover {
|
|
31
|
+
color: @table-color-expand-icon_hover;
|
|
32
|
+
background-color: @table-color-bg-expand-icon_hover;
|
|
33
|
+
border-color: @table-color-expand-icon-border_hover;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.table-size(@size) {
|
|
38
|
+
.@{table-prefix-cls}-cell {
|
|
39
|
+
padding: ~'@{table-size-@{size}-padding-vertical}' ~'@{table-size-@{size}-padding-horizontal}';
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
//.@{table-prefix-cls}-col-has-sorter .@{table-prefix-cls}-cell-with-sorter {
|
|
43
|
+
// padding: ~'@{table-size-@{size}-padding-vertical}' ~'@{table-size-@{size}-padding-horizontal}';
|
|
44
|
+
// cursor: pointer;
|
|
45
|
+
//}
|
|
46
|
+
|
|
47
|
+
//.@{table-cls-td} {
|
|
48
|
+
// padding: ~'@{table-size-@{size}-padding-vertical}' ~'@{table-size-@{size}-padding-horizontal}';
|
|
49
|
+
//}
|
|
50
|
+
|
|
51
|
+
.@{table-cls-th} {
|
|
52
|
+
font-size: ~'@{table-size-@{size}-font-header-size}';
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.@{table-cls-td} {
|
|
56
|
+
font-size: ~'@{table-size-@{size}-font-size}';
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.@{table-prefix-cls}-footer {
|
|
60
|
+
padding: ~'@{table-size-@{size}-padding-vertical}' ~'@{table-size-@{size}-padding-horizontal}';
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// expand row in fixed
|
|
64
|
+
//.@{table-prefix-cls}-cell-fixed-expand {
|
|
65
|
+
// margin: ~'-@{table-size-@{size}-padding-vertical}' ~'-@{table-size-@{size}-padding-horizontal}';
|
|
66
|
+
// padding: ~'@{table-size-@{size}-padding-vertical}' ~'@{table-size-@{size}-padding-horizontal}';
|
|
67
|
+
//}
|
|
68
|
+
|
|
69
|
+
// sub table
|
|
70
|
+
.@{table-prefix-cls}-tr-expand .@{table-cls-td} .@{table-prefix-cls} {
|
|
71
|
+
margin: ~'-@{table-size-@{size}-padding-vertical}' ~'-@{table-size-@{size}-padding-horizontal}'
|
|
72
|
+
~'calc(-@{table-size-@{size}-padding-vertical} - @{table-border-width})' ~'-@{table-size-@{size}-padding-horizontal}';
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// editor row
|
|
76
|
+
.@{table-prefix-cls}-editable-row {
|
|
77
|
+
.@{table-prefix-cls}-cell-wrap-value {
|
|
78
|
+
padding: ~'@{table-size-@{size}-padding-vertical}' ~'@{table-size-@{size}-padding-horizontal}';
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.@{table-prefix-cls} {
|
|
84
|
+
position: relative;
|
|
85
|
+
|
|
86
|
+
&-column-handle {
|
|
87
|
+
position: absolute;
|
|
88
|
+
top: 0;
|
|
89
|
+
right: -4px;
|
|
90
|
+
z-index: 1;
|
|
91
|
+
width: 8px;
|
|
92
|
+
height: 100%;
|
|
93
|
+
cursor: col-resize;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// spin
|
|
97
|
+
.@{prefix}-spin {
|
|
98
|
+
display: flex;
|
|
99
|
+
flex-direction: column;
|
|
100
|
+
height: 100%;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// ???
|
|
104
|
+
> .@{prefix}-spin > .@{prefix}-spin-children::after {
|
|
105
|
+
z-index: 2;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// footer
|
|
109
|
+
&-footer {
|
|
110
|
+
border-radius: 0 0 @table-border-radius @table-border-radius;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// box-shadow of the fixed column on the left
|
|
114
|
+
&-scroll-position-right &-col-fixed-left-last::after,
|
|
115
|
+
&-scroll-position-middle &-col-fixed-left-last::after {
|
|
116
|
+
box-shadow: @table-shadow-left;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
// box-shadow of the fixed column on the right
|
|
120
|
+
&-scroll-position-left &-col-fixed-right-first::after,
|
|
121
|
+
&-scroll-position-middle &-col-fixed-right-first::after {
|
|
122
|
+
box-shadow: @table-shadow-right;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&-layout-fixed {
|
|
126
|
+
.@{table-cls-table} {
|
|
127
|
+
table-layout: fixed;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.@{table-cls-table} {
|
|
132
|
+
width: 100%;
|
|
133
|
+
min-width: 100%;
|
|
134
|
+
margin: 0;
|
|
135
|
+
border-collapse: separate;
|
|
136
|
+
border-spacing: 0;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&-th {
|
|
140
|
+
position: relative;
|
|
141
|
+
box-sizing: border-box;
|
|
142
|
+
color: @table-color-text-header-cell;
|
|
143
|
+
font-weight: @table-font-weight-header-text;
|
|
144
|
+
line-height: @line-height-base;
|
|
145
|
+
text-align: left;
|
|
146
|
+
background-color: @table-color-bg-header-cell;
|
|
147
|
+
|
|
148
|
+
&[colspan] {
|
|
149
|
+
text-align: center;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
&-align-right {
|
|
153
|
+
text-align: right;
|
|
154
|
+
|
|
155
|
+
.@{table-prefix-cls}-cell-with-sorter {
|
|
156
|
+
justify-content: flex-end;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&-align-center {
|
|
161
|
+
text-align: center;
|
|
162
|
+
|
|
163
|
+
.@{table-prefix-cls}-cell-with-sorter {
|
|
164
|
+
justify-content: center;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&-td {
|
|
170
|
+
box-sizing: border-box;
|
|
171
|
+
color: @table-color-text-body-cell;
|
|
172
|
+
line-height: @line-height-base;
|
|
173
|
+
text-align: left;
|
|
174
|
+
word-break: break-all;
|
|
175
|
+
background-color: @table-color-bg-body-cell;
|
|
176
|
+
border-bottom: @table-border-width @table-border-style @table-color-border;
|
|
177
|
+
|
|
178
|
+
&-align-right {
|
|
179
|
+
text-align: right;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
&-align-center {
|
|
183
|
+
text-align: center;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
&.@{table-prefix-cls}-drag-handle {
|
|
187
|
+
cursor: move;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
&-cell {
|
|
192
|
+
display: flex;
|
|
193
|
+
align-items: center;
|
|
194
|
+
|
|
195
|
+
&-align-right {
|
|
196
|
+
justify-content: flex-end;
|
|
197
|
+
text-align: right;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
&-align-center {
|
|
201
|
+
justify-content: center;
|
|
202
|
+
text-align: center;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
&-text-ellipsis {
|
|
207
|
+
overflow: hidden;
|
|
208
|
+
white-space: nowrap;
|
|
209
|
+
text-overflow: ellipsis;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
&-td-content {
|
|
213
|
+
display: block;
|
|
214
|
+
width: 100%;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.@{table-cls-th}&-col-sorted {
|
|
218
|
+
background-color: @table-color-bg-header-sorted-cell;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.@{table-cls-td}&-col-sorted {
|
|
222
|
+
background-color: @table-color-bg-body-sorted-cell;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
&-col-fixed-left,
|
|
226
|
+
&-col-fixed-right {
|
|
227
|
+
position: sticky;
|
|
228
|
+
z-index: 10;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
&-col-fixed-left-last::after,
|
|
232
|
+
&-col-fixed-right-first::after {
|
|
233
|
+
position: absolute;
|
|
234
|
+
top: 0;
|
|
235
|
+
bottom: -@table-border-width;
|
|
236
|
+
left: 0;
|
|
237
|
+
width: @table-size-shadow-wrapper-width;
|
|
238
|
+
box-shadow: none;
|
|
239
|
+
transform: translateX(-100%);
|
|
240
|
+
transition: box-shadow @transition-duration-1
|
|
241
|
+
@transition-timing-function-linear;
|
|
242
|
+
content: '';
|
|
243
|
+
pointer-events: none;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
// ????
|
|
247
|
+
&-col-fixed-left-last::after {
|
|
248
|
+
right: 0;
|
|
249
|
+
left: unset;
|
|
250
|
+
transform: translateX(100%);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
&-cell-text-ellipsis {
|
|
254
|
+
overflow: hidden;
|
|
255
|
+
white-space: nowrap;
|
|
256
|
+
text-overflow: ellipsis;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
// useless
|
|
260
|
+
&-editable-row {
|
|
261
|
+
.@{table-prefix-cls}-cell-wrap-value {
|
|
262
|
+
border: @table-border-width solid @table-color-editable-body-cell-border;
|
|
263
|
+
border-radius: @table-border-radius;
|
|
264
|
+
cursor: pointer;
|
|
265
|
+
transition: all @transition-duration-1 @transition-timing-function-linear;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
&:hover {
|
|
269
|
+
.@{table-prefix-cls}-cell-wrap-value {
|
|
270
|
+
border: @table-border-width solid @table-color-border;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
//&-cell {
|
|
276
|
+
// word-break: break-all;
|
|
277
|
+
//}
|
|
278
|
+
|
|
279
|
+
// Expand
|
|
280
|
+
.@{table-prefix-cls}-expand-btn {
|
|
281
|
+
.expandBtn();
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
&-cell-expand-icon {
|
|
285
|
+
display: flex;
|
|
286
|
+
align-items: center;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
&-cell-expand-icon &-cell-inline-icon {
|
|
290
|
+
display: inline-flex;
|
|
291
|
+
margin-right: @table-spacing-expand-button-margin-right;
|
|
292
|
+
|
|
293
|
+
.@{prefix}-icon-loading {
|
|
294
|
+
color: @color-primary-6;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
&-cell-expand-icon-hidden {
|
|
299
|
+
display: inline-block;
|
|
300
|
+
width: @table-size-expand-button;
|
|
301
|
+
height: @table-size-expand-button;
|
|
302
|
+
margin-right: @table-spacing-expand-button-margin-right;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
&-tr-expand .@{table-cls-td} {
|
|
306
|
+
background-color: @table-color-bg-expand-content;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
&-cell-fixed-expand {
|
|
310
|
+
position: sticky;
|
|
311
|
+
left: 0;
|
|
312
|
+
box-sizing: border-box;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
&-tr-expand .@{table-cls-td} & {
|
|
316
|
+
.@{table-prefix-cls}-container {
|
|
317
|
+
border: none;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.@{table-cls-th} {
|
|
321
|
+
border-bottom: @table-border-width @table-border-style @table-color-border;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.@{table-cls-th},
|
|
325
|
+
.@{table-cls-td} {
|
|
326
|
+
background-color: transparent;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.@{table-prefix-cls}-pagination {
|
|
330
|
+
margin-bottom: @table-spacing-pagination-margin;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
// Selection
|
|
335
|
+
//& &-th&-operation &-th-item,
|
|
336
|
+
//& &-td&-operation {
|
|
337
|
+
// padding-right: @table-spacing-selection-padding-horizontal;
|
|
338
|
+
// padding-left: @table-spacing-selection-padding-horizontal;
|
|
339
|
+
//}
|
|
340
|
+
&-th&-operation,
|
|
341
|
+
&-td&-operation {
|
|
342
|
+
text-align: center;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
&-th&-operation &-cell,
|
|
346
|
+
&-td&-operation &-cell {
|
|
347
|
+
display: flex;
|
|
348
|
+
justify-content: center;
|
|
349
|
+
padding: 0;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
&-radio,
|
|
353
|
+
&-checkbox {
|
|
354
|
+
justify-content: center;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
&-checkbox .@{prefix}-checkbox,
|
|
358
|
+
&-radio .@{prefix}-radio {
|
|
359
|
+
padding-left: 0;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
// colgroup selection
|
|
363
|
+
&-selection-checkbox-col,
|
|
364
|
+
&-selection-radio-col {
|
|
365
|
+
.fixed-width(@table-size-selection-col-width);
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
&-expand-col {
|
|
369
|
+
.fixed-width(@table-size-expand-icon-col-width);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
&-drag-handle-col {
|
|
373
|
+
.fixed-width(@table-size-drag-handle-col-width);
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
&-th {
|
|
377
|
+
transition: background-color @transition-duration-1
|
|
378
|
+
@transition-timing-function-linear;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
&-cell-with-sorter {
|
|
382
|
+
display: flex;
|
|
383
|
+
align-items: center;
|
|
384
|
+
cursor: pointer;
|
|
385
|
+
|
|
386
|
+
&:hover {
|
|
387
|
+
background-color: @table-color-bg-header-sorted-cell_hover;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
&-cell-with-filter {
|
|
392
|
+
display: flex;
|
|
393
|
+
align-items: center;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
&-cell-next-ascend &-sorter-icon {
|
|
397
|
+
.@{prefix}-icon-caret-up {
|
|
398
|
+
color: @table-color-header-sorter-icon_next;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
&-cell-next-descend &-sorter-icon {
|
|
403
|
+
.@{prefix}-icon-caret-down {
|
|
404
|
+
color: @table-color-header-sorter-icon_next;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
&-sorter {
|
|
409
|
+
display: inline-block;
|
|
410
|
+
margin-left: @table-spacing-header-sorter-icon-margin-left;
|
|
411
|
+
vertical-align: -3px;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
&-sorter&-sorter-direction-one {
|
|
415
|
+
vertical-align: 0;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
&-sorter-icon {
|
|
419
|
+
position: relative;
|
|
420
|
+
width: @table-size-header-sorter-icon-width;
|
|
421
|
+
height: @table-size-header-sorter-icon-height;
|
|
422
|
+
overflow: hidden;
|
|
423
|
+
line-height: @table-size-header-sorter-icon-height;
|
|
424
|
+
|
|
425
|
+
.@{prefix}-icon-caret-up,
|
|
426
|
+
.@{prefix}-icon-caret-down {
|
|
427
|
+
position: absolute;
|
|
428
|
+
top: 50%;
|
|
429
|
+
color: @table-color-header-sorter-icon;
|
|
430
|
+
font-size: @table-font-size-header-sorter-icon;
|
|
431
|
+
transition: all @transition-duration-1 @transition-timing-function-linear;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.@{prefix}-icon-caret-up {
|
|
435
|
+
top: @table-position-header-sorter-icon-up-top;
|
|
436
|
+
left: @table-position-header-sorter-icon-left;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.@{prefix}-icon-caret-down {
|
|
440
|
+
top: @table-position-header-sorter-icon-down-top;
|
|
441
|
+
left: @table-position-header-sorter-icon-left;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
&&-active {
|
|
445
|
+
svg {
|
|
446
|
+
color: @table-color-header-sorter-icon_active;
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
&-filters {
|
|
452
|
+
position: absolute;
|
|
453
|
+
top: 0;
|
|
454
|
+
right: 0;
|
|
455
|
+
display: flex;
|
|
456
|
+
align-items: center;
|
|
457
|
+
justify-content: center;
|
|
458
|
+
width: @table-size-filters-width;
|
|
459
|
+
height: 100%;
|
|
460
|
+
line-height: 1;
|
|
461
|
+
vertical-align: 0;
|
|
462
|
+
background-color: transparent;
|
|
463
|
+
cursor: pointer;
|
|
464
|
+
transition: all @transition-duration-1 @transition-timing-function-linear;
|
|
465
|
+
|
|
466
|
+
&:hover,
|
|
467
|
+
&-open {
|
|
468
|
+
background-color: @table-color-bg-header-filters-icon_hover;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
svg {
|
|
472
|
+
color: @table-color-header-filters-icon;
|
|
473
|
+
font-size: @table-font-size-filters-icon;
|
|
474
|
+
transition: all @transition-duration-1 @transition-timing-function-linear;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
&-active {
|
|
478
|
+
svg {
|
|
479
|
+
color: @table-color-header-filters-icon_active;
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
&-align-left {
|
|
484
|
+
position: relative;
|
|
485
|
+
width: auto;
|
|
486
|
+
margin-left: @table-spacing-header-sorter-icon-margin-left;
|
|
487
|
+
|
|
488
|
+
svg {
|
|
489
|
+
font-size: @table-font-size-header-sorter-icon;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
&:hover,
|
|
493
|
+
&-open {
|
|
494
|
+
background: none;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
&:hover::before,
|
|
498
|
+
&.@{table-prefix-cls}-filters-open::before {
|
|
499
|
+
background: @table-filters-icon-bg_hover;
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/* ---- Table sorter, filter, checkbox, radio (End) ---- */
|
|
505
|
+
&-container {
|
|
506
|
+
position: relative;
|
|
507
|
+
border-radius: @table-border-radius @table-border-radius 0 0;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
&-header {
|
|
511
|
+
flex-shrink: 0;
|
|
512
|
+
border-radius: @table-border-radius @table-border-radius 0 0;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
&-container {
|
|
516
|
+
box-sizing: border-box;
|
|
517
|
+
width: 100%;
|
|
518
|
+
min-height: 0;
|
|
519
|
+
|
|
520
|
+
// chrome not fluent: https://codepen.io/quanqqq/pen/BaLpEQd?editors=0010
|
|
521
|
+
// border-radius: @table-border-radius @table-border-radius 0 0 0;
|
|
522
|
+
|
|
523
|
+
.@{table-prefix-cls}-content {
|
|
524
|
+
display: flex;
|
|
525
|
+
flex-direction: column;
|
|
526
|
+
width: auto;
|
|
527
|
+
height: 100%;
|
|
528
|
+
|
|
529
|
+
&-scroll-x {
|
|
530
|
+
overflow-x: auto;
|
|
531
|
+
overflow-y: hidden;
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
&::before,
|
|
536
|
+
&::after {
|
|
537
|
+
position: absolute;
|
|
538
|
+
//top: -@table-border-width;
|
|
539
|
+
//bottom: -@table-border-width;
|
|
540
|
+
z-index: 1;
|
|
541
|
+
width: @table-size-shadow-wrapper-width;
|
|
542
|
+
height: 100%;
|
|
543
|
+
box-shadow: none;
|
|
544
|
+
transition: box-shadow @transition-duration-1
|
|
545
|
+
@transition-timing-function-linear;
|
|
546
|
+
content: '';
|
|
547
|
+
pointer-events: none;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
&::before {
|
|
551
|
+
top: 0;
|
|
552
|
+
left: 0;
|
|
553
|
+
border-top-left-radius: @table-border-radius;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
&::after {
|
|
557
|
+
top: 0;
|
|
558
|
+
right: 0;
|
|
559
|
+
border-top-right-radius: @table-border-radius;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
// box-shadow on the left side of the scroll table
|
|
563
|
+
&:not(.@{table-prefix-cls}-has-fixed-col-left) {
|
|
564
|
+
&.@{table-prefix-cls}-scroll-position-right::before,
|
|
565
|
+
&.@{table-prefix-cls}-scroll-position-middle::before {
|
|
566
|
+
box-shadow: @table-shadow-left;
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
// box-shadow on the right side of the scroll table
|
|
571
|
+
&:not(.@{table-prefix-cls}-has-fixed-col-right) {
|
|
572
|
+
&.@{table-prefix-cls}-scroll-position-left::after,
|
|
573
|
+
&.@{table-prefix-cls}-scroll-position-middle::after {
|
|
574
|
+
box-shadow: @table-shadow-right;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
&-header {
|
|
580
|
+
overflow-x: hidden;
|
|
581
|
+
overflow-y: hidden;
|
|
582
|
+
background-color: @table-color-bg-header-cell;
|
|
583
|
+
scrollbar-color: transparent transparent;
|
|
584
|
+
|
|
585
|
+
&-sticky {
|
|
586
|
+
position: sticky;
|
|
587
|
+
top: 0;
|
|
588
|
+
z-index: 100;
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
&:not(&-empty) &-header::-webkit-scrollbar {
|
|
593
|
+
// 仅隐藏横向滚动条
|
|
594
|
+
height: 0;
|
|
595
|
+
background-color: transparent;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
&&-empty &-header {
|
|
599
|
+
overflow-x: auto;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
&-body {
|
|
603
|
+
position: relative;
|
|
604
|
+
width: 100%;
|
|
605
|
+
min-height: @table-size-body-min-width;
|
|
606
|
+
overflow: auto;
|
|
607
|
+
background-color: @table-color-body-background;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
&-border {
|
|
611
|
+
.@{table-prefix-cls}-container {
|
|
612
|
+
border-top: @table-border-width @table-border-style @table-color-border;
|
|
613
|
+
border-left: @table-border-width @table-border-style @table-color-border;
|
|
614
|
+
|
|
615
|
+
// ??用处
|
|
616
|
+
//&::before {
|
|
617
|
+
// position: absolute;
|
|
618
|
+
// bottom: 0;
|
|
619
|
+
// left: 0;
|
|
620
|
+
// z-index: 2;
|
|
621
|
+
// width: 100%;
|
|
622
|
+
// height: @table-border-width;
|
|
623
|
+
// background-color: @table-color-border;
|
|
624
|
+
// content: '';
|
|
625
|
+
//}
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
.@{table-prefix-cls}-scroll-y {
|
|
629
|
+
border-bottom: @table-border-width @table-border-style @table-color-border;
|
|
630
|
+
|
|
631
|
+
.@{table-prefix-cls}-body .@{table-cls-tr}:last-of-type .@{table-cls-td},
|
|
632
|
+
tfoot .@{table-cls-tr}:last-of-type .@{table-cls-td} {
|
|
633
|
+
border-bottom: none;
|
|
634
|
+
|
|
635
|
+
&.@{table-prefix-cls}-col-fixed-left-last::after,
|
|
636
|
+
&.@{table-prefix-cls}-col-fixed-right-first::after {
|
|
637
|
+
bottom: 0;
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
.@{table-cls-tr} .@{table-cls-th} {
|
|
643
|
+
border-bottom: @table-border-width @table-border-style @table-color-border;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
//.@{table-prefix-cls}-tr-expand .@{table-prefix-cls}-cell-fixed-expand {
|
|
647
|
+
// border-left: @table-border-width @table-border-style @table-color-border;
|
|
648
|
+
//}
|
|
649
|
+
|
|
650
|
+
.@{table-prefix-cls}-footer {
|
|
651
|
+
border: @table-border-width @table-border-style @table-color-border;
|
|
652
|
+
border-top: 0;
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
&-border:not(&-border-cell) {
|
|
657
|
+
.@{table-prefix-cls}-container {
|
|
658
|
+
border-right: @table-border-width @table-border-style @table-color-border;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
//.@{table-cls-tr} .@{table-cls-th}[colspan] {
|
|
662
|
+
// border-bottom: none;
|
|
663
|
+
//}
|
|
664
|
+
//
|
|
665
|
+
//.@{table-prefix-cls}-tr-expand .@{table-prefix-cls}-cell-fixed-expand {
|
|
666
|
+
// border-left: none;
|
|
667
|
+
//}
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
&-border-cell {
|
|
671
|
+
.@{table-cls-th},
|
|
672
|
+
.@{table-cls-td}:not(.@{table-prefix-cls}-tr-expand) {
|
|
673
|
+
border-right: @table-border-width @table-border-style @table-color-border;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
.@{table-cls-th}-resizing,
|
|
677
|
+
.@{table-cls-td}-resizing:not(.@{table-prefix-cls}-tr-expand) {
|
|
678
|
+
border-right-color: @table-color-border_resizing;
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
&-border-header-cell {
|
|
683
|
+
.@{table-cls-th} {
|
|
684
|
+
border-right: @table-border-width @table-border-style @table-color-border;
|
|
685
|
+
border-bottom: @table-border-width @table-border-style @table-color-border;
|
|
686
|
+
}
|
|
687
|
+
.@{table-cls-th}-resizing,
|
|
688
|
+
.@{table-cls-td}-resizing:not(.@{table-prefix-cls}-tr-expand) {
|
|
689
|
+
border-right-color: @table-color-border_resizing;
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
&-border&-border-header-cell {
|
|
694
|
+
thead {
|
|
695
|
+
.@{table-cls-tr}:first-child .@{table-cls-th}:last-child {
|
|
696
|
+
border-right: 0;
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
&-border-body-cell {
|
|
702
|
+
.@{table-cls-td}:not(:last-child):not(.@{table-prefix-cls}-tr-expand) {
|
|
703
|
+
border-right: @table-border-width @table-border-style @table-color-border;
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
// stripe: true
|
|
708
|
+
&-stripe {
|
|
709
|
+
&:not(.@{table-prefix-cls}-dragging)
|
|
710
|
+
.@{table-cls-tr}:not(.@{table-prefix-cls}-tr-empty):not(.@{table-prefix-cls}-tr-summary):nth-child(even),
|
|
711
|
+
.@{table-cls-tr}-drag {
|
|
712
|
+
.@{table-cls-td}:not(.@{table-prefix-cls}-col-fixed-left):not(.@{table-prefix-cls}-col-fixed-right) {
|
|
713
|
+
background-color: @table-color-bg-body-stripe-row;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
.@{table-cls-td}.@{table-prefix-cls}-col-fixed-left,
|
|
717
|
+
.@{table-cls-td}.@{table-prefix-cls}-col-fixed-right {
|
|
718
|
+
&::before {
|
|
719
|
+
position: absolute;
|
|
720
|
+
top: 0;
|
|
721
|
+
left: 0;
|
|
722
|
+
z-index: -1;
|
|
723
|
+
width: 100%;
|
|
724
|
+
height: 100%;
|
|
725
|
+
background-color: @table-color-bg-body-stripe-row;
|
|
726
|
+
content: '';
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
& .@{table-cls-tr}-draggable {
|
|
733
|
+
cursor: move;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
&-hover {
|
|
737
|
+
&:not(.@{table-prefix-cls}-dragging)
|
|
738
|
+
.@{table-cls-tr}:not(.@{table-prefix-cls}-tr-empty):not(.@{table-prefix-cls}-tr-summary):hover,
|
|
739
|
+
.@{table-cls-tr}-drag {
|
|
740
|
+
.@{table-cls-td}:not(.@{table-prefix-cls}-col-fixed-left):not(.@{table-prefix-cls}-col-fixed-right) {
|
|
741
|
+
background-color: @table-color-bg-body-row_hover;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
.@{table-cls-td}.@{table-prefix-cls}-col-fixed-left,
|
|
745
|
+
.@{table-cls-td}.@{table-prefix-cls}-col-fixed-right {
|
|
746
|
+
&::before {
|
|
747
|
+
position: absolute;
|
|
748
|
+
top: 0;
|
|
749
|
+
left: 0;
|
|
750
|
+
z-index: -1;
|
|
751
|
+
width: 100%;
|
|
752
|
+
height: 100%;
|
|
753
|
+
background-color: @table-color-bg-body-row_hover;
|
|
754
|
+
content: '';
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
.@{table-cls-tr}-expand:not(.@{table-prefix-cls}-tr-empty):hover {
|
|
760
|
+
.@{table-cls-td}:not(.@{table-prefix-cls}-col-fixed-left):not(.@{table-prefix-cls}-col-fixed-right) {
|
|
761
|
+
background-color: @table-color-bg-expand-content_hover;
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
// 去除嵌套子表格的 hover 效果
|
|
766
|
+
.@{table-prefix-cls}-tr-expand .@{table-cls-td} & {
|
|
767
|
+
.@{table-cls-tr}:not(.@{table-prefix-cls}-tr-empty) {
|
|
768
|
+
.@{table-cls-td}:not(.@{table-prefix-cls}-col-fixed-left):not(.@{table-prefix-cls}-col-fixed-right) {
|
|
769
|
+
background-color: transparent;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
.@{table-cls-td}.@{table-prefix-cls}-col-fixed-left,
|
|
773
|
+
.@{table-cls-td}.@{table-prefix-cls}-col-fixed-right {
|
|
774
|
+
&::before {
|
|
775
|
+
background-color: transparent;
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
&-tfoot {
|
|
783
|
+
position: relative;
|
|
784
|
+
z-index: 1;
|
|
785
|
+
flex-shrink: 0;
|
|
786
|
+
width: 100%;
|
|
787
|
+
overflow-x: auto;
|
|
788
|
+
background-color: @table-color-bg-tfoot;
|
|
789
|
+
box-shadow: 0 -@table-border-width 0 @table-color-border;
|
|
790
|
+
scrollbar-color: transparent transparent;
|
|
791
|
+
|
|
792
|
+
&::-webkit-scrollbar {
|
|
793
|
+
height: 0;
|
|
794
|
+
background-color: transparent;
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
& tfoot &-td {
|
|
799
|
+
background-color: @table-color-bg-tfoot;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
// Active row
|
|
803
|
+
&-tr-checked .@{table-cls-td} {
|
|
804
|
+
background-color: @table-color-bg-body-row_active;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
// Size
|
|
808
|
+
.table-size(large);
|
|
809
|
+
|
|
810
|
+
&-size-medium {
|
|
811
|
+
.table-size(medium);
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
&-size-small {
|
|
815
|
+
.table-size(small);
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
&-size-mini {
|
|
819
|
+
.table-size(mini);
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
// virtualized
|
|
823
|
+
&-virtualized .@{table-cls-table} {
|
|
824
|
+
table-layout: fixed;
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
&-virtualized div&-body div&-tr {
|
|
828
|
+
display: flex;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
&-virtualized div&-body div&-td {
|
|
832
|
+
display: flex;
|
|
833
|
+
flex: 1;
|
|
834
|
+
align-items: center;
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
.@{table-prefix-cls}-pagination {
|
|
839
|
+
display: flex;
|
|
840
|
+
align-items: center;
|
|
841
|
+
justify-content: flex-end;
|
|
842
|
+
margin-top: @table-spacing-pagination-margin;
|
|
843
|
+
|
|
844
|
+
&-left {
|
|
845
|
+
justify-content: flex-start;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
&-center {
|
|
849
|
+
justify-content: center;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
&-top {
|
|
853
|
+
margin-top: 0;
|
|
854
|
+
margin-bottom: @table-spacing-pagination-margin;
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
.@{prefix}-virtual-list {
|
|
859
|
+
& > .@{table-prefix-cls}-element {
|
|
860
|
+
width: auto;
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
@{arco-theme-tag}[arco-theme='dark'] {
|
|
865
|
+
.@{table-prefix-cls}-tr-checked .@{table-cls-td} {
|
|
866
|
+
background-color: @table-color-bg-body-row_active_dark;
|
|
867
|
+
}
|
|
868
|
+
}
|