2023-02-16 12:51:54 +03:00
|
|
|
#shortcuts-settings-container .shortcuts-list {
|
|
|
|
line-height: 1.5;
|
|
|
|
padding: 0;
|
|
|
|
margin: 8px 0 0;
|
|
|
|
counter-reset: index;
|
|
|
|
border-radius: 8px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
#shortcuts-settings-container .shortcuts-list li {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 8px;
|
|
|
|
gap: 4px;
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
}
|
|
|
|
#shortcuts-settings-container .shortcuts-list li::before {
|
|
|
|
content: counter(index);
|
|
|
|
counter-increment: index;
|
|
|
|
display: inline-block;
|
|
|
|
width: 1.2em;
|
|
|
|
text-align: right;
|
|
|
|
margin-right: 8px;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
font-size: 90%;
|
2023-07-11 05:48:26 +03:00
|
|
|
flex-shrink: 0;
|
2023-02-16 12:51:54 +03:00
|
|
|
}
|
|
|
|
#shortcuts-settings-container .shortcuts-list li .shortcut-text {
|
|
|
|
flex-grow: 1;
|
2023-04-05 20:23:45 +03:00
|
|
|
min-width: 0;
|
2023-04-08 15:42:38 +03:00
|
|
|
line-height: 1;
|
|
|
|
word-break: break-word;
|
2023-02-16 12:51:54 +03:00
|
|
|
}
|
2023-02-25 09:34:08 +03:00
|
|
|
#shortcuts-settings-container .shortcuts-list li .shortcut-actions {
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
2023-02-16 12:51:54 +03:00
|
|
|
|
2023-02-28 15:53:56 +03:00
|
|
|
#shortcuts-settings-container .shortcuts-view-mode {
|
|
|
|
display: flex;
|
2024-01-14 18:04:14 +03:00
|
|
|
align-items: stretch;
|
2023-03-09 18:37:25 +03:00
|
|
|
gap: 2px;
|
|
|
|
margin: 8px 0 0;
|
|
|
|
}
|
|
|
|
#shortcuts-settings-container .shortcuts-view-mode label {
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
padding: 16px;
|
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
2023-02-28 15:53:56 +03:00
|
|
|
gap: 8px;
|
2023-03-09 18:37:25 +03:00
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2024-01-14 18:04:14 +03:00
|
|
|
justify-content: center;
|
2023-03-09 18:37:25 +03:00
|
|
|
}
|
|
|
|
#shortcuts-settings-container .shortcuts-view-mode label:first-child {
|
|
|
|
border-top-left-radius: 16px;
|
|
|
|
border-bottom-left-radius: 16px;
|
|
|
|
}
|
|
|
|
#shortcuts-settings-container .shortcuts-view-mode label:last-child {
|
|
|
|
border-top-right-radius: 16px;
|
|
|
|
border-bottom-right-radius: 16px;
|
|
|
|
}
|
|
|
|
#shortcuts-settings-container .shortcuts-view-mode label img {
|
|
|
|
max-height: 64px;
|
|
|
|
}
|
2023-03-24 16:20:46 +03:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
#shortcuts-settings-container .shortcuts-view-mode label img {
|
|
|
|
filter: invert(0.9) hue-rotate(180deg);
|
|
|
|
}
|
|
|
|
}
|
2023-03-09 18:37:25 +03:00
|
|
|
#shortcuts-settings-container .shortcuts-view-mode label span {
|
|
|
|
text-align: center;
|
|
|
|
font-size: 80%;
|
|
|
|
}
|
|
|
|
#shortcuts-settings-container .shortcuts-view-mode label input {
|
|
|
|
position: absolute;
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
2023-03-19 10:11:20 +03:00
|
|
|
perspective: 500px;
|
2023-03-09 18:37:25 +03:00
|
|
|
}
|
|
|
|
#shortcuts-settings-container .shortcuts-view-mode label input ~ * {
|
|
|
|
opacity: 0.5;
|
2023-03-19 10:11:20 +03:00
|
|
|
transform-origin: bottom;
|
|
|
|
transform: scale(0.975);
|
|
|
|
transition: all 0.2s ease-out;
|
2023-03-09 18:37:25 +03:00
|
|
|
}
|
2023-10-24 04:58:41 +03:00
|
|
|
#shortcuts-settings-container .shortcuts-view-mode label.checked {
|
2023-11-01 05:00:28 +03:00
|
|
|
box-shadow: inset 0 0 0 3px var(--link-color),
|
|
|
|
inset 0 0 32px var(--link-faded-color);
|
2023-03-09 18:37:25 +03:00
|
|
|
}
|
|
|
|
#shortcuts-settings-container
|
|
|
|
.shortcuts-view-mode
|
|
|
|
label
|
|
|
|
input:is(:hover, :active, :checked)
|
|
|
|
~ * {
|
2023-03-19 10:11:20 +03:00
|
|
|
transform: scale(1);
|
2023-03-09 18:37:25 +03:00
|
|
|
opacity: 1;
|
2023-02-28 15:53:56 +03:00
|
|
|
}
|
|
|
|
|
2023-02-19 05:27:10 +03:00
|
|
|
#shortcuts-settings-container summary {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2023-03-01 12:48:52 +03:00
|
|
|
#shortcut-settings-form form > * {
|
2023-02-16 12:51:54 +03:00
|
|
|
}
|
|
|
|
|
2023-03-01 12:48:52 +03:00
|
|
|
#shortcut-settings-form label {
|
2023-02-16 12:51:54 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 8px;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2023-03-01 12:48:52 +03:00
|
|
|
#shortcut-settings-form label > span:first-child {
|
2023-02-16 12:51:54 +03:00
|
|
|
flex-basis: 5em;
|
|
|
|
text-align: right;
|
|
|
|
}
|
2023-03-01 12:48:52 +03:00
|
|
|
#shortcut-settings-form :is(input[type='text'], select) {
|
2023-02-16 12:51:54 +03:00
|
|
|
flex-grow: 1;
|
|
|
|
flex-basis: 70%;
|
|
|
|
flex-shrink: 1;
|
|
|
|
/* width: calc(100% - 32px); */
|
|
|
|
min-width: 0;
|
|
|
|
max-width: 320px;
|
|
|
|
}
|
2023-12-22 13:01:41 +03:00
|
|
|
#shortcut-settings-form .form-note {
|
|
|
|
display: flex;
|
|
|
|
gap: 6px;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2023-04-08 17:16:13 +03:00
|
|
|
#shortcut-settings-form form footer {
|
|
|
|
display: flex;
|
|
|
|
gap: 16px;
|
|
|
|
}
|
2023-08-15 15:14:09 +03:00
|
|
|
|
|
|
|
/* Import/Export */
|
|
|
|
|
|
|
|
#import-export-container input[type='text'] {
|
|
|
|
font-family: var(--monospace-font);
|
|
|
|
}
|
|
|
|
#import-export-container section {
|
|
|
|
margin: 8px 0;
|
|
|
|
background-color: var(--bg-faded-color);
|
|
|
|
border-radius: 16px;
|
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
#import-export-container section h3 {
|
|
|
|
margin: 0 0 8px;
|
|
|
|
}
|
|
|
|
#import-export-container section h3 * {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
#import-export-container section p {
|
|
|
|
margin: 8px 0;
|
2024-02-26 09:00:53 +03:00
|
|
|
|
|
|
|
&.field-button {
|
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
|
|
|
|
|
|
|
button {
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
}
|
2023-08-15 15:14:09 +03:00
|
|
|
}
|
|
|
|
#import-export-container section details > summary {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
#import-export-container .import-settings-list {
|
|
|
|
border-radius: 8px;
|
|
|
|
overflow: hidden;
|
|
|
|
margin: 8px 0 0;
|
|
|
|
padding: 0;
|
|
|
|
counter-reset: index;
|
|
|
|
}
|
|
|
|
#import-export-container .import-settings-list li {
|
|
|
|
background-color: var(--bg-blur-color);
|
|
|
|
margin: 0 0 2px;
|
|
|
|
padding: 8px 4px;
|
|
|
|
display: flex;
|
|
|
|
gap: 4px;
|
|
|
|
}
|
|
|
|
#import-export-container .import-settings-list li::before {
|
|
|
|
content: counter(index);
|
|
|
|
counter-increment: index;
|
|
|
|
display: inline-block;
|
|
|
|
width: 1.2em;
|
|
|
|
text-align: right;
|
|
|
|
margin-right: 8px;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
font-size: 90%;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
2024-02-26 09:00:53 +03:00
|
|
|
|
|
|
|
#import-export-container {
|
|
|
|
footer {
|
|
|
|
font-size: 90%;
|
|
|
|
color: var(--text-insignificant-color);
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|