2.1
New profile icons New profile higher position Updated Column toggle row Fixed text encoding
This commit is contained in:
+200
-9
@@ -442,6 +442,123 @@
|
||||
.cs-vent.grp-felt.on:hover { background: rgba(213,233,226,0.80); color: #0c7d4e; border-color: #0c7d4e; }
|
||||
.cs-vent.grp-surface.on:hover { background: rgba(211,224,238,0.80); color: #1e5aa0; border-color: #1e5aa0; }
|
||||
|
||||
/* ── CUSTOM SELECT - profile card variant ────────────────────────────────
|
||||
Square 80×80px card with scene image area + label strip at bottom.
|
||||
Used for the Places / Activities / Work triggers in the profile bar. */
|
||||
|
||||
.profile-scroll .cs-wrap {
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.cs-btn.profile-card {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
overflow: hidden;
|
||||
border-radius: 3px;
|
||||
gap: 0;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.cs-btn.profile-card .cs-btn-scene {
|
||||
flex: 1;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 22px;
|
||||
line-height: 1;
|
||||
opacity: 0.45;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
.cs-btn.profile-card:hover .cs-btn-scene {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.cs-btn.profile-card.on .cs-btn-scene {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.cs-btn.profile-card .cs-btn-label {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
background: rgba(30,18,8,0.52);
|
||||
color: #fff;
|
||||
padding: 0 14px 0 4px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.cs-btn.profile-card .cs-arrow {
|
||||
position: absolute;
|
||||
right: 6px;
|
||||
bottom: 9px;
|
||||
margin: 0;
|
||||
color: rgba(255,255,255,0.9);
|
||||
}
|
||||
|
||||
.cs-btn.profile-card.on {
|
||||
background: transparent;
|
||||
border-color: #c8922a;
|
||||
}
|
||||
|
||||
.cs-btn.profile-card.on .cs-btn-label {
|
||||
background: rgba(200,146,42,0.82);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.cs-btn.profile-card.on .cs-arrow {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.cs-btn.profile-card:hover {
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
border-color: #c8922a;
|
||||
box-shadow: 0 1px 4px rgba(200,146,42,0.25);
|
||||
}
|
||||
|
||||
.cs-btn.profile-card.on:hover {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.profile-scroll .cs-wrap {
|
||||
height: 68px;
|
||||
}
|
||||
.cs-btn.profile-card {
|
||||
width: 68px;
|
||||
height: 68px;
|
||||
}
|
||||
.cs-btn.profile-card .cs-arrow {
|
||||
bottom: 7px;
|
||||
right: 5px;
|
||||
}
|
||||
.cs-btn.profile-card .cs-btn-scene {
|
||||
font-size: 18px;
|
||||
}
|
||||
.cs-btn.profile-card .cs-btn-label {
|
||||
height: 20px;
|
||||
font-size: 9px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Hover overlay — invisible by default, only activated in specific contexts */
|
||||
.cs-btn-overlay {
|
||||
display: none;
|
||||
@@ -498,6 +615,89 @@
|
||||
right: 0;
|
||||
}
|
||||
|
||||
/* Card-grid panel — wrapping flex grid of scene cards */
|
||||
.cs-panel.cs-panel--cards {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 5px;
|
||||
padding: 6px;
|
||||
min-width: 0;
|
||||
width: max-content;
|
||||
max-width: min(320px, 90vw);
|
||||
white-space: normal;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/* Individual card option */
|
||||
.cs-option.cs-option-card {
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
width: 68px;
|
||||
height: 68px;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
border: 1.5px solid #c9b08a;
|
||||
border-radius: 3px;
|
||||
background: transparent;
|
||||
transition: border-color 0.15s, box-shadow 0.15s;
|
||||
}
|
||||
.cs-option.cs-option-card:hover {
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
border-color: #c8922a;
|
||||
box-shadow: 0 1px 5px rgba(200,146,42,0.3);
|
||||
}
|
||||
.cs-option.cs-option-card.selected {
|
||||
border-color: #c8922a;
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
}
|
||||
.cs-option.cs-option-card.disabled {
|
||||
opacity: 0.55;
|
||||
}
|
||||
.cs-option.cs-option-card.disabled:hover {
|
||||
border-color: #c9b08a;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Scene area (gradient + emoji) */
|
||||
.cs-option-scene {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 18px;
|
||||
line-height: 1;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
/* Label strip at the bottom */
|
||||
.cs-option-label {
|
||||
height: 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-family: Manrope, sans-serif;
|
||||
font-size: 9px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
background: rgba(245,237,214,0.92);
|
||||
border-top: 1px solid rgba(201,176,138,0.4);
|
||||
color: #6b4228;
|
||||
padding: 0 2px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.cs-option.cs-option-card.selected .cs-option-label {
|
||||
background: #c8922a;
|
||||
color: #fff;
|
||||
border-top-color: rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
/* Each option row */
|
||||
.cs-option {
|
||||
display: block;
|
||||
@@ -810,15 +1010,6 @@
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* display-options row - decimal and degree symbol toggles */
|
||||
.display-options {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 14px;
|
||||
padding: 4px 10px 2px;
|
||||
font-size: 12px;
|
||||
color: var(--c-muted, #888);
|
||||
}
|
||||
.display-opt {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user