优化互斥关系

This commit is contained in:
Harvey committed 2020-09-15 16:14:27 +08:00
1 parent abf60cfef6
commit 5cbb8bd1f3
16 files changed
+242 -29

No files matched your search

+1
View File
@@ -17,5 +17,6 @@
@import './mini.scss';
@import './autoSize.scss';
@import './flip.scss';
@import './rotate.scss';
@import './selector.scss';
@import './balloon.scss';
+22
View File
@@ -0,0 +1,22 @@
.art-video-player {
&[data-rotate='90'],
&[data-rotate='-270'] {
.art-video {
transform: rotate(90deg);
}
}
&[data-rotate='180'],
&[data-rotate='-180'] {
.art-video {
transform: rotate(180deg);
}
}
&[data-rotate='270'],
&[data-rotate='-90'] {
.art-video {
transform: rotate(270deg);
}
}
}
@@ -53,6 +53,10 @@
color: #fff;
background: rgba(255, 255, 255, 0.2);
border-radius: 2px;
&:active {
background-color: #00a1d6;
}
}
&.current button {
background-color: #00a1d6;