You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

223 lines
4.0 KiB

@mixin object-center {
display: flex;
justify-content: center;
align-items: center;
}
.modificationDuProfil{
display: flex;
flex-direction: row;
align-items: center;
margin-left: 10%;
}
.modificationDuProfilText{
display: flex;
flex-direction: column;
padding-left:5%;
font-size: medium;
span{
margin-bottom: 4%;
}
}
.plusButton{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
opacity: 0;
transition: opacity 0.5s;
}
.imageDeProfilConfigurationPlus {
position: relative;
width: 15%;
max-width: 200px;
min-width: 150px;
border: none;
}
.imageDeProfilConfigurationPlus:hover .plusButton {
opacity:0.70;
}
.imageDeProfilConfiguration:hover{
filter: blur(1px);
opacity: 0.2;
transition: opacity 1s;
}
.accesDossiersPerso{
display: flex;
align-items: row;
margin-left:10%;
width:80% ;
}
input{
margin-bottom: 2%;
}
.accesDossiersPerso{
display: flex;
flex-direction: column;
}
.accesDossiersPersoValidation{
flex-direction: row;
}
.textAccesDossiersPerso{
margin-left:18px;
font-size: medium;
font-style: italic;
opacity: 70%;
}
.popup-modificationProfil{
z-index: 10;
width: 100%;
height: 100%;
top: 0;
left: 0;
position: fixed;
animation: popup 1s forwards;
@keyframes popup {
to {
backdrop-filter: blur(2px);
}
}
.modal {
position: absolute;
top: 10%;
left: 50%;
transform: translate(-100%);
background: $color-2;
padding: 25px;
border-radius: 20px;
box-shadow: 0 0 2px rgba(131, 130, 130, 0.356);
overflow: auto;
transform: scaleY(0);
transform-origin: center;
animation: modal .5s forwards;
max-width: 650px;
min-width: 500px;
border: 2px solid $color-4;
border-bottom-right-radius: 50px;
@keyframes modal {
to {
transform: scale(1) translate(-50%);
}
}
}
.imagesPopup{
display: flex;
justify-content: space-between;
flex-direction: row;
.imageModifSpace{
margin-right: 18%;
img{
max-width: initial;
}
}
.profile-pic {
position: relative;
width: 100%;
color: transparent;
transition: all .3s ease;
@include object-center;
input{
display:none;
}
img{
position: absolute;
z-index: 0;
}
.-label {
cursor: pointer;
}
&:hover {
.-label {
@include object-center;
background-color: rgba(0,0,0,.8);
z-index: 10;
color: rgb(255,255,255);
transition: background-color .2s ease-in-out;
border-radius: 20px;
margin-bottom: 0;
}
}
span {
display: inline-flex;
padding: .2em;
height: 2em;
}
}
}
.buttonPopup {
display: flex;
flex-direction: row;
justify-content: space-between;
margin-top: 5%;
margin-left: 8%;
margin-right: 8%;
button{
background: $color-4;
border-radius: 20px;
&:hover {
color: $color-3;
transform: translateX(2px);
}
}
}
}
.buttonValidationChangements{
position: relative;
margin-top: 2%;
border-radius: 20px;
min-width: 80px;
background-color: $color-7;
color: white;
transition: all 1s;
}
.alignementText{
margin-bottom: 2%;
}