2021-03-28 10:11:56 +00:00
|
|
|
// Import custom variables
|
|
|
|
@import "variables-dark";
|
|
|
|
|
|
|
|
// Import Spectre CSS lib
|
2023-08-24 12:46:47 +00:00
|
|
|
@import "spectre";
|
2021-03-28 10:11:56 +00:00
|
|
|
|
|
|
|
// Import style modules
|
|
|
|
@import "base";
|
2023-08-24 12:46:47 +00:00
|
|
|
@import "responsive";
|
2024-03-29 11:37:20 +00:00
|
|
|
@import "bookmark-details";
|
2023-08-24 12:46:47 +00:00
|
|
|
@import "bookmark-page";
|
|
|
|
@import "bookmark-form";
|
2021-03-28 10:11:56 +00:00
|
|
|
@import "settings";
|
2024-03-29 11:37:20 +00:00
|
|
|
@import "markdown";
|
2024-04-20 07:18:57 +00:00
|
|
|
@import "reader-mode";
|
2021-03-28 10:11:56 +00:00
|
|
|
|
2023-08-24 12:46:47 +00:00
|
|
|
/* Dark theme overrides */
|
|
|
|
|
|
|
|
// Buttons
|
|
|
|
.btn.btn-primary {
|
|
|
|
background: $dt-primary-button-color;
|
|
|
|
border-color: darken($dt-primary-button-color, 5%);
|
|
|
|
|
|
|
|
&:hover, &:active, &:focus {
|
|
|
|
background: darken($dt-primary-button-color, 5%);
|
|
|
|
border-color: darken($dt-primary-button-color, 10%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Focus ring
|
|
|
|
a:focus, .btn:focus {
|
|
|
|
box-shadow: 0 0 0 .1rem rgba($primary-color, .5);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Forms
|
|
|
|
.form-input:not(:placeholder-shown):invalid,
|
|
|
|
.form-input:not(:placeholder-shown):invalid:focus,
|
|
|
|
.has-error .form-input,
|
|
|
|
.form-input.is-error,
|
|
|
|
.has-error .form-select,
|
|
|
|
.form-select.is-error {
|
|
|
|
background: darken($error-color, 40%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-checkbox input:checked + .form-icon, .form-radio input:checked + .form-icon, .form-switch input:checked + .form-icon {
|
2024-03-29 11:37:20 +00:00
|
|
|
background: $dt-primary-input-color;
|
|
|
|
border-color: $dt-primary-input-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-switch .form-icon::before, .form-switch input:active + .form-icon::before {
|
|
|
|
background: $light-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-switch input:checked + .form-icon {
|
|
|
|
background: $dt-primary-input-color;
|
|
|
|
border-color: $dt-primary-input-color;
|
2023-08-24 12:46:47 +00:00
|
|
|
}
|
|
|
|
|
2023-09-10 20:14:07 +00:00
|
|
|
.form-radio input:checked + .form-icon::before {
|
|
|
|
background: $light-color;
|
|
|
|
}
|
|
|
|
|
2023-08-24 12:46:47 +00:00
|
|
|
// Pagination
|
|
|
|
.pagination .page-item.active a {
|
|
|
|
background: $dt-primary-button-color;
|
|
|
|
}
|