43 lines
977 B
SCSS
43 lines
977 B
SCSS
.layout-config-button {
|
|
display: block;
|
|
position: fixed;
|
|
width: 3rem;
|
|
height: 3rem;
|
|
line-height: 3rem;
|
|
background: var(--primary-color);
|
|
color: var(--primary-color-text);
|
|
text-align: center;
|
|
top: 50%;
|
|
right: 0;
|
|
margin-top: -1.5rem;
|
|
border-top-left-radius: var(--border-radius);
|
|
border-bottom-left-radius: var(--border-radius);
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
transition: background-color var(--transition-duration);
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
z-index: 999;
|
|
box-shadow: -0.25rem 0 1rem rgba(0, 0, 0, 0.15);
|
|
|
|
i {
|
|
font-size: 2rem;
|
|
line-height: inherit;
|
|
transform: rotate(0deg);
|
|
transition: transform 1s;
|
|
}
|
|
|
|
&:hover {
|
|
background: var(--primary-400);
|
|
}
|
|
}
|
|
|
|
.layout-config-sidebar {
|
|
&.p-sidebar {
|
|
.p-sidebar-content {
|
|
padding-left: 2rem;
|
|
padding-right: 2rem;
|
|
}
|
|
}
|
|
}
|