primevue-mirror/assets/styles/app/_responsive.scss

146 lines
3.3 KiB
SCSS

@media screen and (min-width: 1729px) {
.layout-content-inner {
max-width: 1478px;
margin: 0 auto;
}
}
@media screen and (max-width: 960px) {
.layout-wrapper {
&.layout-news-active {
.layout-content {
padding-top: 10rem;
}
}
.layout-topbar {
height: 8rem;
flex-wrap: wrap;
justify-content: space-between;
padding: 0;
left: 0;
width: 100%;
.menu-button {
display: block;
}
.app-theme {
margin-left: 0;
margin-right: 23px;
}
.topbar-menu {
width: 100%;
height: 3rem;
margin: 0;
> li {
width: 25%;
margin-right: 0;
position: static;
> a,
> .p-link {
display: flex;
height: 100%;
width: 100%;
justify-content: center;
align-items: center;
border-radius: 0;
}
&.topbar-submenu > ul {
right: auto;
width: 100vw;
left: 0;
top: 8rem;
}
}
}
}
.layout-sidebar {
top: 0;
z-index: 1102;
height: 100%;
transform: translateX(-100%);
&.active {
transform: translateX(0);
}
}
.layout-content {
margin-left: 0;
padding-top: 8rem;
.content-section {
&.introduction {
flex-direction: column;
}
}
.video-container {
position: relative;
width: 100%;
height: 0;
padding-bottom: 56.25%;
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
}
.layout-mask {
background-color: rgba(0, 0, 0, 0.1);
&.layout-mask-active {
z-index: 1101;
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.4);
transition: background-color .5s;
}
}
.layout-config {
&.layout-config-active {
width: 100%;
}
}
}
.blocked-scroll {
overflow: hidden;
}
}
@media screen and (max-width: 640px) {
.layout-wrapper {
.layout-content {
.content-section {
padding-left: 1rem;
padding-right: 1rem;
}
}
}
.layout-news {
padding-left: 1rem;
padding-right: 1rem;
font-size: 12px;
> i {
display: none;
}
}
}