Unpaint multi-type 发布 wrapper, fix light-menu ink, avatar unread dot clipping, check-in REST double namespace, and user-card VIP/check-in layout.
223 lines
4.3 KiB
CSS
223 lines
4.3 KiB
CSS
/**
|
|
* Header user-box density (check-in / wallet / payvip / signout modal).
|
|
* Light-theme contrast fixes.
|
|
*
|
|
* @package AKSRT
|
|
*/
|
|
|
|
.aksrt-header-wallet {
|
|
display: flex;
|
|
gap: 10px;
|
|
justify-content: space-between;
|
|
padding: 8px 10px;
|
|
border-radius: 8px;
|
|
background: var(--surface-2, rgba(0, 0, 0, 0.04));
|
|
color: var(--color-ink, #222);
|
|
text-decoration: none;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.aksrt-header-wallet__item {
|
|
color: var(--color-ink-2, #444);
|
|
}
|
|
|
|
.aksrt-header-wallet__item b {
|
|
margin-left: 2px;
|
|
color: var(--color-ink, #1a1a1a);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.aksrt-header-wallet__item i {
|
|
margin-right: 2px;
|
|
color: var(--color-ink-3, #666);
|
|
}
|
|
|
|
/* Check-in: readable on light theme */
|
|
.aksrt-header-checkin {
|
|
width: 100%;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
padding: 8px 10px;
|
|
cursor: pointer;
|
|
background: #fff6db;
|
|
color: #8a5a00;
|
|
font-weight: 600;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.aksrt-header-checkin > i {
|
|
margin: 0 !important;
|
|
color: #b78103;
|
|
}
|
|
|
|
.aksrt-header-checkin.is-done {
|
|
opacity: 0.85;
|
|
cursor: default;
|
|
background: #f3f4f6;
|
|
color: #555;
|
|
}
|
|
|
|
.aksrt-header-checkin.is-done > i {
|
|
color: #777;
|
|
}
|
|
|
|
.aksrt-header-checkin-details {
|
|
color: var(--color-ink-3, #666) !important;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.aksrt-header-payvip .payvip-icon,
|
|
.aksrt-header-payvip .but {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
padding: 8px 10px;
|
|
border-radius: 6px;
|
|
background: linear-gradient(90deg, #ff6b6b, #f04494);
|
|
color: #fff;
|
|
}
|
|
|
|
.aksrt-header-payvip .payvip-icon > i,
|
|
.aksrt-header-payvip .but > i {
|
|
margin: 0 !important;
|
|
}
|
|
|
|
/* Active VIP: level on line 1, smaller expiry on line 2 (no orange pill). */
|
|
.aksrt-header-payvip .payvip-icon.aksrt-header-payvip__active,
|
|
.aksrt-header-payvip__active {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 2px;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.aksrt-header-payvip__level {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.aksrt-header-payvip__level > i {
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.aksrt-header-payvip__exp {
|
|
display: block;
|
|
font-size: 0.85em;
|
|
font-weight: 400;
|
|
line-height: 1.3;
|
|
opacity: 0.9;
|
|
background: none !important;
|
|
border: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
color: inherit;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.aksrt-header-badges {
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
}
|
|
|
|
/* User dropdown light-theme text contrast */
|
|
.user-dropdown.sub-user-box,
|
|
.user-dropdown {
|
|
color: var(--color-ink, #222);
|
|
background: var(--main-bg-color, #fff);
|
|
}
|
|
|
|
.user-dropdown__name,
|
|
.user-dropdown__meta,
|
|
.user-dropdown__email,
|
|
.user-dropdown .muted-2-color {
|
|
color: var(--color-ink-2, #555) !important;
|
|
}
|
|
|
|
.user-dropdown__email {
|
|
opacity: 1;
|
|
}
|
|
|
|
.user-dropdown__action,
|
|
.user-dropdown__action span {
|
|
color: var(--color-ink, #222);
|
|
}
|
|
|
|
#modal_signout.modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1100;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(0, 0, 0, 0.45);
|
|
padding: 16px;
|
|
}
|
|
|
|
#modal_signout.modal.is-open,
|
|
#modal_signout.modal.show {
|
|
display: flex;
|
|
}
|
|
|
|
#modal_signout .modal-content {
|
|
background: var(--main-bg-color, #fff);
|
|
border-radius: 10px;
|
|
min-width: 280px;
|
|
max-width: 92vw;
|
|
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
|
|
color: var(--color-ink, #222);
|
|
}
|
|
|
|
#modal_signout .but.c-red {
|
|
background: #e74c3c;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
padding: 8px 14px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
#modal_signout .but {
|
|
border: 0;
|
|
background: var(--surface-2, #f0f0f0);
|
|
color: var(--color-ink, #222);
|
|
padding: 8px 14px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.user-dropdown .social_loginbar {
|
|
padding: 0 10px 12px;
|
|
}
|
|
|
|
/* Dark theme overrides */
|
|
html.dark .aksrt-header-checkin,
|
|
body.dark-theme .aksrt-header-checkin,
|
|
body.theme-dark .aksrt-header-checkin {
|
|
background: rgba(255, 193, 7, 0.18);
|
|
color: #f0c14b;
|
|
}
|
|
|
|
html.dark .aksrt-header-wallet,
|
|
body.dark-theme .aksrt-header-wallet,
|
|
body.theme-dark .aksrt-header-wallet {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: inherit;
|
|
}
|
|
|
|
html.dark .aksrt-header-wallet__item,
|
|
html.dark .aksrt-header-wallet__item b,
|
|
body.dark-theme .aksrt-header-wallet__item,
|
|
body.dark-theme .aksrt-header-wallet__item b {
|
|
color: inherit;
|
|
}
|