1983 lines
42 KiB
CSS
1983 lines
42 KiB
CSS
.react-flow.capture-mode
|
|
.react-flow__node:not(.react-flow__node-image)
|
|
.node-shell:after {
|
|
content: "";
|
|
-webkit-backdrop-filter: blur(4px);
|
|
backdrop-filter: blur(4px);
|
|
z-index: 50;
|
|
pointer-events: none;
|
|
background-color: #0000004d;
|
|
border-radius: 0.75rem;
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
.react-flow.capture-mode
|
|
.react-flow__node:not(.react-flow__node-image):not(:has(.node-shell)):after {
|
|
content: "";
|
|
-webkit-backdrop-filter: blur(4px);
|
|
backdrop-filter: blur(4px);
|
|
z-index: 50;
|
|
pointer-events: none;
|
|
background-color: #0000004d;
|
|
border-radius: 0.75rem;
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
.react-flow.capture-mode .react-flow__node:not(.react-flow__node-image),
|
|
.react-flow.capture-mode .react-flow__node:not(.react-flow__node-image) * {
|
|
pointer-events: none !important;
|
|
}
|
|
.react-flow.capture-mode .react-flow__node-image {
|
|
pointer-events: auto !important;
|
|
cursor: pointer !important;
|
|
}
|
|
.react-flow.capture-mode .react-flow__edges,
|
|
.react-flow.capture-mode .react-flow__edge,
|
|
.react-flow.capture-mode .react-flow__edge * {
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.react-flow.mark-mode
|
|
.react-flow__node:not(.react-flow__node-image)
|
|
.node-shell:after {
|
|
content: "";
|
|
-webkit-backdrop-filter: blur(4px);
|
|
backdrop-filter: blur(4px);
|
|
z-index: 50;
|
|
pointer-events: none;
|
|
background-color: #0000004d;
|
|
border-radius: 0.75rem;
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
.react-flow.mark-mode
|
|
.react-flow__node:not(.react-flow__node-image):not(:has(.node-shell)):after {
|
|
content: "";
|
|
-webkit-backdrop-filter: blur(4px);
|
|
backdrop-filter: blur(4px);
|
|
z-index: 50;
|
|
pointer-events: none;
|
|
background-color: #0000004d;
|
|
border-radius: 0.75rem;
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
.react-flow.mark-mode .react-flow__node:not(.react-flow__node-image),
|
|
.react-flow.mark-mode .react-flow__node:not(.react-flow__node-image) * {
|
|
pointer-events: none !important;
|
|
}
|
|
.react-flow.mark-mode
|
|
.react-flow__node:not(.react-flow__node-image)
|
|
.mark-mode-toggle {
|
|
z-index: 51;
|
|
position: relative;
|
|
pointer-events: auto !important;
|
|
cursor: pointer !important;
|
|
}
|
|
.react-flow.mark-mode .react-flow__node-image {
|
|
pointer-events: auto !important;
|
|
}
|
|
.react-flow.mark-mode .react-flow__edges,
|
|
.react-flow.mark-mode .react-flow__edge,
|
|
.react-flow.mark-mode .react-flow__edge * {
|
|
pointer-events: none !important;
|
|
}
|
|
.clip-editor-scale-range {
|
|
--clip-scale-fill: 0%;
|
|
appearance: none;
|
|
cursor: pointer;
|
|
background: 0 0;
|
|
flex-shrink: 0;
|
|
width: 3.5rem;
|
|
height: 2px;
|
|
}
|
|
.clip-editor-scale-range::-webkit-slider-runnable-track {
|
|
background: linear-gradient(
|
|
to right,
|
|
#fff 0%,
|
|
#fff var(--clip-scale-fill),
|
|
#ffffff4d var(--clip-scale-fill),
|
|
#ffffff4d 100%
|
|
);
|
|
border-radius: 9999px;
|
|
height: 2px;
|
|
}
|
|
.clip-editor-scale-range::-webkit-slider-thumb {
|
|
appearance: none;
|
|
background: #fff;
|
|
border-radius: 9999px;
|
|
width: 12px;
|
|
height: 12px;
|
|
margin-top: -5px;
|
|
box-shadow: 0 1px 2px #00000026;
|
|
}
|
|
.clip-editor-scale-range::-moz-range-track {
|
|
background: #ffffff4d;
|
|
border-radius: 9999px;
|
|
height: 2px;
|
|
}
|
|
.clip-editor-scale-range::-moz-range-progress {
|
|
background: #fff;
|
|
border-radius: 9999px;
|
|
height: 2px;
|
|
}
|
|
.clip-editor-scale-range::-moz-range-thumb {
|
|
background: #fff;
|
|
border: none;
|
|
border-radius: 9999px;
|
|
width: 12px;
|
|
height: 12px;
|
|
box-shadow: 0 1px 2px #00000026;
|
|
}
|
|
.canvas-light .clip-editor-scale-range::-webkit-slider-runnable-track {
|
|
background: linear-gradient(
|
|
to right,
|
|
#262626 0%,
|
|
#262626 var(--clip-scale-fill),
|
|
#0003 var(--clip-scale-fill),
|
|
#0003 100%
|
|
);
|
|
}
|
|
.canvas-light .clip-editor-scale-range::-webkit-slider-thumb {
|
|
background: #262626;
|
|
box-shadow: 0 1px 2px #0000001f;
|
|
}
|
|
.canvas-light .clip-editor-scale-range::-moz-range-track {
|
|
background: #0003;
|
|
}
|
|
.canvas-light .clip-editor-scale-range::-moz-range-progress {
|
|
background: #262626;
|
|
}
|
|
.canvas-light .clip-editor-scale-range::-moz-range-thumb {
|
|
background: #262626;
|
|
box-shadow: 0 1px 2px #0000001f;
|
|
}
|
|
.lcp {
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
width: 100%;
|
|
padding: 0 4px;
|
|
font-family:
|
|
PingFang SC,
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
Segoe UI,
|
|
Roboto,
|
|
sans-serif;
|
|
display: flex;
|
|
}
|
|
.lcp-header {
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
display: flex;
|
|
}
|
|
.lcp-header-title {
|
|
color: var(--fg-default);
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
}
|
|
.lcp-smart-toggle-row {
|
|
align-items: center;
|
|
gap: 8px;
|
|
display: flex;
|
|
}
|
|
.lcp-smart-label {
|
|
color: var(--fg-muted);
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
}
|
|
.lcp-group {
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
display: flex;
|
|
}
|
|
.lcp-label-row {
|
|
align-items: center;
|
|
gap: 4px;
|
|
display: flex;
|
|
}
|
|
.lcp-group-label {
|
|
color: var(--fg-muted);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
.lcp-info-icon {
|
|
border: 1px solid var(--canvas-controls-border);
|
|
width: 14px;
|
|
height: 14px;
|
|
color: var(--fg-muted);
|
|
cursor: pointer;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 9px;
|
|
font-weight: 400;
|
|
display: inline-flex;
|
|
}
|
|
.lcp-brightness-combined {
|
|
align-items: center;
|
|
gap: 8px;
|
|
display: flex;
|
|
}
|
|
.lcp-brightness-combined .lcp-range {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
.lcp-brightness-value-box {
|
|
border: 0.5px solid var(--canvas-controls-border);
|
|
box-sizing: border-box;
|
|
width: 72px;
|
|
height: 28px;
|
|
color: var(--fg-default);
|
|
border-radius: 8px;
|
|
flex-shrink: 0;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 0 8px;
|
|
display: flex;
|
|
}
|
|
.lcp-brightness-value-icon {
|
|
opacity: 0.5;
|
|
flex-shrink: 0;
|
|
}
|
|
.lcp-brightness-value-num {
|
|
color: var(--fg-default);
|
|
text-align: center;
|
|
font-variant-numeric: tabular-nums;
|
|
-moz-appearance: textfield;
|
|
background: 0 0;
|
|
border: none;
|
|
outline: none;
|
|
flex: 1;
|
|
min-width: 0;
|
|
padding: 0;
|
|
font-family: inherit;
|
|
font-size: 12px;
|
|
}
|
|
.lcp-brightness-value-num::-webkit-inner-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
.lcp-brightness-value-num::-webkit-outer-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
.lcp-brightness-value-unit {
|
|
color: var(--fg-muted);
|
|
font-size: 12px;
|
|
}
|
|
.lcp-brightness-value-box.default .lcp-brightness-value-icon {
|
|
opacity: 0.3;
|
|
}
|
|
.lcp-brightness-value-box.default .lcp-brightness-value-num,
|
|
.lcp-brightness-value-box.default .lcp-brightness-value-unit {
|
|
color: var(--fg-disabled);
|
|
}
|
|
.lcp-range {
|
|
appearance: none;
|
|
cursor: pointer;
|
|
z-index: 2;
|
|
border-radius: 999px;
|
|
outline: none;
|
|
width: 100%;
|
|
height: 4px;
|
|
position: relative;
|
|
}
|
|
.lcp-range::-webkit-slider-runnable-track {
|
|
border-radius: 999px;
|
|
height: 4px;
|
|
}
|
|
.lcp-range::-moz-range-track {
|
|
border-radius: 999px;
|
|
height: 4px;
|
|
}
|
|
.lcp-range::-webkit-slider-thumb {
|
|
appearance: none;
|
|
background: var(--color-neutral-0);
|
|
border: 0.5px solid var(--canvas-controls-border);
|
|
cursor: grab;
|
|
border-radius: 100px;
|
|
width: 12px;
|
|
height: 12px;
|
|
margin-top: -4px;
|
|
transition: transform 0.1s;
|
|
}
|
|
.lcp-range::-webkit-slider-thumb:active {
|
|
cursor: grabbing;
|
|
transform: scale(1.1);
|
|
}
|
|
.lcp-range::-moz-range-thumb {
|
|
background: var(--color-neutral-0);
|
|
border: 0.5px solid var(--canvas-controls-border);
|
|
cursor: grab;
|
|
border-radius: 100px;
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
.lcp-range-brightness {
|
|
background: var(--light-brightness-track-dense);
|
|
}
|
|
.lcp-color-combined {
|
|
align-items: center;
|
|
gap: 8px;
|
|
display: flex;
|
|
}
|
|
.lcp-color-spacer {
|
|
flex: 1;
|
|
}
|
|
.lcp-color-picker-wrap {
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
position: relative;
|
|
}
|
|
.lcp-color-swatch {
|
|
border: 1px solid var(--canvas-controls-border);
|
|
pointer-events: none;
|
|
border-radius: 4px;
|
|
width: 48px;
|
|
height: 20px;
|
|
transition: border-color 0.15s;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.lcp-color-slash {
|
|
position: absolute;
|
|
inset: 0;
|
|
overflow: hidden;
|
|
}
|
|
.lcp-color-slash:after {
|
|
content: "";
|
|
background: linear-gradient(
|
|
to top left,
|
|
#0000 calc(50% - 1px),
|
|
#e53e3e calc(50% - 1px) calc(50% + 1px),
|
|
#0000 calc(50% + 1px)
|
|
);
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
.lcp-color-picker-wrap:hover .lcp-color-swatch {
|
|
border-color: var(--border-emphasis);
|
|
}
|
|
.lcp-color-input {
|
|
opacity: 0;
|
|
cursor: pointer;
|
|
border: none;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 0;
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
.lcp-section-title {
|
|
color: var(--fg-muted);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
.lcp-dir-grid {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 8px;
|
|
display: grid;
|
|
}
|
|
.lcp-dir-btn {
|
|
border: 0.5px solid var(--canvas-controls-border);
|
|
height: 32px;
|
|
color: var(--fg-muted);
|
|
cursor: pointer;
|
|
text-align: center;
|
|
background: 0 0;
|
|
border-radius: 8px;
|
|
font-family: inherit;
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
transition: all 0.15s;
|
|
}
|
|
.lcp-dir-btn:hover {
|
|
border-color: var(--border-emphasis);
|
|
color: var(--fg-default);
|
|
}
|
|
.lcp-dir-btn.active {
|
|
background: var(--canvas-controls-active);
|
|
color: var(--fg-default);
|
|
border-color: var(--border-emphasis);
|
|
font-weight: 500;
|
|
}
|
|
.lcp-rim-row {
|
|
align-items: center;
|
|
gap: 4px;
|
|
display: flex;
|
|
}
|
|
.lcp-rim-label {
|
|
color: var(--fg-muted);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
.lcp-rim-spacer {
|
|
flex: 1;
|
|
}
|
|
.lcp-toggle {
|
|
background: var(--light-toggle-track-off);
|
|
cursor: pointer;
|
|
border-radius: 17.5px;
|
|
flex-shrink: 0;
|
|
width: 24.5px;
|
|
height: 14px;
|
|
transition: background 0.2s;
|
|
position: relative;
|
|
}
|
|
.lcp-toggle.active {
|
|
background: var(--switch-track-bg-checked);
|
|
}
|
|
.lcp-toggle.disabled {
|
|
opacity: 0.35;
|
|
cursor: not-allowed;
|
|
}
|
|
.lcp-toggle-thumb {
|
|
background: var(--color-neutral-0);
|
|
border-radius: 50%;
|
|
width: 10.5px;
|
|
height: 10.5px;
|
|
transition: transform 0.2s;
|
|
position: absolute;
|
|
top: 1.75px;
|
|
left: 1.75px;
|
|
box-shadow: 0 1px 2px #0000004d;
|
|
}
|
|
.lcp-toggle.active .lcp-toggle-thumb {
|
|
background: var(--switch-thumb-bg);
|
|
transform: translate(10.5px);
|
|
}
|
|
.light-editor {
|
|
--light-border-subtle: #2a2a2a;
|
|
--light-scene-bg: #202020;
|
|
--light-3d-toggle-indicator: #ffffff14;
|
|
--light-brightness-track: #3a3a3a;
|
|
--light-brightness-track-dense: #333;
|
|
--light-brightness-fill-default: #a8a8a8;
|
|
--light-brightness-fill-modified: var(--color-blue-500);
|
|
--light-toggle-track-off: #3a3a3a;
|
|
--light-smp-textarea-bg: #28282899;
|
|
--light-smp-upload-bg: #2828284d;
|
|
--light-smp-preset-bg: #2a2a2a;
|
|
background: var(--canvas-controls-bg);
|
|
border: 0.5px solid var(--canvas-controls-border);
|
|
width: auto;
|
|
color: var(--fg-default);
|
|
border-radius: 12px;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
padding: 0;
|
|
font-family:
|
|
PingFang SC,
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
Segoe UI,
|
|
Roboto,
|
|
Oxygen,
|
|
Ubuntu,
|
|
Cantarell,
|
|
Open Sans,
|
|
Helvetica Neue,
|
|
sans-serif;
|
|
display: flex;
|
|
overflow: hidden;
|
|
}
|
|
.canvas-light .light-editor {
|
|
--light-border-subtle: var(--border-muted);
|
|
--light-scene-bg: var(--color-neutral-100);
|
|
--light-3d-toggle-indicator: var(--canvas-controls-active);
|
|
--light-brightness-track: var(--color-neutral-300);
|
|
--light-brightness-track-dense: var(--color-neutral-300);
|
|
--light-brightness-fill-default: var(--color-neutral-500);
|
|
--light-toggle-track-off: var(--color-neutral-300);
|
|
--light-smp-textarea-bg: var(--color-neutral-50);
|
|
--light-smp-upload-bg: var(--color-neutral-50);
|
|
--light-smp-preset-bg: var(--color-neutral-100);
|
|
}
|
|
.light-editor--smart {
|
|
width: auto;
|
|
}
|
|
.light-editor-title-bar {
|
|
border-bottom: 0.5px solid var(--light-border-subtle);
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px 16px;
|
|
display: flex;
|
|
}
|
|
.light-editor-title {
|
|
color: var(--fg-default);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
.light-editor-close-btn {
|
|
width: 24px;
|
|
height: 24px;
|
|
color: var(--fg-muted);
|
|
cursor: pointer;
|
|
background: 0 0;
|
|
border: none;
|
|
border-radius: 8px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
transition: all 0.12s;
|
|
display: flex;
|
|
}
|
|
.light-editor-close-btn:hover {
|
|
background: var(--canvas-controls-hover);
|
|
color: var(--fg-default);
|
|
}
|
|
.light-editor-body {
|
|
gap: 0;
|
|
min-height: 256px;
|
|
padding: 0 16px 16px;
|
|
display: flex;
|
|
}
|
|
.light-editor-scene {
|
|
flex: none;
|
|
align-items: flex-start;
|
|
padding-top: 16px;
|
|
transition:
|
|
opacity 0.2s,
|
|
filter 0.2s;
|
|
display: flex;
|
|
}
|
|
.light-editor-scene--inactive {
|
|
opacity: 0.7;
|
|
cursor: pointer;
|
|
}
|
|
.light-editor-controls {
|
|
flex-direction: column;
|
|
flex: none;
|
|
width: 224px;
|
|
padding: 16px 4px 0 12px;
|
|
display: flex;
|
|
}
|
|
.light-editor-smart {
|
|
border-left: 0.5px solid var(--light-border-subtle);
|
|
flex-direction: column;
|
|
flex: 0 0 224px;
|
|
padding: 16px 0 0 12px;
|
|
display: flex;
|
|
}
|
|
.light-editor-divider {
|
|
border-top: 0.5px solid var(--light-border-subtle);
|
|
width: 100%;
|
|
height: 0;
|
|
}
|
|
.light-editor-footer {
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 8px;
|
|
display: flex;
|
|
}
|
|
.light-editor-footer-spacer {
|
|
flex: 1;
|
|
}
|
|
.light-editor-reset-btn {
|
|
color: var(--fg-muted);
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
background: 0 0;
|
|
border: none;
|
|
border-radius: 8px;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 6px 12px;
|
|
font-family: inherit;
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
transition: all 0.15s;
|
|
display: flex;
|
|
}
|
|
.light-editor-reset-btn:hover {
|
|
background: var(--canvas-controls-hover);
|
|
color: var(--fg-default);
|
|
}
|
|
@media (max-width: 600px) {
|
|
.light-editor,
|
|
.light-editor--smart {
|
|
width: 100%;
|
|
}
|
|
.light-editor-body {
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
.light-editor-scene {
|
|
justify-content: center;
|
|
width: 100%;
|
|
display: flex;
|
|
}
|
|
.light-editor-controls {
|
|
border-left: none;
|
|
min-width: 0;
|
|
padding-left: 0;
|
|
}
|
|
.light-editor-smart {
|
|
border-left: none;
|
|
border-top: 0.5px solid var(--light-border-subtle);
|
|
flex: none;
|
|
padding-top: 12px;
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
.light-scene-3d-container {
|
|
background: var(--light-scene-bg);
|
|
border-radius: 12px;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 200px;
|
|
height: 100%;
|
|
padding: 16px 0 12px;
|
|
display: flex;
|
|
position: relative;
|
|
}
|
|
.light-scene-3d-view-toggle {
|
|
justify-content: center;
|
|
margin-bottom: 8px;
|
|
display: flex;
|
|
}
|
|
.light-scene-3d-view-slider {
|
|
border: 0.5px solid var(--canvas-controls-border);
|
|
box-shadow: var(--canvas-shadow-panel);
|
|
background: 0 0;
|
|
border-radius: 12px;
|
|
gap: 4px;
|
|
padding: 4px;
|
|
display: flex;
|
|
position: relative;
|
|
}
|
|
.light-scene-3d-view-slider:before {
|
|
content: "";
|
|
background: var(--light-3d-toggle-indicator);
|
|
z-index: 0;
|
|
border-radius: 8px;
|
|
width: calc(50% - 6px);
|
|
height: calc(100% - 8px);
|
|
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
position: absolute;
|
|
top: 4px;
|
|
left: 4px;
|
|
}
|
|
.light-scene-3d-view-slider[data-active="front"]:before {
|
|
transform: translate(calc(100% + 4px));
|
|
}
|
|
.light-scene-3d-view-opt {
|
|
z-index: 1;
|
|
width: 76px;
|
|
height: 32px;
|
|
color: var(--fg-muted);
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
-webkit-user-select: none;
|
|
user-select: none;
|
|
text-align: center;
|
|
border-radius: 8px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 0 12px;
|
|
font-family: inherit;
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
transition: color 0.2s;
|
|
display: flex;
|
|
position: relative;
|
|
}
|
|
.light-scene-3d-view-opt:hover {
|
|
color: var(--fg-default);
|
|
}
|
|
.light-scene-3d-view-opt.active {
|
|
color: var(--fg-default);
|
|
font-weight: 500;
|
|
}
|
|
.light-scene-3d-canvas {
|
|
cursor: grab;
|
|
touch-action: none;
|
|
display: block;
|
|
}
|
|
.light-scene-3d-canvas:active {
|
|
cursor: grabbing;
|
|
}
|
|
.light-scene-3d-label {
|
|
background: var(--canvas-controls-hover);
|
|
color: var(--fg-muted);
|
|
border-radius: 4px;
|
|
margin-top: 6px;
|
|
padding: 3px 12px;
|
|
font-size: 11px;
|
|
font-weight: 400;
|
|
}
|
|
.smp {
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
font-family:
|
|
PingFang SC,
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
Segoe UI,
|
|
Roboto,
|
|
sans-serif;
|
|
display: flex;
|
|
}
|
|
.smp-title {
|
|
color: var(--fg-muted);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
.smp-input-area {
|
|
gap: 8px;
|
|
display: flex;
|
|
}
|
|
.smp-textarea {
|
|
border: 0.5px solid var(--canvas-controls-border);
|
|
background: var(--light-smp-textarea-bg);
|
|
min-height: 56px;
|
|
color: var(--fg-default);
|
|
resize: none;
|
|
border-radius: 8px;
|
|
outline: none;
|
|
flex: 1;
|
|
padding: 10px 12px;
|
|
font-family: inherit;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
transition: border-color 0.15s;
|
|
}
|
|
.smp-textarea::placeholder {
|
|
color: var(--input-placeholder);
|
|
}
|
|
.smp-textarea:focus {
|
|
border-color: var(--border-emphasis);
|
|
}
|
|
.smp-upload-area {
|
|
border: 1px dashed var(--canvas-controls-border);
|
|
background: var(--light-smp-upload-bg);
|
|
width: 56px;
|
|
min-height: 56px;
|
|
color: var(--fg-muted);
|
|
cursor: pointer;
|
|
border-radius: 8px;
|
|
flex-direction: column;
|
|
flex-shrink: 0;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 2px;
|
|
transition: all 0.15s;
|
|
display: flex;
|
|
}
|
|
.smp-upload-area:hover {
|
|
border-color: var(--border-emphasis);
|
|
color: var(--fg-default);
|
|
background: var(--canvas-controls-hover);
|
|
}
|
|
.smp-upload-dragover {
|
|
border-color: var(--status-info);
|
|
background: var(--status-info-bg);
|
|
}
|
|
.smp-upload-text {
|
|
text-align: center;
|
|
font-size: 11px;
|
|
font-weight: 400;
|
|
line-height: 1.3;
|
|
}
|
|
.smp-file-input {
|
|
display: none;
|
|
}
|
|
.smp-upload-preview {
|
|
border-style: solid;
|
|
height: 56px;
|
|
padding: 0;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.smp-ref-img {
|
|
object-fit: cover;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.smp-ref-remove {
|
|
color: #fff;
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
background: #0009;
|
|
border: none;
|
|
border-radius: 50%;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 18px;
|
|
height: 18px;
|
|
padding: 0;
|
|
transition: opacity 0.15s;
|
|
display: flex;
|
|
position: absolute;
|
|
top: 4px;
|
|
right: 4px;
|
|
}
|
|
.smp-upload-preview:hover .smp-ref-remove {
|
|
opacity: 1;
|
|
}
|
|
.smp-ref-remove:hover {
|
|
background: #000c;
|
|
}
|
|
.smp-preset-section {
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
display: flex;
|
|
}
|
|
.smp-preset-title {
|
|
color: var(--fg-muted);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
.smp-preset-grid {
|
|
grid-template-columns: repeat(4, auto);
|
|
gap: 12px;
|
|
display: grid;
|
|
}
|
|
.smp-preset-item {
|
|
cursor: pointer;
|
|
background: var(--light-smp-preset-bg);
|
|
border-radius: 8px;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
width: 64px;
|
|
height: 64px;
|
|
display: flex;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.smp-preset-item:hover {
|
|
opacity: 0.85;
|
|
}
|
|
.smp-preset-thumb {
|
|
position: absolute;
|
|
inset: 0;
|
|
overflow: hidden;
|
|
}
|
|
.smp-preset-img {
|
|
object-fit: cover;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.smp-preset-placeholder {
|
|
background: linear-gradient(
|
|
135deg,
|
|
var(--light-smp-preset-bg) 0%,
|
|
var(--light-brightness-track-dense) 50%,
|
|
var(--light-smp-preset-bg) 100%
|
|
);
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.smp-preset-name {
|
|
z-index: 1;
|
|
color: #fff;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
text-align: center;
|
|
background: linear-gradient(#0000, #000c);
|
|
width: 100%;
|
|
padding: 4px 0;
|
|
font-size: 12px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.angle-editor-v3 {
|
|
--angle-slider-inactive: var(--color-neutral-600);
|
|
--angle-scene-bg: #363636;
|
|
--angle-sphere-line: #ffffff26;
|
|
--angle-sphere-helper: #ffffff14;
|
|
background: var(--canvas-controls-bg);
|
|
border: 0.5px solid var(--canvas-controls-border);
|
|
width: 600px;
|
|
color: var(--fg-default);
|
|
border-radius: 12px;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
padding: 12px 8px 8px;
|
|
font-family:
|
|
PingFang SC,
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
Segoe UI,
|
|
Roboto,
|
|
Oxygen,
|
|
Ubuntu,
|
|
Cantarell,
|
|
Open Sans,
|
|
Helvetica Neue,
|
|
sans-serif;
|
|
display: flex;
|
|
}
|
|
.canvas-light .angle-editor-v3 {
|
|
--angle-slider-inactive: var(--color-neutral-300);
|
|
--angle-scene-bg: var(--color-neutral-200);
|
|
--angle-sphere-line: #00000024;
|
|
--angle-sphere-helper: #0000000f;
|
|
}
|
|
.angle-editor-v3-header {
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 0 8px;
|
|
display: flex;
|
|
}
|
|
.angle-editor-v3-title {
|
|
color: var(--fg-default);
|
|
flex: 1;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
line-height: 1.4;
|
|
}
|
|
.angle-editor-v3-close-btn {
|
|
width: 24px;
|
|
height: 24px;
|
|
color: var(--fg-muted);
|
|
cursor: pointer;
|
|
background: 0 0;
|
|
border: none;
|
|
border-radius: 8px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 0;
|
|
transition: all 0.15s;
|
|
display: flex;
|
|
}
|
|
.angle-editor-v3-close-btn:hover {
|
|
background: var(--canvas-controls-hover);
|
|
color: var(--fg-default);
|
|
}
|
|
.angle-editor-v3-presets {
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
padding: 0 8px;
|
|
display: flex;
|
|
}
|
|
.angle-editor-v3-preset-btn {
|
|
border: 0.5px solid var(--canvas-controls-border);
|
|
color: var(--fg-muted);
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
background: 0 0;
|
|
border-radius: 6px;
|
|
padding: 4px 12px;
|
|
font-family: inherit;
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
line-height: 1.6;
|
|
transition: all 0.15s;
|
|
}
|
|
.angle-editor-v3-preset-btn:hover {
|
|
background: var(--canvas-controls-hover);
|
|
color: var(--fg-default);
|
|
}
|
|
.angle-editor-v3-preset-btn.active {
|
|
background: var(--canvas-controls-active);
|
|
color: var(--fg-default);
|
|
border-color: var(--canvas-controls-border);
|
|
font-weight: 500;
|
|
}
|
|
.angle-editor-v3-body {
|
|
gap: 8px;
|
|
padding: 0 0 0 8px;
|
|
display: flex;
|
|
}
|
|
.angle-editor-v3-scene {
|
|
flex: 0 0 240px;
|
|
height: 240px;
|
|
}
|
|
.angle-editor-v3-controls {
|
|
flex-direction: column;
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
}
|
|
.angle-editor-v3-footer {
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 4px 8px 0;
|
|
display: flex;
|
|
}
|
|
.angle-editor-v3-footer-spacer {
|
|
flex: 1;
|
|
}
|
|
.angle-editor-v3-reset-btn {
|
|
color: var(--fg-muted);
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
background: 0 0;
|
|
border: none;
|
|
border-radius: 8px;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 6px 12px;
|
|
font-family: inherit;
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
transition: all 0.15s;
|
|
display: flex;
|
|
}
|
|
.angle-editor-v3-reset-btn:hover {
|
|
background: var(--canvas-controls-hover);
|
|
color: var(--fg-default);
|
|
}
|
|
.angle-editor-v3.is-transitioning {
|
|
pointer-events: none;
|
|
}
|
|
@media (max-width: 600px) {
|
|
.angle-editor-v3-body {
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
.angle-editor-v3-scene {
|
|
flex: none;
|
|
width: 100%;
|
|
height: 240px;
|
|
}
|
|
.angle-editor-v3-controls {
|
|
min-width: 0;
|
|
}
|
|
}
|
|
.angle-editor-toggle-row {
|
|
align-items: center;
|
|
gap: 16px;
|
|
height: 32px;
|
|
display: flex;
|
|
}
|
|
.angle-editor-toggle-row label {
|
|
color: var(--fg-muted);
|
|
font-family:
|
|
PingFang SC,
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
Segoe UI,
|
|
Roboto,
|
|
sans-serif;
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
line-height: 1.4;
|
|
}
|
|
.angle-editor-toggle-switch {
|
|
background-color: var(--switch-track-bg);
|
|
cursor: pointer;
|
|
border-radius: 11px;
|
|
width: 25px;
|
|
height: 14px;
|
|
transition: background-color 0.3s;
|
|
position: relative;
|
|
}
|
|
.angle-editor-toggle-switch:focus {
|
|
outline: 2px solid var(--border-emphasis);
|
|
outline-offset: 2px;
|
|
}
|
|
.angle-editor-toggle-switch.active {
|
|
background-color: var(--switch-track-bg-checked);
|
|
}
|
|
.angle-editor-toggle-thumb {
|
|
background-color: var(--switch-thumb-bg);
|
|
border-radius: 50%;
|
|
width: 10px;
|
|
height: 10px;
|
|
transition:
|
|
transform 0.3s,
|
|
background-color 0.3s;
|
|
position: absolute;
|
|
top: 2px;
|
|
left: 2px;
|
|
box-shadow: 0 2px 4px #0003;
|
|
}
|
|
.angle-editor-toggle-switch.active .angle-editor-toggle-thumb {
|
|
background-color: var(--switch-thumb-bg);
|
|
transform: translate(11px);
|
|
}
|
|
.angle-editor-camera-mode-panel {
|
|
opacity: 1;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
transition: opacity 0.2s ease-out;
|
|
display: flex;
|
|
}
|
|
.angle-editor-v3.camera-flying-in .angle-editor-camera-mode-panel,
|
|
.angle-editor-v3.camera-flying-in-done .angle-editor-camera-mode-panel {
|
|
opacity: 0;
|
|
}
|
|
.angle-editor-camera-mode-settings {
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
display: flex;
|
|
}
|
|
.angle-editor-camera-mode-setting-row {
|
|
align-items: center;
|
|
gap: 16px;
|
|
height: 32px;
|
|
padding: 0 8px;
|
|
display: flex;
|
|
}
|
|
.angle-editor-camera-mode-setting-label {
|
|
width: 60px;
|
|
color: var(--fg-muted);
|
|
flex: 0 0 60px;
|
|
font-family:
|
|
PingFang SC,
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
Segoe UI,
|
|
Roboto,
|
|
sans-serif;
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
line-height: 1.4;
|
|
}
|
|
.angle-editor-camera-mode-setting-slider {
|
|
flex: 1;
|
|
align-items: center;
|
|
display: flex;
|
|
}
|
|
.angle-editor-camera-mode-setting-range {
|
|
appearance: none;
|
|
cursor: pointer;
|
|
touch-action: none;
|
|
border-radius: 999px;
|
|
outline: none;
|
|
width: 100%;
|
|
height: 4px;
|
|
}
|
|
.angle-editor-camera-mode-setting-range::-webkit-slider-runnable-track {
|
|
border-radius: 999px;
|
|
height: 4px;
|
|
}
|
|
.angle-editor-camera-mode-setting-range::-moz-range-track {
|
|
border-radius: 999px;
|
|
height: 4px;
|
|
}
|
|
.angle-editor-camera-mode-setting-range::-webkit-slider-thumb {
|
|
appearance: none;
|
|
cursor: grab;
|
|
background: #fff;
|
|
border: 1.5px solid #f0f0f0;
|
|
border-radius: 999px;
|
|
width: 14px;
|
|
height: 14px;
|
|
margin-top: -5px;
|
|
}
|
|
.angle-editor-camera-mode-setting-range::-webkit-slider-thumb:active {
|
|
cursor: grabbing;
|
|
}
|
|
.angle-editor-camera-mode-setting-range::-moz-range-thumb {
|
|
cursor: grab;
|
|
background: #fff;
|
|
border: 1.5px solid #f0f0f0;
|
|
border-radius: 999px;
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
.angle-editor-camera-mode-setting-range::-moz-range-thumb:active {
|
|
cursor: grabbing;
|
|
}
|
|
.angle-editor-camera-mode-setting-value {
|
|
text-align: right;
|
|
width: 36px;
|
|
color: var(--fg-default);
|
|
flex: 0 0 36px;
|
|
font-family:
|
|
PingFang SC,
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
Segoe UI,
|
|
Roboto,
|
|
sans-serif;
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
line-height: 1.4;
|
|
}
|
|
.angle-editor-camera-mode-prompt-section {
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 0 8px;
|
|
display: flex;
|
|
}
|
|
.angle-editor-camera-mode-prompt-box {
|
|
border: 0.5px solid var(--canvas-controls-border);
|
|
background: 0 0;
|
|
border-radius: 10px;
|
|
padding: 8px 12px;
|
|
}
|
|
.angle-editor-camera-mode-prompt-textarea {
|
|
resize: none;
|
|
width: 100%;
|
|
color: var(--fg-default);
|
|
background: 0 0;
|
|
border: none;
|
|
outline: none;
|
|
font-family:
|
|
PingFang SC,
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
Segoe UI,
|
|
Roboto,
|
|
sans-serif;
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
display: block;
|
|
}
|
|
.angle-editor-camera-mode-prompt-textarea::placeholder {
|
|
color: var(--input-placeholder);
|
|
}
|
|
.angle-editor-camera-mode-setting-row.disabled {
|
|
opacity: 0.5;
|
|
}
|
|
.angle-editor-camera-mode-setting-row.disabled
|
|
.angle-editor-camera-mode-setting-range {
|
|
cursor: not-allowed;
|
|
}
|
|
.angle-editor-mode-switcher {
|
|
background: var(--canvas-controls-hover);
|
|
border-radius: 10px;
|
|
gap: 4px;
|
|
padding: 4px;
|
|
display: flex;
|
|
}
|
|
.angle-editor-mode-switcher-btn {
|
|
color: var(--fg-muted);
|
|
cursor: pointer;
|
|
background: 0 0;
|
|
border: none;
|
|
border-radius: 8px;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 14px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
transition: all 0.15s;
|
|
display: flex;
|
|
}
|
|
.angle-editor-mode-switcher-btn:hover:not(:disabled) {
|
|
color: var(--fg-default);
|
|
background: var(--canvas-controls-hover);
|
|
}
|
|
.angle-editor-mode-switcher-btn.active {
|
|
color: var(--fg-default);
|
|
background: var(--canvas-controls-active);
|
|
}
|
|
.angle-editor-mode-switcher-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
.angle-editor-mode-switcher-btn svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
.angle-editor-object-mode-panel {
|
|
opacity: 1;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
transition: opacity 0.2s ease-out;
|
|
display: flex;
|
|
}
|
|
.angle-editor-v3.cube-scaling-down .angle-editor-object-mode-panel,
|
|
.angle-editor-v3.camera-flying-out .angle-editor-object-mode-panel,
|
|
.angle-editor-v3.camera-flying-out-done .angle-editor-object-mode-panel {
|
|
opacity: 0;
|
|
}
|
|
.angle-editor-object-mode-settings {
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
display: flex;
|
|
}
|
|
.angle-editor-object-mode-setting-row {
|
|
align-items: center;
|
|
gap: 16px;
|
|
height: 32px;
|
|
padding: 0 8px;
|
|
display: flex;
|
|
}
|
|
.angle-editor-object-mode-setting-label {
|
|
width: 56px;
|
|
color: var(--fg-muted);
|
|
flex: 0 0 56px;
|
|
font-family:
|
|
PingFang SC,
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
Segoe UI,
|
|
Roboto,
|
|
sans-serif;
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
line-height: 1.4;
|
|
}
|
|
.angle-editor-object-mode-setting-slider {
|
|
flex: 1;
|
|
align-items: center;
|
|
display: flex;
|
|
}
|
|
.angle-editor-object-mode-setting-range {
|
|
appearance: none;
|
|
cursor: pointer;
|
|
touch-action: none;
|
|
border-radius: 999px;
|
|
outline: none;
|
|
width: 100%;
|
|
height: 4px;
|
|
}
|
|
.angle-editor-object-mode-setting-range::-webkit-slider-runnable-track {
|
|
border-radius: 999px;
|
|
height: 4px;
|
|
}
|
|
.angle-editor-object-mode-setting-range::-moz-range-track {
|
|
border-radius: 999px;
|
|
height: 4px;
|
|
}
|
|
.angle-editor-object-mode-setting-range::-webkit-slider-thumb {
|
|
appearance: none;
|
|
cursor: grab;
|
|
background: #fff;
|
|
border: 1px solid #f0f0f0;
|
|
border-radius: 999px;
|
|
width: 12px;
|
|
height: 12px;
|
|
margin-top: -4px;
|
|
}
|
|
.angle-editor-object-mode-setting-range::-webkit-slider-thumb:active {
|
|
cursor: grabbing;
|
|
}
|
|
.angle-editor-object-mode-setting-range::-moz-range-thumb {
|
|
cursor: grab;
|
|
background: #fff;
|
|
border: 1px solid #f0f0f0;
|
|
border-radius: 999px;
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
.angle-editor-object-mode-setting-range::-moz-range-thumb:active {
|
|
cursor: grabbing;
|
|
}
|
|
.angle-editor-object-mode-setting-input {
|
|
border: 0.5px solid var(--canvas-controls-border);
|
|
width: 40px;
|
|
height: 32px;
|
|
color: var(--fg-default);
|
|
text-align: center;
|
|
background: 0 0;
|
|
border-radius: 8px;
|
|
padding: 0 8px;
|
|
font-family:
|
|
PingFang SC,
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
Segoe UI,
|
|
Roboto,
|
|
sans-serif;
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
line-height: 1.4;
|
|
}
|
|
.angle-editor-camera-3d-pivot {
|
|
transform-style: preserve-3d;
|
|
transition: transform 0.15s ease-out;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
}
|
|
.angle-editor-camera-3d-pivot.camera-3d-fixed {
|
|
transition: none;
|
|
}
|
|
.angle-editor-camera-3d-position {
|
|
transform-style: preserve-3d;
|
|
position: absolute;
|
|
}
|
|
.angle-editor-camera-3d-body {
|
|
border-radius: 4px;
|
|
position: absolute;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
.angle-editor-camera-3d-front {
|
|
background-color: #1a1a1a;
|
|
border: 1.5px solid #fff4;
|
|
width: 24px;
|
|
height: 18px;
|
|
box-shadow: inset 0 0 4px #00000080;
|
|
}
|
|
.angle-editor-camera-3d-back {
|
|
background-color: #252525;
|
|
border: 1px solid #fff3;
|
|
width: 24px;
|
|
height: 18px;
|
|
}
|
|
.angle-editor-camera-3d-top,
|
|
.angle-editor-camera-3d-bottom {
|
|
background-color: #1f1f1f;
|
|
border: 1px solid #fff3;
|
|
width: 24px;
|
|
height: 16px;
|
|
}
|
|
.angle-editor-camera-3d-bottom {
|
|
background-color: #1a1a1a;
|
|
}
|
|
.angle-editor-camera-3d-side {
|
|
background-color: #1c1c1c;
|
|
border: 1px solid #fff3;
|
|
width: 16px;
|
|
height: 18px;
|
|
}
|
|
.angle-editor-camera-3d-lens-outer {
|
|
background-color: #2a2a2a;
|
|
border: 2px solid #fff6;
|
|
border-radius: 50%;
|
|
width: 14px;
|
|
height: 14px;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
box-shadow: 0 0 6px #fff4;
|
|
}
|
|
.angle-editor-camera-3d-lens-inner {
|
|
background-color: #0a0a0a;
|
|
border: 1px solid #fff;
|
|
border-radius: 50%;
|
|
width: 10px;
|
|
height: 10px;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
box-shadow:
|
|
inset 0 0 4px #fff,
|
|
0 0 8px #fff8;
|
|
}
|
|
.angle-editor-camera-3d-indicator {
|
|
background-color: #f44;
|
|
border-radius: 50%;
|
|
width: 4px;
|
|
height: 4px;
|
|
position: absolute;
|
|
top: 3px;
|
|
right: 3px;
|
|
box-shadow: 0 0 2px red;
|
|
}
|
|
.angle-editor-camera-3d-screen {
|
|
filter: brightness(0.7);
|
|
transform-origin: 50%;
|
|
width: 18px;
|
|
height: 12px;
|
|
transform-style: preserve-3d;
|
|
background-color: #0f0f14;
|
|
background-position: 50%;
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
border: 1px solid #282828;
|
|
border-radius: 2px;
|
|
position: absolute;
|
|
top: 3px;
|
|
left: 3px;
|
|
}
|
|
.angle-editor-camera-3d-shutter {
|
|
background-color: #444;
|
|
border: 1px solid #555;
|
|
border-radius: 50%;
|
|
width: 5px;
|
|
height: 5px;
|
|
position: absolute;
|
|
top: 4px;
|
|
right: 4px;
|
|
box-shadow: inset 0 -1px 2px #00000080;
|
|
}
|
|
.angle-editor-camera-3d-hotshoe {
|
|
transform-style: preserve-3d;
|
|
position: absolute;
|
|
}
|
|
.angle-editor-camera-3d-hotshoe-body {
|
|
background-color: #1a1a1a;
|
|
border: 1px solid #fff3;
|
|
border-radius: 4px 4px 0 0;
|
|
width: 10px;
|
|
height: 6px;
|
|
position: absolute;
|
|
}
|
|
.angle-editor-camera-3d-hotshoe-mount {
|
|
background-color: #0a0a0a;
|
|
border: 1px solid #333;
|
|
border-radius: 2px;
|
|
width: 6px;
|
|
height: 3px;
|
|
position: absolute;
|
|
bottom: 1px;
|
|
left: 50%;
|
|
transform: translate(-50%);
|
|
}
|
|
.angle-editor-camera-3d-line {
|
|
opacity: 0.6;
|
|
transform-origin: top;
|
|
background-color: #fff;
|
|
width: 2px;
|
|
position: absolute;
|
|
box-shadow: 0 0 3px #fff;
|
|
}
|
|
.angle-editor-direction-btn {
|
|
width: 32px;
|
|
height: 32px;
|
|
color: var(--fg-muted);
|
|
cursor: pointer;
|
|
z-index: 10;
|
|
background: 0 0;
|
|
border: none;
|
|
border-radius: 8px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 0;
|
|
transition: all 0.15s;
|
|
display: flex;
|
|
position: absolute;
|
|
}
|
|
.angle-editor-direction-btn:hover,
|
|
.angle-editor-direction-btn:active {
|
|
color: var(--fg-default);
|
|
}
|
|
.angle-editor-direction-btn:active svg {
|
|
transform: scale(0.9);
|
|
}
|
|
.angle-editor-direction-btn svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
transition: transform 0.1s;
|
|
}
|
|
.angle-editor-direction-btn-up {
|
|
top: 8px;
|
|
left: 50%;
|
|
transform: translate(-50%);
|
|
}
|
|
.angle-editor-direction-btn-down {
|
|
bottom: 8px;
|
|
left: 50%;
|
|
transform: translate(-50%);
|
|
}
|
|
.angle-editor-direction-btn-left {
|
|
top: 50%;
|
|
left: 8px;
|
|
transform: translateY(-50%);
|
|
}
|
|
.angle-editor-direction-btn-right {
|
|
top: 50%;
|
|
right: 8px;
|
|
transform: translateY(-50%);
|
|
}
|
|
.angle-editor-scene-camera {
|
|
pointer-events: none;
|
|
transform-style: preserve-3d;
|
|
opacity: 1;
|
|
justify-content: center;
|
|
align-items: center;
|
|
transition: opacity 0.2s ease-out;
|
|
display: flex;
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
.unified-scene.cube-scaling-down .angle-editor-scene-camera,
|
|
.unified-scene.camera-flying-out .angle-editor-scene-camera {
|
|
opacity: 0;
|
|
transition: none;
|
|
}
|
|
.unified-scene.camera-flying-out-done .angle-editor-scene-camera {
|
|
opacity: 1;
|
|
transition: none;
|
|
}
|
|
.unified-scene.camera-flying-in .angle-editor-scene-camera,
|
|
.unified-scene.camera-flying-in-done .angle-editor-scene-camera {
|
|
opacity: 0;
|
|
transition: none;
|
|
}
|
|
.angle-editor-scene-camera-wide-indicator {
|
|
pointer-events: none;
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
.angle-editor-wide-indicator-line {
|
|
transform-origin: 50%;
|
|
background: linear-gradient(90deg, #0000, #ffc86499, #0000);
|
|
width: 60px;
|
|
height: 2px;
|
|
position: absolute;
|
|
top: 50%;
|
|
}
|
|
.angle-editor-wide-indicator-left {
|
|
left: 20%;
|
|
transform: translateY(-50%) rotate(-30deg);
|
|
}
|
|
.angle-editor-wide-indicator-right {
|
|
right: 20%;
|
|
transform: translateY(-50%) rotate(30deg);
|
|
}
|
|
.angle-editor-cube3d-container {
|
|
cursor: grab;
|
|
-webkit-user-select: none;
|
|
user-select: none;
|
|
background-color: #0000;
|
|
border-radius: 20px;
|
|
flex: 1;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 500px;
|
|
height: 500px;
|
|
display: flex;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.angle-editor-cube3d-container:active,
|
|
.angle-editor-cube3d-container.dragging {
|
|
cursor: grabbing;
|
|
}
|
|
.angle-editor-cube3d-container .angle-editor-reset-btn {
|
|
color: #fff9;
|
|
cursor: pointer;
|
|
background: 0 0;
|
|
border: none;
|
|
border-radius: 8px;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 12px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
transition:
|
|
color 0.2s,
|
|
background-color 0.2s;
|
|
display: flex;
|
|
position: absolute;
|
|
bottom: 20px;
|
|
left: 20px;
|
|
}
|
|
.angle-editor-cube3d-container .angle-editor-reset-btn:hover {
|
|
color: #ffffffe6;
|
|
background-color: #ffffff1a;
|
|
}
|
|
.angle-editor-scene-container {
|
|
perspective: 1000px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
}
|
|
.angle-editor-cube-wrapper {
|
|
width: 120px;
|
|
height: 120px;
|
|
transform-style: preserve-3d;
|
|
transition: transform 0.1s ease-out;
|
|
position: relative;
|
|
}
|
|
.angle-editor-cube {
|
|
width: 100%;
|
|
height: 100%;
|
|
transform-style: preserve-3d;
|
|
position: absolute;
|
|
}
|
|
.angle-editor-cube-face {
|
|
color: #444;
|
|
backface-visibility: visible;
|
|
-webkit-user-select: none;
|
|
user-select: none;
|
|
background: #1e1e23e6;
|
|
border: 1px solid #ffffff1a;
|
|
border-radius: 12px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 120px;
|
|
height: 120px;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
display: flex;
|
|
position: absolute;
|
|
}
|
|
.angle-editor-face-front {
|
|
color: #fff;
|
|
background-color: #333;
|
|
border: 1px solid #fff3;
|
|
transform: rotateY(0) translateZ(60px);
|
|
}
|
|
.angle-editor-face-back {
|
|
background: #222;
|
|
transform: rotateY(180deg) translateZ(60px);
|
|
}
|
|
.angle-editor-face-right {
|
|
background: #252525;
|
|
transform: rotateY(90deg) translateZ(60px);
|
|
}
|
|
.angle-editor-face-left {
|
|
background: #252525;
|
|
transform: rotateY(-90deg) translateZ(60px);
|
|
}
|
|
.angle-editor-face-top {
|
|
background: #2a2a2a;
|
|
transform: rotateX(90deg) translateZ(60px);
|
|
}
|
|
.angle-editor-face-bottom {
|
|
background: #2a2a2a;
|
|
transform: rotateX(-90deg) translateZ(60px);
|
|
}
|
|
.angle-editor-face-placeholder-icon {
|
|
color: #888;
|
|
opacity: 0.8;
|
|
}
|
|
.angle-editor-face-image-content {
|
|
object-fit: cover;
|
|
pointer-events: none;
|
|
border-radius: 12px;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.angle-editor-scene-cube {
|
|
justify-content: center;
|
|
align-items: center;
|
|
transition:
|
|
transform 0.3s ease-out,
|
|
opacity 0.3s ease-out;
|
|
display: flex;
|
|
position: relative;
|
|
}
|
|
.angle-editor-scene-cube.as-reference {
|
|
transform: scale(0.4);
|
|
}
|
|
.angle-editor-scene-cube.as-reference .angle-editor-cube3d-container {
|
|
cursor: default;
|
|
}
|
|
.angle-editor-scene-cube.as-reference .angle-editor-reset-btn {
|
|
display: none;
|
|
}
|
|
.angle-editor-scene-cube.as-reference .angle-editor-face-front {
|
|
cursor: pointer;
|
|
}
|
|
.angle-editor-sphere-grid {
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
opacity: 1;
|
|
justify-content: center;
|
|
align-items: center;
|
|
transition: opacity 0.2s ease-out;
|
|
display: flex;
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
.unified-scene.camera-flying-in
|
|
.angle-editor-sphere-grid
|
|
.angle-editor-sphere-grid-inner {
|
|
transition: transform 0.6s ease-out !important;
|
|
}
|
|
.unified-scene.camera-flying-in-done .angle-editor-sphere-grid {
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease-out;
|
|
}
|
|
.unified-scene.cube-scaling-down
|
|
.angle-editor-sphere-grid
|
|
.angle-editor-sphere-grid-inner {
|
|
transition: none !important;
|
|
}
|
|
.unified-scene.camera-flying-out
|
|
.angle-editor-sphere-grid
|
|
.angle-editor-sphere-grid-inner,
|
|
.unified-scene.camera-flying-out-done
|
|
.angle-editor-sphere-grid
|
|
.angle-editor-sphere-grid-inner {
|
|
transition: transform 0.6s ease-out !important;
|
|
}
|
|
.angle-editor-sphere-grid-inner {
|
|
width: 150px;
|
|
height: 150px;
|
|
transform-style: preserve-3d;
|
|
transition: transform 0.15s ease-out;
|
|
position: relative;
|
|
}
|
|
.unified-scene.is-dragging .angle-editor-sphere-grid-inner {
|
|
transition: none;
|
|
}
|
|
.angle-editor-sphere-grid-meridian {
|
|
border: 1px solid var(--angle-sphere-line);
|
|
width: 100%;
|
|
height: 100%;
|
|
transform-style: preserve-3d;
|
|
border-radius: 50%;
|
|
position: absolute;
|
|
}
|
|
.angle-editor-sphere-grid-parallel {
|
|
border: 1px solid var(--angle-sphere-line);
|
|
transform-style: preserve-3d;
|
|
border-radius: 50%;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
}
|
|
.angle-editor-sphere-grid-helper-vertical {
|
|
background: var(--angle-sphere-helper);
|
|
width: 1px;
|
|
height: 150px;
|
|
transition: opacity 0.15s ease-out;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
.angle-editor-sphere-grid-helper-horizontals {
|
|
width: 150px;
|
|
height: 150px;
|
|
transition: opacity 0.15s ease-out;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
.angle-editor-sphere-grid-helper-horizontal {
|
|
background: var(--angle-sphere-helper);
|
|
height: 1px;
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
.unified-scene {
|
|
perspective-origin: 50%;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 0;
|
|
transform-style: preserve-3d;
|
|
background: var(--angle-scene-bg, #363636);
|
|
border-radius: 12px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.unified-scene.is-dragging {
|
|
cursor: grabbing !important;
|
|
}
|
|
.unified-scene.is-transitioning {
|
|
pointer-events: none;
|
|
}
|
|
.unified-scene-cube-container {
|
|
transform-style: preserve-3d;
|
|
justify-content: center;
|
|
align-items: center;
|
|
display: flex;
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
.unified-scene.mode-camera .unified-scene-cube-container.as-reference {
|
|
transition: opacity 0.2s ease-out;
|
|
}
|
|
.unified-scene-cube-container.is-animating .angle-editor-cube-wrapper {
|
|
transition: transform 0.6s ease-out !important;
|
|
}
|
|
.unified-scene.cube-scaling-down
|
|
.unified-scene-cube-container.is-animating
|
|
.angle-editor-cube-wrapper {
|
|
transition: none !important;
|
|
}
|
|
.unified-scene.cube-scaling-down .angle-editor-scene-cube {
|
|
transition: transform 0.3s ease-out !important;
|
|
}
|
|
.unified-scene.is-12-camera-mode {
|
|
cursor: default;
|
|
}
|
|
.unified-scene.is-12-camera-mode .angle-editor-sphere-grid {
|
|
opacity: 0.5;
|
|
}
|
|
.unified-scene-fixed-cameras {
|
|
pointer-events: none;
|
|
width: 150px;
|
|
height: 150px;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
.unified-scene-transition-camera {
|
|
pointer-events: none;
|
|
z-index: 10;
|
|
width: 150px;
|
|
height: 150px;
|
|
transform-style: preserve-3d;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
.unified-scene-transition-camera-pivot {
|
|
width: 100%;
|
|
height: 100%;
|
|
transform-style: preserve-3d;
|
|
}
|
|
.unified-scene-transition-camera.cube-scaling-down {
|
|
animation: 0.3s ease-out forwards angle-editor-camera-scale-down;
|
|
}
|
|
@keyframes angle-editor-camera-scale-down {
|
|
0% {
|
|
opacity: 0;
|
|
transform: translate(-50%, -50%) scale(8);
|
|
}
|
|
30% {
|
|
opacity: 1;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translate(-50%, -50%) scale(1);
|
|
}
|
|
}
|
|
.unified-scene-transition-camera.camera-flying-out
|
|
.unified-scene-transition-camera-pivot {
|
|
animation: 0.6s ease-out forwards angle-editor-camera-rotate-out;
|
|
}
|
|
@keyframes angle-editor-camera-rotate-out {
|
|
0% {
|
|
transform: rotateX(0) rotateY(0);
|
|
}
|
|
to {
|
|
transform: rotateX(var(--end-tilt)) rotateY(var(--end-rotation));
|
|
}
|
|
}
|
|
.unified-scene-transition-camera.camera-flying-in
|
|
.unified-scene-transition-camera-pivot {
|
|
animation: 0.6s ease-out forwards angle-editor-camera-rotate-in;
|
|
}
|
|
@keyframes angle-editor-camera-rotate-in {
|
|
0% {
|
|
transform: rotateX(var(--start-tilt)) rotateY(var(--start-rotation));
|
|
}
|
|
to {
|
|
transform: rotateX(0) rotateY(0);
|
|
}
|
|
}
|
|
.unified-scene-transition-camera.camera-flying-out-done
|
|
.unified-scene-transition-camera-pivot {
|
|
transform: rotateX(var(--end-tilt)) rotateY(var(--end-rotation));
|
|
animation: 0.3s ease-out forwards angle-editor-camera-fade-out;
|
|
}
|
|
@keyframes angle-editor-camera-fade-out {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
to {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
.unified-scene-transition-camera.camera-flying-in-done {
|
|
animation: 0.3s ease-out forwards angle-editor-camera-zoom-in;
|
|
}
|
|
.unified-scene-transition-camera.camera-flying-in-done
|
|
.unified-scene-transition-camera-pivot {
|
|
transform: rotateX(0) rotateY(0);
|
|
}
|
|
@keyframes angle-editor-camera-zoom-in {
|
|
0% {
|
|
opacity: 1;
|
|
transform: translate(-50%, -50%) scale(1);
|
|
}
|
|
70% {
|
|
opacity: 1;
|
|
}
|
|
to {
|
|
opacity: 0;
|
|
transform: translate(-50%, -50%) scale(8);
|
|
}
|
|
}
|