sakrecoer-mother-web/_sass/isotope.scss

66 lines
1.1 KiB
SCSS
Raw Permalink Normal View History

2019-11-04 22:43:23 +01:00
/* ---- button ---- */
.button {
2019-11-05 12:34:08 +01:00
2019-11-04 22:43:23 +01:00
display: inline-block;
2019-11-05 13:00:58 +01:00
// padding: 10px 18px;
2019-11-05 12:34:08 +01:00
margin: 0 10px 10px 0;
2019-11-05 13:00:58 +01:00
width: 50px;
height: 50px;
2019-11-05 12:34:08 +01:00
background: rgba(65, 106, 0, 0.473);
2019-11-04 22:43:23 +01:00
border: none;
2019-11-05 12:34:08 +01:00
border-radius: 300px;
2019-11-05 13:00:58 +01:00
font-size: .65em;
2019-11-04 22:43:23 +01:00
text-shadow: 0 1px white;
transition: all .2s ease;
}
.button:hover {
text-shadow: 0 1px hsla(0, 0%, 100%, 0.5);
color: #222;
}
.button:active,
.button.is-checked {
2019-11-05 12:34:08 +01:00
background: linear-gradient(230deg, rgba(255, 0, 255, 0.902), rgba(66, 107, 0, 0.902));
background-size: 1000% 1000%;
-webkit-animation: AnimationName 30s ease infinite;
-moz-animation: AnimationName 30s ease infinite;
animation: AnimationName 30s ease infinite;
2019-11-04 22:43:23 +01:00
}
.button.is-checked {
color: white;
text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8);
}
.button:active {
box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
}
/* ---- button-group ---- */
2019-11-05 12:34:08 +01:00
.button-group{
display: flex;
flex-wrap: wrap;
justify-content: center;
}
2019-11-04 22:43:23 +01:00
2019-11-05 12:34:08 +01:00
// .button-group .button:first-child {
// border-radius: 0.5em 0 0 0.5em;
// }
2019-11-04 22:43:23 +01:00
2019-11-05 12:34:08 +01:00
// .button-group .button:last-child {
// border-radius: 0 0.5em 0.5em 0;
// }
2019-11-04 22:43:23 +01:00