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

177 lines
3.3 KiB
SCSS
Raw Normal View History

2023-10-13 21:23:05 +00:00
@media screen and (min-width: 1920px) {
2023-10-07 15:46:59 +00:00
.layout-content {
2023-10-13 14:17:58 +00:00
max-width: 1728px;
2023-02-28 08:29:30 +00:00
margin: 0 auto;
}
2023-10-12 09:58:41 +00:00
.layout-topbar-inner,
.layout-footer {
2023-10-13 14:17:58 +00:00
max-width: 1728px;
2023-02-28 08:29:30 +00:00
margin: 0 auto;
}
2023-10-07 14:52:00 +00:00
2023-02-28 08:29:30 +00:00
}
@media screen and (max-width: 991px) {
2023-10-10 18:19:29 +00:00
.layout-topbar-inner {
padding-left: 2rem;
padding-right: 2rem;
2023-10-07 15:46:59 +00:00
2023-10-10 18:19:29 +00:00
.menu-button {
display: block;
}
2023-02-28 08:29:30 +00:00
2023-10-10 18:19:29 +00:00
.layout-topbar-logo-container {
width: auto;
margin-right: 0;
}
2023-03-04 17:18:40 +00:00
2023-10-10 18:19:29 +00:00
.DocSearch-Button {
width: 2rem;
height: 2rem;
overflow: hidden;
padding: 0;
justify-content: center;
align-items: center;
.DocSearch-Search-Icon {
width: 1rem;
height: 1rem;
2023-10-07 19:43:10 +00:00
}
2023-10-10 18:19:29 +00:00
.DocSearch-Button-Placeholder,
.DocSearch-Button-Keys {
display: none;
2023-02-28 08:29:30 +00:00
}
}
2023-10-10 18:19:29 +00:00
}
2023-02-28 08:29:30 +00:00
2023-10-10 18:19:29 +00:00
.layout-sidebar {
top: 0;
left: 0;
position: fixed;
z-index: 1102;
height: 100%;
transform: translateX(-100%);
2023-10-13 09:47:15 +00:00
background-color: var(--mobile-menu-bg);
backdrop-filter: blur(20px);
2023-10-10 18:19:29 +00:00
width: 300px;
opacity: 0;
nav {
padding: 1rem 1rem;
2023-02-28 08:29:30 +00:00
}
2023-10-10 18:19:29 +00:00
&.active {
opacity: 1;
transform: translateX(0);
2023-02-28 08:29:30 +00:00
}
2023-10-10 18:19:29 +00:00
}
2023-02-28 08:29:30 +00:00
2023-10-16 09:46:00 +00:00
.layout-news-active {
.layout-sidebar {
top: 0;
}
}
2023-10-10 18:19:29 +00:00
.layout-mask {
background-color: rgba(0, 0, 0, 0.1);
&.layout-mask-active {
z-index: 1101;
2023-02-28 08:29:30 +00:00
width: 100%;
2023-10-10 18:19:29 +00:00
height: 100%;
position: fixed;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.4);
transition: background-color .5s;
}
}
2023-02-28 08:29:30 +00:00
2023-10-10 18:19:29 +00:00
.doc-section-nav {
display: none;
}
.video-container {
position: relative;
width: 100%;
height: 0;
padding-bottom: 56.25%;
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
2023-02-28 08:29:30 +00:00
}
}
2023-10-07 19:43:10 +00:00
.layout-content {
padding-left: 2rem;
padding-right: 2rem;
}
2023-10-12 09:58:41 +00:00
.layout-footer {
padding-left: 2rem;
padding-right: 2rem;
}
2023-02-28 08:29:30 +00:00
.blocked-scroll {
overflow: hidden;
2023-09-25 10:05:27 +00:00
padding-right: var(--scrollbar-width);
2023-02-28 08:29:30 +00:00
}
}
2023-10-18 10:26:10 +00:00
@media (max-width: 768px) {
.DocSearch-Container {
position: fixed !important;
}
}
2023-02-28 08:29:30 +00:00
@media screen and (max-width: 575px) {
2023-10-10 18:19:29 +00:00
.layout-topbar-inner {
padding-left: 1rem;
padding-right: 1rem;
2023-10-07 19:43:10 +00:00
2023-10-10 18:19:29 +00:00
.layout-topbar-logo {
display: none;
2023-02-28 08:29:30 +00:00
}
2023-10-10 18:19:29 +00:00
.layout-topbar-icon {
2023-10-13 22:09:30 +00:00
display: inline-flex;
2023-02-28 08:29:30 +00:00
}
2023-10-10 18:19:29 +00:00
}
2023-02-28 08:29:30 +00:00
2023-10-10 18:19:29 +00:00
.layout-content {
padding-left: 1rem;
padding-right: 1rem;
}
2023-02-28 08:29:30 +00:00
2023-10-10 18:19:29 +00:00
.layout-footer {
padding-left: 1rem;
padding-right: 1rem;
}
.doc-tabmenu {
li {
flex: 1 1 0;
2023-02-28 08:29:30 +00:00
2023-10-10 18:19:29 +00:00
button {
width: 100%;
min-width: auto;
2023-02-28 08:29:30 +00:00
}
}
}
.layout-news {
padding-left: 1rem;
padding-right: 1rem;
font-size: 12px;
> i {
display: none;
}
}
}