File tree Expand file tree Collapse file tree 8 files changed +92
-2
lines changed Expand file tree Collapse file tree 8 files changed +92
-2
lines changed Original file line number Diff line number Diff line change 1
1
import { css , globalCSS } from 'omi' ;
2
2
3
3
import avatarStyle from '../../_common/style/web/components/avatar/_index.less' ;
4
+ import wcStyles from './wc.less' ;
4
5
5
6
export const styleSheet = css `
6
7
${ avatarStyle }
8
+ ${ wcStyles }
7
9
` ;
8
10
9
11
globalCSS ( styleSheet ) ;
Original file line number Diff line number Diff line change
1
+ @import " ../../_common/style/web/base.less" ;
2
+ @import " ../../_common/style/web/components/avatar/_mixin.less" ;
3
+
4
+ // for web-component
5
+ .@{prefix} -avatar-group {
6
+ & .@{prefix} -avatar--offset-right {
7
+ & @{prefix} - avatar- light- dom {
8
+ & :not (:last-child ) {
9
+ .avatar-group-offset-right (@avatar-group-offset-medium );
10
+ & .@{prefix} -size-s {
11
+ .avatar-group-offset-right (@avatar-group-offset-small );
12
+ }
13
+ & .@{prefix} -size-l {
14
+ .avatar-group-offset-right (@avatar-group-offset-large );
15
+ }
16
+ }
17
+ }
18
+ }
19
+ & .@{prefix} -avatar--offset-left {
20
+ & @{prefix} - avatar- light- dom {
21
+ & :not (:first-child ) {
22
+ .avatar-group-size--left ();
23
+ }
24
+ }
25
+ }
26
+ }
Original file line number Diff line number Diff line change @@ -3,10 +3,12 @@ import { css, globalCSS } from 'omi';
3
3
// 为了做主题切换
4
4
import styles from '../../_common/style/web/components/dialog/_index.less' ;
5
5
import dialogStyles from './dialog.less' ;
6
+ import wcStyles from './wc.less' ;
6
7
7
8
export const styleSheet = css `
8
9
${ styles }
9
10
${ dialogStyles }
11
+ ${ wcStyles }
10
12
` ;
11
13
12
14
globalCSS ( styleSheet ) ;
Original file line number Diff line number Diff line change
1
+ @import " ../../_common/style/web/base.less" ;
2
+ @import " ../../_common/style/web/components/dialog/_var.less" ;
3
+
4
+ // for web-component
5
+ .@{prefix} -dialog {
6
+ // icon theme
7
+ t- icon- info- circle.@{prefix} -is-info {
8
+ color : @dialog-info-icon-color ;
9
+ }
10
+
11
+ t- icon- check- circle.@{prefix} -is-success {
12
+ color : @dialog-success-icon-color ;
13
+ }
14
+
15
+ t- icon- error- circle.@{prefix} -is-warning {
16
+ color : @dialog-warning-icon-color ;
17
+ }
18
+
19
+ t- icon- error- circle.@{prefix} -is-error {
20
+ color : @dialog-error-icon-color ;
21
+ }
22
+
23
+ &__header {
24
+ t- icon- check- circle,
25
+ t- icon- info- circle,
26
+ t- icon- error- circle {
27
+ font-size : @dialog-icon-size ;
28
+ display : inline-flex ;
29
+ align-items : center ;
30
+ margin-right : @dialog-header-icon-margin-right ;
31
+ flex-shrink : 0 ;
32
+ }
33
+ }
34
+
35
+ &__footer {
36
+ .@{prefix} -button + .@{prefix} -button ,
37
+ .@{prefix} -dialog__button + .@{prefix} -dialog__button {
38
+ margin-left : @dialog-footer-button-margin-left ;
39
+ }
40
+ }
41
+ }
Original file line number Diff line number Diff line change @@ -42,5 +42,4 @@ export * from './tag-input';
42
42
export * from './textarea' ;
43
43
export * from './tooltip' ;
44
44
export * from './upload' ;
45
- export * from './vue' ;
46
45
export * from './watermark' ;
Original file line number Diff line number Diff line change 1
-
2
1
@import " ../../_common/style/web/base.less" ;
3
2
@import " ../../_common/style/web/components/list/_var.less" ;
4
3
Original file line number Diff line number Diff line change @@ -2,9 +2,11 @@ import { css, globalCSS } from 'omi';
2
2
3
3
// 为了做主题切换
4
4
import styles from '../../_common/style/web/components/slider/_index.less' ;
5
+ import wcStyles from './wc.less' ;
5
6
6
7
export const styleSheet = css `
7
8
${ styles }
9
+ ${ wcStyles }
8
10
` ;
9
11
10
12
globalCSS ( styleSheet ) ;
Original file line number Diff line number Diff line change
1
+ @import " ../../_common/style/web/base.less" ;
2
+ @import " ../../_common/style/web/components/slider/_var.less" ;
3
+
4
+ .@{prefix} -slider--vertical .@{prefix} -slider__button-wrapper ,
5
+ .@{prefix} -slider__button-wrapper--vertical {
6
+ top : auto ;
7
+ position : absolute ;
8
+ z-index : 2 ;
9
+ left : 50% ;
10
+ transform : translate (-50% , 50% );
11
+ background-color : transparent ;
12
+ text-align : center ;
13
+ user-select : none ;
14
+ line-height : normal ;
15
+ outline : none ;
16
+ cursor : pointer ;
17
+ display : flex ;
18
+ align-items : center ;
19
+ }
You can’t perform that action at this time.
0 commit comments