You've already forked fm-dx-webserver
mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-02-26 22:13:53 +01:00
80 lines
1.3 KiB
CSS
80 lines
1.3 KiB
CSS
*[class^="panel-"] {
|
|
background-color: var(--color-1-transparent);
|
|
margin-left: 10px;
|
|
margin-right: 10px;
|
|
border-radius: 15px;
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
transition: 0.3s ease-in-out background-color;
|
|
}
|
|
|
|
*[class^="panel-"]:not(.no-bg):not(.no-filter) {
|
|
backdrop-filter:blur(5px);
|
|
}
|
|
|
|
.panel-10 {
|
|
width: 10%;
|
|
}
|
|
|
|
.panel-33 {
|
|
width: 33%;
|
|
}
|
|
|
|
.panel-50 {
|
|
width: 50%;
|
|
}
|
|
|
|
.panel-75 {
|
|
width: 68%;
|
|
}
|
|
|
|
.panel-90 {
|
|
width: 88%;
|
|
}
|
|
|
|
.panel-100 {
|
|
width: 98%;
|
|
}
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
.panel-75 {
|
|
width: 90%;
|
|
}
|
|
.panel-33 h2 {
|
|
padding: 20px;
|
|
padding-top: 5px;
|
|
}
|
|
.panel-100, .panel-100.w-100 {
|
|
width: 90% !important;
|
|
margin: auto !important;
|
|
}
|
|
[class^="panel-"] {
|
|
margin: auto;
|
|
width: 90%;
|
|
margin-bottom: 20px;
|
|
background-color: transparent;
|
|
}
|
|
.flex-phone {
|
|
display: flex;
|
|
}
|
|
.panel-90 {
|
|
margin-top: 100px;
|
|
}
|
|
}
|
|
|
|
/* Laptop compact view */
|
|
@media only screen and (min-width: 960px) and (max-height: 860px) {
|
|
*[class^="panel-"] {
|
|
margin-top: 20px;
|
|
}
|
|
.panel-90 {
|
|
margin-top: 0;
|
|
}
|
|
.panel-10 {
|
|
padding-bottom: 20px;
|
|
padding-right: 20px;
|
|
}
|
|
.panel-10.hide-phone {
|
|
padding: 0;
|
|
}
|
|
} |