CSR-918 Fix radio hover
This commit is contained in:
parent
af80ae6f22
commit
458080233c
3 changed files with 11 additions and 22 deletions
|
|
@ -8,6 +8,10 @@ html {
|
||||||
.button-content {
|
.button-content {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
@include box-shadow-hover($red-200);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.list-button,
|
&.list-button,
|
||||||
|
|
@ -22,30 +26,11 @@ html {
|
||||||
box-shadow: 0 0 0 1px $red;
|
box-shadow: 0 0 0 1px $red;
|
||||||
}
|
}
|
||||||
&:hover {
|
&:hover {
|
||||||
box-shadow: 0px 0px 0px 4px $red-200;
|
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
}
|
}
|
||||||
label {
|
|
||||||
border: 1px solid $red;
|
|
||||||
border-radius: 0.5rem;
|
|
||||||
}
|
|
||||||
label:hover {
|
|
||||||
box-shadow: 0px 0px 0px 4px $red-200;
|
|
||||||
border-radius: 10px;
|
|
||||||
border: 1px solid $red;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
&.list-button-horizontal {
|
&.list-button-horizontal {
|
||||||
color: $red;
|
color: $red;
|
||||||
// label {
|
|
||||||
// border: 1px solid $red;
|
|
||||||
// &:hover {
|
|
||||||
// @include box-shadow-lg-hover($red-200);
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
&:hover {
|
|
||||||
@include box-shadow-lg-hover($red-200);
|
|
||||||
}
|
|
||||||
input[type="checkbox"]:focus + label,
|
input[type="checkbox"]:focus + label,
|
||||||
input[type="radio"]:focus + label {
|
input[type="radio"]:focus + label {
|
||||||
box-shadow: 0 0 1px $red;
|
box-shadow: 0 0 1px $red;
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,6 @@
|
||||||
background: linear-gradient(270deg, $blue 0%, $blue-800 100%);
|
background: linear-gradient(270deg, $blue 0%, $blue-800 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin box-shadow-lg-hover($color) {
|
@mixin box-shadow-hover($color) {
|
||||||
box-shadow: 0 0 0 4px $color;
|
box-shadow: 0 0 0 4px $color;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,11 @@
|
||||||
.base-input-button {
|
.base-input-button {
|
||||||
&:hover {
|
&:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@include box-shadow-lg-hover($blue-300);
|
|
||||||
border: 1px solid transparent;
|
&.list-button,
|
||||||
|
&.list-button-horizontal,
|
||||||
|
&.list-card {
|
||||||
|
@include box-shadow-hover($blue-300);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue