2020-02-02 04:36:54 +00:00
|
|
|
html {
|
2017-06-19 13:00:45 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-02-02 04:36:54 +00:00
|
|
|
height: 100vh;
|
2020-11-01 19:01:44 +00:00
|
|
|
background: none;
|
2017-04-09 06:43:51 +00:00
|
|
|
}
|
|
|
|
|
2017-02-14 15:35:53 +00:00
|
|
|
body {
|
2020-02-02 04:36:54 +00:00
|
|
|
background: none;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: auto;
|
2018-05-12 10:11:54 +00:00
|
|
|
max-width: 800px;
|
2020-02-02 04:36:54 +00:00
|
|
|
max-height: calc(100vh - 32px);
|
2022-02-17 00:10:59 +00:00
|
|
|
border: 1px solid var(--c60);
|
2020-02-02 04:36:54 +00:00
|
|
|
box-shadow: 0px 5px 15px 3px hsla(0, 0%, 0%, .35);
|
|
|
|
animation: scalein .25s ease-in-out;
|
2017-06-19 13:00:45 +00:00
|
|
|
}
|
|
|
|
|
2020-02-02 04:36:54 +00:00
|
|
|
body.scaleout {
|
|
|
|
animation: scaleout .25s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
#options {
|
2022-02-17 00:10:59 +00:00
|
|
|
background: var(--bg);
|
2020-10-23 13:51:46 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.options-wrapper {
|
2020-02-02 04:36:54 +00:00
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
2020-10-23 13:51:46 +00:00
|
|
|
a {
|
2022-02-17 00:10:59 +00:00
|
|
|
color: var(--fg);
|
2020-10-23 13:51:46 +00:00
|
|
|
transition: color .5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
2022-02-17 00:10:59 +00:00
|
|
|
color: var(--c40);
|
2020-10-23 13:51:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a:hover .svg-icon,
|
|
|
|
.svg-icon:hover {
|
2022-02-17 00:10:59 +00:00
|
|
|
fill: var(--fg);
|
2020-10-23 13:51:46 +00:00
|
|
|
}
|
|
|
|
|
2022-09-05 20:08:03 +00:00
|
|
|
.clickable {
|
|
|
|
text-decoration: underline dotted;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2020-10-23 13:51:46 +00:00
|
|
|
.svg-inline-wrapper .svg-icon {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2020-02-02 04:36:54 +00:00
|
|
|
#options-close-icon .svg-icon {
|
2022-02-17 00:10:59 +00:00
|
|
|
fill: var(--c40);
|
2020-02-02 04:36:54 +00:00
|
|
|
transition: fill .5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
#options-close-icon:hover .svg-icon {
|
2022-02-17 00:10:59 +00:00
|
|
|
fill: var(--fg);
|
2020-02-02 04:36:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#options-close-icon {
|
|
|
|
display: inline-flex;
|
|
|
|
cursor: pointer;
|
|
|
|
position: absolute;
|
|
|
|
right: 6px;
|
|
|
|
top: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#options-close-icon .svg-icon {
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#options-title {
|
|
|
|
font-weight: bold;
|
2022-02-17 00:10:59 +00:00
|
|
|
background-color: var(--accent-3);
|
2020-02-02 04:36:54 +00:00
|
|
|
padding: .75rem 26px .75rem calc(30% + 4px);
|
|
|
|
font-size: 22px;
|
|
|
|
letter-spacing: .5px;
|
|
|
|
position: relative;
|
|
|
|
min-height: 42px;
|
|
|
|
box-sizing: border-box;
|
2022-02-17 00:10:59 +00:00
|
|
|
border-bottom: 1px solid var(--c40);
|
2020-02-02 04:36:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#options-title::before {
|
|
|
|
content: "";
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
padding: 0 32px 32px 0;
|
|
|
|
background: url(/images/icon/32.png);
|
|
|
|
position: absolute;
|
|
|
|
left: 26px;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
margin: auto;
|
2017-11-26 11:25:46 +00:00
|
|
|
}
|
|
|
|
|
2019-09-24 13:21:36 +00:00
|
|
|
.firefox .chromium-only,
|
|
|
|
.chromium-only.chrome-no-popup-border {
|
2017-04-14 07:50:52 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2022-02-10 18:28:47 +00:00
|
|
|
label.chromium-only > :first-child::after {
|
|
|
|
content: '(Chrome)';
|
2022-02-17 00:10:59 +00:00
|
|
|
color: var(--c50);
|
2022-02-10 18:28:47 +00:00
|
|
|
margin-left: .5ex;
|
|
|
|
}
|
2017-04-14 07:50:52 +00:00
|
|
|
|
|
|
|
.block {
|
2017-03-28 00:42:07 +00:00
|
|
|
display: flex;
|
2017-04-14 07:50:52 +00:00
|
|
|
align-items: center;
|
|
|
|
margin: 1em 0;
|
2022-02-17 00:10:59 +00:00
|
|
|
border-bottom: 1px dotted var(--c80);
|
2017-08-27 14:16:02 +00:00
|
|
|
padding: 0 16px .75em;
|
2017-04-21 12:36:02 +00:00
|
|
|
position: relative;
|
2017-03-28 00:42:07 +00:00
|
|
|
}
|
|
|
|
|
2020-10-23 13:51:46 +00:00
|
|
|
.options-wrapper .block:last-child {
|
2018-05-09 17:52:45 +00:00
|
|
|
margin-bottom: 0;
|
2017-04-14 07:50:52 +00:00
|
|
|
border-bottom: none;
|
2017-03-28 10:05:58 +00:00
|
|
|
}
|
|
|
|
|
2017-04-14 07:50:52 +00:00
|
|
|
h1 {
|
2019-01-08 07:41:39 +00:00
|
|
|
min-width: 30%;
|
2017-06-19 13:00:45 +00:00
|
|
|
width: 30%;
|
2017-04-14 07:50:52 +00:00
|
|
|
margin: 0;
|
|
|
|
font-size: 120%;
|
|
|
|
font-weight: bold;
|
|
|
|
padding-right: 8px;
|
2017-06-19 13:00:45 +00:00
|
|
|
box-sizing: border-box;
|
2017-09-30 17:14:44 +00:00
|
|
|
overflow-wrap: break-word;
|
2017-02-14 15:35:53 +00:00
|
|
|
}
|
|
|
|
|
2017-06-19 13:00:45 +00:00
|
|
|
.items {
|
2019-01-08 07:41:39 +00:00
|
|
|
min-width: 70%;
|
2017-06-19 13:00:45 +00:00
|
|
|
width: 70%;
|
|
|
|
}
|
|
|
|
|
2019-11-15 00:17:25 +00:00
|
|
|
label,
|
|
|
|
.label {
|
2017-06-19 13:00:45 +00:00
|
|
|
display: flex;
|
2017-04-14 07:50:52 +00:00
|
|
|
margin: .25ex 0;
|
2017-06-28 10:01:00 +00:00
|
|
|
align-items: center;
|
2017-02-14 15:35:53 +00:00
|
|
|
}
|
2017-03-28 00:42:07 +00:00
|
|
|
|
2019-11-15 00:17:25 +00:00
|
|
|
.label {
|
|
|
|
flex-grow: 1;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2017-04-14 07:50:52 +00:00
|
|
|
label > :first-child {
|
2022-02-17 00:10:59 +00:00
|
|
|
transition: text-shadow .1s;
|
|
|
|
}
|
|
|
|
.items:not(.no-stretch) label > :first-child {
|
2017-04-14 07:50:52 +00:00
|
|
|
margin-right: 8px;
|
2017-06-19 13:00:45 +00:00
|
|
|
flex-grow: 1;
|
2017-03-28 00:42:07 +00:00
|
|
|
}
|
2017-04-14 07:50:52 +00:00
|
|
|
label:not([disabled]):hover > :first-child {
|
|
|
|
text-shadow: 0 0 0.01px rgba(0, 0, 0, .25);
|
2017-02-14 15:35:53 +00:00
|
|
|
}
|
|
|
|
|
2017-03-28 10:05:58 +00:00
|
|
|
input[type=number],
|
|
|
|
input[type="color"],
|
2017-10-08 15:26:23 +00:00
|
|
|
select,
|
2017-04-14 07:50:52 +00:00
|
|
|
.onoffswitch {
|
2017-04-29 17:58:53 +00:00
|
|
|
width: 60px;
|
2017-04-09 06:43:51 +00:00
|
|
|
box-sizing: border-box;
|
2017-06-19 13:00:45 +00:00
|
|
|
flex-shrink: 0;
|
2017-03-28 10:05:58 +00:00
|
|
|
}
|
|
|
|
|
2019-11-14 05:50:38 +00:00
|
|
|
select.cloud-name {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2017-02-14 15:35:53 +00:00
|
|
|
button {
|
2017-03-28 00:42:07 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=number] {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2017-04-27 11:39:51 +00:00
|
|
|
input[type="color"] {
|
|
|
|
box-sizing: border-box;
|
|
|
|
height: 2em;
|
|
|
|
}
|
|
|
|
|
2022-02-17 00:10:59 +00:00
|
|
|
input[type=time] {
|
|
|
|
margin: 0 .5em;
|
|
|
|
max-width: 7em; /* TODO: remove when strict_min_version >= 57 */
|
2017-06-28 10:49:04 +00:00
|
|
|
}
|
|
|
|
|
2017-04-28 23:36:10 +00:00
|
|
|
#actions {
|
2022-02-18 00:47:22 +00:00
|
|
|
justify-content: center;
|
2020-02-02 04:36:54 +00:00
|
|
|
padding: .5em 1em 1em;
|
2017-12-14 03:28:17 +00:00
|
|
|
background-color: rgba(0, 0, 0, .05);
|
2017-12-12 00:27:28 +00:00
|
|
|
margin: 0;
|
2022-02-17 00:10:59 +00:00
|
|
|
border-top: 1px solid var(--c60);
|
2020-10-23 13:51:46 +00:00
|
|
|
border-bottom: none;
|
2017-12-12 00:27:28 +00:00
|
|
|
}
|
|
|
|
|
2017-04-28 23:36:10 +00:00
|
|
|
#actions button {
|
2022-02-18 00:47:22 +00:00
|
|
|
margin: .5em 1em 0 0;
|
2017-04-28 23:36:10 +00:00
|
|
|
}
|
|
|
|
|
2017-04-14 15:30:09 +00:00
|
|
|
[data-cmd="check-updates"] button {
|
|
|
|
position: relative;
|
|
|
|
}
|
2022-02-02 10:46:55 +00:00
|
|
|
[data-cmd="note"] {
|
2022-02-10 18:28:47 +00:00
|
|
|
padding: .5em 0 .5em 0;
|
2022-02-02 10:46:55 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2017-12-12 00:27:28 +00:00
|
|
|
|
2018-01-24 20:16:24 +00:00
|
|
|
.svg-inline-wrapper .svg-icon {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2022-02-17 00:10:59 +00:00
|
|
|
fill: var(--c40);
|
2018-01-24 20:16:24 +00:00
|
|
|
vertical-align: sub;
|
|
|
|
}
|
|
|
|
|
|
|
|
.svg-inline-wrapper:hover .svg-icon {
|
2022-02-17 00:10:59 +00:00
|
|
|
fill: var(--fg);
|
2018-01-24 20:16:24 +00:00
|
|
|
}
|
|
|
|
|
2020-02-02 04:36:54 +00:00
|
|
|
#message-box.note {
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-10-22 19:16:55 +00:00
|
|
|
white-space: pre-wrap;
|
2018-01-24 20:16:24 +00:00
|
|
|
}
|
|
|
|
|
2020-02-02 04:36:54 +00:00
|
|
|
#message-box.note > div {
|
2020-10-22 19:16:55 +00:00
|
|
|
max-width: 40em;
|
2020-02-02 04:36:54 +00:00
|
|
|
top: unset;
|
|
|
|
right: unset;
|
|
|
|
position: relative;
|
2018-01-24 20:16:24 +00:00
|
|
|
}
|
|
|
|
|
2019-11-05 19:30:45 +00:00
|
|
|
.sync-status {
|
2021-02-14 15:24:49 +00:00
|
|
|
width: 0; /* together with flex-grow makes it reuse the current width */
|
2019-11-15 00:17:25 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
padding-right: 8px;
|
|
|
|
box-sizing: border-box;
|
2019-11-05 19:30:45 +00:00
|
|
|
}
|
|
|
|
.sync-status::first-letter {
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
2022-02-18 00:47:22 +00:00
|
|
|
[data-drive="webdav"] {
|
2021-12-12 00:05:58 +00:00
|
|
|
width: 100%;
|
2022-02-18 00:47:22 +00:00
|
|
|
border-spacing: 0;
|
|
|
|
border-collapse: collapse;
|
2021-12-12 00:05:58 +00:00
|
|
|
}
|
2022-02-18 00:47:22 +00:00
|
|
|
[data-drive="webdav"] td:nth-child(1) {
|
|
|
|
padding: 1px .5em 1px 0;
|
|
|
|
max-width: 10em;
|
|
|
|
overflow-wrap: break-word;
|
2021-12-12 00:05:58 +00:00
|
|
|
}
|
2022-02-18 00:47:22 +00:00
|
|
|
[data-drive="webdav"] td:nth-child(2) {
|
|
|
|
padding: 1px 0;
|
|
|
|
width: 100%;
|
2021-12-12 00:05:58 +00:00
|
|
|
}
|
2022-02-18 00:47:22 +00:00
|
|
|
[data-drive="webdav"] input {
|
2021-12-12 00:05:58 +00:00
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
2022-02-18 00:47:22 +00:00
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
.sync-options:not([data-enabled]) .actions {
|
|
|
|
display: none;
|
2021-12-12 00:05:58 +00:00
|
|
|
}
|
2020-02-02 04:36:54 +00:00
|
|
|
.sync-options .actions button {
|
|
|
|
margin-top: .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes scalein {
|
|
|
|
0% {
|
|
|
|
transform: scale3d(.3, .3, .3);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: scale3d(1, 1, 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes scaleout {
|
|
|
|
100% {
|
|
|
|
transform: scale3d(0, 0, 0);
|
|
|
|
}
|
2019-11-15 00:17:25 +00:00
|
|
|
}
|