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

96 lines
1.5 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;
2023-05-07 14:21:35 +00:00
padding: $grid-gutter-width calc($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 {
2023-05-07 14:21:35 +00:00
padding: 0 calc($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;
}
}
2023-05-03 16:13:48 +00:00
.linkWithIcon {
margin-left: -1.6rem;
}
.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%);
}
2023-05-03 16:13:48 +00:00
.icon {
display: inline-block;
filter: invert(0.5);
margin-right: 0.3em;
width: 1em;
img {
vertical-align: bottom;
}
}
}