Commit 098df0d7 by luyt

feat:添加按钮背景透明

1 parent e85b3ab5
......@@ -41,7 +41,7 @@
</span>
</template>
<!-- footer插槽 -->
<slot name="footer" v-else></slot>
<slot name="footer" v-if="$slots.footer"></slot>
</template>
</el-dialog>
</div>
......
......@@ -118,13 +118,14 @@ $lightColorDisabled: $color-primary-light04;
.el-button.is-plain:focus,
.el-button.is-plain:hover {
background: #fff;
background: transparent;
border-color: $lightColor;
color: $lightColor;
}
.el-button.is-plain{
border-color: $defaultColor;
color: $defaultColor;
background: transparent;
}
.el-button.is-plain:active {
border-color: $dackColor;
......@@ -133,6 +134,7 @@ $lightColorDisabled: $color-primary-light04;
.el-button.is-disabled.is-plain, .el-button.is-disabled.is-plain:focus, .el-button.is-disabled.is-plain:hover{
border-color: $lightColorDisabled;
color: $lightColorDisabled;
background-color:transparent;
}
// 三级按钮样式 以is-plain为基础
.el-button.is-plain.btn-three{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!