fix(ui): float VIP duplicates, hover cards, UC menu and light-theme contrast
This commit is contained in:
1 parent
f9b495eb14
commit
56434a9255
8 files changed
+388
-108
No files matched your search
@@ -1,5 +1,6 @@
|
||||
/**
|
||||
* Header user-box density (check-in / wallet / payvip / signout modal).
|
||||
* Light-theme contrast fixes.
|
||||
*
|
||||
* @package AKSRT
|
||||
*/
|
||||
@@ -11,33 +12,69 @@
|
||||
padding: 8px 10px;
|
||||
border-radius: 8px;
|
||||
background: var(--surface-2, rgba(0, 0, 0, 0.04));
|
||||
color: inherit;
|
||||
color: var(--color-ink, #222);
|
||||
text-decoration: none;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.aksrt-header-wallet__item b {
|
||||
margin-left: 2px;
|
||||
.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: rgba(255, 193, 7, 0.18);
|
||||
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.75;
|
||||
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: block;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 6px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
padding: 8px 10px;
|
||||
@@ -46,11 +83,39 @@
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.aksrt-header-payvip .payvip-icon > i,
|
||||
.aksrt-header-payvip .but > i {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.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;
|
||||
@@ -73,6 +138,7 @@
|
||||
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 {
|
||||
@@ -86,6 +152,7 @@
|
||||
#modal_signout .but {
|
||||
border: 0;
|
||||
background: var(--surface-2, #f0f0f0);
|
||||
color: var(--color-ink, #222);
|
||||
padding: 8px 14px;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
@@ -94,3 +161,25 @@
|
||||
.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;
|
||||
}
|
||||
Reference in new issue
Block a user