新增强迫症设置

This commit is contained in:
lyswhut
2019-09-07 12:46:47 +08:00
parent cafdad6f9f
commit c117e33d24
7 changed files with 45 additions and 13 deletions
+13 -9
View File
@@ -88,7 +88,7 @@ each(@themes, {
opacity: 1;
}
}
button {
position: relative;
width: @height-toolbar;
@@ -113,12 +113,6 @@ each(@themes, {
&:before {
display: block;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
font-size: 14px;
line-height: 1;
color: #fff;
opacity: 0;
transition: opacity @transition-theme;
}
@@ -147,13 +141,23 @@ each(@themes, {
}
.min {
&:before {
content: '-';
font-size: 15px;
content: ' ';
width: 8px;
height: 2px;
left: @height-toolbar / 2 - 4;
top: @height-toolbar / 2;
background-color: #fff;
}
}
.close {
&:before {
content: '×';
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
font-size: 14px;
line-height: 1;
color: #fff;
}
}
</style>