Skip to content

Commit

Permalink
refactor(themes): inline themes
Browse files Browse the repository at this point in the history
  • Loading branch information
sfxcode committed Nov 2, 2023
1 parent 8cdb43f commit 0bf1bfb
Show file tree
Hide file tree
Showing 14 changed files with 68,404 additions and 38 deletions.
74 changes: 38 additions & 36 deletions assets/sass/layout/sakai/_config.scss
Original file line number Diff line number Diff line change
@@ -1,42 +1,44 @@
.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: -.25rem 0 1rem rgba(0,0,0,.15);
.layout-wrapper {
.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);
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;
.layout-config-sidebar {
&.p-sidebar {
.p-sidebar-content {
padding-left: 2rem;
padding-right: 2rem;
}
}
}
}
Loading

0 comments on commit 0bf1bfb

Please sign in to comment.