v0.2.84
This commit is contained in:
1 parent
6329ac33d1
commit
90e3c399ea
22 files changed
+729
-46
No files matched your search
+273
-2
@@ -1115,12 +1115,16 @@ textarea::selection {
|
||||
}
|
||||
|
||||
.markdown-body blockquote {
|
||||
|
||||
margin: .35em 0;
|
||||
padding: .2em 1em;
|
||||
border-left: 3px solid var(--accent);
|
||||
color: var(--text-muted-strong);
|
||||
}
|
||||
|
||||
.markdown-body .markdown-quote-line {
|
||||
min-height: 1.5em;
|
||||
}
|
||||
|
||||
.markdown-body a {
|
||||
color: var(--accent-text);
|
||||
}
|
||||
@@ -1153,7 +1157,7 @@ textarea::selection {
|
||||
bottom: 0;
|
||||
z-index: 24;
|
||||
display: grid;
|
||||
grid-template-rows: auto minmax(0, 1fr);
|
||||
grid-template-rows: auto auto minmax(0, 1fr);
|
||||
width: 340px;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
@@ -1184,6 +1188,33 @@ textarea::selection {
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.history-view-switch {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 4px;
|
||||
margin: 0 18px 8px;
|
||||
padding: 3px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
background: var(--surface-inset);
|
||||
}
|
||||
|
||||
.history-view-switch button {
|
||||
min-height: 30px;
|
||||
border: 0;
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
color: var(--muted);
|
||||
font-size: .74rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.history-view-switch button.active {
|
||||
background: var(--surface-2);
|
||||
color: var(--text-heading);
|
||||
box-shadow: 0 0 0 1px var(--border);
|
||||
}
|
||||
|
||||
.icon-button {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
@@ -1203,6 +1234,190 @@ textarea::selection {
|
||||
padding: 10px 18px 24px;
|
||||
}
|
||||
|
||||
.history-list--archive {
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
.history-archive {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.history-archive__years {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
overflow-x: auto;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
.history-archive__years button {
|
||||
flex: 0 0 auto;
|
||||
min-width: 56px;
|
||||
min-height: 30px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 7px;
|
||||
background: transparent;
|
||||
color: var(--muted);
|
||||
font-size: .72rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.history-archive__years button.active {
|
||||
border-color: color-mix(in srgb, var(--accent) 56%, var(--border));
|
||||
background: color-mix(in srgb, var(--accent) 12%, var(--surface));
|
||||
color: var(--text-heading);
|
||||
}
|
||||
|
||||
.history-archive__histogram {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(12, minmax(0, 1fr));
|
||||
align-items: end;
|
||||
gap: 3px;
|
||||
min-height: 98px;
|
||||
padding: 10px 8px 6px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 9px;
|
||||
background: var(--surface-inset);
|
||||
}
|
||||
|
||||
.history-archive__bar-cell {
|
||||
display: grid;
|
||||
grid-template-rows: 74px auto;
|
||||
align-items: end;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.history-archive__bar {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: var(--history-bar-height, 3px);
|
||||
border-radius: 3px 3px 1px 1px;
|
||||
background: color-mix(in srgb, var(--accent) 72%, var(--surface-2));
|
||||
}
|
||||
|
||||
.history-archive__bar-cell small {
|
||||
overflow: hidden;
|
||||
color: var(--muted-2);
|
||||
font-size: .52rem;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.history-calendar {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.history-calendar__month {
|
||||
padding: 10px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 9px;
|
||||
background: var(--surface-card);
|
||||
}
|
||||
|
||||
.history-calendar__month-head,
|
||||
.history-archive__selected-head {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.history-calendar__month-head strong,
|
||||
.history-archive__selected-head strong {
|
||||
font-size: .78rem;
|
||||
}
|
||||
|
||||
.history-calendar__month-head span,
|
||||
.history-archive__selected-head span {
|
||||
color: var(--muted-2);
|
||||
font-size: .64rem;
|
||||
}
|
||||
|
||||
.history-calendar__weekdays,
|
||||
.history-calendar__days {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(7, minmax(0, 1fr));
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.history-calendar__weekdays {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.history-calendar__weekdays span {
|
||||
color: var(--muted-2);
|
||||
font-size: .56rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.history-calendar__blank {
|
||||
min-height: 30px;
|
||||
}
|
||||
|
||||
.history-calendar__day {
|
||||
position: relative;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
min-height: 31px;
|
||||
padding: 0;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 50%;
|
||||
background: color-mix(in srgb, var(--accent) 22%, var(--surface));
|
||||
color: var(--text-heading);
|
||||
font-size: .66rem;
|
||||
}
|
||||
|
||||
button.history-calendar__day {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.history-calendar__day small {
|
||||
position: absolute;
|
||||
right: -1px;
|
||||
bottom: -1px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
min-width: 13px;
|
||||
height: 13px;
|
||||
padding: 0 3px;
|
||||
border: 1px solid var(--surface-card);
|
||||
border-radius: 999px;
|
||||
background: var(--accent);
|
||||
color: var(--on-accent);
|
||||
font-size: .48rem;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.history-calendar__day.active {
|
||||
border-color: var(--accent);
|
||||
box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 18%, transparent);
|
||||
}
|
||||
|
||||
.history-calendar__day--empty {
|
||||
background: transparent;
|
||||
color: var(--muted-2);
|
||||
}
|
||||
|
||||
.history-archive__selected {
|
||||
padding-top: 2px;
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.history-archive__hint {
|
||||
margin: 0;
|
||||
padding: 8px 0 18px;
|
||||
color: var(--muted-2);
|
||||
font-size: .72rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.revision--compact {
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.revision {
|
||||
position: relative;
|
||||
display: grid;
|
||||
@@ -3367,6 +3582,62 @@ dialog::backdrop {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.workspace-settings-card {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
gap: 10px 14px;
|
||||
margin-top: 10px;
|
||||
padding: 12px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
background: var(--surface-card);
|
||||
}
|
||||
|
||||
.workspace-settings-card[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.workspace-settings-card__copy {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.workspace-settings-card__copy strong {
|
||||
font-size: .82rem;
|
||||
}
|
||||
|
||||
.workspace-settings-card__copy small,
|
||||
.workspace-settings-card>.form-message {
|
||||
color: var(--muted);
|
||||
font-size: .72rem;
|
||||
}
|
||||
|
||||
.workspace-archive-toggle {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
color: var(--text-secondary);
|
||||
font-size: .78rem;
|
||||
}
|
||||
|
||||
.workspace-archive-toggle input {
|
||||
width: auto;
|
||||
min-height: auto;
|
||||
margin: 0;
|
||||
accent-color: var(--accent);
|
||||
}
|
||||
|
||||
.workspace-settings-card>.form-message {
|
||||
grid-column: 1 / -1;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.workspace-settings-card>.form-message:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.notes-view-switch {
|
||||
display: inline-flex;
|
||||
padding: 3px;
|
||||
|
||||
Reference in new issue
Block a user