595 lines
11 KiB
CSS
595 lines
11 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
|
|
|
|
:root {
|
|
--bar: #f4f4f4;
|
|
--editor: #ffffff;
|
|
--text-color: #000000;
|
|
--border-color: #dadada;
|
|
--theme-color: #157efb;
|
|
--theme-text-color: #ffffff;
|
|
--exit-color: #e9e9e9;
|
|
--session-color: #f4f4f4;
|
|
--note-button: #ffffff;
|
|
--note-button-text-color: #ffffff;
|
|
--unselected-note-button-text-color: #000000;
|
|
}
|
|
|
|
p, h1, h2, h3, h4, h5, h6 {
|
|
color: var(--text-color);
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background-color: var(--editor);
|
|
font-family: "Inter", sans-serif;
|
|
}
|
|
|
|
/* Web app */
|
|
.topBar {
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 50px;
|
|
|
|
background-color: var(--bar);
|
|
|
|
border: solid;
|
|
border-color: var(--border-color);
|
|
border-width: 0px;
|
|
border-bottom-width: 1px;
|
|
}
|
|
|
|
.burgerDropdown {
|
|
position: fixed;
|
|
z-index: 2;
|
|
left: 7px;
|
|
top: 30px;
|
|
width: 160px;
|
|
height: 90px;
|
|
|
|
background-color: var(--bar);
|
|
|
|
border: solid;
|
|
border-color: var(--border-color);
|
|
border-width: 1px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.burgerDropdown a {
|
|
position: absolute;
|
|
width: calc(100% - 14px - 4px - 7px);
|
|
color: var(--text-color);
|
|
background-color: #ffffff;
|
|
|
|
height: 35px;
|
|
line-height: 35px;
|
|
margin: 7px;
|
|
padding-left: 7px;
|
|
|
|
border: solid;
|
|
border-color: var(--border-color);
|
|
border-width: 1px;
|
|
border-radius: 8px;
|
|
|
|
font-size: 15px;
|
|
|
|
text-decoration: none;
|
|
}
|
|
|
|
.topBar p {
|
|
display: inline-block;
|
|
}
|
|
|
|
.topBar .logo {
|
|
padding-left: 12px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.topBar .usernameBox {
|
|
text-align: right;
|
|
position: absolute;
|
|
cursor: pointer;
|
|
right: 12px;
|
|
}
|
|
|
|
.notesBar {
|
|
position: fixed;
|
|
width: 180px;
|
|
bottom: 0;
|
|
height: calc(100% - 50px - 1px);
|
|
|
|
background-color: var(--bar);
|
|
|
|
border: solid;
|
|
border-color: var(--border-color);
|
|
border-width: 0px;
|
|
border-right-width: 1px;
|
|
border-top-width: 1px;
|
|
}
|
|
|
|
.notesDiv {
|
|
height: calc(100% - 50px);
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
.notesBar .noteButton {
|
|
width: calc(100% - 5px - 5px);
|
|
height: 35px;
|
|
line-height: 0px;
|
|
padding: 10px;
|
|
margin: 5px;
|
|
margin-bottom: 0;
|
|
background-color: var(--note-button);
|
|
color: var(--unselected-note-button-text-color);
|
|
border: none;
|
|
border-radius: 8px;
|
|
|
|
border: solid;
|
|
border-color: var(--border-color);
|
|
border-width: 1px;
|
|
|
|
font-size: 15px;
|
|
|
|
text-align: left;
|
|
}
|
|
|
|
.notesBar .loadingStuff {
|
|
border: none;
|
|
|
|
background:
|
|
linear-gradient(0.25turn, transparent, #fff, transparent),
|
|
linear-gradient(#eee, #eee),
|
|
radial-gradient(38px circle at 19px 19px, #eee 50%, transparent 51%),
|
|
linear-gradient(#eee, #eee);
|
|
background-repeat: no-repeat;
|
|
background-size: 315px 250px, 315px 180px, 100px 100px, 225px 30px;
|
|
background-position: -315px 0, 0 0, 0px 190px, 50px 195px;
|
|
animation: loading 1.5s infinite;
|
|
}
|
|
|
|
@keyframes loading {
|
|
to {
|
|
background-position: 315px 0, 0 0, 0 190px, 50px 195px;
|
|
}
|
|
}
|
|
|
|
.notesBar .selected {
|
|
background-color: var(--theme-color) !important;
|
|
border: none;
|
|
color: var(--note-button-text-color);
|
|
}
|
|
|
|
.notesBar .newNote {
|
|
height: 41px;
|
|
line-height: 41px;
|
|
width: 100%;
|
|
text-align: left;
|
|
background-color: rgba(0, 0, 0, 0);
|
|
border: none;
|
|
font-size: 16px;
|
|
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.notesBar .newNote img {
|
|
height: 32px;
|
|
padding-right: 5px;
|
|
transform: translateY(30%);
|
|
}
|
|
|
|
.noteBox {
|
|
resize: none;
|
|
position: fixed;
|
|
right: 0;
|
|
bottom: 0;
|
|
padding: 4px;
|
|
border: none;
|
|
font-size: 16px;
|
|
background-color: var(--editor);
|
|
width: calc(100% - 180px - 7px - 6px);
|
|
height: calc(100% - 50px - 6px - 8px);
|
|
font-family: "Inter", sans-serif;
|
|
}
|
|
|
|
.noteBox:focus {
|
|
outline: none
|
|
}
|
|
|
|
.optionsCoverDiv {
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 2;
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
transition: opacity 1s;
|
|
}
|
|
|
|
.optionsDiv {
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 300px;
|
|
position: fixed;
|
|
background-color: white;
|
|
padding: 10px;
|
|
color: var(--text-color);
|
|
border-radius: 8px;
|
|
min-width: 338.5px
|
|
}
|
|
|
|
.optionsDiv button {
|
|
width: 100%;
|
|
padding: 10px;
|
|
margin-right: 5px;
|
|
margin-bottom: 7px;
|
|
padding-left: 15px;
|
|
padding-right: 15px;
|
|
color: var(--theme-text-color);
|
|
border: none;
|
|
text-decoration: none;
|
|
background-color: var(--theme-color);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.optionsDiv .normalButton {
|
|
width: auto;
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
.optionsDiv .lastButton {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
.optionsDiv input {
|
|
width: calc(100% - 12px);
|
|
height: 25px;
|
|
background-color: ffffff;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
margin-bottom: 7px;
|
|
border: solid;
|
|
border-color: var(--border-color);
|
|
border-width: 1px;
|
|
border-radius: 8px;
|
|
}
|
|
.optionsDiv .mfacheckbox {
|
|
display: inline;
|
|
margin: 0;
|
|
margin-left: 5px;
|
|
margin-bottom: 12px;
|
|
padding: 0;
|
|
height: 17px;
|
|
width: 17px;
|
|
}
|
|
.optionsDiv input:focus {
|
|
outline: 0;
|
|
border-color: var(--theme-color);
|
|
}
|
|
|
|
.optionsDiv code {
|
|
padding: 7px;
|
|
font-size: 14px;
|
|
border-radius: 8px;
|
|
background-color: var(--session-color);
|
|
}
|
|
|
|
.optionsDiv progress {
|
|
width: 100%;
|
|
background-color: var(--session-color);
|
|
border: none;
|
|
border-radius: 99px;
|
|
height: 7px;
|
|
}
|
|
|
|
.optionsDiv progress::-moz-progress-bar {
|
|
background: var(--theme-color);
|
|
}
|
|
|
|
.optionsDiv progresss::-webkit-progress-value {
|
|
background: var(--theme-color);
|
|
}
|
|
|
|
.optionsDiv .exit {
|
|
position: absolute;
|
|
right: 5px;
|
|
width: 40px;
|
|
height: 40px;
|
|
font-size: 16px;
|
|
background-color: var(--exit-color);
|
|
color: var(--text-color);
|
|
border-radius: 100%;
|
|
}
|
|
|
|
.optionsDiv img {
|
|
height: 18px;
|
|
padding-right: 5px;
|
|
filter: invert(100%)
|
|
}
|
|
|
|
.optionsDiv .section {
|
|
width: 100%;
|
|
height: 1px;
|
|
background-color: var(--border-color);
|
|
margin-top: 2px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.sessionDiv div {
|
|
background-color: var(--session-color);
|
|
border-radius: 8px;
|
|
margin-bottom: 5px;
|
|
padding: 10px;
|
|
height: 35px;
|
|
}
|
|
|
|
.sessionDiv div p {
|
|
display: inline;
|
|
position: absolute;
|
|
transform: translateY(-7.5px);
|
|
}
|
|
|
|
.sessionDiv div button {
|
|
position: absolute;
|
|
border-radius: 99px;
|
|
right: 15px;
|
|
width: 40px;
|
|
height: 40px;
|
|
font-size: 16px;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.sessionDiv img {
|
|
display: inline;
|
|
filter: none;
|
|
height: 100%;
|
|
}
|
|
|
|
/* Sign up/log in div */
|
|
|
|
.inoutdiv {
|
|
margin: 10%;
|
|
padding: 15px;
|
|
}
|
|
|
|
.inoutdiv input {
|
|
width: calc(100% - 20px);
|
|
height: 30px;
|
|
margin-bottom: 10px;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
|
|
border: solid;
|
|
border-color: var(--border-color);
|
|
border-width: 1px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.inoutdiv button {
|
|
background-color: var(--theme-color);
|
|
color: white;
|
|
padding: 10px;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
|
|
border: none;
|
|
border-radius: 8px;
|
|
|
|
font-size: 14px;
|
|
}
|
|
|
|
.inoutdiv a {
|
|
color: grey;
|
|
text-align: center;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.w100 {
|
|
font-weight: 300;
|
|
}
|
|
|
|
.w200 {
|
|
font-weight: 300;
|
|
}
|
|
|
|
.w300 {
|
|
font-weight: 300;
|
|
}
|
|
|
|
.w400 {
|
|
font-weight: 400;
|
|
}
|
|
|
|
.w500 {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.w600 {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.w700 {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.w800 {
|
|
font-weight: 800;
|
|
}
|
|
|
|
.w900 {
|
|
font-weight: 900;
|
|
}
|
|
|
|
/* main */
|
|
|
|
.mainDiv {
|
|
text-align: center;
|
|
}
|
|
|
|
.startDiv {
|
|
text-align: left;
|
|
margin-top: 8vh;
|
|
margin-left: 7vh;
|
|
}
|
|
|
|
.mainDiv a {
|
|
padding: 15px;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
margin-right: 5px;
|
|
color: white;
|
|
text-decoration: none;
|
|
background-color: var(--theme-color);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.mainDiv .feature {
|
|
width: calc(100% - 7vh - 7vh - 3.5vh);
|
|
margin-bottom: 10px;
|
|
margin-left: 7vh;
|
|
margin-right: 7vh;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
|
|
border: solid;
|
|
border-radius: 8px;
|
|
border-width: 1px;
|
|
border-color: var(--border-color);
|
|
|
|
padding-top: 15px;
|
|
padding-bottom: 15px;
|
|
font-size: 17px;
|
|
}
|
|
|
|
.mainDiv .green {
|
|
background-color: #ebffeb;
|
|
}
|
|
|
|
.mainDiv .yellow {
|
|
background-color: #ffffeb;
|
|
}
|
|
|
|
.mainDiv img {
|
|
position: fixed;
|
|
right: 7vh;
|
|
top: 8vh;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.links {
|
|
text-align: center;
|
|
padding: 10px;
|
|
}
|
|
|
|
.links a {
|
|
margin-left: 5px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.links a:hover {
|
|
text-decoration: dashed;
|
|
}
|
|
|
|
/* dark theme, modified */
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--gray-950: #030712;
|
|
--gray-900: #111827;
|
|
--gray-800: #1f2937;
|
|
--gray-700: #374151;
|
|
--gray-600: #4b5563;
|
|
--gray-500: #6b7280;
|
|
--gray-400: #9ca3af;
|
|
--gray-300: #d1d5db;
|
|
--gray-200: #e5e7eb;
|
|
--gray-100: #f3f4f6;
|
|
--gray-50: #f9fafb;
|
|
}
|
|
|
|
body {
|
|
color: white;
|
|
background-color: #202020;
|
|
}
|
|
|
|
.topBar {
|
|
background-color: #252525;
|
|
border-color: #414141;
|
|
}
|
|
|
|
.notesBar {
|
|
background-color: #252525;
|
|
border: solid;
|
|
border-width: 0px;
|
|
border-right-width: 1px;
|
|
border-color: #414141;
|
|
}
|
|
|
|
.noteBox {
|
|
background-color: #202020;
|
|
color: white;
|
|
}
|
|
|
|
.notesBar button {
|
|
color: white;
|
|
}
|
|
|
|
.notesBar .newNote img {
|
|
filter: invert(1);
|
|
}
|
|
|
|
.notesBar button {
|
|
background-color: #202020;
|
|
border: none;
|
|
}
|
|
|
|
.notesBar .selected {
|
|
border-color: #0d51a1 !important;
|
|
}
|
|
|
|
.optionsDiv {
|
|
background-color: #252525;
|
|
color: white;
|
|
border-color: #414141;
|
|
}
|
|
|
|
.optionsDiv .exit {
|
|
background-color: #424242;
|
|
color: white;
|
|
}
|
|
|
|
.mainDiv .feature {
|
|
background-color: #141414;
|
|
border: solid;
|
|
border-width: 1px;
|
|
border-color: #303030;
|
|
}
|
|
|
|
.inoutdiv {
|
|
border: 1px solid var(--gray-700);
|
|
border-radius: 8px;
|
|
background-color: var(--gray-800);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.inoutdiv input {
|
|
border: solid 1px var(--gray-600);
|
|
background-color: var(--gray-700);
|
|
color: white;
|
|
}
|
|
|
|
.inoutdiv button {
|
|
background-color: var(--gray-700);
|
|
color: white;
|
|
border: 1px solid var(--gray-600);
|
|
}
|
|
|
|
.notesBar .loadingStuff {
|
|
background:
|
|
linear-gradient(0.25turn, transparent, #3b3b3b, transparent),
|
|
linear-gradient(#2e2e2e, #2e2e2e),
|
|
radial-gradient(38px circle at 19px 19px, #202020 50%, transparent 51%),
|
|
linear-gradient(#2e2e2e, #2e2e2e);
|
|
}
|
|
} |