demarches-normaliennes/app/assets/stylesheets/card_admin.scss

66 lines
974 B
SCSS
Raw Normal View History

@import "colors";
@import "constants";
.card-admin {
padding-top: 10px;
padding-bottom: 10px;
width: 236px;
height: 200px;
border-radius: 4px;
border: solid 1px $border-grey;
text-align: center;
display: flex;
flex-direction: column;
margin-bottom: 20px;
margin-right: 20px;
.card-admin-status-accept {
color: #50AA75;
}
.card-admin-status-todo {
2021-09-20 15:04:24 +02:00
color: $blue-france-500;
}
.card-admin-status-error {
color: $light-red;
}
.card-admin-title {
font-weight: bold;
font-size: 18px;
margin-bottom: $default-spacer;
}
.card-admin-subtitle {
font-size: 14px;
}
.card-admin-action {
margin-top: auto;
}
2021-06-10 15:37:45 +02:00
.button {
margin: auto auto 0 auto;
}
p {
margin-bottom: 0;
}
2021-06-10 15:37:45 +02:00
&:hover {
2021-09-20 15:04:24 +02:00
color: $blue-france-500;
2021-06-10 15:37:45 +02:00
.button {
2021-09-20 15:04:24 +02:00
color: $blue-france-500;
2021-06-10 15:37:45 +02:00
}
}
}
@media only screen and (max-width: 600px) {
.card-admin {
margin-left: auto;
margin-right: auto;
}
}