generator-aristos
Version:
create aristos cms fast with yeoman generator.
94 lines (82 loc) • 1.73 kB
CSS
.admin-blocks {
width: 300px;
border: 3px solid $colorFive;
margin: 20px;
padding: 10px;
display: flex;
flex-direction: column;
background: $colorTwo;
transition: box-shadow 0.3s linear;
border-radius: 0 50px 0 0;
&--wide {
width: 600px;
margin: 20px auto;
}
&--medium {
width: 350px;
}
&:hover {
box-shadow: 2px 5px 10px black;
cursor: pointer;
.admin-blocks__delete-stuffs {
visibility: visible;
}
.admin-blocks__complete-stuffs {
visibility: visible;
}
}
& h4 {
font-size: 12px;
margin: 0;
color: $colorFour;
}
& h5 {
font-size: 20px;
margin-top: 0;
padding-left: 10px;
color: $colorFive;
}
& p {
font-size: 16px;
}
&__complete-stuffs {
visibility: hidden;
display: flex;
justify-content: center;
transition: background 0.4s linear;
border: 2px solid $colorFive;
padding: 10px;
background: transparent;
border: none;
display: flex;
cursor: pointer;
flex: 1;
justify-content: center;
background: $hoverSuccess;
&:hover {
background: $transitionSuccessHover;
transition: background 0.4s linear;
}
}
&__delete-stuffs {
visibility: hidden;
display: flex;
justify-content: center;
transition: background 0.4s linear;
border: 2px solid $colorFive;
& button {
padding: 10px;
background: transparent;
border: none;
display: flex;
cursor: pointer;
flex: 1;
justify-content: center;
background: $hoverDanger;
&:hover {
background: $transitionDangerHover;
transition: background 0.4s linear;
}
}
}
}