Release RuneStone 0.1.7 with plugin documents and shared menus
This commit is contained in:
+3
-7
@@ -1,4 +1,5 @@
|
||||
@import "./lib/theme/tokens.css";
|
||||
@import "./lib/ui/menu.css";
|
||||
|
||||
*,
|
||||
*::before,
|
||||
@@ -244,6 +245,8 @@ button:disabled {
|
||||
.table-edit-help { font: inherit; color: var(--rs-text-dim); }
|
||||
.reading table { border-collapse: collapse; width: 100%; font-size: 0.9em; overflow-wrap: normal; word-break: normal; }
|
||||
.reading th, .reading td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rs-border); min-width: 8rem; max-width: 26rem; white-space: normal; overflow-wrap: break-word; }
|
||||
.reading :is(th, td):empty::before,
|
||||
.reading :is(th, td) > p:empty::before { content: "\200b"; }
|
||||
.reading th { background: var(--rs-bg-active); font-weight: 600; color: var(--rs-text-strong); }
|
||||
.reading tbody tr:nth-child(even) { background: var(--rs-line-highlight); }
|
||||
.reading tbody tr:last-child td { border-bottom: 0; }
|
||||
@@ -375,19 +378,12 @@ button:disabled {
|
||||
.table-drag-preview p { margin: 0; }
|
||||
@keyframes table-drag-lift { from { opacity: 0; } to { opacity: .92; } }
|
||||
@media (prefers-reduced-motion: reduce) { .table-drag-handle { transition: none; } .table-drag-preview { animation: none; } }
|
||||
.table-cell-menu { position: fixed; z-index: 1000; width: 264px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); overflow-y: auto; padding: 5px; border: 1px solid var(--rs-border); border-radius: 8px; background: var(--rs-bg-elevated); color: var(--rs-text); box-shadow: 0 8px 30px #0006; font: 13px/1.4 var(--rs-font-ui); }
|
||||
.editor-notice { position: absolute; bottom: 12px; left: 12px; right: 12px; z-index: 20; margin: 0; padding: 10px 14px; border: 1px solid var(--rs-border); border-radius: 6px; background: var(--rs-bg-elevated); color: var(--rs-text); }
|
||||
.editor-notice button { margin-left: 12px; }
|
||||
.table-cell-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 10px; border: 0; border-radius: 4px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
|
||||
.table-cell-menu button:disabled { opacity: .4; cursor: default; }
|
||||
.table-cell-menu button:disabled:hover { background: transparent; }
|
||||
.action-icon { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
|
||||
.action-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.action-chevron { width: 13px; height: 13px; flex-basis: 13px; color: var(--rs-text-dim); }
|
||||
.table-add .action-icon { width: 20px; height: 20px; margin: 2px; }
|
||||
.table-cell-menu button:hover, .table-cell-menu button:focus-visible { background: var(--rs-bg-active); outline: none; }
|
||||
.table-cell-menu hr { margin: 4px 0; border: 0; border-top: 1px solid var(--rs-border); }
|
||||
.table-cell-submenu { position: fixed; z-index: 1001; width: 248px; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); overflow-y: auto; padding: 5px; background: var(--rs-bg-elevated); border: 1px solid var(--rs-border); border-radius: 8px; box-shadow: 0 8px 30px #0006; }
|
||||
.reading mark { background: color-mix(in srgb, #edc65b 30%, transparent); color: inherit; border-radius: 2px; }
|
||||
.reading .md-inline-math { font-family: var(--rs-font-mono); font-style: italic; }
|
||||
.reading .md-inline-comment { display: none; }
|
||||
|
||||
Reference in New Issue
Block a user