🌀(button-group): 优化分割线样式
This commit is contained in:
parent
cceeb03c9f
commit
cf254de182
@ -14,8 +14,15 @@
|
|||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.layui-btn-group .layui-btn:not(:first-child) {
|
.layui-btn-group .layui-btn:not(:last-child) {
|
||||||
border-left: none;
|
border-right: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layui-btn-group .layui-btn.layui-btn-primary:not(:first-child),
|
||||||
|
.layui-btn-group .layui-btn.layui-btn-normal:not(:first-child),
|
||||||
|
.layui-btn-group .layui-btn.layui-btn-warm:not(:first-child),
|
||||||
|
.layui-btn-group .layui-btn.layui-btn-danger:not(:first-child) {
|
||||||
|
border-left: 1px solid rgba(255, 255, 255, .5)
|
||||||
}
|
}
|
||||||
|
|
||||||
.layui-btn-group .layui-btn:first-child {
|
.layui-btn-group .layui-btn:first-child {
|
||||||
|
@ -187,6 +187,11 @@ export default {
|
|||||||
<lay-button type="primary">默认按钮</lay-button>
|
<lay-button type="primary">默认按钮</lay-button>
|
||||||
<lay-button type="primary">默认按钮</lay-button>
|
<lay-button type="primary">默认按钮</lay-button>
|
||||||
</lay-button-group>
|
</lay-button-group>
|
||||||
|
<lay-button-group>
|
||||||
|
<lay-button border="green" border-style="dashed">默认按钮</lay-button>
|
||||||
|
<lay-button border="green" border-style="dashed">默认按钮</lay-button>
|
||||||
|
<lay-button border="green" border-style="dashed">默认按钮</lay-button>
|
||||||
|
</lay-button-group>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user