Delete config.css, the styles are already there in topbar.css

This commit is contained in:
aditya.chandel
2024-12-30 15:49:36 -07:00
parent d6bd1ae329
commit c3f7f71159
3 changed files with 1 additions and 106 deletions
@@ -1,104 +0,0 @@
.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);
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;
}
}
}
.config-panel {
position: absolute;
top: calc(100% + 2px);
inset-inline-end: 0;
width: 18rem;
padding: .75rem;
background-color: var(--overlay-background);
border-radius: 6px;
border: 1px solid var(--border-color);
transform-origin: top;
box-shadow: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
/*padding: .75rem;
border-radius: 6px;
border: 1px solid var(--border-color);*/
.config-panel-content {
display: flex;
flex-direction: column;
gap: 1rem;
}
.config-panel-label {
font-size: .875rem;
color: var(--text-secondary-color);
font-weight: 600;
line-height: 1;
}
.config-panel-colors {
> div {
padding-top: .5rem;
display: flex;
gap: .5rem;
flex-wrap: wrap;
justify-content: space-between;
button {
border: none;
width: 1.25rem;
height: 1.25rem;
border-radius: 50%;
padding: 0;
cursor: pointer;
outline: transparent solid 2px;
outline-offset: 1px;
&.active-color {
outline-color: var(--primary-color);
}
}
}
}
.config-panel-settings {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
}
@@ -25,4 +25,4 @@ a {
.layout-wrapper {
min-height: 100vh;
}
}
@@ -3,7 +3,6 @@
@import "./_main";
@import "./_topbar";
@import "./_menu";
@import "./_config";
@import "./_content";
@import "./_responsive";
@import "./_typography";