button样式修改

This commit is contained in:
yangchch6 2019-03-05 15:25:29 +08:00
parent 349ee1ccf1
commit 407dc0b8fd
3 changed files with 12 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{
"name": "tinper-bee-core",
"version": "2.0.16",
"version": "2.0.17",
"description": "style core and js util for tinper-bee",
"main": "lib/index.js",
"engines": {

View File

@ -321,12 +321,18 @@
background-color: #fff;
border:1px $bg-color solid;
&.focus, &:focus, &:hover {
&:hover {
background-color: $bg-hover-color;
border-color: $bg-hover-color;
color:#fff;
}
&.focus, &:focus,&.u-button[disabled]:hover{
color: $text-color;
background-color: #fff;
border-color: $bg-color;
}
&.active, &:active {
color:#fff;
background-color: $bg-active-color;

View File

@ -3,7 +3,7 @@
// 默认色
$default-color: $palette-grey-300;
$default-color-dark: $palette-grey-400;
$default-color-light: $palette-grey-400;
$default-color-light: $palette-grey-200;
// 主题色
$primary-color: "245, 60, 50" !default;