Add conflict resolution diff UI and app branding
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
:root {
|
||||
color-scheme: light;
|
||||
color-scheme: light dark;
|
||||
--bg: #fbf7ef;
|
||||
--panel: rgba(255, 255, 255, 0.82);
|
||||
--panel-strong: #ffffff;
|
||||
@@ -15,10 +15,28 @@
|
||||
font-family: "Charter", "Iowan Old Style", "Palatino Linotype", serif;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--bg: oklch(0.14 0.012 55);
|
||||
--panel: oklch(0.18 0.014 55 / 0.85);
|
||||
--panel-strong: oklch(0.21 0.015 55);
|
||||
--text: oklch(0.93 0.006 55);
|
||||
--muted: oklch(0.66 0.018 55);
|
||||
--accent: oklch(0.705 0.165 55);
|
||||
--accent-soft: oklch(0.705 0.165 55 / 0.14);
|
||||
--border: oklch(0.27 0.018 55);
|
||||
--shadow: 0 16px 48px oklch(0.08 0.02 55 / 0.35);
|
||||
}
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
transition: color-scheme 0.4s ease;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
@@ -27,6 +45,18 @@ body {
|
||||
radial-gradient(circle at top left, rgba(56, 189, 248, 0.28), transparent 34%),
|
||||
radial-gradient(circle at bottom right, rgba(99, 102, 241, 0.22), transparent 30%),
|
||||
linear-gradient(180deg, #eef6ff 0%, #dbeafe 100%);
|
||||
transition:
|
||||
color 0.35s ease,
|
||||
background 0.55s ease;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body {
|
||||
background:
|
||||
radial-gradient(circle at top left, oklch(0.24 0.04 55 / 0.45), transparent 36%),
|
||||
radial-gradient(circle at bottom right, oklch(0.20 0.035 50 / 0.35), transparent 32%),
|
||||
linear-gradient(180deg, oklch(0.12 0.012 55) 0%, oklch(0.14 0.012 55) 100%);
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
@@ -60,12 +90,20 @@ code {
|
||||
}
|
||||
|
||||
.site-brand {
|
||||
color: var(--text);
|
||||
font-size: 1.15rem;
|
||||
font-weight: 700;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
flex: 0 0 auto;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.site-brand img {
|
||||
display: block;
|
||||
width: auto;
|
||||
height: 2.5rem;
|
||||
max-width: min(12rem, 42vw);
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.site-nav {
|
||||
display: flex;
|
||||
gap: 1.25rem;
|
||||
@@ -157,6 +195,7 @@ code {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
transition: width 180ms ease, min-width 180ms ease, box-shadow 180ms ease;
|
||||
}
|
||||
|
||||
/* Root column - fixed width for top-level navigation */
|
||||
@@ -170,6 +209,18 @@ code {
|
||||
width: 48px;
|
||||
}
|
||||
|
||||
.miller-column:not(:first-child):not(:last-child):hover,
|
||||
.miller-column:not(:first-child):not(:last-child).is-preview-expanded {
|
||||
width: var(--expanded-column-width, max-content);
|
||||
min-width: 12rem;
|
||||
max-width: 24rem;
|
||||
box-shadow: 8px 0 24px rgba(24, 32, 42, 0.08);
|
||||
}
|
||||
|
||||
.miller-column:not(:first-child):not(:last-child):hover {
|
||||
transition-delay: 1s;
|
||||
}
|
||||
|
||||
/* Active/last column - grows to fill remaining sidebar space */
|
||||
.miller-column:last-child {
|
||||
flex: 1 1 auto;
|
||||
@@ -207,6 +258,17 @@ code {
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
.miller-column:not(:first-child):not(:last-child):hover h2,
|
||||
.miller-column:not(:first-child):not(:last-child).is-preview-expanded h2 {
|
||||
padding: 0.7rem 0.8rem;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.miller-column:not(:first-child):not(:last-child):hover h2 .miller-column-title-text,
|
||||
.miller-column:not(:first-child):not(:last-child).is-preview-expanded h2 .miller-column-title-text {
|
||||
max-width: min(20rem, calc(var(--expanded-column-width, 14rem) - 2rem));
|
||||
}
|
||||
|
||||
.miller-column ul {
|
||||
margin: 0;
|
||||
padding: 0.3rem;
|
||||
@@ -252,6 +314,28 @@ code {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.miller-column:not(:first-child):not(:last-child):hover a,
|
||||
.miller-column:not(:first-child):not(:last-child).is-preview-expanded a {
|
||||
padding: 0.4rem 0.5rem;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.miller-column:not(:first-child):not(:last-child):hover .browser-item-label,
|
||||
.miller-column:not(:first-child):not(:last-child).is-preview-expanded .browser-item-label {
|
||||
justify-content: flex-start;
|
||||
gap: 0.4rem;
|
||||
}
|
||||
|
||||
.miller-column:not(:first-child):not(:last-child):hover .browser-item-name,
|
||||
.miller-column:not(:first-child):not(:last-child).is-preview-expanded .browser-item-name {
|
||||
max-width: min(18rem, calc(var(--expanded-column-width, 14rem) - 3.5rem));
|
||||
}
|
||||
|
||||
.miller-column:not(:first-child):not(:last-child):hover .browser-item-chevron,
|
||||
.miller-column:not(:first-child):not(:last-child).is-preview-expanded .browser-item-chevron {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.browser-item-label {
|
||||
display: inline-flex;
|
||||
min-width: 0;
|
||||
@@ -260,69 +344,24 @@ code {
|
||||
}
|
||||
|
||||
.browser-icon {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 1rem;
|
||||
height: 0.9rem;
|
||||
height: 1rem;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.browser-icon--folder {
|
||||
margin-top: 0.1rem;
|
||||
border: 1px solid rgba(15, 91, 216, 0.24);
|
||||
border-radius: 0;
|
||||
background: var(--accent-soft);
|
||||
}
|
||||
|
||||
.browser-icon--folder::before {
|
||||
position: absolute;
|
||||
top: -0.22rem;
|
||||
left: 0.1rem;
|
||||
width: 0.45rem;
|
||||
height: 0.25rem;
|
||||
border: 1px solid rgba(15, 91, 216, 0.24);
|
||||
border-bottom: 0;
|
||||
border-radius: 0;
|
||||
background: var(--accent-soft);
|
||||
content: "";
|
||||
color: #0f5bd8;
|
||||
}
|
||||
|
||||
.browser-icon--page {
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 0;
|
||||
background: rgba(255, 255, 255, 0.72);
|
||||
}
|
||||
|
||||
.browser-icon--page::before {
|
||||
position: absolute;
|
||||
right: -1px;
|
||||
top: -1px;
|
||||
width: 0.3rem;
|
||||
height: 0.3rem;
|
||||
border-left: 1px solid var(--border);
|
||||
border-bottom: 1px solid var(--border);
|
||||
background: var(--panel);
|
||||
content: "";
|
||||
color: #465365;
|
||||
}
|
||||
|
||||
.browser-icon--root {
|
||||
width: 0.85rem;
|
||||
height: 0.85rem;
|
||||
border: 1.5px solid var(--accent);
|
||||
border-radius: 0;
|
||||
background: var(--accent-soft);
|
||||
}
|
||||
|
||||
.browser-icon--root::before {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 0.3rem;
|
||||
height: 0.3rem;
|
||||
border-radius: 0;
|
||||
background: var(--accent);
|
||||
transform: translate(-50%, -50%);
|
||||
content: "";
|
||||
width: 0.95rem;
|
||||
height: 0.95rem;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.miller-column--root h2 {
|
||||
@@ -343,6 +382,12 @@ code {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.browser-item-chevron {
|
||||
width: 0.95rem;
|
||||
height: 0.95rem;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
/* Document shell */
|
||||
.document-shell,
|
||||
.error-panel,
|
||||
@@ -447,11 +492,51 @@ code {
|
||||
}
|
||||
|
||||
.document-meta h1 {
|
||||
margin: 0 0 0.75rem;
|
||||
margin: 0;
|
||||
font-size: 1.85rem;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.document-meta-panel {
|
||||
margin-top: 0.9rem;
|
||||
border: 1px solid var(--border);
|
||||
background: rgba(255, 255, 255, 0.45);
|
||||
}
|
||||
|
||||
.document-meta-panel summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
padding: 0.7rem 0.85rem;
|
||||
cursor: pointer;
|
||||
list-style: none;
|
||||
color: var(--muted);
|
||||
font: 700 0.78rem/1.2 ui-monospace, SFMono-Regular, monospace;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.document-meta-panel summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.document-meta-panel summary::after {
|
||||
content: "+";
|
||||
margin-left: auto;
|
||||
color: var(--text);
|
||||
font-size: 1rem;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.document-meta-panel[open] summary::after {
|
||||
content: "-";
|
||||
}
|
||||
|
||||
.document-meta-panel .meta-grid {
|
||||
padding: 0 0.85rem 0.85rem;
|
||||
}
|
||||
|
||||
.meta-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
||||
@@ -535,6 +620,26 @@ code {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.cached-notice {
|
||||
position: fixed;
|
||||
left: 1rem;
|
||||
bottom: 4.5rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.6rem;
|
||||
max-width: min(28rem, calc(100vw - 2rem));
|
||||
padding: 0.6rem 0.85rem;
|
||||
border: 1px solid rgba(37, 99, 235, 0.25);
|
||||
border-radius: 0;
|
||||
background: rgba(239, 246, 255, 0.96);
|
||||
color: #1d4ed8;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.cached-notice[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.offline-icon {
|
||||
display: inline-block;
|
||||
width: 0.6rem;
|
||||
@@ -544,6 +649,15 @@ code {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.cached-icon {
|
||||
display: inline-block;
|
||||
width: 0.6rem;
|
||||
height: 0.6rem;
|
||||
border-radius: 0;
|
||||
background: #2563eb;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.version-notice[hidden] {
|
||||
display: none;
|
||||
}
|
||||
@@ -564,6 +678,284 @@ code {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.document-meta__header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.document-meta__header--editor {
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
.document-edit-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 2.4rem;
|
||||
padding: 0 0.9rem;
|
||||
border: 1px solid var(--border);
|
||||
color: var(--text);
|
||||
text-decoration: none;
|
||||
background: var(--panel);
|
||||
}
|
||||
|
||||
.document-shell--editor {
|
||||
display: grid;
|
||||
grid-template-rows: auto auto 1fr;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.editor-form {
|
||||
min-height: 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.editor-form[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
[data-monaco-mount] {
|
||||
display: none;
|
||||
width: 100%;
|
||||
min-height: 60vh;
|
||||
height: 100%;
|
||||
border: 1px solid var(--border);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
[data-monaco-mount].monaco-mounted {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.editor-form textarea {
|
||||
width: 100%;
|
||||
min-height: 60vh;
|
||||
height: 100%;
|
||||
resize: vertical;
|
||||
border: 1px solid var(--border);
|
||||
background: #fbfbf9;
|
||||
color: var(--text);
|
||||
padding: 1rem;
|
||||
font: 400 0.98rem/1.6 ui-monospace, SFMono-Regular, monospace;
|
||||
}
|
||||
|
||||
[data-monaco-mount].monaco-mounted ~ textarea {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@keyframes monaco-shimmer {
|
||||
0% { background-position: -200% 0; }
|
||||
100% { background-position: 200% 0; }
|
||||
}
|
||||
|
||||
[data-monaco-mount]:not(.monaco-mounted) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: linear-gradient(90deg, var(--panel-strong) 25%, var(--panel) 50%, var(--panel-strong) 75%);
|
||||
background-size: 200% 100%;
|
||||
animation: monaco-shimmer 1.5s ease infinite;
|
||||
color: var(--muted);
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.editor-status {
|
||||
display: inline-block;
|
||||
min-width: 5.5rem;
|
||||
font-weight: 600;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.editor-status[data-state="queued"] {
|
||||
color: #92400e;
|
||||
}
|
||||
|
||||
.editor-status[data-state="conflict"] {
|
||||
color: #b91c1c;
|
||||
}
|
||||
|
||||
.editor-status[data-state="saving"],
|
||||
.editor-status[data-state="unsaved"] {
|
||||
color: #1d4ed8;
|
||||
}
|
||||
|
||||
.editor-conflict {
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
margin-top: 0.8rem;
|
||||
padding: 0.75rem 0.9rem;
|
||||
border: 1px solid #fecaca;
|
||||
background: #fff1f2;
|
||||
color: #7f1d1d;
|
||||
}
|
||||
|
||||
.editor-conflict[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.editor-conflict__header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.editor-conflict__header > div:first-child {
|
||||
display: grid;
|
||||
gap: 0.2rem;
|
||||
}
|
||||
|
||||
.editor-conflict__actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.editor-conflict__actions button {
|
||||
min-height: 2.1rem;
|
||||
padding: 0 0.75rem;
|
||||
border: 1px solid #fecaca;
|
||||
background: #fff;
|
||||
color: #7f1d1d;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.editor-conflict__actions button:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.55;
|
||||
}
|
||||
|
||||
.editor-conflict__choices {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.editor-conflict__choices button {
|
||||
min-height: 2rem;
|
||||
padding: 0 0.65rem;
|
||||
border: 1px solid rgba(127, 29, 29, 0.2);
|
||||
background: rgba(255, 255, 255, 0.72);
|
||||
color: #7f1d1d;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.editor-conflict__choices button[data-conflict-use="server"] {
|
||||
border-color: rgba(185, 28, 28, 0.25);
|
||||
background: rgba(254, 202, 202, 0.6);
|
||||
}
|
||||
|
||||
.editor-conflict__choices button[data-conflict-use="local"] {
|
||||
border-color: rgba(22, 101, 52, 0.25);
|
||||
background: rgba(187, 247, 208, 0.55);
|
||||
color: #14532d;
|
||||
}
|
||||
|
||||
.editor-conflict p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.editor-conflict__legend {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem 1rem;
|
||||
font-size: 0.86rem;
|
||||
}
|
||||
|
||||
.editor-conflict__legend span {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.35rem;
|
||||
}
|
||||
|
||||
.editor-conflict__swatch {
|
||||
width: 0.75rem;
|
||||
height: 0.75rem;
|
||||
border: 1px solid currentColor;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.editor-conflict__swatch--server {
|
||||
background: rgba(200, 85, 61, 0.2);
|
||||
color: #b91c1c;
|
||||
}
|
||||
|
||||
.editor-conflict__swatch--local {
|
||||
background: rgba(63, 143, 89, 0.2);
|
||||
color: #166534;
|
||||
}
|
||||
|
||||
.editor-conflict__diff {
|
||||
min-height: 16rem;
|
||||
overflow: auto;
|
||||
border: 1px solid rgba(127, 29, 29, 0.18);
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.editor-conflict code {
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.editor-conflict__resolution {
|
||||
display: grid;
|
||||
gap: 0.4rem;
|
||||
}
|
||||
|
||||
.editor-conflict__resolution label {
|
||||
font-size: 0.78rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.editor-conflict__resolution textarea {
|
||||
width: 100%;
|
||||
min-height: 16rem;
|
||||
resize: vertical;
|
||||
border: 1px solid rgba(127, 29, 29, 0.18);
|
||||
background: #fff;
|
||||
color: #1c2430;
|
||||
font-family: "Iosevka", "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.55;
|
||||
padding: 0.75rem;
|
||||
}
|
||||
|
||||
[data-conflict-monaco-mount] {
|
||||
display: none;
|
||||
width: 100%;
|
||||
min-height: 18rem;
|
||||
height: 32rem;
|
||||
border: 1px solid rgba(127, 29, 29, 0.18);
|
||||
background: #fff;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
[data-conflict-monaco-mount].monaco-mounted {
|
||||
display: block;
|
||||
}
|
||||
|
||||
[data-conflict-monaco-mount].monaco-mounted + textarea {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* Adaptive breakpoints */
|
||||
@media (max-width: 1024px) {
|
||||
.workspace-shell,
|
||||
@@ -579,6 +971,10 @@ code {
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.site-brand img {
|
||||
height: 2.25rem;
|
||||
}
|
||||
|
||||
.site-header__inner {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
@@ -655,6 +1051,12 @@ code {
|
||||
.meta-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.document-meta-panel summary,
|
||||
.document-meta__header {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1600px) {
|
||||
@@ -709,3 +1111,149 @@ code {
|
||||
font-size: 0.85rem;
|
||||
font-family: ui-monospace, SFMono-Regular, monospace;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.site-header {
|
||||
border-bottom-color: oklch(0.28 0.018 55 / 0.5);
|
||||
background: oklch(0.16 0.014 55 / 0.92);
|
||||
}
|
||||
|
||||
.miller-column h2 {
|
||||
background: oklch(0.20 0.015 55 / 0.72);
|
||||
}
|
||||
|
||||
.miller-column a:hover,
|
||||
.miller-column a.is-active {
|
||||
background: var(--accent-soft);
|
||||
}
|
||||
|
||||
.browser-icon--folder {
|
||||
color: oklch(0.705 0.165 55);
|
||||
}
|
||||
|
||||
.browser-icon--page {
|
||||
color: oklch(0.66 0.018 55);
|
||||
}
|
||||
|
||||
.markdown-body pre {
|
||||
background: oklch(0.12 0.015 55);
|
||||
color: oklch(0.93 0.006 55);
|
||||
}
|
||||
|
||||
.markdown-body blockquote {
|
||||
border-left-color: var(--accent);
|
||||
background: oklch(0.705 0.165 55 / 0.07);
|
||||
}
|
||||
|
||||
.document-meta-panel {
|
||||
background: oklch(0.20 0.015 55 / 0.5);
|
||||
}
|
||||
|
||||
.editor-form textarea {
|
||||
background: oklch(0.15 0.012 55);
|
||||
color: var(--text);
|
||||
border-color: var(--border);
|
||||
}
|
||||
|
||||
.editor-conflict {
|
||||
border-color: oklch(0.55 0.18 25 / 0.4);
|
||||
background: oklch(0.22 0.04 25);
|
||||
color: oklch(0.75 0.12 25);
|
||||
}
|
||||
|
||||
.editor-conflict__actions button {
|
||||
border-color: oklch(0.55 0.18 25 / 0.4);
|
||||
background: oklch(0.18 0.018 55);
|
||||
color: oklch(0.75 0.12 25);
|
||||
}
|
||||
|
||||
.editor-conflict__choices button {
|
||||
border-color: oklch(0.55 0.18 25 / 0.35);
|
||||
background: oklch(0.18 0.018 55);
|
||||
color: oklch(0.75 0.12 25);
|
||||
}
|
||||
|
||||
.editor-conflict__choices button[data-conflict-use="server"] {
|
||||
border-color: oklch(0.65 0.18 25 / 0.45);
|
||||
background: oklch(0.28 0.08 25 / 0.8);
|
||||
color: oklch(0.78 0.13 25);
|
||||
}
|
||||
|
||||
.editor-conflict__choices button[data-conflict-use="local"] {
|
||||
border-color: oklch(0.65 0.15 145 / 0.45);
|
||||
background: oklch(0.25 0.07 145 / 0.8);
|
||||
color: oklch(0.78 0.12 145);
|
||||
}
|
||||
|
||||
.editor-conflict__swatch--server {
|
||||
background: oklch(0.35 0.12 25 / 0.65);
|
||||
color: oklch(0.72 0.14 25);
|
||||
}
|
||||
|
||||
.editor-conflict__swatch--local {
|
||||
background: oklch(0.33 0.10 145 / 0.65);
|
||||
color: oklch(0.72 0.13 145);
|
||||
}
|
||||
|
||||
.editor-conflict__diff {
|
||||
border-color: oklch(0.55 0.18 25 / 0.3);
|
||||
background: oklch(0.14 0.012 55);
|
||||
}
|
||||
|
||||
.editor-conflict__resolution textarea {
|
||||
border-color: oklch(0.55 0.18 25 / 0.3);
|
||||
background: oklch(0.14 0.012 55);
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
[data-conflict-monaco-mount] {
|
||||
border-color: oklch(0.55 0.18 25 / 0.3);
|
||||
background: oklch(0.14 0.012 55);
|
||||
}
|
||||
|
||||
.offline-notice {
|
||||
border-color: oklch(0.75 0.15 85 / 0.4);
|
||||
background: oklch(0.22 0.03 85 / 0.95);
|
||||
color: oklch(0.75 0.12 85);
|
||||
}
|
||||
|
||||
.offline-icon {
|
||||
background: oklch(0.78 0.165 85);
|
||||
}
|
||||
|
||||
.cached-notice {
|
||||
border-color: oklch(0.55 0.15 250 / 0.3);
|
||||
background: oklch(0.20 0.035 250 / 0.96);
|
||||
color: oklch(0.65 0.12 250);
|
||||
}
|
||||
|
||||
.cached-icon {
|
||||
background: oklch(0.60 0.15 250);
|
||||
}
|
||||
|
||||
.version-notice button {
|
||||
background: var(--accent);
|
||||
}
|
||||
|
||||
.miller-column:not(:first-child):not(:last-child):hover,
|
||||
.miller-column:not(:first-child):not(:last-child).is-preview-expanded {
|
||||
box-shadow: 8px 0 24px oklch(0.08 0.02 55 / 0.3);
|
||||
}
|
||||
|
||||
.editor-status[data-state="queued"] {
|
||||
color: oklch(0.65 0.12 75);
|
||||
}
|
||||
|
||||
.editor-status[data-state="conflict"] {
|
||||
color: oklch(0.60 0.18 25);
|
||||
}
|
||||
|
||||
.editor-status[data-state="saving"],
|
||||
.editor-status[data-state="unsaved"] {
|
||||
color: oklch(0.65 0.12 250);
|
||||
}
|
||||
|
||||
.markdown-body blockquote {
|
||||
background: oklch(0.705 0.165 55 / 0.07);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user