mirror of https://github.com/mue/mue.git
112 lines
1.7 KiB
SCSS
112 lines
1.7 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;
|
|
max-height: 80vh !important;
|
|
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;
|
|
flex-flow: row;
|
|
height: 50px;
|
|
border-radius: 12px;
|
|
flex-flow: row;
|
|
gap: 5px;
|
|
|
|
svg {
|
|
font-size: 1.5rem;
|
|
}
|
|
}
|
|
|
|
.notes-buttons {
|
|
display: flex !important;
|
|
gap: 10px;
|
|
|
|
.tooltip {
|
|
flex: 1 !important;
|
|
}
|
|
}
|