generated from muhtadeetaron/nextjs-template
179 lines
2.8 KiB
CSS
179 lines
2.8 KiB
CSS
.header {
|
|
background-color: #113768;
|
|
height: 130px;
|
|
width: 100%;
|
|
padding-top: 30px;
|
|
padding-left: 30px;
|
|
padding-right: 30px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
}
|
|
|
|
.profile {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 20px;
|
|
}
|
|
|
|
.profileImg {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.text {
|
|
font-size: 24px;
|
|
font-family: 'Montserrat', sans-serif;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
}
|
|
|
|
.iconButton {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
.iconButton:hover {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.iconButton.disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.examHeader {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
align-items: center;
|
|
}
|
|
|
|
.timer {
|
|
width: 167px;
|
|
height: 55px;
|
|
background-color: #fff;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
border-radius: 10px;
|
|
padding: 0 10px;
|
|
}
|
|
|
|
.timeUnit {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.timeValue {
|
|
font-family: 'Montserrat', sans-serif;
|
|
font-weight: 500;
|
|
font-size: 20px;
|
|
color: #082E5E;
|
|
}
|
|
|
|
.timeLabel {
|
|
font-family: 'Montserrat', sans-serif;
|
|
font-weight: 500;
|
|
font-size: 14px;
|
|
color: #082E5E;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 768px) {
|
|
.header {
|
|
height: 100px;
|
|
padding-top: 20px;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
.text {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.profile {
|
|
gap: 15px;
|
|
}
|
|
|
|
.profileImg {
|
|
width: 35px;
|
|
height: 35px;
|
|
}
|
|
|
|
.timer {
|
|
width: 140px;
|
|
height: 45px;
|
|
}
|
|
|
|
.timeValue {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.timeLabel {
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.header {
|
|
height: 80px;
|
|
padding-top: 15px;
|
|
padding-left: 15px;
|
|
padding-right: 15px;
|
|
}
|
|
|
|
.text {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.profile {
|
|
gap: 10px;
|
|
}
|
|
|
|
.profileImg {
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
|
|
.timer {
|
|
width: 120px;
|
|
height: 40px;
|
|
padding: 0 5px;
|
|
}
|
|
|
|
.timeValue {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.timeLabel {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.examHeader {
|
|
gap: 10px;
|
|
}
|
|
}
|
|
|
|
/* Safe area considerations for mobile */
|
|
@media (max-width: 480px) {
|
|
.header {
|
|
padding-top: max(15px, env(safe-area-inset-top));
|
|
}
|
|
} |