webapp/src/components/Editor/Panel/Panel.module.scss

95 lines
1.4 KiB
SCSS
Raw Normal View History

.Panel {
background: #1f1f1f;
2023-05-01 18:32:32 +00:00
color: rgb(255 255 255 / 35%);
display: flex;
flex-direction: column;
font-size: 1.7rem;
justify-content: flex-start;
height: 100%;
line-height: 1.4;
padding: $grid-gutter-width $grid-gutter-width / 2;
position: fixed;
transition: transform 0.3s;
right: 0;
top: 0;
z-index: 10;
.close {
filter: invert(1);
margin: -1.6rem 0 0 -1.6rem;
}
.actionsHolder {
padding: 0 $grid-gutter-width / 2;
&.scrolled {
overflow-y: auto;
scroll-behavior: smooth;
}
}
section {
2023-05-01 18:32:32 +00:00
border-bottom: 2px solid rgb(255 255 255 / 10%);
padding: 1.8rem 0;
&:first-child {
padding-top: 0;
}
p {
margin: 0.6em 0;
&:last-child {
margin-bottom: 0;
}
}
}
.button {
font-weight: normal;
margin-left: -1.6rem;
text-align: left;
&:hover {
color: #fff;
text-decoration: none;
}
}
.buttonWithIcon {
margin-left: -1.6rem;
.icon {
filter: invert(0.5);
margin-right: 0.3em;
width: 1em;
}
img {
vertical-align: middle;
}
}
.stats {
display: flex;
flex: 1;
flex-direction: column;
justify-content: flex-end;
margin-top: 3em;
}
a {
2023-05-01 18:32:32 +00:00
color: rgb(255 255 255 / 35%);
font-weight: normal !important;
&:hover {
background: none;
color: #fff;
}
}
2023-05-01 18:32:32 +00:00
&.hidden {
transform: translateX(100%);
}
}