webapp/src/components/Views/Edit.module.scss

100 lines
1.4 KiB
SCSS
Raw Normal View History

2023-04-06 21:40:34 +00:00
:global(.main-content) {
position: static;
}
2023-03-06 22:24:09 +00:00
.articlePreview {
border: 2px solid #e8e8e8;
min-height: 10em;
padding: 1rem 1.2rem;
}
2023-03-26 16:56:49 +00:00
.formHolder {
padding: 0 4rem;
}
2023-03-26 18:31:34 +00:00
.container {
.titleInput,
.subtitleInput {
border: 0;
outline: 0;
padding: 0;
font-size: 36px;
&::placeholder {
opacity: 0.3;
color: #000;
}
}
.titleInput {
font-weight: 700;
}
}
2023-04-11 13:57:48 +00:00
.editSettings,
.edit {
2023-03-26 18:31:34 +00:00
display: none;
&.visible {
display: block;
}
}
2023-04-06 21:40:34 +00:00
.asidePanel {
background: #1f1f1f;
2023-05-01 18:32:32 +00:00
color: rgb(255 255 255 / 35%);
2023-04-06 21:40:34 +00:00
display: flex;
flex-direction: column;
font-size: 1.7rem;
justify-content: flex-start;
height: 100%;
line-height: 1.4;
padding: $grid-gutter-width;
position: fixed;
transition: transform 0.3s;
right: 0;
top: 0;
z-index: 10;
.close {
filter: invert(1);
margin: -1.6rem 0 0 -1.6rem;
}
section {
2023-05-01 18:32:32 +00:00
border-bottom: 2px solid rgb(255 255 255 / 10%);
// margin-bottom: 1.8rem;
2023-04-06 21:40:34 +00:00
margin-top: 1.8rem;
padding-bottom: 1.8rem;
p {
margin: 0.6em 0;
&:last-child {
margin-bottom: 0;
}
}
}
.button {
font-weight: normal;
margin-left: -1.6rem;
&:hover {
color: #fff;
text-decoration: none;
}
}
a {
2023-05-01 18:32:32 +00:00
color: rgb(255 255 255 / 35%);
2023-04-06 21:40:34 +00:00
font-weight: normal !important;
&:hover {
background: none;
color: #fff;
}
}
}