mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 02:16:12 +08:00
[Improvement] Button: update border color (#998)
This commit is contained in:
parent
829dd6a36c
commit
8e6741635d
@ -6,7 +6,7 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
height: 45px;
|
height: 45px;
|
||||||
line-height: 43px;
|
line-height: 43px;
|
||||||
border-radius: 4px;
|
border-radius: 3px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -12,23 +12,23 @@ $gray-dark: #999;
|
|||||||
|
|
||||||
/* default colors */
|
/* default colors */
|
||||||
$text-color: #333;
|
$text-color: #333;
|
||||||
$border-color: #ccc;
|
$border-color: #eee;
|
||||||
$active-color: #e8e8e8;
|
$active-color: #e8e8e8;
|
||||||
$background-color: #f8f8f8;
|
$background-color: #f8f8f8;
|
||||||
|
|
||||||
/* button */
|
/* button */
|
||||||
$button-default-color: $text-color;
|
$button-default-color: $text-color;
|
||||||
$button-default-background-color: $white;
|
$button-default-background-color: $white;
|
||||||
$button-default-border-color: $gray-light;
|
$button-default-border-color: $border-color;
|
||||||
$button-primary-color: $white;
|
$button-primary-color: $white;
|
||||||
$button-primary-background-color: #4b0;
|
$button-primary-background-color: #4b0;
|
||||||
$button-primary-border-color: #0a0;
|
$button-primary-border-color: #4b0;
|
||||||
$button-danger-color: $white;
|
$button-danger-color: $white;
|
||||||
$button-danger-background-color: $red;
|
$button-danger-background-color: $red;
|
||||||
$button-danger-border-color: #e33;
|
$button-danger-border-color: $red;
|
||||||
$button-disabled-color: $gray-dark;
|
$button-disabled-color: $gray-dark;
|
||||||
$button-disabled-background-color: $gray-light;
|
$button-disabled-background-color: $border-color;
|
||||||
$button-disabled-border-color: $border-color;
|
$button-disabled-border-color: $gray-light;
|
||||||
$button-bottom-action-default-color: $white;
|
$button-bottom-action-default-color: $white;
|
||||||
$button-bottom-action-default-background-color: #f85;
|
$button-bottom-action-default-background-color: #f85;
|
||||||
$button-bottom-action-primary-color: $white;
|
$button-bottom-action-primary-color: $white;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
.van-slider {
|
.van-slider {
|
||||||
position: relative;
|
position: relative;
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
background-color: $border-color;
|
background-color: $gray-light;
|
||||||
|
|
||||||
&__bar {
|
&__bar {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user