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

152 lines
3.2 KiB
SCSS
Raw Normal View History

2023-02-28 08:29:30 +00:00
@media screen and (min-width: 1729px) {
.layout-content-inner {
max-width: 1478px;
margin: 0 auto;
}
.layout-topbar-inner {
max-width: 1478px;
margin: 0 auto;
}
2023-10-07 14:52:00 +00:00
.layout-sidebar {
left: 200px;
}
2023-02-28 08:29:30 +00:00
}
@media screen and (max-width: 991px) {
.layout-wrapper {
.layout-topbar {
left: 0;
width: 100%;
.menu-button {
display: flex;
}
2023-03-04 17:18:40 +00:00
#docsearch {
2023-02-28 08:29:30 +00:00
margin-left: auto;
2023-03-04 17:18:40 +00:00
margin-right: .5rem;
}
.DocSearch-Button {
2023-02-28 08:29:30 +00:00
width: 2rem;
height: 2rem;
overflow: hidden;
padding: 0;
justify-content: center;
align-items: center;
.DocSearch-Search-Icon {
width: 1rem;
height: 1rem;
}
.DocSearch-Button-Placeholder,
.DocSearch-Button-Keys {
display: none;
}
}
}
.layout-sidebar {
top: 0;
z-index: 1102;
height: 100%;
transform: translateX(-100%);
&.active {
transform: translateX(0);
}
}
.layout-content {
margin-left: 0;
}
.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;
}
}
.doc-section-nav {
display: none;
}
.doc-tabmenu {
margin-right: 0;
}
.video-container {
position: relative;
width: 100%;
height: 0;
padding-bottom: 56.25%;
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
}
.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
}
}
@media screen and (max-width: 575px) {
.layout-wrapper {
.layout-topbar-inner {
padding-left: 1rem;
padding-right: 1rem;
}
.layout-content {
.layout-content-inner {
padding-left: 1rem;
padding-right: 1rem;
}
}
.layout-footer {
padding-left: 1rem;
padding-right: 1rem;
}
.doc-tabmenu {
li {
flex: 1 1 0;
button {
width: 100%;
min-width: auto;
}
}
}
}
.layout-news {
padding-left: 1rem;
padding-right: 1rem;
font-size: 12px;
> i {
display: none;
}
}
}