mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-12-01 23:57:18 +01:00
153 lines
2.7 KiB
CSS
153 lines
2.7 KiB
CSS
#app-content-wrapper {
|
|
height: 100%;
|
|
}
|
|
|
|
.quicknote {
|
|
min-height: 150px;
|
|
width: 250px;
|
|
padding: 10px;
|
|
border-radius: 3px;
|
|
box-shadow: 0 4px 6px #c1c1c1;
|
|
}
|
|
|
|
.quicknote:hover {
|
|
box-shadow: 0px 0px 6px #808080;
|
|
}
|
|
|
|
.note-active {
|
|
z-index: 10;
|
|
height: 100%;
|
|
/*width: 100%;*/
|
|
}
|
|
|
|
.note-active #content-editable {
|
|
margin-bottom: 60px;
|
|
}
|
|
|
|
.icon-delete-note {
|
|
float: right;
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 6px;
|
|
}
|
|
|
|
#div-content .save-button {
|
|
float: right;
|
|
padding-right: 8px;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
#div-content textarea {
|
|
border: 0;
|
|
overflow-y: auto;
|
|
/*resize: none;*/
|
|
background: inherit;
|
|
}
|
|
|
|
/* Grid Note */
|
|
|
|
#div-content .note-title {
|
|
height: 28px;
|
|
width: calc(100% - 20px);
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.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 */
|
|
}
|
|
|
|
.note-toolbar {
|
|
float:left;
|
|
padding-bottom: 3px;
|
|
}
|
|
|
|
.circle-toolbar {
|
|
display:inline-block;
|
|
width:20px;
|
|
height:20px;
|
|
min-width: 20px;
|
|
border-radius:10px;
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.ciclle-toolbar:hover {
|
|
color: #ccc;
|
|
text-decoration:none;
|
|
background:#333;
|
|
}
|
|
|
|
/* Isotope Grid */
|
|
|
|
.notes-grid {
|
|
margin: 0 auto;
|
|
padding: 15px;
|
|
}
|
|
.note-grid-item {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
/* Modal Note */
|
|
|
|
/* The Modal (background) */
|
|
|
|
.modal-note-background {
|
|
position: fixed; /* Stay in place */
|
|
z-index: 10000; /* 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-delete-icon,
|
|
.hide-modal-note {
|
|
display: none; /* Hidden by default */
|
|
}
|
|
.show-delete-icon,
|
|
.show-modal-note {
|
|
display: block;
|
|
}
|
|
|
|
#content-editable {
|
|
min-height: 50px;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.note-options {
|
|
position: absolute;
|
|
bottom: 0;
|
|
padding: 5px;
|
|
}
|
|
|
|
/* show placeholder text for empty notes */
|
|
div[data-placeholder]:empty::before {
|
|
color: grey;
|
|
}
|
|
div[data-placeholder]:not([data-placeholder=""]):empty::before {
|
|
content: attr(data-placeholder);
|
|
}
|
|
|
|
/* Modal Content */
|
|
|
|
.modal-content {
|
|
position: relative;
|
|
margin: auto;
|
|
width: 60%;
|
|
height: auto;
|
|
min-height: unset;
|
|
}
|