Add the roles panels
This commit is contained in:
parent
d09a63bd62
commit
7cca5bbf64
4 changed files with 167 additions and 6 deletions
|
@ -158,6 +158,7 @@ $landing-breakpoint: 1040px;
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
.admins-panel,
|
||||
.numbers-panel {
|
||||
background-color: $light-grey;
|
||||
}
|
||||
|
@ -226,11 +227,27 @@ $users-breakpoint: 950px;
|
|||
width: 170px;
|
||||
}
|
||||
|
||||
.role-image {
|
||||
height: 180px;
|
||||
}
|
||||
|
||||
.cta-role-title {
|
||||
font-size: 30px;
|
||||
font-weight: bold;
|
||||
margin-top: 13px;
|
||||
}
|
||||
|
||||
.cta-role-explanation {
|
||||
font-size: 30px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.cta-panel {
|
||||
background-color: $blue;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.role-panel-wrapper,
|
||||
.cta-panel-wrapper {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
@ -238,6 +255,35 @@ $users-breakpoint: 950px;
|
|||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.role-administrations-panel {
|
||||
flex-direction: row-reverse;
|
||||
|
||||
@media (max-width: $users-breakpoint) {
|
||||
flex-direction: row;
|
||||
}
|
||||
}
|
||||
|
||||
.role-panel-70,
|
||||
.role-panel-30 {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.role-panel-70 {
|
||||
width: 70%;
|
||||
|
||||
@media (max-width: $users-breakpoint) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.role-panel-30 {
|
||||
width: 30%;
|
||||
|
||||
@media (max-width: $users-breakpoint) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.cta-panel-title {
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
|
@ -249,19 +295,45 @@ $users-breakpoint: 950px;
|
|||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.role-panel-title {
|
||||
font-size: 30px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.role-panel-explanation {
|
||||
font-size: 24px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.role-administrations-image {
|
||||
text-align: right;
|
||||
|
||||
@media (max-width: $users-breakpoint) {
|
||||
text-align: center;
|
||||
margin-bottom: 45px;
|
||||
}
|
||||
}
|
||||
|
||||
.role-usagers-image {
|
||||
@media (max-width: $users-breakpoint) {
|
||||
text-align: center;
|
||||
margin-bottom: 45px;
|
||||
}
|
||||
}
|
||||
|
||||
$cta-panel-button-border-size: 2px;
|
||||
|
||||
.cta-panel-button {
|
||||
@include horizontal-padding(30px);
|
||||
@include vertical-padding(10px);
|
||||
.cta-panel-button-white {
|
||||
@include horizontal-padding(40px);
|
||||
@include vertical-padding(15px);
|
||||
display: block;
|
||||
border-radius: 100px;
|
||||
border: $cta-panel-button-border-size solid #FFFFFF;
|
||||
color: #FFFFFF;
|
||||
font-size: 24px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
margin-top: 20px;
|
||||
border: $cta-panel-button-border-size solid #FFFFFF;
|
||||
color: #FFFFFF;
|
||||
|
||||
&:hover {
|
||||
color: #FFFFFF;
|
||||
|
@ -274,3 +346,55 @@ $cta-panel-button-border-size: 2px;
|
|||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin role-button {
|
||||
@include horizontal-padding(30px);
|
||||
height: 50px;
|
||||
display: inline-block;
|
||||
border-radius: 100px;
|
||||
font-size: 20px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
margin-top: 20px;
|
||||
line-height: 50px;
|
||||
}
|
||||
|
||||
.role-panel-button-primary {
|
||||
@include role-button;
|
||||
background-color: $blue;
|
||||
color: #FFFFFF;
|
||||
|
||||
&:hover {
|
||||
color: #FFFFFF;
|
||||
text-decoration: none;
|
||||
background-color: $light-blue;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
color: #FFFFFF;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.role-panel-button-secondary {
|
||||
@include role-button;
|
||||
border: $cta-panel-button-border-size solid $blue;
|
||||
line-height: 50px - 2 * $cta-panel-button-border-size;
|
||||
color: $blue;
|
||||
margin-left: 10px;
|
||||
|
||||
@media (max-width: $users-breakpoint) {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: $light-blue;
|
||||
border: $cta-panel-button-border-size solid $light-blue;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
color: $light-blue;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue