mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-12-01 15:47:17 +01:00
380 lines
6.3 KiB
SCSS
380 lines
6.3 KiB
SCSS
.icon-quicknotes {
|
|
@include icon-color('app', 'quicknotes', $color-black);
|
|
}
|
|
|
|
.icon-pin {
|
|
@include icon-color('pin', 'quicknotes', $color-black);
|
|
}
|
|
|
|
.icon-pinned {
|
|
@include icon-color('pinned', 'quicknotes', $color-black);
|
|
}
|
|
|
|
#app-content-wrapper {
|
|
height: 100%;
|
|
}
|
|
|
|
#new-note {
|
|
width: 100%;
|
|
padding: 10px;
|
|
padding-left: 34px;
|
|
background-position: 10px center;
|
|
text-align: left;
|
|
margin: 0;
|
|
}
|
|
|
|
#new-note-fixed {
|
|
z-index: 111; /* navigation menu is 110 ;-) */
|
|
padding: 10px;
|
|
position: relative;
|
|
}
|
|
|
|
.quicknote {
|
|
color: #202124;
|
|
min-height: 150px;
|
|
width: 250px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 6px #c1c1c1;
|
|
}
|
|
|
|
.quicknote:hover {
|
|
box-shadow: 0px 0px 6px #808080;
|
|
}
|
|
|
|
.quicknote ul {
|
|
list-style: initial;
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.quicknote ol {
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.quicknote blockquote {
|
|
margin: 0px 0px 0px 10px;
|
|
border-left: 1px dotted;
|
|
padding-left: 1ex;
|
|
}
|
|
|
|
.quicknote a {
|
|
color: #15c;
|
|
}
|
|
|
|
.note-active {
|
|
z-index: 10;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.save-button #unshare-button {
|
|
display: none;
|
|
}
|
|
|
|
#div-content .buttons-toolbar {
|
|
float: right;
|
|
display: flex;
|
|
/*padding-right: 8px;*/
|
|
/*padding-bottom: 5px;*/
|
|
}
|
|
|
|
#div-content textarea {
|
|
border: 0;
|
|
overflow-y: auto;
|
|
/*resize: none;*/
|
|
background: inherit;
|
|
}
|
|
|
|
/* Grid Note */
|
|
|
|
#div-content {
|
|
width: 100%;
|
|
}
|
|
|
|
#div-content .note-title {
|
|
margin-right: 52px;
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.note-content {
|
|
margin: 4px;
|
|
overflow-wrap: break-word;
|
|
min-height: 75px;
|
|
}
|
|
|
|
.icon-header-note {
|
|
cursor: pointer;
|
|
float: right;
|
|
margin-left: 2px;
|
|
padding: 12px;
|
|
background-color: rgba(0,0,0,0.08);
|
|
opacity: 0.54;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.icon-header-note:hover {
|
|
background-color: rgba(0,0,0,0.12);
|
|
opacity: 0.87;
|
|
}
|
|
|
|
.hide-header-icon {
|
|
display: none;
|
|
}
|
|
|
|
.fixed-header-icon,
|
|
.show-header-icon {
|
|
display: block;
|
|
}
|
|
|
|
.noselect {
|
|
-webkit-touch-callout: none; /* iOS Safari */
|
|
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
|
-khtml-user-select: none; /* Konqueror */
|
|
-moz-user-select: none; /* Firefox */
|
|
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
user-select: none; /* Non-prefixed version, currently
|
|
not supported by any browser */
|
|
}
|
|
|
|
.colors-toolbar {
|
|
float: left;
|
|
}
|
|
|
|
.colorPickButton,
|
|
.circle-toolbar {
|
|
display:inline-block;
|
|
width:20px;
|
|
height:20px;
|
|
min-width: 20px;
|
|
min-height: 16px;
|
|
padding: unset;
|
|
border-radius:10px;
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.circle-toolbar:hover {
|
|
border-color: var(--color-primary-element);
|
|
}
|
|
|
|
.any-color {
|
|
background-color: transparent;
|
|
}
|
|
|
|
/* Isotope Grid */
|
|
|
|
.notes-grid {
|
|
margin: 0 auto;
|
|
padding: 15px;
|
|
}
|
|
|
|
.note-grid-item {
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
/* Modal Note */
|
|
|
|
/* The Modal (background) */
|
|
|
|
.modal-note-background {
|
|
position: fixed; /* Stay in place */
|
|
z-index: 1051; /* Sit on top */
|
|
padding-top: 100px; /* Location of the box */
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%; /* Full width */
|
|
height: 100%; /* Full height */
|
|
overflow: auto; /* Enable scroll if needed */
|
|
background-color: rgb(0,0,0); /* Fallback color */
|
|
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
|
|
}
|
|
|
|
.hide-modal-note {
|
|
display: none;
|
|
}
|
|
|
|
.show-modal-note {
|
|
display: block;
|
|
}
|
|
|
|
div[contenteditable="true"] {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
min-height: auto;
|
|
}
|
|
|
|
#title-editable:active, #title-editable:hover, #title-editable:focus,
|
|
#content-editable:active, #content-editable:hover, #content-editable:focus {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
#content-editable {
|
|
width: 100%;
|
|
padding: 4px;
|
|
min-height: 50px;
|
|
word-wrap: break-word;
|
|
background: none;
|
|
color: unset;
|
|
border: none;
|
|
}
|
|
|
|
#title-editable {
|
|
width: 90%;
|
|
background: none;
|
|
color: unset;
|
|
border: none;
|
|
}
|
|
|
|
.note-options,
|
|
.note-disable-options {
|
|
padding: 8px;
|
|
padding-top: 0px;
|
|
}
|
|
|
|
#note-share-options {
|
|
display: none;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.selected-share:hover, .unselected-share:hover, .selected-share span:hover, .unselected-share span:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.selected-share, .unselected-share {
|
|
padding-left: 5px;
|
|
}
|
|
|
|
.note-share-select {
|
|
width: 100%;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.slim-share,
|
|
.slim-tag {
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
padding: 0px 6px 0 24px;
|
|
background-color: rgba(0,0,0,0.08);
|
|
background-position: 8px center;
|
|
opacity: 0.87;
|
|
border-radius: 10px;
|
|
font-size: 90%;
|
|
}
|
|
|
|
.slim-share:hover,
|
|
.slim-tag:hover {
|
|
background-color: rgba(0,0,0,0.12);
|
|
}
|
|
|
|
.note-shares > .slim-share,
|
|
.note-tags > .slim-tag {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
|
|
/* Restore defaults select2 rules */
|
|
|
|
.select2-container-multi
|
|
.select2-choices
|
|
.select2-search-choice {
|
|
padding: 3px 5px 3px 18px !important;
|
|
margin: 3px 0 3px 5px !important;
|
|
}
|
|
|
|
.select2-search-choice-close {
|
|
display: block !important;
|
|
top: 6px !important;
|
|
}
|
|
|
|
.select2-results .select2-selected {
|
|
display: none !important;
|
|
}
|
|
|
|
.select2-container {
|
|
min-width: 200px;
|
|
}
|
|
|
|
#select2-drop {
|
|
z-index: 10000;
|
|
}
|
|
|
|
div.select2-container {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Modal Content */
|
|
|
|
.modal-content {
|
|
position: relative;
|
|
margin: auto;
|
|
width: 60%;
|
|
height: auto;
|
|
min-height: unset;
|
|
}
|
|
|
|
.note-attachts {
|
|
position: relative;
|
|
}
|
|
|
|
.note-attach-grid {
|
|
position: absolute;
|
|
top: 0%;
|
|
left: 0%;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.note-attach {
|
|
background-size: contain;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.attach-preview {
|
|
background-color: rgba(210, 210, 210, .5);
|
|
}
|
|
|
|
.attach-remove {
|
|
position: absolute;
|
|
bottom: 8px;
|
|
right: 8px;
|
|
padding: 12px;
|
|
background-color: rgba(210, 210, 210, .4);
|
|
opacity: 0.54;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.attach-remove:hover {
|
|
cursor: pointer;
|
|
background-color: rgba(210, 210, 210, .5);
|
|
opacity: 0.87;
|
|
}
|
|
|
|
.note-body {
|
|
padding: 10px;
|
|
}
|
|
|
|
.round-tool-button {
|
|
width: 32px !important;
|
|
height: 32px;
|
|
padding: 0px !important;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
/* Color Picker */
|
|
|
|
#colorPick {
|
|
border-radius: 8px;
|
|
padding: 12px;
|
|
background-color: var(--color-background-dark);
|
|
opacity: 1.0 !important;
|
|
z-index: 2500;
|
|
}
|
|
|
|
#colorPick span {
|
|
color: var(--color-main-text);
|
|
font-size: 13px;
|
|
text-transform: initial;
|
|
}
|