2022-07-08 19:17:56 +01:00
|
|
|
:root {
|
|
|
|
--transparent: rgba(0, 0, 0, 0);
|
|
|
|
--without-padding: calc(100% - 4rem);
|
|
|
|
--border-15: 0.15rem solid var(--accent);
|
2022-08-04 19:08:26 +01:00
|
|
|
--border-10: 0.1rem solid var(--accent);
|
2023-08-04 19:43:12 +01:00
|
|
|
--inset-focus: 0 0 0 0.1rem var(--accent) inset;
|
|
|
|
--inset-focus-inv: 0 0 0 0.15rem var(--background) inset;
|
2022-08-04 12:22:40 +01:00
|
|
|
--font-mono: 'Noto Sans Mono', 'Consolas', 'SF Mono', monospace;
|
2023-01-29 18:17:33 +00:00
|
|
|
--padding-1: 0.75rem;
|
|
|
|
--line-height: 1.65rem;
|
2023-08-11 16:53:30 +01:00
|
|
|
--red: rgb(249, 47, 96);
|
2023-05-18 18:05:29 +01:00
|
|
|
--gap: 0.5rem;
|
|
|
|
--gap-no-icon: 0.6rem;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
|
|
|
--accent: rgb(225, 225, 225);
|
2023-06-07 16:41:06 +01:00
|
|
|
--accent-highlight: rgb(225, 225, 225, 4%);
|
|
|
|
--accent-subtext: rgb(110, 110, 110);
|
2023-06-25 08:47:34 +01:00
|
|
|
--accent-hover: rgb(30, 30, 30);
|
2023-07-18 20:50:51 +01:00
|
|
|
--accent-hover-elevated: rgb(48, 48, 48);
|
2023-08-11 16:53:30 +01:00
|
|
|
--accent-hover-transparent: rgba(48, 48, 48, 0.5);
|
2023-06-25 08:47:34 +01:00
|
|
|
--accent-button: rgb(25, 25, 25);
|
2023-07-18 20:50:51 +01:00
|
|
|
--accent-button-elevated: rgb(42, 42, 42);
|
|
|
|
--glass: rgba(25, 25, 25, 0.85);
|
2023-08-04 19:43:12 +01:00
|
|
|
--glass-lite: rgba(25, 25, 25, 0.98);
|
2023-06-07 16:41:06 +01:00
|
|
|
--subbackground: rgb(10, 10, 10);
|
2022-07-08 19:17:56 +01:00
|
|
|
--background: rgb(0, 0, 0);
|
2023-08-16 11:08:24 +01:00
|
|
|
--background-backdrop: rgba(0, 0, 0, 0.5);
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
:root {
|
|
|
|
--accent: rgb(25, 25, 25);
|
2023-06-25 08:47:34 +01:00
|
|
|
--accent-highlight: rgb(25, 25, 25, 4%);
|
2023-06-07 16:41:06 +01:00
|
|
|
--accent-subtext: rgb(110, 110, 110);
|
2023-06-25 08:47:34 +01:00
|
|
|
--accent-hover: rgb(230, 230, 230);
|
2023-07-18 20:50:51 +01:00
|
|
|
--accent-hover-elevated: rgb(215, 215, 215);
|
2023-08-11 16:53:30 +01:00
|
|
|
--accent-hover-transparent: rgba(215, 215, 215, 0.5);
|
2023-06-25 08:47:34 +01:00
|
|
|
--accent-button: rgb(225, 225, 225);
|
2023-07-18 20:50:51 +01:00
|
|
|
--accent-button-elevated: rgb(210, 210, 210);
|
|
|
|
--glass: rgba(230, 230, 230, 0.85);
|
2023-08-04 19:43:12 +01:00
|
|
|
--glass-lite: rgba(230, 230, 230, 0.98);
|
2023-06-07 16:41:06 +01:00
|
|
|
--subbackground: rgb(240, 240, 240);
|
2022-07-08 19:17:56 +01:00
|
|
|
--background: rgb(255, 255, 255);
|
2023-08-16 11:08:24 +01:00
|
|
|
--background-backdrop: rgba(255, 255, 255, 0.5);
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
[data-theme="dark"] {
|
|
|
|
--accent: rgb(225, 225, 225);
|
2023-06-07 16:41:06 +01:00
|
|
|
--accent-highlight: rgb(225, 225, 225, 4%);
|
|
|
|
--accent-subtext: rgb(110, 110, 110);
|
2023-06-25 08:47:34 +01:00
|
|
|
--accent-hover: rgb(30, 30, 30);
|
2023-07-18 20:50:51 +01:00
|
|
|
--accent-hover-elevated: rgb(48, 48, 48);
|
2023-08-11 16:53:30 +01:00
|
|
|
--accent-hover-transparent: rgba(48, 48, 48, 0.5);
|
2023-06-25 08:47:34 +01:00
|
|
|
--accent-button: rgb(25, 25, 25);
|
2023-07-18 20:50:51 +01:00
|
|
|
--accent-button-elevated: rgb(42, 42, 42);
|
|
|
|
--glass: rgba(25, 25, 25, 0.85);
|
2023-08-04 19:43:12 +01:00
|
|
|
--glass-lite: rgba(25, 25, 25, 0.98);
|
2023-06-07 16:41:06 +01:00
|
|
|
--subbackground: rgb(10, 10, 10);
|
2022-07-08 19:17:56 +01:00
|
|
|
--background: rgb(0, 0, 0);
|
2023-08-16 11:08:24 +01:00
|
|
|
--background-backdrop: rgba(0, 0, 0, 0.5);
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
|
|
|
[data-theme="light"] {
|
|
|
|
--accent: rgb(25, 25, 25);
|
2023-06-25 08:47:34 +01:00
|
|
|
--accent-highlight: rgb(25, 25, 25, 4%);
|
2023-06-07 16:41:06 +01:00
|
|
|
--accent-subtext: rgb(110, 110, 110);
|
2023-06-25 08:47:34 +01:00
|
|
|
--accent-hover: rgb(230, 230, 230);
|
2023-07-18 20:50:51 +01:00
|
|
|
--accent-hover-elevated: rgb(215, 215, 215);
|
2023-08-16 11:08:24 +01:00
|
|
|
--accent-hover-transparent: rgba(219, 219, 219, 0.5);
|
2023-06-25 08:47:34 +01:00
|
|
|
--accent-button: rgb(225, 225, 225);
|
2023-07-18 20:50:51 +01:00
|
|
|
--accent-button-elevated: rgb(210, 210, 210);
|
|
|
|
--glass: rgba(230, 230, 230, 0.85);
|
2023-08-04 19:43:12 +01:00
|
|
|
--glass-lite: rgba(230, 230, 230, 0.98);
|
2023-06-07 16:41:06 +01:00
|
|
|
--subbackground: rgb(240, 240, 240);
|
2022-07-08 19:17:56 +01:00
|
|
|
--background: rgb(255, 255, 255);
|
2023-08-16 11:08:24 +01:00
|
|
|
--background-backdrop: rgba(255, 255, 255, 0.5);
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
|
|
|
html,
|
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
background: var(--background);
|
|
|
|
color: var(--accent);
|
2023-03-26 05:19:33 +01:00
|
|
|
-webkit-tap-highlight-color: var(--transparent);
|
2022-08-04 12:22:40 +01:00
|
|
|
font-family: var(--font-mono);
|
2022-07-08 19:17:56 +01:00
|
|
|
user-select: none;
|
2023-03-26 05:19:33 +01:00
|
|
|
-webkit-user-select: none;
|
2022-07-08 19:17:56 +01:00
|
|
|
overflow: hidden;
|
|
|
|
-ms-overflow-style: none;
|
|
|
|
scrollbar-width: none;
|
2023-08-04 19:43:12 +01:00
|
|
|
height: calc(100% + env(safe-area-inset-top)/2);
|
|
|
|
}
|
|
|
|
#home {
|
|
|
|
position: fixed;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: var(--accent);
|
|
|
|
text-decoration: none;
|
2022-08-12 14:36:19 +01:00
|
|
|
user-select: none;
|
2023-03-26 05:19:33 +01:00
|
|
|
-webkit-user-select: none;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
2023-07-19 18:21:12 +01:00
|
|
|
::placeholder,
|
|
|
|
::moz-placeholder {
|
2023-06-07 16:41:06 +01:00
|
|
|
color: var(--accent-subtext);
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
2023-07-19 18:21:12 +01:00
|
|
|
.switches::-webkit-scrollbar,
|
|
|
|
#popup-content::-webkit-scrollbar {
|
2022-07-08 19:17:56 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
:focus-visible {
|
|
|
|
outline: var(--border-15);
|
|
|
|
}
|
2023-04-24 20:01:25 +01:00
|
|
|
.checkbox {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: nowrap;
|
2023-05-18 18:05:29 +01:00
|
|
|
padding: calc(var(--gap) - 0.1rem) calc(var(--gap)*2 - 0.2rem) calc(var(--gap) - 0.1rem) var(--gap);
|
2023-04-24 20:01:25 +01:00
|
|
|
width: auto;
|
|
|
|
margin-right: var(--padding-1);
|
|
|
|
margin-bottom: var(--padding-1);
|
2023-06-07 16:41:06 +01:00
|
|
|
background: var(--accent-button);
|
2023-04-24 20:01:25 +01:00
|
|
|
}
|
|
|
|
.checkbox-label {
|
|
|
|
line-height: 1.3rem;
|
|
|
|
}
|
2022-07-08 19:17:56 +01:00
|
|
|
[type="checkbox"] {
|
|
|
|
-webkit-appearance: none;
|
2023-01-13 18:34:48 +00:00
|
|
|
appearance: none;
|
2023-04-24 20:01:25 +01:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2022-07-08 19:17:56 +01:00
|
|
|
z-index: 0;
|
2023-04-24 20:01:25 +01:00
|
|
|
margin-right: var(--padding-1);
|
|
|
|
border: 0.15rem solid var(--accent);
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
|
|
|
[type="checkbox"]::before {
|
|
|
|
content: "";
|
2023-04-24 20:01:25 +01:00
|
|
|
display: none;
|
2022-07-08 19:17:56 +01:00
|
|
|
position: relative;
|
2023-04-24 20:01:25 +01:00
|
|
|
width: 6px;
|
|
|
|
height: 12px;
|
|
|
|
z-index: 5;
|
|
|
|
transform: scaleX(0.9)rotate(45deg);
|
|
|
|
left: 6px;
|
|
|
|
top: 1px;
|
|
|
|
border-bottom: 0.18rem solid var(--background);
|
|
|
|
border-right: 0.18rem solid var(--background);
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
|
|
|
[type="checkbox"]:checked::before {
|
2023-04-24 20:01:25 +01:00
|
|
|
display: block;
|
2023-03-29 17:08:41 +01:00
|
|
|
}
|
2023-04-24 20:01:25 +01:00
|
|
|
[type="checkbox"]:checked {
|
2022-07-08 19:17:56 +01:00
|
|
|
background-color: var(--accent);
|
2023-04-24 20:01:25 +01:00
|
|
|
border: 0;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
2023-04-24 20:01:25 +01:00
|
|
|
input[type="checkbox"] {
|
|
|
|
cursor: pointer;
|
2023-01-13 18:34:48 +00:00
|
|
|
}
|
2022-07-08 19:17:56 +01:00
|
|
|
button {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
2022-08-04 12:22:40 +01:00
|
|
|
font-family: var(--font-mono);
|
2022-07-08 19:17:56 +01:00
|
|
|
color: var(--accent);
|
|
|
|
font-size: 0.9rem;
|
|
|
|
}
|
2022-07-28 17:03:17 +01:00
|
|
|
input,
|
|
|
|
input[type="text"],
|
|
|
|
[type="text"] {
|
|
|
|
border-radius: 0;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
2023-08-04 19:43:12 +01:00
|
|
|
.glass-bkg {
|
|
|
|
background: var(--glass);
|
|
|
|
backdrop-filter: blur(7px);
|
|
|
|
-webkit-backdrop-filter: blur(7px);
|
|
|
|
}
|
2023-09-06 14:37:03 +01:00
|
|
|
.glass-bkg.alone {
|
|
|
|
z-index: -1;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
.glass-bkg.small {
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: -1;
|
|
|
|
position: absolute;
|
|
|
|
border: var(--accent-highlight) solid 0.15rem;
|
|
|
|
border-radius: 8px/9px;
|
|
|
|
}
|
2023-03-29 17:08:41 +01:00
|
|
|
.desktop button:hover,
|
|
|
|
.desktop .switch:hover,
|
|
|
|
.desktop .checkbox:hover,
|
|
|
|
.desktop .text-to-copy:hover,
|
2023-08-11 16:53:30 +01:00
|
|
|
.desktop .collapse-header:hover {
|
2022-07-08 19:17:56 +01:00
|
|
|
background: var(--accent-hover);
|
2023-06-07 16:41:06 +01:00
|
|
|
box-shadow: 0 0 0 0.1rem var(--accent-highlight) inset;
|
2022-07-08 19:17:56 +01:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
button:active,
|
|
|
|
.switch:active,
|
2022-07-13 21:32:00 +01:00
|
|
|
.checkbox:active,
|
|
|
|
.text-to-copy:active {
|
2023-06-07 16:41:06 +01:00
|
|
|
box-shadow: 0 0 0 0.1rem var(--accent-highlight) inset;
|
2022-07-08 19:17:56 +01:00
|
|
|
cursor: pointer;
|
2023-05-19 11:13:38 +01:00
|
|
|
transform: scale(0.95);
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
2023-01-29 18:17:33 +00:00
|
|
|
.collapse-header:active {
|
2023-06-07 16:41:06 +01:00
|
|
|
box-shadow: 0 0 0 0.1rem var(--accent-highlight) inset;
|
2023-01-29 18:17:33 +00:00
|
|
|
}
|
2023-07-19 18:21:12 +01:00
|
|
|
.popup.small .switch {
|
|
|
|
background: var(--accent-button-elevated);
|
|
|
|
}
|
2023-09-06 14:37:03 +01:00
|
|
|
.desktop .popup.small .switch:hover {
|
2023-07-19 18:21:12 +01:00
|
|
|
background: var(--accent-hover-elevated);
|
|
|
|
}
|
2023-04-08 17:55:44 +01:00
|
|
|
.switch.text-backdrop,
|
2023-04-08 11:58:44 +01:00
|
|
|
.switch.text-backdrop:hover,
|
2023-01-29 18:17:33 +00:00
|
|
|
.switch.text-backdrop:active,
|
2023-04-08 17:55:44 +01:00
|
|
|
.text-to-copy.text-backdrop,
|
2023-04-08 11:58:44 +01:00
|
|
|
.text-to-copy.text-backdrop:hover,
|
2023-07-19 18:21:12 +01:00
|
|
|
.text-to-copy.text-backdrop:active,
|
|
|
|
.popup.small .switch.text-backdrop,
|
|
|
|
.popup.small .switch.text-backdrop:hover,
|
|
|
|
.popup.small .switch.text-backdrop:active {
|
2023-01-29 18:17:33 +00:00
|
|
|
background: var(--accent);
|
|
|
|
color: var(--background);
|
2023-06-07 16:41:06 +01:00
|
|
|
box-shadow: 0 0 0 0.1rem var(--accent-highlight) inset;
|
2023-01-29 18:17:33 +00:00
|
|
|
}
|
2022-10-09 18:44:00 +01:00
|
|
|
.picker-image:active {
|
2022-09-03 16:32:39 +01:00
|
|
|
cursor: pointer;
|
2023-06-07 16:41:06 +01:00
|
|
|
transform: scale(0.95);
|
2022-09-03 16:32:39 +01:00
|
|
|
}
|
2022-07-08 19:17:56 +01:00
|
|
|
.button {
|
|
|
|
background: none;
|
|
|
|
border: var(--border-15);
|
|
|
|
color: var(--accent);
|
|
|
|
padding: 0.3rem 0.75rem 0.5rem;
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
.mono {
|
2022-08-04 12:22:40 +01:00
|
|
|
font-family: var(--font-mono);
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
|
|
|
.center {
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
}
|
|
|
|
#cobalt-main-box {
|
|
|
|
position: fixed;
|
|
|
|
width: 60%;
|
|
|
|
height: auto;
|
2023-04-03 17:36:23 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
2023-04-03 17:36:23 +01:00
|
|
|
#logo {
|
2022-07-08 19:17:56 +01:00
|
|
|
text-align: left;
|
|
|
|
font-size: 1rem;
|
|
|
|
white-space: nowrap;
|
2023-04-03 17:36:23 +01:00
|
|
|
width: 7rem;
|
|
|
|
height: 2.5rem;
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
|
|
|
#download-area {
|
2022-09-08 17:02:55 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
#cobalt-main-box #top {
|
2022-07-08 19:17:56 +01:00
|
|
|
display: inline-flex;
|
2023-04-03 12:40:00 +01:00
|
|
|
height: 2.5rem;
|
2022-09-08 17:02:55 +01:00
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
#cobalt-main-box #bottom {
|
2023-04-03 12:40:00 +01:00
|
|
|
padding-top: 1rem;
|
2022-09-28 13:21:36 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
2022-09-08 17:02:55 +01:00
|
|
|
}
|
2022-07-08 19:17:56 +01:00
|
|
|
.box {
|
|
|
|
background: var(--background);
|
|
|
|
color: var(--accent);
|
|
|
|
}
|
|
|
|
#url-input-area {
|
2023-05-18 18:05:29 +01:00
|
|
|
background: none;
|
2023-04-03 12:35:02 +01:00
|
|
|
padding: 0 1rem;
|
2022-07-08 19:17:56 +01:00
|
|
|
width: 100%;
|
|
|
|
color: var(--accent);
|
|
|
|
border: 0;
|
|
|
|
float: right;
|
2023-06-07 16:41:06 +01:00
|
|
|
border-bottom: 0.1rem solid var(--accent-subtext);
|
2022-07-08 19:17:56 +01:00
|
|
|
outline: none;
|
2022-09-08 17:02:55 +01:00
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
|
|
|
#url-clear {
|
2023-04-03 17:36:23 +01:00
|
|
|
height: 100%;
|
2022-09-08 17:02:55 +01:00
|
|
|
background: none;
|
2023-04-03 17:36:23 +01:00
|
|
|
padding: 0 1rem 0.2rem;
|
2022-09-08 17:02:55 +01:00
|
|
|
transform: none;
|
2023-04-03 17:36:23 +01:00
|
|
|
font-size: 1rem;
|
2023-06-07 16:41:06 +01:00
|
|
|
box-shadow: none!important;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
|
|
|
#url-input-area:focus {
|
|
|
|
outline: none;
|
2022-08-04 19:08:26 +01:00
|
|
|
border-bottom: var(--border-10);
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
|
|
|
#download-button {
|
|
|
|
height: 2.5rem;
|
|
|
|
color: var(--accent);
|
|
|
|
background: none;
|
|
|
|
border: none;
|
2022-09-08 17:02:55 +01:00
|
|
|
font-size: 1.6rem;
|
2022-07-08 19:17:56 +01:00
|
|
|
cursor: pointer;
|
|
|
|
padding: 0;
|
2022-09-08 17:02:55 +01:00
|
|
|
letter-spacing: -0.36rem;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
|
|
|
#download-button:disabled {
|
2023-06-07 16:41:06 +01:00
|
|
|
color: var(--accent-subtext);
|
2022-07-08 19:17:56 +01:00
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
#footer {
|
2023-08-04 19:43:12 +01:00
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
2022-07-08 19:17:56 +01:00
|
|
|
position: absolute;
|
2023-08-04 19:43:12 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
padding-bottom: calc(env(safe-area-inset-bottom)/2 + 2rem);
|
2022-07-08 19:17:56 +01:00
|
|
|
font-size: 0.9rem;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2022-09-28 13:21:36 +01:00
|
|
|
#cobalt-main-box #bottom,
|
|
|
|
#footer-buttons,
|
|
|
|
#footer-buttons, .footer-pair {
|
2023-04-03 17:36:23 +01:00
|
|
|
gap: var(--gap);
|
2022-09-28 13:21:36 +01:00
|
|
|
}
|
2022-09-08 17:02:55 +01:00
|
|
|
#footer-buttons, .footer-pair {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2022-08-12 14:36:19 +01:00
|
|
|
align-items: center;
|
|
|
|
}
|
2022-07-08 19:17:56 +01:00
|
|
|
.footer-button {
|
2022-09-08 17:02:55 +01:00
|
|
|
width: auto!important;
|
2023-06-07 16:41:06 +01:00
|
|
|
color: var(--accent-subtext);
|
2023-04-03 17:36:23 +01:00
|
|
|
padding: var(--gap) 1.2rem!important;
|
2022-08-12 14:36:19 +01:00
|
|
|
align-content: center;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
2022-10-02 15:13:33 +01:00
|
|
|
.notification-dot {
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
background: var(--red);
|
|
|
|
margin-right: 0.4rem;
|
|
|
|
border-radius: 99rem;
|
|
|
|
}
|
2022-07-08 19:17:56 +01:00
|
|
|
.text-backdrop {
|
|
|
|
background: var(--accent);
|
|
|
|
color: var(--background);
|
2023-08-13 19:09:50 +01:00
|
|
|
padding: 0 0.3rem;
|
2023-01-29 18:17:33 +00:00
|
|
|
}
|
2023-08-11 16:53:30 +01:00
|
|
|
.text-backdrop.link {
|
|
|
|
text-decoration: underline;
|
2023-01-29 18:17:33 +00:00
|
|
|
}
|
2023-02-13 13:49:18 +00:00
|
|
|
.cobalt-support-link {
|
2023-01-29 18:17:33 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-start;
|
|
|
|
gap: 0.3rem;
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
user-select: none;
|
2023-03-26 05:19:33 +01:00
|
|
|
-webkit-user-select: none;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
|
|
|
::-moz-selection {
|
|
|
|
background-color: var(--accent);
|
|
|
|
color: var(--background);
|
|
|
|
}
|
|
|
|
::selection {
|
|
|
|
background-color: var(--accent);
|
|
|
|
color: var(--background);
|
|
|
|
}
|
|
|
|
.popup {
|
|
|
|
visibility: hidden;
|
|
|
|
position: fixed;
|
|
|
|
height: auto;
|
2023-08-04 19:43:12 +01:00
|
|
|
width: 36%;
|
2022-07-08 19:17:56 +01:00
|
|
|
z-index: 999;
|
|
|
|
font-size: 0.9rem;
|
2023-08-04 19:43:12 +01:00
|
|
|
max-height: 95%;
|
|
|
|
opacity: 0;
|
|
|
|
transform: translate(-50%,-48%)scale(.95);
|
2023-09-06 14:37:03 +01:00
|
|
|
box-shadow: 0 0 0 0.2rem var(--glass) inset,
|
|
|
|
0 0 20px 0 var(--accent-hover-transparent);
|
2023-08-04 19:43:12 +01:00
|
|
|
}
|
|
|
|
.popup.visible {
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
|
|
|
transform: translate(-50%, -50%);
|
2023-08-11 16:53:30 +01:00
|
|
|
transition: transform 100ms ease-out, opacity 100ms ease-in-out;
|
2023-08-04 19:43:12 +01:00
|
|
|
}
|
|
|
|
#popup-backdrop {
|
|
|
|
visibility: hidden;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 998;
|
|
|
|
opacity: 0;
|
2023-08-16 11:08:24 +01:00
|
|
|
background: var(--background-backdrop);
|
2023-08-04 19:43:12 +01:00
|
|
|
}
|
|
|
|
#popup-backdrop.visible {
|
|
|
|
visibility: visible;
|
2023-08-16 11:08:24 +01:00
|
|
|
opacity: 1;
|
|
|
|
transition: opacity .13s ease-in-out;
|
|
|
|
backdrop-filter: blur(7px);
|
|
|
|
-webkit-backdrop-filter: blur(7px);
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
2022-08-19 18:54:20 +01:00
|
|
|
.popup.small {
|
2023-07-18 20:50:51 +01:00
|
|
|
width: 20%;
|
2023-08-16 11:08:24 +01:00
|
|
|
box-shadow: 0px 0px 60px 0px var(--accent-hover);
|
2023-08-04 19:43:12 +01:00
|
|
|
padding: 1.7rem;
|
|
|
|
transform: translate(-50%,-50%)scale(.95);
|
|
|
|
pointer-events: all;
|
2023-07-18 20:50:51 +01:00
|
|
|
}
|
2023-08-04 19:43:12 +01:00
|
|
|
.popup.small.visible {
|
|
|
|
transform: translate(-50%, -50%);
|
2023-07-18 20:50:51 +01:00
|
|
|
}
|
2023-08-04 19:43:12 +01:00
|
|
|
.popup.small #popup-header-contents,
|
|
|
|
.popup.small .popup-content-inner,
|
2023-07-18 20:50:51 +01:00
|
|
|
.popup.small #popup-header {
|
2023-08-04 19:43:12 +01:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.popup.small #popup-header {
|
|
|
|
position: relative;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
.popup.small #popup-title {
|
2023-08-21 18:40:37 +01:00
|
|
|
margin-bottom: 0.6rem;
|
2023-07-18 20:50:51 +01:00
|
|
|
}
|
|
|
|
.popup.small .explanation {
|
2023-08-21 18:40:37 +01:00
|
|
|
margin-bottom: 0.9rem;
|
2023-07-18 20:50:51 +01:00
|
|
|
}
|
|
|
|
#close-error {
|
|
|
|
background: var(--accent);
|
|
|
|
color: var(--background);
|
2022-08-19 18:54:20 +01:00
|
|
|
}
|
2022-07-13 21:32:00 +01:00
|
|
|
.popup.scrollable {
|
2023-08-04 19:43:12 +01:00
|
|
|
height: 95%;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
2022-07-24 11:54:05 +01:00
|
|
|
.scrollable .bottom-link {
|
|
|
|
padding-bottom: 2rem;
|
|
|
|
}
|
2022-08-12 14:36:19 +01:00
|
|
|
.changelog-subtitle {
|
2023-08-04 19:43:12 +01:00
|
|
|
font-size: 1.3rem;
|
2023-05-18 18:05:29 +01:00
|
|
|
padding-bottom: var(--gap-no-icon);
|
2022-08-12 14:36:19 +01:00
|
|
|
}
|
2022-11-12 16:40:11 +00:00
|
|
|
.changelog-banner {
|
2023-08-04 19:43:12 +01:00
|
|
|
position: relative;
|
2022-11-12 16:40:11 +00:00
|
|
|
width: 100%;
|
|
|
|
max-height: 300px;
|
2023-08-11 16:53:30 +01:00
|
|
|
min-height: 210px;
|
|
|
|
margin-bottom: 0.7rem;
|
2022-12-06 19:21:07 +00:00
|
|
|
float: left;
|
2023-08-11 16:53:30 +01:00
|
|
|
background: var(--accent-hover);
|
|
|
|
display: flex;
|
2022-11-12 16:40:11 +00:00
|
|
|
}
|
|
|
|
.changelog-img {
|
|
|
|
object-fit: cover;
|
|
|
|
width: inherit;
|
|
|
|
height: inherit;
|
|
|
|
max-height: inherit;
|
|
|
|
}
|
2023-08-04 19:43:12 +01:00
|
|
|
.changelog-tags {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 0.7rem;
|
|
|
|
padding-bottom: 0.7rem;
|
|
|
|
}
|
|
|
|
.changelog-tag-version {
|
|
|
|
font-size: 1rem;
|
2023-08-11 16:53:30 +01:00
|
|
|
padding: 0.15rem 0.7rem;
|
2023-08-04 19:43:12 +01:00
|
|
|
}
|
|
|
|
.changelog-tag-date {
|
|
|
|
color: var(--accent-subtext);
|
2023-08-11 16:53:30 +01:00
|
|
|
font-size: 0.8rem;
|
2023-08-04 19:43:12 +01:00
|
|
|
}
|
2022-07-08 19:17:56 +01:00
|
|
|
.nowrap {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2022-08-12 14:36:19 +01:00
|
|
|
.no-top-padding {
|
|
|
|
padding-top: 0!important;
|
|
|
|
}
|
|
|
|
.desc-padding {
|
2022-07-08 19:17:56 +01:00
|
|
|
padding-bottom: 1.5rem;
|
|
|
|
}
|
2022-08-12 14:36:19 +01:00
|
|
|
#popup-subtitle {
|
2022-07-08 19:17:56 +01:00
|
|
|
font-size: 1.1rem;
|
2023-01-29 18:17:33 +00:00
|
|
|
padding-bottom: var(--padding-1);
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
2022-08-12 14:36:19 +01:00
|
|
|
#popup-desc,
|
2022-09-08 17:02:55 +01:00
|
|
|
#desc-error,
|
|
|
|
#popup-info-desc {
|
2022-07-08 19:17:56 +01:00
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
float: left;
|
2023-01-29 18:17:33 +00:00
|
|
|
line-height: var(--line-height);
|
2022-08-16 11:31:41 +01:00
|
|
|
user-select: text;
|
2023-03-26 05:19:33 +01:00
|
|
|
-webkit-user-select: text;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
2022-08-12 14:36:19 +01:00
|
|
|
#popup-title {
|
2022-07-08 19:17:56 +01:00
|
|
|
font-size: 1.5rem;
|
2023-08-21 18:40:37 +01:00
|
|
|
line-height: 1.2em;
|
2022-08-12 14:36:19 +01:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-08-21 18:40:37 +01:00
|
|
|
margin-bottom: 0.4rem;
|
|
|
|
margin-top: 0.4rem;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
2022-08-12 14:36:19 +01:00
|
|
|
#popup-above-title {
|
2023-06-07 16:41:06 +01:00
|
|
|
color: var(--accent-subtext);
|
2022-07-08 19:17:56 +01:00
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
2022-08-12 14:36:19 +01:00
|
|
|
#popup-content {
|
2023-08-11 16:53:30 +01:00
|
|
|
overflow-x: scroll;
|
2022-07-08 19:17:56 +01:00
|
|
|
overflow-y: auto;
|
2023-08-04 19:43:12 +01:00
|
|
|
height: 100%;
|
2022-07-08 19:17:56 +01:00
|
|
|
scrollbar-width: none;
|
|
|
|
}
|
2023-08-04 19:43:12 +01:00
|
|
|
.popup-content-inner,
|
2023-08-13 20:36:19 +01:00
|
|
|
.tab-content-settings,
|
|
|
|
#picker-holder {
|
2023-08-04 19:43:12 +01:00
|
|
|
padding-top: calc(env(safe-area-inset-top)/2 + 4.9rem);
|
|
|
|
padding-bottom: calc(env(safe-area-inset-bottom)/2 + 4.8rem);
|
|
|
|
}
|
|
|
|
.tab-content-settings,
|
|
|
|
#tab-about-about .popup-content-inner {
|
|
|
|
padding-top: calc(env(safe-area-inset-top)/2 + 6.2rem);;
|
|
|
|
}
|
2022-12-06 19:21:07 +00:00
|
|
|
.bullpadding {
|
|
|
|
padding-left: 0.58rem;
|
|
|
|
}
|
2022-08-12 14:36:19 +01:00
|
|
|
#popup-header {
|
2023-08-04 19:43:12 +01:00
|
|
|
position: absolute;
|
2022-07-08 19:17:56 +01:00
|
|
|
z-index: 999;
|
2023-08-04 19:43:12 +01:00
|
|
|
padding-top: calc(env(safe-area-inset-top)/2 + 1.7rem);
|
|
|
|
width: 100%;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
|
|
|
.settings-category {
|
2023-01-29 18:17:33 +00:00
|
|
|
padding-bottom: 1rem;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
2022-11-15 17:37:33 +00:00
|
|
|
.separator {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.separator,
|
2022-08-12 14:36:19 +01:00
|
|
|
.category-title {
|
2022-07-08 19:17:56 +01:00
|
|
|
width: 100%;
|
2023-06-07 16:41:06 +01:00
|
|
|
color: var(--accent-subtext);
|
|
|
|
border-bottom: 0.05rem solid var(--accent-subtext);
|
2022-07-08 19:17:56 +01:00
|
|
|
padding-bottom: 0.25rem;
|
2023-05-18 18:05:29 +01:00
|
|
|
margin-bottom: calc(var(--gap-no-icon)*1.5);
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
2022-11-15 17:37:33 +00:00
|
|
|
.category-title {
|
|
|
|
text-align: left;
|
2023-01-29 18:17:33 +00:00
|
|
|
line-height: var(--line-height);
|
2022-11-15 17:37:33 +00:00
|
|
|
}
|
2022-07-24 11:54:05 +01:00
|
|
|
.bottom-margin {
|
2023-01-29 18:17:33 +00:00
|
|
|
margin-bottom: var(--padding-1)!important;
|
2022-09-28 13:21:36 +01:00
|
|
|
}
|
|
|
|
.top-margin {
|
2023-01-29 18:17:33 +00:00
|
|
|
margin-top: var(--padding-1)!important;
|
|
|
|
}
|
|
|
|
.top-margin-only {
|
|
|
|
margin-top: var(--padding-1)!important;
|
|
|
|
margin-bottom: 0!important;
|
2022-09-28 13:21:36 +01:00
|
|
|
}
|
|
|
|
.no-margin {
|
|
|
|
margin: 0!important;
|
2022-07-24 11:54:05 +01:00
|
|
|
}
|
2022-07-08 19:17:56 +01:00
|
|
|
.switch-container {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.subtitle {
|
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
2023-01-29 18:17:33 +00:00
|
|
|
line-height: var(--line-height);
|
2022-07-08 19:17:56 +01:00
|
|
|
padding-bottom: 0.4rem;
|
|
|
|
color: var(--accent);
|
2022-08-12 14:36:19 +01:00
|
|
|
}
|
2022-07-13 21:32:00 +01:00
|
|
|
.small-padding .subtitle {
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
}
|
2022-07-08 19:17:56 +01:00
|
|
|
.explanation {
|
2023-05-18 18:05:29 +01:00
|
|
|
margin-top: 0.8rem;
|
2022-07-08 19:17:56 +01:00
|
|
|
width: 100%;
|
|
|
|
font-size: 0.8rem;
|
|
|
|
text-align: left;
|
2022-08-12 14:36:19 +01:00
|
|
|
line-height: 1.3rem!important;
|
2023-06-07 16:41:06 +01:00
|
|
|
color: var(--accent-subtext);
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
2022-08-19 18:54:20 +01:00
|
|
|
.subtext {
|
2023-06-07 16:41:06 +01:00
|
|
|
color: var(--accent-subtext);
|
2022-08-19 18:54:20 +01:00
|
|
|
}
|
2022-07-08 19:17:56 +01:00
|
|
|
.switch {
|
2023-05-18 18:05:29 +01:00
|
|
|
padding: var(--gap-no-icon);
|
2022-07-08 19:17:56 +01:00
|
|
|
width: 100%;
|
2023-04-03 17:36:23 +01:00
|
|
|
text-align: left;
|
2022-07-08 19:17:56 +01:00
|
|
|
color: var(--accent);
|
2023-06-07 16:41:06 +01:00
|
|
|
background: var(--accent-button);
|
2022-08-12 14:36:19 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2022-07-08 19:17:56 +01:00
|
|
|
align-items: center;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2022-07-13 21:32:00 +01:00
|
|
|
.switch.space-right {
|
2023-01-29 18:17:33 +00:00
|
|
|
margin-right: var(--padding-1);
|
2022-07-13 21:32:00 +01:00
|
|
|
}
|
2023-08-04 19:43:12 +01:00
|
|
|
.switch:focus {
|
|
|
|
box-shadow: var(--inset-focus) inset;
|
|
|
|
}
|
|
|
|
#popup-tabs .switch {
|
2023-08-11 16:53:30 +01:00
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
.desktop #popup-tabs .switch:hover,
|
|
|
|
#popup-tabs .switch:active {
|
|
|
|
background: var(--accent-hover-transparent);
|
|
|
|
box-shadow: 0 0 0 0.1rem var(--accent-highlight) inset;
|
2023-08-04 19:43:12 +01:00
|
|
|
}
|
|
|
|
.switch[data-enabled="true"],
|
|
|
|
#popup-tabs .switch[data-enabled="true"] {
|
2022-07-08 19:17:56 +01:00
|
|
|
color: var(--background);
|
2023-08-11 16:53:30 +01:00
|
|
|
background: var(--accent)!important;
|
2022-07-08 19:17:56 +01:00
|
|
|
cursor: default;
|
|
|
|
}
|
2023-03-29 17:08:41 +01:00
|
|
|
.switch[data-enabled="true"]:hover {
|
|
|
|
background: var(--accent);
|
|
|
|
}
|
2023-08-04 19:43:12 +01:00
|
|
|
.switch[data-enabled="true"]:focus {
|
|
|
|
box-shadow: var(--inset-focus-inv) inset;
|
|
|
|
}
|
2022-07-08 19:17:56 +01:00
|
|
|
.switches {
|
|
|
|
display: flex;
|
|
|
|
width: auto;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: nowrap;
|
2023-01-18 10:30:55 +00:00
|
|
|
scrollbar-width: none;
|
2022-08-12 14:36:19 +01:00
|
|
|
}
|
2023-05-18 18:05:29 +01:00
|
|
|
.switches .switch {
|
|
|
|
padding-left: calc(var(--gap-no-icon) + 0.1rem);
|
|
|
|
padding-right: calc(var(--gap-no-icon) + 0.1rem);
|
|
|
|
}
|
|
|
|
#popup-settings .switches .switch {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2022-08-12 14:36:19 +01:00
|
|
|
.autowidth {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.bottom-space {
|
|
|
|
margin-bottom: 2rem;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
|
|
|
.text-to-copy {
|
|
|
|
user-select: text;
|
2023-03-26 05:19:33 +01:00
|
|
|
-webkit-user-select: text;
|
2023-06-07 16:41:06 +01:00
|
|
|
background: var(--accent-button);
|
2023-08-11 16:53:30 +01:00
|
|
|
padding: var(--gap-no-icon);
|
2023-08-13 19:09:50 +01:00
|
|
|
overflow: clip;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
2023-08-04 19:43:12 +01:00
|
|
|
#back-button {
|
|
|
|
padding: 0;
|
|
|
|
background: none;
|
|
|
|
max-width: 4rem;
|
|
|
|
font-size: 1rem;
|
2022-08-12 14:36:19 +01:00
|
|
|
}
|
2023-08-11 16:53:30 +01:00
|
|
|
#back-button svg path,
|
|
|
|
.collapse-indicator svg path {
|
2023-08-04 19:43:12 +01:00
|
|
|
fill: var(--accent);
|
2023-01-29 18:17:33 +00:00
|
|
|
}
|
2023-08-11 16:53:30 +01:00
|
|
|
.popup-tab-content[data-enabled="false"] {
|
2022-08-12 14:36:19 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#popup-tabs {
|
|
|
|
z-index: 999;
|
|
|
|
bottom: 0;
|
2023-08-04 19:43:12 +01:00
|
|
|
position: absolute;
|
2022-08-12 14:36:19 +01:00
|
|
|
width: 100%;
|
2023-08-04 19:43:12 +01:00
|
|
|
padding-top: 0.2rem;
|
|
|
|
padding-bottom: 1.7rem;
|
2022-08-12 14:36:19 +01:00
|
|
|
}
|
2023-08-04 19:43:12 +01:00
|
|
|
.popup-tabs-child {
|
|
|
|
width: 100%;
|
|
|
|
padding: 0 0.2rem;
|
2023-01-13 18:34:48 +00:00
|
|
|
}
|
2023-08-04 19:43:12 +01:00
|
|
|
.emoji, svg {
|
2023-01-29 18:17:33 +00:00
|
|
|
user-select: none;
|
2023-03-26 05:19:33 +01:00
|
|
|
-webkit-user-select: none;
|
2023-03-26 05:24:02 +01:00
|
|
|
pointer-events: none;
|
2022-08-22 15:10:54 +01:00
|
|
|
}
|
2023-08-04 19:43:12 +01:00
|
|
|
.emoji {
|
|
|
|
margin-right: 0.4rem;
|
|
|
|
}
|
2022-10-09 18:44:00 +01:00
|
|
|
.picker-image {
|
2022-09-03 16:32:39 +01:00
|
|
|
object-fit: cover;
|
2023-08-13 20:36:19 +01:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2023-06-07 16:41:06 +01:00
|
|
|
cursor: pointer;
|
2023-08-04 19:43:12 +01:00
|
|
|
user-select: all;
|
|
|
|
-webkit-user-select: all;
|
2022-09-03 16:32:39 +01:00
|
|
|
}
|
2022-10-09 18:44:00 +01:00
|
|
|
.picker-image-container {
|
2023-08-13 20:36:19 +01:00
|
|
|
width: calc(100% / 3);
|
|
|
|
height: 12rem;
|
2023-06-07 16:41:06 +01:00
|
|
|
background-color: var(--accent-button);
|
2023-08-13 20:36:19 +01:00
|
|
|
cursor: pointer;
|
2022-10-09 18:44:00 +01:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
#picker-holder {
|
2022-09-03 16:32:39 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-content: space-around;
|
2023-08-04 19:43:12 +01:00
|
|
|
padding-top: calc(env(safe-area-inset-top)/2 + 7.6rem);
|
|
|
|
padding-bottom: calc(env(safe-area-inset-bottom)/2 + 4.8rem);
|
2022-09-03 16:32:39 +01:00
|
|
|
}
|
2022-10-09 18:44:00 +01:00
|
|
|
.imageBlock {
|
|
|
|
width: 100%;
|
2023-08-20 14:14:31 +01:00
|
|
|
height: 100%;
|
2022-10-09 18:44:00 +01:00
|
|
|
position: absolute;
|
2023-08-04 19:43:12 +01:00
|
|
|
z-index: 99;
|
2022-10-09 18:44:00 +01:00
|
|
|
}
|
|
|
|
.picker-element-name {
|
|
|
|
position: absolute;
|
|
|
|
background: var(--background);
|
|
|
|
color: var(--accent);
|
2023-04-03 17:36:23 +01:00
|
|
|
padding: 0.3rem var(--gap);
|
2022-10-09 18:44:00 +01:00
|
|
|
font-size: 0.8rem;
|
|
|
|
opacity: 0.7;
|
|
|
|
margin: 0.4rem;
|
|
|
|
}
|
|
|
|
#popup-picker .explanation {
|
|
|
|
margin-top: 0!important;
|
2023-01-29 18:17:33 +00:00
|
|
|
margin-bottom: var(--padding-1);
|
|
|
|
}
|
2023-03-24 17:16:10 +00:00
|
|
|
#cobalt-main-box #bottom button {
|
|
|
|
width: auto;
|
2023-04-03 17:36:23 +01:00
|
|
|
padding: var(--gap) 1.2rem;
|
2023-03-24 17:16:10 +00:00
|
|
|
}
|
2023-01-29 18:17:33 +00:00
|
|
|
.collapse-list {
|
2023-06-07 16:41:06 +01:00
|
|
|
background: var(--subbackground);
|
2023-01-29 18:17:33 +00:00
|
|
|
user-select: none;
|
2023-03-26 05:19:33 +01:00
|
|
|
-webkit-user-select: none;
|
2023-01-29 18:17:33 +00:00
|
|
|
}
|
2023-08-11 16:53:30 +01:00
|
|
|
.collapse-list.last {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
2023-01-29 18:17:33 +00:00
|
|
|
.collapse-header {
|
2023-08-11 16:53:30 +01:00
|
|
|
padding: 0.5rem var(--padding-1);
|
|
|
|
font-size: 0.95rem;
|
2023-01-29 18:17:33 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
cursor: pointer;
|
2023-06-07 16:41:06 +01:00
|
|
|
background: var(--accent-button);
|
2023-01-29 18:17:33 +00:00
|
|
|
}
|
2023-08-11 16:53:30 +01:00
|
|
|
.collapse-header .emoji {
|
|
|
|
margin-right: var(--padding-1);
|
2023-01-29 18:17:33 +00:00
|
|
|
}
|
2023-08-11 16:53:30 +01:00
|
|
|
.collapse-indicator {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
cursor: pointer;
|
2023-01-29 18:17:33 +00:00
|
|
|
transform: none;
|
|
|
|
}
|
2023-08-11 16:53:30 +01:00
|
|
|
.collapse-list.expanded .collapse-indicator {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
2023-01-29 18:17:33 +00:00
|
|
|
.collapse-title {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.collapse-body {
|
|
|
|
display: none;
|
|
|
|
padding: var(--padding-1);
|
|
|
|
user-select: text;
|
2023-03-26 05:19:33 +01:00
|
|
|
-webkit-user-select: text;
|
2023-01-29 18:17:33 +00:00
|
|
|
}
|
|
|
|
.expanded .collapse-body {
|
2023-04-08 17:55:44 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
#download-switcher .switches {
|
|
|
|
gap: var(--gap);
|
|
|
|
}
|
|
|
|
#pd-share {
|
|
|
|
display: none;
|
2022-09-03 16:32:39 +01:00
|
|
|
}
|
2023-06-07 16:41:06 +01:00
|
|
|
#about-donate-footer {
|
2023-08-13 19:09:50 +01:00
|
|
|
box-shadow: 0 0 0 0.1rem var(--red) inset, 0 0 0.6rem 0 var(--red);
|
2023-08-11 16:53:30 +01:00
|
|
|
z-index: 1;
|
2023-05-16 21:13:11 +01:00
|
|
|
}
|
2023-08-04 19:43:12 +01:00
|
|
|
.popup-content-inner,
|
|
|
|
.tab-content-settings,
|
|
|
|
#popup-header-contents {
|
|
|
|
padding-left: 1rem;
|
|
|
|
padding-right: 1rem;
|
2023-05-19 11:13:38 +01:00
|
|
|
}
|
2023-06-07 16:41:06 +01:00
|
|
|
.urgent-notice {
|
2023-08-04 19:43:12 +01:00
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
2023-06-07 16:41:06 +01:00
|
|
|
position: absolute;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2023-08-04 19:43:12 +01:00
|
|
|
padding-top: calc(env(safe-area-inset-top) + 1rem);
|
2023-06-07 16:41:06 +01:00
|
|
|
}
|
2023-08-29 18:24:00 +01:00
|
|
|
.urgent-text {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2023-08-16 11:08:24 +01:00
|
|
|
.no-transparency .glass-bkg,
|
|
|
|
.no-transparency #popup-backdrop {
|
2023-08-04 19:43:12 +01:00
|
|
|
backdrop-filter: none;
|
|
|
|
-webkit-backdrop-filter: none;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
2023-08-16 11:08:24 +01:00
|
|
|
.no-transparency .glass-bkg {
|
|
|
|
background: var(--glass-lite);
|
|
|
|
}
|
2023-08-04 19:43:12 +01:00
|
|
|
.no-animation .popup,
|
|
|
|
.no-animation #popup-backdrop {
|
|
|
|
transition: none;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
2023-08-04 19:43:12 +01:00
|
|
|
#floating-notification-area {
|
|
|
|
visibility: visible;
|
|
|
|
z-index: 999999;
|
|
|
|
position: absolute;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
width: 100%;
|
|
|
|
padding-top: 2rem;
|
|
|
|
}
|
|
|
|
.floating-notification {
|
|
|
|
text-align: center;
|
|
|
|
padding: 0.6rem 1.2rem;
|
|
|
|
background: var(--accent-hover-elevated);
|
|
|
|
display: flex;
|
|
|
|
box-shadow: 0 0 20px 10px var(--accent-hover);
|
|
|
|
font-size: 0.85rem;
|
|
|
|
}
|
|
|
|
.popup-from-bottom {
|
|
|
|
position: fixed;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 999;
|
|
|
|
visibility: hidden;
|
|
|
|
pointer-events: none;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
2023-08-04 19:43:12 +01:00
|
|
|
.popup-from-bottom.visible {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
2023-08-11 16:53:30 +01:00
|
|
|
#keyboard-collapse {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.desktop #keyboard-collapse {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.text-backdrop.key {
|
|
|
|
color: var(--accent-hover-elevated);
|
|
|
|
}
|
|
|
|
#keyboard-shortcuts {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: flex-start;
|
|
|
|
gap: 1.5rem;
|
|
|
|
user-select: none;
|
|
|
|
color: var(--accent);
|
|
|
|
}
|
2023-08-13 19:09:50 +01:00
|
|
|
.loader {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2023-08-13 20:36:19 +01:00
|
|
|
#picker-download {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
#picker-download.visible {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
2023-08-13 19:09:50 +01:00
|
|
|
#home {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
#home.visible {
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity 0.2s ease-out;
|
|
|
|
}
|
2023-08-11 16:53:30 +01:00
|
|
|
/* rounded corners */
|
|
|
|
#bottom #paste,
|
|
|
|
#footer .switch,
|
|
|
|
#audioMode,
|
|
|
|
#popup-content .switches,
|
|
|
|
.checkbox,
|
|
|
|
.changelog-img,
|
|
|
|
.changelog-banner,
|
|
|
|
#close-error,
|
|
|
|
.changelog-tag-version,
|
|
|
|
#download-switcher .switch,
|
|
|
|
#popup-about .switch,
|
|
|
|
#popup-tabs .switch,
|
2023-08-13 19:09:50 +01:00
|
|
|
.text-to-copy,
|
|
|
|
.text-to-copy.text-backdrop {
|
2023-08-11 16:53:30 +01:00
|
|
|
border-radius: 5px / 6px;
|
|
|
|
}
|
|
|
|
[type=checkbox] {
|
|
|
|
border-radius: 3px / 4px;
|
|
|
|
}
|
2023-08-16 11:08:24 +01:00
|
|
|
.popup,
|
|
|
|
.scrollable #popup-content {
|
2023-08-11 16:53:30 +01:00
|
|
|
border-radius: 8px / 9px;
|
|
|
|
}
|
2023-09-06 14:37:03 +01:00
|
|
|
#popup-header .glass-bkg {
|
|
|
|
border-top-left-radius: 8px 9px;
|
|
|
|
border-top-right-radius: 8px 9px;
|
|
|
|
border-bottom: var(--accent-highlight) solid 0.1rem;
|
|
|
|
top: -1px;
|
2023-08-11 16:53:30 +01:00
|
|
|
}
|
2023-09-06 14:37:03 +01:00
|
|
|
#popup-tabs .glass-bkg {
|
|
|
|
border-bottom-left-radius: 8px 9px;
|
|
|
|
border-bottom-right-radius: 8px 9px;
|
|
|
|
border-top: var(--accent-highlight) solid 0.1rem;
|
|
|
|
bottom: -1px;
|
2023-08-11 16:53:30 +01:00
|
|
|
}
|
|
|
|
.switches .first {
|
|
|
|
border-top-left-radius: 5px 6px;
|
|
|
|
border-bottom-left-radius: 5px 6px;
|
|
|
|
}
|
|
|
|
.switches .last {
|
|
|
|
border-top-right-radius: 5px 6px;
|
|
|
|
border-bottom-right-radius: 5px 6px;
|
|
|
|
}
|
|
|
|
.text-backdrop {
|
|
|
|
border-radius: 3px / 4px;
|
|
|
|
}
|
|
|
|
.collapse-list.first,
|
|
|
|
.collapse-list.first .collapse-header {
|
2023-08-13 19:09:50 +01:00
|
|
|
border-top-left-radius: 6px 7px;
|
|
|
|
border-top-right-radius: 6px 7px;
|
2023-08-11 16:53:30 +01:00
|
|
|
}
|
|
|
|
.collapse-list.last,
|
|
|
|
.collapse-list.last .collapse-header {
|
2023-08-13 19:09:50 +01:00
|
|
|
border-bottom-left-radius: 6px 7px;
|
|
|
|
border-bottom-right-radius: 6px 7px;
|
2023-08-11 16:53:30 +01:00
|
|
|
}
|
|
|
|
.collapse-list.last.expanded .collapse-header {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
2023-08-13 20:36:19 +01:00
|
|
|
/* prevent resizing fliecker on ios if web app is installed as standalone */
|
2023-08-13 19:09:50 +01:00
|
|
|
@media all and (display-mode: standalone) {
|
|
|
|
#home.visible {
|
|
|
|
transition-delay: 0.1s;
|
|
|
|
}
|
2023-08-11 16:53:30 +01:00
|
|
|
}
|
2023-08-04 19:43:12 +01:00
|
|
|
/* adapt the page according to screen size */
|
2022-08-19 18:54:20 +01:00
|
|
|
@media screen and (max-width: 1550px) {
|
|
|
|
.popup.small {
|
|
|
|
width: 25%
|
|
|
|
}
|
2022-10-02 15:13:33 +01:00
|
|
|
.popup {
|
2023-08-04 19:43:12 +01:00
|
|
|
width: 40%;
|
2022-10-02 15:13:33 +01:00
|
|
|
}
|
2022-08-19 18:54:20 +01:00
|
|
|
}
|
2022-07-08 19:17:56 +01:00
|
|
|
@media screen and (max-width: 1440px) {
|
2022-07-13 21:32:00 +01:00
|
|
|
#cobalt-main-box {
|
2022-07-08 19:17:56 +01:00
|
|
|
width: 65%;
|
|
|
|
}
|
2022-08-19 18:54:20 +01:00
|
|
|
.popup.small {
|
|
|
|
width: 30%
|
|
|
|
}
|
2022-07-13 21:32:00 +01:00
|
|
|
.popup {
|
2023-08-04 19:43:12 +01:00
|
|
|
width: 45%;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
|
|
|
}
|
2022-10-02 15:13:33 +01:00
|
|
|
@media screen and (max-width: 1300px) {
|
|
|
|
.popup {
|
2023-08-04 19:43:12 +01:00
|
|
|
width: 50%;
|
2022-10-02 15:13:33 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 1200px) {
|
2022-08-12 14:36:19 +01:00
|
|
|
#cobalt-main-box {
|
|
|
|
width: 70%;
|
|
|
|
}
|
2022-08-19 18:54:20 +01:00
|
|
|
.popup.small {
|
|
|
|
width: 35%
|
|
|
|
}
|
2022-08-12 14:36:19 +01:00
|
|
|
.popup {
|
2023-08-04 19:43:12 +01:00
|
|
|
width: 55%;
|
2022-08-12 14:36:19 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 1025px) {
|
2022-07-13 21:32:00 +01:00
|
|
|
#cobalt-main-box {
|
2022-07-08 19:17:56 +01:00
|
|
|
width: 75%;
|
|
|
|
}
|
2022-08-19 18:54:20 +01:00
|
|
|
.popup.small {
|
|
|
|
width: 40%
|
|
|
|
}
|
2022-07-13 21:32:00 +01:00
|
|
|
.popup {
|
|
|
|
width: 60%;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
|
|
|
}
|
2023-08-04 19:43:12 +01:00
|
|
|
@media screen and (max-width: 850px) {
|
2022-07-13 21:32:00 +01:00
|
|
|
.popup {
|
2023-08-04 19:43:12 +01:00
|
|
|
width: 75%;
|
2022-07-24 11:54:05 +01:00
|
|
|
}
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
|
|
|
/* mobile page */
|
2023-03-29 17:08:41 +01:00
|
|
|
@media screen and (max-width: 499px) {
|
2022-08-12 14:36:19 +01:00
|
|
|
.tab {
|
2022-10-09 18:44:00 +01:00
|
|
|
font-size: 0!important;
|
2022-08-12 14:36:19 +01:00
|
|
|
}
|
|
|
|
.tab .emoji {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2023-03-29 17:08:41 +01:00
|
|
|
.checkbox {
|
2023-06-07 16:41:06 +01:00
|
|
|
width: calc(100% - 1.3rem);
|
2023-03-29 17:08:41 +01:00
|
|
|
}
|
2022-08-19 18:54:20 +01:00
|
|
|
}
|
2023-01-29 18:17:33 +00:00
|
|
|
@media screen and (max-width: 720px) {
|
2023-08-04 19:43:12 +01:00
|
|
|
#cobalt-main-box {
|
|
|
|
width: calc(100% - (0.7rem * 2));
|
|
|
|
}
|
2023-03-29 17:08:41 +01:00
|
|
|
#cobalt-main-box #bottom {
|
2023-04-03 17:36:23 +01:00
|
|
|
flex-direction: column-reverse;
|
2023-03-29 17:08:41 +01:00
|
|
|
}
|
2023-04-03 17:36:23 +01:00
|
|
|
#cobalt-main-box #bottom button {
|
|
|
|
width: 100%;
|
2022-09-08 17:02:55 +01:00
|
|
|
}
|
|
|
|
#footer {
|
2023-08-04 19:43:12 +01:00
|
|
|
padding-bottom: calc(env(safe-area-inset-bottom)/2 + 1.5rem);
|
2022-09-08 17:02:55 +01:00
|
|
|
}
|
|
|
|
#footer-buttons {
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
2023-08-04 19:43:12 +01:00
|
|
|
width: 100%;
|
|
|
|
padding: 0 0.7rem;
|
2022-09-08 17:02:55 +01:00
|
|
|
}
|
|
|
|
.footer-pair .footer-button {
|
|
|
|
width: 100%!important;
|
|
|
|
}
|
2023-04-03 17:36:23 +01:00
|
|
|
#logo {
|
2023-01-29 18:17:33 +00:00
|
|
|
width: 100%;
|
2023-04-03 17:36:23 +01:00
|
|
|
height: auto;
|
|
|
|
justify-content: center;
|
2023-01-29 18:17:33 +00:00
|
|
|
}
|
|
|
|
#cobalt-main-box {
|
|
|
|
display: flex;
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
2023-04-03 17:36:23 +01:00
|
|
|
flex-direction: column;
|
|
|
|
gap: var(--gap);
|
2023-01-29 18:17:33 +00:00
|
|
|
}
|
2023-06-07 16:41:06 +01:00
|
|
|
.urgent-notice {
|
2023-08-04 19:43:12 +01:00
|
|
|
padding-top: calc(env(safe-area-inset-bottom)/2 + 1rem);
|
2023-06-07 16:41:06 +01:00
|
|
|
}
|
2023-08-11 16:53:30 +01:00
|
|
|
.popup,
|
2023-09-06 14:37:03 +01:00
|
|
|
#popup-header .glass-bkg,
|
|
|
|
#popup-tabs .glass-bkg,
|
|
|
|
.glass-bkg.small {
|
2023-08-11 16:53:30 +01:00
|
|
|
border-radius: 0;
|
|
|
|
}
|
2023-09-06 14:37:03 +01:00
|
|
|
#popup-tabs .glass-bkg {
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
.switches {
|
|
|
|
overflow-x: scroll;
|
|
|
|
}
|
|
|
|
.checkbox {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2023-08-11 16:53:30 +01:00
|
|
|
.popup.center {
|
|
|
|
top: unset;
|
|
|
|
left: unset;
|
|
|
|
transform: unset;
|
|
|
|
}
|
2023-07-18 20:50:51 +01:00
|
|
|
.popup.small {
|
|
|
|
width: calc(100% - 1.7rem * 2);
|
|
|
|
height: auto;
|
|
|
|
top: unset;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
transform: none;
|
|
|
|
position: absolute;
|
2023-08-04 19:43:12 +01:00
|
|
|
padding-bottom: calc(env(safe-area-inset-bottom)/2 + 1.7rem);
|
2023-08-11 16:53:30 +01:00
|
|
|
transform: translateY(30rem);
|
2023-08-04 19:43:12 +01:00
|
|
|
}
|
2023-09-06 14:37:03 +01:00
|
|
|
.glass-bkg.small {
|
|
|
|
border: none;
|
|
|
|
border-top: var(--accent-highlight) solid 0.15rem;
|
|
|
|
}
|
2023-08-04 19:43:12 +01:00
|
|
|
.popup.small.visible {
|
|
|
|
transform: none;
|
2023-08-11 16:53:30 +01:00
|
|
|
transition: transform 200ms cubic-bezier(0.075, 0.82, 0.165, 1), opacity 130ms ease-in-out;
|
2023-07-18 20:50:51 +01:00
|
|
|
}
|
|
|
|
.popup.small #popup-header {
|
|
|
|
background: none;
|
|
|
|
}
|
2023-08-11 16:53:30 +01:00
|
|
|
.no-animation .popup.small {
|
|
|
|
transition: none;
|
|
|
|
}
|
2023-07-18 20:50:51 +01:00
|
|
|
#close-error {
|
|
|
|
bottom: 3rem;
|
|
|
|
}
|
2023-01-29 18:17:33 +00:00
|
|
|
#picker-holder::-webkit-scrollbar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#picker-holder.various {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 0;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
2023-07-18 20:50:51 +01:00
|
|
|
.popup, .popup.scrollable {
|
2022-07-08 19:17:56 +01:00
|
|
|
border: none;
|
2023-08-04 19:43:12 +01:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2022-07-08 19:17:56 +01:00
|
|
|
max-height: 100%;
|
2023-09-06 14:37:03 +01:00
|
|
|
box-shadow: none;
|
2022-07-08 19:17:56 +01:00
|
|
|
}
|
2023-08-04 19:43:12 +01:00
|
|
|
#popup-tabs {
|
|
|
|
padding-bottom: calc(env(safe-area-inset-bottom)/2 + 1.5rem);
|
|
|
|
}
|
2022-07-24 11:54:05 +01:00
|
|
|
.bottom-link {
|
|
|
|
padding-bottom: 2rem;
|
|
|
|
}
|
2023-08-04 19:43:12 +01:00
|
|
|
.popup-content-inner,
|
|
|
|
.tab-content-settings,
|
|
|
|
.popup-tabs-child,
|
|
|
|
#popup-header-contents {
|
|
|
|
padding-left: 0.7rem;
|
|
|
|
padding-right: 0.7rem;
|
2023-01-15 10:51:37 +00:00
|
|
|
}
|
2022-08-01 16:48:37 +01:00
|
|
|
}
|
2022-09-03 16:32:39 +01:00
|
|
|
@media screen and (max-width: 400px) {
|
|
|
|
.popup-title {
|
|
|
|
line-height: inherit;
|
|
|
|
}
|
|
|
|
}
|