mirror of
https://gitlab.com/ClearURLs/ClearUrls.git
synced 2026-12-05 20:14:14 +01:00
187 lines
3.5 KiB
CSS
187 lines
3.5 KiB
CSS
/*
|
|
* ClearURLs
|
|
* Copyright (c) 2017-2025 Kevin Röbert
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
:root {
|
|
--page-bg-color: #fff;
|
|
--page-fg-color: #15141a;
|
|
|
|
--input-bg-color: #fff;
|
|
--input-border-color: #8f8F9d;
|
|
--input-fg-color: #15141a;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--page-bg-color: #23222b;
|
|
--page-fg-color: #fbfbfe;
|
|
|
|
--input-bg-color: #42414d;
|
|
--input-border-color: #8f8F9d;
|
|
--input-fg-color: #fbfbfe;
|
|
}
|
|
}
|
|
|
|
body {
|
|
background-color: var(--page-bg-color);
|
|
color: var(--page-fg-color);
|
|
font-size: 14px;
|
|
}
|
|
|
|
table {
|
|
color: var(--page-fg-color) !important;
|
|
}
|
|
|
|
.form-control,
|
|
.form-control:disabled,
|
|
.form-control:focus,
|
|
.form-control[readonly] {
|
|
background-color: var(--input-bg-color);
|
|
border: solid 1px var(--input-border-color);
|
|
color: var(--input-fg-color);
|
|
}
|
|
|
|
.small-version {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.brand {
|
|
font-size: 17px;
|
|
}
|
|
|
|
.navbar-margin {
|
|
margin-top: 0;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
#log_section {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
#donate {
|
|
transition: 0.3s;
|
|
opacity: 0.8;
|
|
color: #ffa500;
|
|
background: none;
|
|
border: 0;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#donate:hover,
|
|
#donate:focus {
|
|
opacity: 1;
|
|
}
|
|
|
|
#donate:focus-visible {
|
|
outline: 2px solid #ffa500;
|
|
outline-offset: 4px;
|
|
}
|
|
|
|
.donation-dialog {
|
|
background-color: var(--page-bg-color);
|
|
border: 1px solid var(--input-border-color);
|
|
border-radius: 8px;
|
|
color: var(--page-fg-color);
|
|
max-height: calc(100% - 24px);
|
|
max-width: calc(100% - 24px);
|
|
padding: 0;
|
|
width: 310px;
|
|
}
|
|
|
|
.donation-dialog::backdrop {
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.donation-dialog-header {
|
|
align-items: center;
|
|
border-bottom: 1px solid var(--input-border-color);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin: 0 14px;
|
|
}
|
|
|
|
.donation-dialog-header h2 {
|
|
font-size: 18px;
|
|
margin: 0;
|
|
padding: 12px 0;
|
|
}
|
|
|
|
#donation_close {
|
|
background: none;
|
|
border: 0;
|
|
color: var(--page-fg-color);
|
|
cursor: pointer;
|
|
font-size: 18px;
|
|
opacity: 0.7;
|
|
padding: 8px;
|
|
}
|
|
|
|
#donation_close:hover,
|
|
#donation_close:focus {
|
|
opacity: 1;
|
|
}
|
|
|
|
#donation_dialog_message {
|
|
font-size: 13px;
|
|
line-height: 1.4;
|
|
margin: 12px 14px;
|
|
}
|
|
|
|
.donation-options {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 0 14px 14px;
|
|
}
|
|
|
|
.donation-image-link {
|
|
display: block;
|
|
max-width: 220px;
|
|
width: 100%;
|
|
}
|
|
|
|
.donation-image-link:hover,
|
|
.donation-image-link:focus {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.donation-image-link img {
|
|
display: block;
|
|
height: auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.btn-default {
|
|
color: #333;
|
|
background-color: #fff;
|
|
border-color: #ccc
|
|
}
|
|
|
|
.btn-default.focus,
|
|
.btn-default:focus {
|
|
color: #333;
|
|
background-color: #e6e6e6;
|
|
border-color: #8c8c8c
|
|
}
|
|
|
|
.btn-default:hover {
|
|
color: #333;
|
|
background-color: #e6e6e6;
|
|
border-color: #adadad
|
|
} |