mirror of https://github.com/requarks/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
562 B
33 lines
562 B
.colorpicker {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 60px;
|
|
|
|
&-choice {
|
|
width: 50px;
|
|
height: 50px;
|
|
border: 1px solid #FFF;
|
|
transition: all .2s ease;
|
|
cursor: pointer;
|
|
|
|
&.is-active, &:hover {
|
|
border-width: 5px;
|
|
width: 60px;
|
|
height: 60px;
|
|
}
|
|
|
|
@each $color, $colorvalue in $material-colors {
|
|
&.is-#{$color} {
|
|
background-color: mc($color, '500');
|
|
border-color: mc($color,'500');
|
|
|
|
&.is-active, &:hover {
|
|
border-color: mc($color,'300');
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|