72 lines
1.2 KiB
CSS
72 lines
1.2 KiB
CSS
.addTime {
|
|
position: relative;
|
|
max-width: 600px;
|
|
margin-top: 1rem;
|
|
border-radius: 4px;
|
|
background-color: #fff;
|
|
padding: 1rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.firstPartInformationTime {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
max-width: 450px;
|
|
}
|
|
|
|
.containeInformationTime {
|
|
display: flex;
|
|
gap: 10px;
|
|
width: 100%;
|
|
}
|
|
|
|
.buttonLock{
|
|
padding: 0.8rem;
|
|
position: absolute;
|
|
right: 0;
|
|
background-color: #d32f2f;
|
|
}
|
|
|
|
.buttonOpenLock{
|
|
padding: 0.8rem;
|
|
position: absolute;
|
|
right: 0;
|
|
background-color: #8cd32f;
|
|
}
|
|
|
|
.buttonOpenLock:hover{
|
|
background-color: #78b32c;
|
|
}
|
|
|
|
.buttonLock::after {
|
|
content: "";
|
|
display: inline-block;
|
|
width: 20px;
|
|
height: 20px;
|
|
background: url('/lock.svg');
|
|
filter: invert(1);
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.buttonOpenLock::after {
|
|
content: "";
|
|
display: inline-block;
|
|
width: 20px;
|
|
height: 20px;
|
|
background: url('/lock-open.svg');
|
|
filter: invert(1);
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
@media (max-width: 800px) {
|
|
.containeInformationTime {
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
} |