Files
mue/src/features/widgets/navbar/scss/_notes.scss
David Ralph 10f12b20c5 7.x Structural Changes (#637)
* refactor(files): Initial commit on experimental file structure

* refactor(structure): New components system

* refactor(structure): Tidy settings' components

* Refactor(structure): Component exports and imports

* refactor(settings): Use new component imports

* feat: unified background.js script

* fix(build): Partially, distributions still not ready

* feat: critical error on noscript, light theme support for it

* fix(background): Critical issue of code making every background #000

* refactor(welcome): Partition into different files + shared components
- This took too long and destroyed my sanity

---------

Co-authored-by: alexsparkes <turbomarshmello@gmail.com>
Co-authored-by: alexsparkes <alexsparkes@gmail.com>
2024-02-18 23:05:15 +00:00

126 lines
1.8 KiB
SCSS

@import 'scss/variables';
.notes {
position: relative;
h3 {
text-shadow: none;
margin: 0;
cursor: initial;
user-select: none;
}
&:hover .notesContainer {
visibility: visible !important;
}
&:active .notesContainer {
visibility: visible !important;
}
&:focus .notesContainer {
visibility: visible !important;
}
}
.notesContainer {
@extend %basic;
padding: 15px;
text-align: center;
border-radius: 12px;
position: absolute;
font-size: 1rem !important;
/* top: 100%;
left: 50%;
margin-left: -130px; */
.notes-buttons {
button {
@include basicIconButton(11px, 1.3rem, ui);
@include themed {
background: t($btn-background) !important;
&:hover {
background: t($btn-backgroundHover) !important;
}
}
flex-grow: 1;
display: grid;
place-items: center;
svg {
font-size: 1.3rem;
}
}
}
.flexNotes {
display: flex;
flex-flow: column;
gap: 15px;
textarea {
max-height: 65vh !important;
overflow-y: visible !important;
@extend %basic;
border: none;
padding: 15px;
border-radius: 12px;
width: 200px;
}
}
::placeholder {
color: #636e72;
opacity: 1;
}
}
textarea {
border: none;
resize: none;
background: none;
}
.topBarNotes {
@extend %basic;
display: flex;
align-items: center;
justify-content: center;
height: 50px;
border-radius: 12px;
flex-flow: row;
gap: 5px;
user-select: none;
svg {
font-size: 1.5rem;
}
}
.notes-buttons {
display: flex !important;
gap: 10px;
button {
&:disabled {
@include themed {
background: t($modal-sidebar) !important;
}
cursor: not-allowed;
}
}
.tooltip {
flex: 1 !important;
}
}