Skip to content

Commit

Permalink
fix radio-button active style
Browse files Browse the repository at this point in the history
  • Loading branch information
baiyaaaaa authored and Leopoldthecoder committed Feb 4, 2017
1 parent 9cbacbe commit 2f8ab5a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/theme-default/src/radio.css
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@
}
@b radio-button {
position: relative;
overflow: hidden;
display: inline-block;

@e inner {
Expand All @@ -138,6 +137,7 @@
cursor: pointer;
background: var(--button-default-fill);
border: var(--border-base);
border-left: 0;
color: var(--button-default-color);
-webkit-appearance: none;
text-align: center;
Expand All @@ -157,7 +157,7 @@

& [class*="el-icon-"] {
line-height: 0.9;

& + span {
margin-left: 5px;
}
Expand All @@ -176,6 +176,7 @@
color: var(--radio-button-checked-color);
background-color: var(--radio-button-checked-fill);
border-color: var(--radio-button-checked-border-color);
box-shadow: -1px 0 0 0 var(--radio-button-checked-border-color);
}
}

Expand All @@ -190,12 +191,11 @@
}
}

&:not(:last-child) {
margin-right: -1px;
}
&:first-child {
.el-radio-button__inner {
border-left: var(--border-base);
border-radius: var(--border-radius-base) 0 0 var(--border-radius-base);
box-shadow: none !important;
}
}
&:last-child {
Expand Down

0 comments on commit 2f8ab5a

Please sign in to comment.