unify the look of radiostrips and the other buttons

This commit is contained in:
codl 2018-04-25 13:59:53 +02:00
parent 2f425baefe
commit c219a8b532
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 16 additions and 1 deletions

View File

@ -280,10 +280,24 @@ section > pre.error-log {
padding: .3em .5em; padding: .3em .5em;
cursor: pointer; cursor: pointer;
user-select: none; user-select: none;
background-color: #ededed; background-color: transparent;
border: 1px solid rgba(0,0,0,0.3);
}
.radiostrip label:first-of-type {
border-radius: .2rem 0 0 .2rem;
}
.radiostrip label:last-of-type {
border-radius: 0 .2rem .2rem 0;
}
.radiostrip label:not(:first-of-type) {
border-left-color: transparent;
} }
.radiostrip label:not(:last-of-type) { .radiostrip label:not(:last-of-type) {
border-right-color: transparent;
margin-right: 1px; margin-right: 1px;
} }
@ -294,4 +308,5 @@ section > pre.error-log {
.radiostrip input[type=radio]:checked + label { .radiostrip input[type=radio]:checked + label {
background: #37d; background: #37d;
color: white; color: white;
border-color: transparent;
} }