Align hoster upload settings and move descriptions into info tooltips
This commit is contained in:
1 parent
c6699c8651
commit
9348a15f6b
3 files changed
+113
-43
No files matched your search
@@ -1609,6 +1609,98 @@ select.hs-input { max-width: none; width: auto; min-width: 140px; }
|
||||
.account-hoster-settings-header:hover { background: var(--bg-card-hover); color: var(--text); }
|
||||
.account-hoster-settings-header .panel-arrow { font-size: 10px; color: var(--text-dim); }
|
||||
.account-hoster-settings-body-inner { padding: 4px 12px 10px; }
|
||||
.hoster-settings-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 8px 12px;
|
||||
padding: 8px 12px 12px;
|
||||
}
|
||||
.hoster-setting-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 120px;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
min-height: 54px;
|
||||
padding: 7px 12px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
}
|
||||
.hoster-setting-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
min-width: 0;
|
||||
}
|
||||
.hoster-setting-label label {
|
||||
color: var(--text);
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
line-height: 1.35;
|
||||
}
|
||||
.hoster-setting-row > .hs-input[type="number"] {
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
min-height: 38px;
|
||||
}
|
||||
.hoster-setting-row > input[type="checkbox"] {
|
||||
justify-self: end;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin: 0;
|
||||
}
|
||||
@media (max-width: 960px) {
|
||||
.hoster-settings-grid { grid-template-columns: minmax(0, 1fr); }
|
||||
}
|
||||
.info-tip {
|
||||
display: inline-grid;
|
||||
place-items: center;
|
||||
flex: 0 0 22px;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: 50%;
|
||||
background: transparent;
|
||||
color: var(--text-dim);
|
||||
cursor: help;
|
||||
}
|
||||
.info-tip:hover,
|
||||
.info-tip[aria-describedby] {
|
||||
color: var(--text);
|
||||
}
|
||||
.info-tip svg {
|
||||
width: 17px;
|
||||
height: 17px;
|
||||
fill: none;
|
||||
stroke: currentColor;
|
||||
stroke-width: 1.8;
|
||||
stroke-linecap: round;
|
||||
}
|
||||
.info-tooltip {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 3000;
|
||||
width: max-content;
|
||||
max-width: min(340px, calc(100vw - 24px));
|
||||
padding: 10px 12px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 7px;
|
||||
background: var(--bg-raised);
|
||||
color: var(--text);
|
||||
box-shadow: var(--shadow-lg);
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
line-height: 1.45;
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
transform: translateY(-3px);
|
||||
transition: opacity .14s ease, transform .14s ease;
|
||||
}
|
||||
.info-tooltip.is-visible {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.settings-hoster-pointer {
|
||||
margin-top: 12px;
|
||||
|
||||
Reference in new issue
Block a user