Files
Notes/wwwroot/css/site.css
2025-07-17 17:13:27 -04:00

209 lines
3.5 KiB
CSS

html {
font-size: 14px;
height: 100%;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
@media (min-width: 768px) {
html {
font-size: 16px;
}
}
html {
position: relative;
min-height: 100%;
}
body {
margin: 0;
min-height: 100%;
}
div.note-actions {
position: fixed;
bottom: 5px;
left: 0;
font-size: 14px;
display: flex;
align-items: center;
gap: 8px;
padding: 8px;
}
select.note-dropdown {
padding: 6px 8px;
border-radius: 5px;
border: 1px solid #ccc;
background-color: #fff;
font-size: 13px;
min-width: 120px;
max-width: 150px;
}
body.dark select.note-dropdown {
background-color: #333;
color: #ddd;
border: 1px solid #555;
}
form.action-form {
display: inline-flex;
align-items: center;
gap: 4px;
}
form.action-form input[type="text"] {
padding: 6px 8px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 13px;
width: 100px;
background-color: #fff;
}
body.dark form.action-form input[type="text"] {
background-color: #333;
color: #ddd;
border: 1px solid #555;
}
form.action-form input[type="text"]:focus {
outline: none;
border-color: #009E60;
box-shadow: 0 0 0 2px rgba(0, 158, 96, 0.2);
}
.btn-symbol {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border-radius: 5px;
border: 1px solid;
text-decoration: none;
font-size: 14px;
cursor: pointer;
transition: all 0.2s;
line-height: 1;
}
.btn-delete {
background-color: #dc3545;
color: #fff;
border-color: #dc3545;
}
.btn-delete:hover {
background-color: #c82333;
border-color: #bd2130;
transform: scale(1.05);
}
.btn-create {
background-color: #009E60;
color: #fff;
border-color: #009E60;
}
.btn-create:hover {
background-color: #007a4d;
border-color: #006b42;
transform: scale(1.05);
}
/* Mobile responsiveness */
@media (max-width: 768px) {
div.note-actions {
gap: 6px;
padding: 6px;
font-size: 12px;
}
select.note-dropdown {
min-width: 100px;
max-width: 120px;
font-size: 12px;
padding: 5px 6px;
}
form.action-form input[type="text"] {
width: 80px;
font-size: 12px;
padding: 5px 6px;
}
.btn-symbol {
width: 24px;
height: 24px;
font-size: 12px;
}
}
textarea {
width: 100%;
height: 100%;
padding: 15px;
margin: 0;
resize: none;
color: #444;
font-size: 16px;
font-family: Consolas, 'Courier New', monospace;
outline: none;
position: absolute;
box-sizing: border-box;
border-width: 0;
}
body.dark,
body.dark input,
body.dark textarea {
background-color: #222;
color: #ddd;
}
.toast {
position: fixed;
bottom: -30px;
right: 25px;
font-size: 11px;
padding: 6px;
color: #fff;
transition: bottom 0.3s;
opacity: 0.8;
border-radius: 5px 5px 0 0;
}
.toast.show {
bottom: 0;
}
.toast#saved-indicator {
background-color: green;
}
.toast#update-indicator {
background-color: orangered;
}
form.login-form input[type=password],
form.login-form button {
display: block;
width: 100%;
max-width: 300px;
margin: 20px auto;
font-size: 20px;
padding: 8px;
border: 1px solid #333;
border-radius: 8px;
box-sizing: border-box;
}
form.login-form input[type=password] {
color: #999;
}
button, select {
cursor: pointer;
}