backup with fully working version, only one texture renders
This commit is contained in:
@@ -3268,3 +3268,64 @@ a.deletelink {
|
||||
color: var(--md-sys-color-on-error-container, #7f1d1d);
|
||||
font-size: 0.68rem;
|
||||
}
|
||||
|
||||
/* Full-screen Blockbench preview overlay */
|
||||
.bb-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 5000;
|
||||
background: #121418;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.bb-overlay[hidden] { display: none; }
|
||||
.bb-overlay-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
padding: 0.5rem 1rem;
|
||||
background: #1a1d24;
|
||||
color: #e6e6e6;
|
||||
border-bottom: 1px solid #2a2e38;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
.bb-overlay-title {
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.bb-overlay-close {
|
||||
background: none;
|
||||
border: none;
|
||||
color: #e6e6e6;
|
||||
font-size: 1.25rem;
|
||||
cursor: pointer;
|
||||
padding: 0.25rem 0.6rem;
|
||||
border-radius: 6px;
|
||||
}
|
||||
.bb-overlay-close:hover { background: #2a2e38; }
|
||||
.bb-overlay-status {
|
||||
position: absolute;
|
||||
top: 3.1rem;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
z-index: 10;
|
||||
padding: 0.35rem 0.9rem;
|
||||
border-radius: 999px;
|
||||
background: rgba(0, 0, 0, 0.65);
|
||||
color: #fff;
|
||||
font-size: 0.8rem;
|
||||
pointer-events: none;
|
||||
max-width: 80%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.bb-frame {
|
||||
flex: 1 1 auto;
|
||||
width: 100%;
|
||||
border: none;
|
||||
background: #121418;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user