Skip to content

Commit 4350c57

Browse files
committed
chore: 对齐master
1 parent 179c497 commit 4350c57

File tree

4 files changed

+11
-14
lines changed

4 files changed

+11
-14
lines changed

packages/mpx-cube-ui/src/common/stylus/theme/components/popup.styl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ $popup-mask-opacity := 0.4 // 遮罩透明度
55
$popup-default-animation-time := 0.3s // 默认动画时间
66
$popup-default-animation-fn := ease // 默认动画函数
77

8-
$popup-mask-transition := opacity 0.3s ease // 遮罩过渡
9-
$popup-mask-hide-transition := opacity 0.3s ease // 遮罩隐藏过渡
8+
$popup-mask-transition := opacity 0.2s ease // 遮罩过渡
9+
$popup-mask-hide-transition := opacity 0.2s ease // 遮罩隐藏过渡
1010
$popup-default-hide-animation-fn := ease // 默认隐藏动画函数

packages/mpx-cube-ui/src/components/dialog/css.rn.styl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727
margin-top $var(dialog-head-icon-margin-top)
2828
border-radius-all($var(dialog-head-icon-border-top-left-radius), $var(dialog-head-icon-border-top-right-radius), $var(dialog-head-icon-border-bottom-right-radius), $var(dialog-head-icon-border-bottom-left-radius))
2929

30-
.cube-dialog-container
31-
width 100%
32-
3330
.cube-dialog-confirm
3431
position relative
3532
overflow hidden

packages/mpx-cube-ui/src/components/popup/css.rn.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
background-color $var(mask-bgc_opacity)
4444
opacity 0
4545

46-
.cube-popup-move-up
46+
.move-up
4747
transform translateY(999)
4848
.move-left
4949
transform translateX(999)

packages/mpx-cube-ui/src/components/popup/css.styl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@
7070
.cube-popup-mask
7171
opacity $var(popup-mask-opacity)
7272
.cube-popup-content
73-
&.cube-popup-move-up
73+
&.move-up
7474
popup-transition(popup-move-up-show, $var(popup-default-animation-time), $var(popup-default-animation-fn))
75-
&.cube-popup-move-right
75+
&.move-right
7676
popup-transition(popup-move-right-show)
77-
&.cube-popup-move-left
77+
&.move-left
7878
popup-transition(popup-move-left-show)
79-
&.cube-popup-move-down
79+
&.move-down
8080
popup-transition(popup-move-down-show)
8181
&.move-center
8282
popup-transition(popup-move-center-show)
@@ -93,13 +93,13 @@
9393
.cube-popup-mask
9494
transition: $var(popup-mask-hide-transition)
9595
.cube-popup-content
96-
&.cube-popup-move-up
96+
&.move-up
9797
popup-transition(popup-move-up-hide, $var(popup-default-animation-time), $var(popup-default-hide-animation-fn))
98-
&.cube-popup-move-right
98+
&.move-right
9999
popup-transition(popup-move-right-hide)
100-
&.cube-popup-move-left
100+
&.move-left
101101
popup-transition(popup-move-left-hide)
102-
&.cube-popup-move-down
102+
&.move-down
103103
popup-transition(popup-move-down-hide)
104104
&.move-center
105105
popup-transition(popup-move-center-hide)

0 commit comments

Comments
 (0)