responsive

This commit is contained in:
Chneemann 2024-03-25 10:32:53 +01:00
parent 648927b81f
commit 7d001d4b19
3 changed files with 91 additions and 12 deletions

View file

@ -41,9 +41,9 @@ app-header {
.content { .content {
display: flex; display: flex;
justify-content: center; justify-content: center;
width: 100vw; width: calc(100vw - 64px);
height: calc(100vh - 210px); height: calc(100vh - 210px);
padding: 32px 0 0 0; padding: 32px;
} }
app-sidebar { app-sidebar {
display: none; display: none;
@ -52,3 +52,13 @@ app-header {
display: unset; display: unset;
} }
} }
@media screen and (max-width: 450px) {
.content {
display: flex;
justify-content: center;
width: calc(100vw - 32px);
height: calc(100vh - 210px);
padding: 32px 16px;
}
}

View file

@ -36,16 +36,15 @@ section {
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 24px; background-size: 24px;
} }
} .line {
position: absolute;
.line { top: 8px;
position: absolute; right: 250px;
top: 8px; height: 18px;
right: 250px; width: 1px;
height: 18px; background-color: var(--gray);
width: 1px; margin: 0 6px;
background-color: var(--gray); }
margin: 0 6px;
} }
.btn-inside { .btn-inside {
@ -140,3 +139,71 @@ section {
color: var(--gray); color: var(--gray);
margin: 15.5px 0; margin: 15.5px 0;
} }
/*------------- RESPONSIVE -------------*/
@media screen and (max-width: 1100px) {
.search {
input {
width: 220px;
}
}
}
@media screen and (max-width: 1020px) {
.search {
input {
width: 150px;
}
}
.title {
font-size: 50px;
}
}
@media screen and (max-width: 910px) {
.search {
input {
width: 220px;
}
}
.status {
justify-content: center;
padding-left: 16px;
}
}
@media screen and (max-width: 750px) {
.header {
flex-direction: column;
align-items: flex-start;
margin: 16px;
}
.title {
margin-bottom: 24px;
}
.search {
padding-right: 0;
input {
width: calc(100vw - 120px);
}
.line {
right: 35px;
}
}
.btn {
position: absolute;
top: -75px;
right: 0px;
width: 40px;
height: 40px;
padding: 3px;
span {
display: none;
}
}
}

View file

@ -155,6 +155,8 @@
} }
} }
/*------------- RESPONSIVE -------------*/
@media screen and (max-width: 1250px) { @media screen and (max-width: 1250px) {
.right-container { .right-container {
display: none; display: none;