编辑器工具栏改 xLog 风格:SVG 线性图标按钮(加粗/斜体/删除线/代码/标题/引用/列表/任务/分隔线/链接/图片/日期),32px 圆角、悬停出底框,替代文本 chip
This commit is contained in:
+11
-7
@@ -888,12 +888,13 @@ html.topbar-hidden {--topbar-h: 0px;}
|
||||
color: var(--admin-muted);
|
||||
margin-right: 4px;
|
||||
text-transform: uppercase;}
|
||||
.tb-btn {width: 28px;
|
||||
height: 28px;
|
||||
/* xLog 式工具栏按钮:方形圆角、线性图标、悬停出底框 */
|
||||
.tb-btn {width: 32px;
|
||||
height: 32px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 3px;
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
color: var(--admin-ink-soft);
|
||||
color: var(--admin-muted);
|
||||
cursor: pointer;
|
||||
font-size: 12.5px;
|
||||
display: inline-flex;
|
||||
@@ -906,9 +907,12 @@ html.topbar-hidden {--topbar-h: 0px;}
|
||||
border-color: var(--admin-line);
|
||||
color: var(--admin-ink);}
|
||||
}
|
||||
.tb-btn.italic {font-style: italic;}
|
||||
.tb-btn.mono {font-family: var(--mono);
|
||||
font-size: 11.5px;}
|
||||
.tb-btn svg {width: 17px;
|
||||
height: 17px;}
|
||||
.tb-text {font-family: var(--mono);
|
||||
font-size: 11.5px;
|
||||
font-weight: 700;
|
||||
color: inherit;}
|
||||
.tb-popover {display: flex;
|
||||
gap: 6px;
|
||||
padding: 8px;
|
||||
|
||||
Reference in New Issue
Block a user