mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-16 05:09:57 +00:00
7f533b3485
- added support for retweet links - updated spaces endpoint - bumped up the user agent version - new clipboard icon - new clipboard + auto mode layout on mobile, less wasted space - fixed button press animations for safari on mobile - tons of localization improvements for english and russian - bumped up youtubei.js to 4.1.0
840 lines
17 KiB
CSS
840 lines
17 KiB
CSS
:root {
|
|
--transparent: rgba(0, 0, 0, 0);
|
|
--without-padding: calc(100% - 4rem);
|
|
--border-15: 0.15rem solid var(--accent);
|
|
--border-10: 0.1rem solid var(--accent);
|
|
--font-mono: 'Noto Sans Mono', 'Consolas', 'SF Mono', monospace;
|
|
--red: rgb(255, 0, 61);
|
|
--padding-1: 0.75rem;
|
|
--line-height: 1.65rem;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--accent: rgb(225, 225, 225);
|
|
--accent-hover: rgb(25, 25, 25);
|
|
--accent-button-bg: rgb(20, 20, 20);
|
|
--accent-press: rgb(10, 10, 10);
|
|
--accent-unhover: rgb(100, 100, 100);
|
|
--accent-unhover-2: rgb(110, 110, 110);
|
|
--background: rgb(0, 0, 0);
|
|
}
|
|
}
|
|
@media (prefers-color-scheme: light) {
|
|
:root {
|
|
--accent: rgb(25, 25, 25);
|
|
--accent-hover: rgb(225, 225, 225);
|
|
--accent-button-bg: rgb(230, 230, 230);
|
|
--accent-press: rgb(240, 240, 240);
|
|
--accent-unhover: rgb(190, 190, 190);
|
|
--accent-unhover-2: rgb(110, 110, 110);
|
|
--background: rgb(255, 255, 255);
|
|
}
|
|
}
|
|
[data-theme="dark"] {
|
|
--accent: rgb(225, 225, 225);
|
|
--accent-hover: rgb(25, 25, 25);
|
|
--accent-button-bg: rgb(20, 20, 20);
|
|
--accent-press: rgb(10, 10, 10);
|
|
--accent-unhover: rgb(100, 100, 100);
|
|
--accent-unhover-2: rgb(110, 110, 110);
|
|
--background: rgb(0, 0, 0);
|
|
}
|
|
[data-theme="light"] {
|
|
--accent: rgb(25, 25, 25);
|
|
--accent-hover: rgb(225, 225, 225);
|
|
--accent-button-bg: rgb(230, 230, 230);
|
|
--accent-press: rgb(240, 240, 240);
|
|
--accent-unhover: rgb(190, 190, 190);
|
|
--accent-unhover-2: rgb(110, 110, 110);
|
|
--background: rgb(255, 255, 255);
|
|
}
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
background: var(--background);
|
|
color: var(--accent);
|
|
font-family: var(--font-mono);
|
|
user-select: none;
|
|
-webkit-tap-highlight-color: var(--transparent);
|
|
overflow: hidden;
|
|
-ms-overflow-style: none;
|
|
scrollbar-width: none;
|
|
}
|
|
a {
|
|
color: var(--accent);
|
|
text-decoration: none;
|
|
user-select: none;
|
|
}
|
|
::placeholder {
|
|
color: var(--accent-unhover-2);
|
|
}
|
|
.switches::-webkit-scrollbar, #popup-content::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
:focus-visible {
|
|
outline: var(--border-15);
|
|
}
|
|
[type="checkbox"] {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
margin-right: var(--padding-1);
|
|
z-index: 0;
|
|
border: 0;
|
|
height: 15px;
|
|
width: 15px;
|
|
}
|
|
[type="checkbox"]::before {
|
|
content: "";
|
|
width: 15px;
|
|
height: 15px;
|
|
border: var(--border-15);
|
|
background-color: var(--accent-button-bg);
|
|
display: block;
|
|
z-index: 5;
|
|
position: relative;
|
|
}
|
|
[type="checkbox"]:checked::before {
|
|
box-shadow: inset 0 0 0 0.14rem var(--accent-button-bg);
|
|
background-color: var(--accent);
|
|
}
|
|
.checkbox span {
|
|
margin-top: 0.21rem;
|
|
margin-left: 0.4rem;
|
|
}
|
|
button {
|
|
background: none;
|
|
border: none;
|
|
font-family: var(--font-mono);
|
|
color: var(--accent);
|
|
font-size: 0.9rem;
|
|
}
|
|
input,
|
|
input[type="text"],
|
|
[type="text"] {
|
|
border-radius: 0;
|
|
}
|
|
button:hover,
|
|
.switch:hover,
|
|
.checkbox:hover,
|
|
.text-to-copy:hover,
|
|
.collapse-header:hover {
|
|
background: var(--accent-hover);
|
|
cursor: pointer;
|
|
}
|
|
button:active,
|
|
.switch:active,
|
|
.checkbox:active,
|
|
.text-to-copy:active {
|
|
background: var(--accent-press);
|
|
cursor: pointer;
|
|
transform: scale(0.95)
|
|
}
|
|
.collapse-header:active {
|
|
background: var(--accent-press);
|
|
cursor: pointer;
|
|
}
|
|
.switch.text-backdrop:hover,
|
|
.switch.text-backdrop:active,
|
|
.text-to-copy.text-backdrop:hover,
|
|
.text-to-copy.text-backdrop:active {
|
|
background: var(--accent);
|
|
color: var(--background);
|
|
}
|
|
.picker-image:active {
|
|
cursor: pointer;
|
|
transform: scale(0.95)
|
|
}
|
|
input[type="checkbox"] {
|
|
cursor: pointer;
|
|
}
|
|
.button {
|
|
background: none;
|
|
border: var(--border-15);
|
|
color: var(--accent);
|
|
padding: 0.3rem 0.75rem 0.5rem;
|
|
font-size: 1rem;
|
|
}
|
|
.mono {
|
|
font-family: var(--font-mono);
|
|
}
|
|
.center {
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
#cobalt-main-box {
|
|
position: fixed;
|
|
width: 60%;
|
|
height: auto;
|
|
display: inline-flex;
|
|
}
|
|
#logo-area {
|
|
padding-right: 3rem;
|
|
padding-top: 0.1rem;
|
|
text-align: left;
|
|
font-size: 1rem;
|
|
white-space: nowrap;
|
|
}
|
|
#download-area {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
}
|
|
#cobalt-main-box #top {
|
|
display: inline-flex;
|
|
height: 2rem;
|
|
margin-top: -0.6rem;
|
|
flex-direction: row;
|
|
}
|
|
#cobalt-main-box #bottom {
|
|
padding-top: 1.5rem;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
}
|
|
.box {
|
|
background: var(--background);
|
|
border: var(--border-15);
|
|
color: var(--accent);
|
|
}
|
|
#url-input-area {
|
|
background: var(--background);
|
|
padding: 1.2rem 1rem;
|
|
width: 100%;
|
|
color: var(--accent);
|
|
border: 0;
|
|
float: right;
|
|
border-bottom: 0.1rem solid var(--accent-unhover);
|
|
outline: none;
|
|
font-size: 0.8rem;
|
|
}
|
|
#url-clear {
|
|
background: none;
|
|
padding: 0 1.1rem;
|
|
font-size: 1rem;
|
|
transform: none;
|
|
line-height: 0;
|
|
height: 1.6rem;
|
|
margin-top: .4rem;
|
|
}
|
|
#url-input-area:focus {
|
|
outline: none;
|
|
border-bottom: var(--border-10);
|
|
}
|
|
#download-button {
|
|
height: 2.5rem;
|
|
color: var(--accent);
|
|
background: none;
|
|
border: none;
|
|
font-size: 1.6rem;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
letter-spacing: -0.36rem;
|
|
}
|
|
#download-button:disabled {
|
|
color: var(--accent-unhover);
|
|
cursor: not-allowed;
|
|
}
|
|
#footer {
|
|
bottom: 0.8rem;
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
font-size: 0.9rem;
|
|
text-align: center;
|
|
width: auto;
|
|
}
|
|
#cobalt-main-box #bottom,
|
|
#footer-buttons,
|
|
#footer-buttons, .footer-pair {
|
|
gap: 0.6rem;
|
|
}
|
|
#footer-buttons, .footer-pair {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
.footer-button {
|
|
width: auto!important;
|
|
color: var(--accent-unhover-2);
|
|
padding: 0.6rem 1.2rem!important;
|
|
align-content: center;
|
|
}
|
|
.notification-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
background: var(--red);
|
|
margin-right: 0.4rem;
|
|
border-radius: 99rem;
|
|
}
|
|
.text-backdrop {
|
|
background: var(--accent);
|
|
color: var(--background);
|
|
}
|
|
.italic {
|
|
font-style: italic;
|
|
}
|
|
.cobalt-support-link {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-start;
|
|
gap: 0.3rem;
|
|
margin-top: 0.5rem;
|
|
user-select: none;
|
|
}
|
|
::-moz-selection {
|
|
background-color: var(--accent);
|
|
color: var(--background);
|
|
}
|
|
::selection {
|
|
background-color: var(--accent);
|
|
color: var(--background);
|
|
}
|
|
.popup {
|
|
visibility: hidden;
|
|
position: fixed;
|
|
height: auto;
|
|
width: 32%;
|
|
z-index: 999;
|
|
padding: 2rem;
|
|
font-size: 0.9rem;
|
|
max-height: 85%;
|
|
}
|
|
.popup.small {
|
|
width: 20%
|
|
}
|
|
#popup-backdrop {
|
|
opacity: 0.5;
|
|
background-color: var(--background);
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 998;
|
|
}
|
|
.popup.scrollable {
|
|
height: 85%;
|
|
}
|
|
.scrollable .bottom-link {
|
|
padding-bottom: 2rem;
|
|
}
|
|
.changelog-subtitle {
|
|
font-size: 1.1rem;
|
|
padding-bottom: 0.7rem;
|
|
}
|
|
.changelog-banner {
|
|
width: 100%;
|
|
background-color: var(--accent-button-bg);
|
|
max-height: 300px;
|
|
margin-bottom: 1.65rem;
|
|
float: left;
|
|
}
|
|
.changelog-img {
|
|
object-fit: cover;
|
|
width: inherit;
|
|
height: inherit;
|
|
max-height: inherit;
|
|
}
|
|
.nowrap {
|
|
white-space: nowrap;
|
|
}
|
|
.no-top-padding {
|
|
padding-top: 0!important;
|
|
}
|
|
.desc-padding {
|
|
padding-bottom: 1.5rem;
|
|
}
|
|
#popup-subtitle {
|
|
font-size: 1.1rem;
|
|
padding-bottom: var(--padding-1);
|
|
}
|
|
#popup-desc,
|
|
#desc-error,
|
|
#popup-info-desc {
|
|
width: 100%;
|
|
text-align: left;
|
|
float: left;
|
|
line-height: var(--line-height);
|
|
user-select: text;
|
|
}
|
|
#popup-title {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 0.5rem;
|
|
line-height: 1.85em;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
#popup-footer {
|
|
bottom: 0;
|
|
position: fixed;
|
|
margin-bottom: 1.5rem;
|
|
background: var(--background);
|
|
width: var(--without-padding);
|
|
}
|
|
.popup-footer-content {
|
|
font-size: 0.8rem;
|
|
line-height: var(--line-height);
|
|
color: var(--accent-unhover-2);
|
|
border-top: 0.05rem solid var(--accent-unhover-2);
|
|
padding-top: 0.4rem;
|
|
}
|
|
#popup-above-title {
|
|
color: var(--accent-unhover-2);
|
|
font-size: 0.8rem;
|
|
}
|
|
#popup-content {
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
height: var(--without-padding);
|
|
scrollbar-width: none;
|
|
}
|
|
.bullpadding {
|
|
padding-left: 0.58rem;
|
|
}
|
|
#popup-header {
|
|
position: relative;
|
|
background: var(--background);
|
|
z-index: 999;
|
|
padding-top: 0.8rem;
|
|
}
|
|
#popup-content.with-footer {
|
|
margin-bottom: 3rem;
|
|
}
|
|
.settings-category {
|
|
padding-bottom: 1rem;
|
|
}
|
|
.separator {
|
|
float: left;
|
|
}
|
|
.separator,
|
|
.category-title {
|
|
width: 100%;
|
|
color: var(--accent-unhover-2);
|
|
border-bottom: 0.05rem solid var(--accent-unhover-2);
|
|
padding-bottom: 0.25rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.category-title {
|
|
text-align: left;
|
|
line-height: var(--line-height);
|
|
}
|
|
.bottom-margin {
|
|
margin-bottom: var(--padding-1)!important;
|
|
}
|
|
.top-margin {
|
|
margin-top: var(--padding-1)!important;
|
|
}
|
|
.top-margin-only {
|
|
margin-top: var(--padding-1)!important;
|
|
margin-bottom: 0!important;
|
|
}
|
|
.no-margin {
|
|
margin: 0!important;
|
|
}
|
|
.checkbox {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
padding: 0.55rem 1rem 0.8rem 0.7rem;
|
|
width: auto;
|
|
margin-right: var(--padding-1);
|
|
margin-bottom: var(--padding-1);
|
|
background: var(--accent-button-bg);
|
|
}
|
|
.checkbox-label {
|
|
line-height: 1.3rem;
|
|
}
|
|
.switch-container {
|
|
width: 100%;
|
|
}
|
|
.subtitle {
|
|
width: 100%;
|
|
text-align: left;
|
|
line-height: var(--line-height);
|
|
padding-bottom: 0.4rem;
|
|
color: var(--accent);
|
|
}
|
|
.small-padding .subtitle {
|
|
margin-top: 0.5rem;
|
|
}
|
|
.explanation {
|
|
margin-top: 1rem;
|
|
width: 100%;
|
|
font-size: 0.8rem;
|
|
text-align: left;
|
|
line-height: 1.3rem!important;
|
|
color: var(--accent-unhover-2);
|
|
}
|
|
.subtext {
|
|
color: var(--accent-unhover-2);
|
|
}
|
|
.switch {
|
|
padding: 0.7rem;
|
|
width: 100%;
|
|
text-align: center;
|
|
color: var(--accent);
|
|
background: var(--accent-button-bg);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
}
|
|
.switch.space-right {
|
|
margin-right: var(--padding-1);
|
|
}
|
|
.switch[data-enabled="true"] {
|
|
color: var(--background);
|
|
background: var(--accent);
|
|
cursor: default;
|
|
z-index: 999
|
|
}
|
|
.switches {
|
|
display: flex;
|
|
width: auto;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
overflow-x: scroll;
|
|
scrollbar-width: none;
|
|
}
|
|
.autowidth {
|
|
width: auto;
|
|
}
|
|
.bottom-space {
|
|
margin-bottom: 2rem;
|
|
}
|
|
.text-to-copy {
|
|
user-select: text;
|
|
border: var(--border-15);
|
|
padding: var(--padding-1);
|
|
overflow: auto;
|
|
}
|
|
#close-button {
|
|
max-width: 2.8rem;
|
|
margin-left: var(--padding-1);
|
|
background: var(--background);
|
|
border: var(--border-15);
|
|
color: var(--accent);
|
|
padding: 0.3rem 0.75rem 0.5rem;
|
|
}
|
|
#close-button.up {
|
|
float: right;
|
|
position: absolute;
|
|
right: 0;
|
|
height: 2.8rem;
|
|
}
|
|
.popup-tab-content {
|
|
display: none;
|
|
}
|
|
#popup-tabs {
|
|
z-index: 999;
|
|
bottom: 0;
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
.popup-tabs {
|
|
margin-top: 0.8rem;
|
|
}
|
|
.emoji {
|
|
margin-right: 0.4rem;
|
|
user-select: none;
|
|
}
|
|
.picker-image {
|
|
object-fit: cover;
|
|
width: inherit;
|
|
height: inherit;
|
|
}
|
|
.picker-image-container {
|
|
width: 8rem;
|
|
height: 8rem;
|
|
margin-bottom: var(--padding-1);
|
|
background-color: var(--accent-button-bg);
|
|
}
|
|
.picker-various-container {
|
|
height: 20rem;
|
|
width: 25rem;
|
|
margin-bottom: var(--padding-1);
|
|
background-color: var(--accent-button-bg);
|
|
position: relative;
|
|
}
|
|
#picker-holder {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
align-content: space-around;
|
|
}
|
|
#picker-holder.various {
|
|
justify-content: left;
|
|
flex-wrap: unset;
|
|
overflow-x: scroll;
|
|
gap: 2rem;
|
|
}
|
|
.imageBlock {
|
|
height: 100%;
|
|
width: 100%;
|
|
position: absolute;
|
|
z-index: 9999;
|
|
}
|
|
.picker-element-name {
|
|
position: absolute;
|
|
background: var(--background);
|
|
color: var(--accent);
|
|
padding: 0.3rem 0.6rem;
|
|
font-size: 0.8rem;
|
|
opacity: 0.7;
|
|
margin: 0.4rem;
|
|
}
|
|
#popup-picker .explanation {
|
|
margin-top: 0!important;
|
|
margin-bottom: var(--padding-1);
|
|
}
|
|
#cobalt-main-box #bottom button {
|
|
width: auto;
|
|
padding: 0.6rem 1.2rem;
|
|
}
|
|
.collapse-list {
|
|
background: var(--accent-press);
|
|
user-select: none;
|
|
}
|
|
.collapse-header {
|
|
padding: var(--padding-1);
|
|
font-size: 1rem;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
background: var(--accent-button-bg);
|
|
}
|
|
.collapse-indicator {
|
|
transform: rotate(180deg);
|
|
}
|
|
.expanded .collapse-indicator {
|
|
transform: none;
|
|
}
|
|
.collapse-title {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 0.8rem;
|
|
}
|
|
.collapse-body {
|
|
display: none;
|
|
padding: var(--padding-1);
|
|
user-select: text;
|
|
}
|
|
.expanded .collapse-body {
|
|
display: block
|
|
}
|
|
/* adapt the page according to screen size */
|
|
@media screen and (min-width: 2300px) {
|
|
html {
|
|
zoom: 130%;
|
|
}
|
|
}
|
|
@media screen and (min-width: 3840px) {
|
|
html {
|
|
zoom: 180%;
|
|
}
|
|
}
|
|
@media screen and (min-width: 5000px) {
|
|
html {
|
|
zoom: 300%;
|
|
}
|
|
}
|
|
@media screen and (max-width: 1550px) {
|
|
.popup.small {
|
|
width: 25%
|
|
}
|
|
.popup {
|
|
width: 35%;
|
|
}
|
|
}
|
|
@media screen and (max-width: 1440px) {
|
|
#cobalt-main-box {
|
|
width: 65%;
|
|
}
|
|
.popup.small {
|
|
width: 30%
|
|
}
|
|
.popup {
|
|
width: 40%;
|
|
}
|
|
}
|
|
@media screen and (max-width: 1300px) {
|
|
.popup {
|
|
width: 46%;
|
|
}
|
|
}
|
|
@media screen and (max-width: 1200px) {
|
|
#cobalt-main-box {
|
|
width: 70%;
|
|
}
|
|
.popup.small {
|
|
width: 35%
|
|
}
|
|
.popup {
|
|
width: 50%;
|
|
}
|
|
}
|
|
@media screen and (max-width: 1025px) {
|
|
#cobalt-main-box {
|
|
width: 75%;
|
|
}
|
|
.popup.small {
|
|
width: 40%
|
|
}
|
|
.popup {
|
|
width: 60%;
|
|
}
|
|
}
|
|
@media screen and (max-height: 605px) {
|
|
.popup {
|
|
height: 80%
|
|
}
|
|
.popup.small {
|
|
height: auto;
|
|
}
|
|
.bottom-link {
|
|
padding-bottom: 2rem;
|
|
}
|
|
}
|
|
/* mobile page */
|
|
@media screen and (max-width: 720px) {
|
|
#cobalt-main-box, #footer {
|
|
width: 90%;
|
|
}
|
|
}
|
|
@media screen and (max-width: 475px) {
|
|
.tab {
|
|
font-size: 0!important;
|
|
}
|
|
.tab .emoji {
|
|
margin-right: 0;
|
|
}
|
|
#cobalt-main-box, #footer {
|
|
width: 90%;
|
|
}
|
|
}
|
|
@media screen and (max-width: 320px) {
|
|
#popup-title {
|
|
font-size: 1.3rem;
|
|
line-height: 2rem;
|
|
}
|
|
.footer-button {
|
|
font-size: 0!important;
|
|
}
|
|
.switch, .checkbox, .category-title, .subtitle, #popup-desc {
|
|
font-size: .75rem;
|
|
}
|
|
.explanation {
|
|
font-size: .77rem;
|
|
margin-top: 0.8rem;
|
|
}
|
|
#popup-desc {
|
|
line-height: 1.4rem;
|
|
}
|
|
.changelog-subtitle, #popup-subtitle {
|
|
font-size: 0.9rem!important;
|
|
}
|
|
.category-title {
|
|
margin-bottom: 0.8rem;
|
|
}
|
|
.footer-button .emoji {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
@media screen and (max-width: 720px) {
|
|
#cobalt-main-box #bottom button {
|
|
width: 100%;
|
|
}
|
|
#pasteFromClipboard .emoji {
|
|
margin-right: 0;
|
|
}
|
|
#pasteFromClipboard {
|
|
width: 20%!important;
|
|
min-width: 15%;
|
|
font-size: 0;
|
|
}
|
|
#footer {
|
|
bottom: 4%;
|
|
transform: translate(-50%, 0%);
|
|
}
|
|
#footer-buttons {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
.footer-pair .footer-button {
|
|
width: 100%!important;
|
|
}
|
|
#logo-area {
|
|
padding-right: 0;
|
|
padding-top: 0;
|
|
position: fixed;
|
|
line-height: 0;
|
|
margin-top: -2rem;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
#cobalt-main-box {
|
|
display: flex;
|
|
border: none;
|
|
padding: 0;
|
|
}
|
|
}
|
|
@media screen and (max-width: 949px) {
|
|
#picker-holder::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
#picker-holder.various {
|
|
flex-wrap: wrap;
|
|
align-content: left;
|
|
gap: 0;
|
|
overflow-x: hidden;
|
|
overflow-y: scroll;
|
|
}
|
|
.picker-various-container {
|
|
width: 100%;
|
|
height: 20rem;
|
|
max-width: 100%;
|
|
}
|
|
#popup-header {
|
|
padding-top: 1.2rem;
|
|
}
|
|
#popup-settings #popup-header {
|
|
padding-top: 0.8rem;
|
|
}
|
|
.picker-image-container {
|
|
height: 7rem;
|
|
width: 7rem;
|
|
line-height: 7rem;
|
|
}
|
|
#close-error {
|
|
bottom: 3rem;
|
|
position: absolute;
|
|
width: var(--without-padding);
|
|
}
|
|
.popup, .popup.scrollable, .popup.small {
|
|
border: none;
|
|
width: 90%;
|
|
height: 95%;
|
|
max-height: 100%;
|
|
}
|
|
.bottom-link {
|
|
padding-bottom: 2rem;
|
|
}
|
|
.popup-tabs {
|
|
margin-top: .3rem;
|
|
}
|
|
}
|
|
@media screen and (max-width: 400px) {
|
|
.popup-title {
|
|
line-height: inherit;
|
|
}
|
|
.picker-image-container {
|
|
line-height: 6rem;
|
|
height: 6rem;
|
|
width: 6rem;
|
|
}
|
|
} |