Use Bootstrap Icons in clip menu

This commit is contained in:
Codex
2026-04-22 08:31:25 -05:00
parent ec73156966
commit 0a13aedbef
5 changed files with 387 additions and 145 deletions

View File

@@ -43,6 +43,8 @@ select {
.shell {
min-height: 100vh;
position: relative;
isolation: isolate;
}
.operator-page {
@@ -117,10 +119,15 @@ select {
padding: 0;
}
.clip-list-add-button svg {
width: 1.2rem;
height: 1.2rem;
fill: currentColor;
.bootstrap-icon {
display: inline-block;
line-height: 1;
font-size: 1rem;
font-style: normal;
}
.clip-list-add-button .bootstrap-icon {
font-size: 1.2rem;
}
.walkup-modal-backdrop {
@@ -132,7 +139,7 @@ select {
padding: 1rem;
background: rgba(11, 18, 28, 0.76);
backdrop-filter: blur(10px);
z-index: 3000;
z-index: 10000;
}
.walkup-modal {
@@ -140,7 +147,7 @@ select {
max-height: 92vh;
overflow: auto;
position: relative;
z-index: 3001;
z-index: 10001;
}
.walkup-modal-header {
@@ -247,6 +254,16 @@ select {
backdrop-filter: blur(12px);
}
.walkup-library-panel {
position: relative;
z-index: 2;
}
.walkup-library-panel + .panel {
position: relative;
z-index: 1;
}
.panel h2,
.panel h3 {
margin-top: 0;
@@ -280,7 +297,10 @@ select {
.clip-summary-title-row {
flex: 1 1 auto;
min-width: 0;
display: block;
display: flex;
align-items: center;
gap: 0.45rem;
flex-wrap: wrap;
line-height: 1.15;
}
@@ -331,11 +351,8 @@ select {
overflow: visible;
}
.icon-button-menu svg {
width: 1rem;
height: 1rem;
display: block;
fill: currentColor;
.icon-button-menu .bootstrap-icon {
font-size: 1rem;
}
.operator-panel-header {
@@ -363,7 +380,7 @@ select {
position: absolute;
top: calc(100% + 0.4rem);
right: 0;
z-index: 10;
z-index: 11000;
min-width: 8.5rem;
padding: 0.35rem;
border: 1px solid var(--panel-border);
@@ -403,12 +420,9 @@ select {
outline-offset: 2px;
}
.icon-button svg {
width: 1em;
height: 1em;
.icon-button .bootstrap-icon {
font-size: 1em;
vertical-align: -0.125em;
fill: currentColor;
display: block;
}
.icon-button {
@@ -438,7 +452,7 @@ select {
position: absolute;
top: calc(100% + 0.45rem);
right: 0;
z-index: 10;
z-index: 11000;
min-width: 12rem;
padding: 0.45rem;
border: 1px solid var(--panel-border);
@@ -449,6 +463,11 @@ select {
gap: 0.35rem;
}
.clip-summary-menu.is-up {
top: auto;
bottom: calc(100% + 0.45rem);
}
.clip-summary-menu-item {
width: 100%;
border: 0;
@@ -462,6 +481,20 @@ select {
gap: 0.45rem;
}
.clip-summary-menu-action {
width: 100%;
justify-content: flex-start;
}
.clip-summary-menu-action .clip-summary-menu-icon {
color: inherit;
}
.clip-summary-menu-item.is-active {
background: rgba(217, 79, 4, 0.08);
color: var(--accent);
}
.clip-summary-menu-icon {
display: inline-flex;
align-items: center;
@@ -471,12 +504,9 @@ select {
flex: 0 0 auto;
}
.clip-summary-menu-icon svg {
width: 1em;
height: 1em;
.clip-summary-menu-icon .bootstrap-icon {
font-size: 1em;
vertical-align: -0.125em;
fill: currentColor;
display: block;
}
.clip-summary-menu-label {
@@ -487,6 +517,65 @@ select {
overflow-wrap: anywhere;
}
.clip-details-stats {
display: flex;
align-items: center;
gap: 0.65rem;
flex-wrap: wrap;
}
.clip-details-actions {
display: flex;
align-items: center;
gap: 0.65rem;
flex-wrap: wrap;
}
.clip-details-actions .btn {
display: inline-flex;
align-items: center;
gap: 0.45rem;
}
.clip-details-game-list,
.clip-pin-game-list {
display: grid;
gap: 0.5rem;
}
.clip-details-game-row,
.clip-pin-game-row {
width: 100%;
border: 1px solid var(--line);
border-radius: 0.75rem;
background: rgba(255, 255, 255, 0.74);
padding: 0.75rem 0.85rem;
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
}
.clip-pin-game-row {
text-align: left;
}
.clip-pin-game-row.is-active {
border-color: rgba(217, 79, 4, 0.32);
background: rgba(217, 79, 4, 0.08);
}
.clip-pin-game-copy {
display: grid;
gap: 0.18rem;
min-width: 0;
}
.clip-pin-game-row .pill.is-active {
background: rgba(217, 79, 4, 0.12);
color: var(--accent);
}
.icon-button {
min-width: 2.1rem;
padding-inline: 0.5rem;