sakrecoer-mother-web/_sass/isotope.scss
2020-01-28 11:21:10 +01:00

66 lines
1 KiB
SCSS

/* ---- button ---- */
.button {
display: inline-block;
// padding: 10px 18px;
margin: 0 10px 10px 0;
width: 50px;
height: 50px;
background: $color3;
border: none;
border-radius: 300px;
font-size: .65em;
text-shadow: 0 1px white;
transition: all .2s ease;
}
.button:hover {
text-shadow: 0 1px $color4;
color: $color4;
}
.button:active,
.button.is-checked {
background: linear-gradient(230deg, $color5, $color3);
background-size: 1000% 1000%;
-webkit-animation: AnimationName 30s ease infinite;
-moz-animation: AnimationName 30s ease infinite;
animation: AnimationName 30s ease infinite;
}
.button.is-checked {
color: $color1;
text-shadow: $color4;
}
.button:active {
box-shadow: inset 0 1px 10px $color4;
}
/* ---- button-group ---- */
.button-group{
display: flex;
flex-wrap: wrap;
justify-content: center;
}
// .button-group .button:first-child {
// border-radius: 0.5em 0 0 0.5em;
// }
// .button-group .button:last-child {
// border-radius: 0 0.5em 0.5em 0;
// }