You've already forked fm-dx-webserver
mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-02-26 14:11:59 +01:00
100 lines
1.7 KiB
CSS
100 lines
1.7 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):not(.w-100) {
|
|
-webkit-backdrop-filter: blur(5px);
|
|
backdrop-filter: blur(5px);
|
|
}
|
|
|
|
.panel-100.w-100 {
|
|
position: relative;
|
|
}
|
|
|
|
.panel-100.w-100::before {
|
|
content: '';
|
|
backdrop-filter: blur(10px);
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: -1;
|
|
border-radius: 15px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
*[class^="panel-"]:not(.no-bg):not(.no-filter) {
|
|
backdrop-filter:blur(0px);
|
|
}
|
|
.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;
|
|
}
|
|
} |