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

146 lines
3.3 KiB
SCSS
Raw Normal View History

2022-02-23 11:42:11 +00:00
@media screen and (min-width: 1729px) {
.layout-content-inner {
max-width: 1478px;
margin: 0 auto;
}
}
2021-12-20 17:21:37 +00:00
@media screen and (max-width: 960px) {
.layout-wrapper {
2022-04-07 12:57:53 +00:00
&.layout-news-active {
.layout-content {
padding-top: 10rem;
2020-05-12 08:31:09 +00:00
}
}
2022-04-07 12:57:53 +00:00
.layout-topbar {
height: 8rem;
flex-wrap: wrap;
justify-content: space-between;
padding: 0;
left: 0;
2020-05-12 08:31:09 +00:00
width: 100%;
2022-04-07 12:57:53 +00:00
.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;
}
2020-05-12 08:31:09 +00:00
}
}
}
2022-04-07 12:57:53 +00:00
.layout-sidebar {
top: 0;
z-index: 1102;
height: 100%;
transform: translateX(-100%);
&.active {
transform: translateX(0);
}
2020-05-12 08:31:09 +00:00
}
2022-04-07 12:57:53 +00:00
.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%;
2020-06-20 09:40:01 +00:00
}
}
2020-05-12 08:31:09 +00:00
}
2022-04-07 12:57:53 +00:00
.layout-mask {
background-color: rgba(0, 0, 0, 0.1);
&.layout-mask-active {
z-index: 1101;
2020-12-12 09:19:49 +00:00
width: 100%;
height: 100%;
2022-04-07 12:57:53 +00:00
position: fixed;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.4);
transition: background-color .5s;
2020-12-12 09:19:49 +00:00
}
}
2022-04-07 12:57:53 +00:00
.layout-config {
&.layout-config-active {
width: 100%;
}
2020-05-12 08:31:09 +00:00
}
}
.blocked-scroll {
overflow: hidden;
}
2020-05-12 08:31:09 +00:00
}
2022-03-25 16:18:27 +00:00
@media screen and (max-width: 640px) {
.layout-wrapper {
.layout-content {
.content-section {
padding-left: 1rem;
padding-right: 1rem;
}
}
}
2022-04-07 12:57:53 +00:00
.layout-news {
padding-left: 1rem;
padding-right: 1rem;
font-size: 12px;
> i {
display: none;
}
}
}