feat:优化 debug 页
This commit is contained in:
@@ -88,6 +88,49 @@ wx-button:not([size=mini]) {
|
||||
}
|
||||
}
|
||||
|
||||
&--flat {
|
||||
box-shadow: none !important;
|
||||
border: none;
|
||||
transition: background 0.1s;
|
||||
|
||||
// 覆盖所有颜色变体
|
||||
&.toy-button--primary,
|
||||
&.toy-button--green,
|
||||
&.toy-button--white {
|
||||
box-shadow: none !important;
|
||||
border: none !important;
|
||||
|
||||
&.active {
|
||||
transform: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
// 特殊处理白色plain模式
|
||||
&.toy-button--white.plain {
|
||||
background: transparent !important;
|
||||
border: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
// 重置active变换
|
||||
&.active {
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
// 彩色按钮active背景变化
|
||||
&.toy-button--primary.active {
|
||||
background: rgba(255, 215, 25, 0.7);
|
||||
}
|
||||
|
||||
&.toy-button--green.active {
|
||||
background: rgba(147, 211, 51, 0.7);
|
||||
}
|
||||
|
||||
&.toy-button--white.active {
|
||||
background: rgba(255, 255, 255, 0.7);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.loading-class,
|
||||
|
||||
Reference in New Issue
Block a user