From 4667ca48cd490807c6da248b484237c02f73c99e Mon Sep 17 00:00:00 2001 From: jaywcjlove Date: Fri, 14 Oct 2022 08:30:56 +0000 Subject: [PATCH] feat(build): add `style-list-arrow` className. 9e3b2b913fcfa9c17043ab3fbb4df324fa23ed46 --- docs/quickreference.html | 25 +++++++++++++++++++++++++ style/style.css | 17 +++++++++++++++-- 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/docs/quickreference.html b/docs/quickreference.html index fbb9884a..cecb1d82 100644 --- a/docs/quickreference.html +++ b/docs/quickreference.html @@ -666,6 +666,31 @@
:-:-
visualEffectState.inactive后台应一直显示为非激活状态。
titleBarStyle string (win/mac)窗口标题栏样式。默认值 (default)
titleBarStyle.default分别返回 mac 或者 win 的标准标题栏

<!--rehype:className=style-list-->

+

列表箭头样式展示表格

+ + + + + + + + + + + + + + + + + + + + + +
:-:-
visualEffectState.inactive后台应一直显示为非激活状态。
titleBarStyle string (win/mac)窗口标题栏样式。默认值 (default)
titleBarStyle.default分别返回 mac 或者 win 的标准标题栏
+ +

<!--rehype:className=style-list-arrow-->

列表

一栏(默认)

    diff --git a/style/style.css b/style/style.css index 3a2e6642..09faa67d 100644 --- a/style/style.css +++ b/style/style.css @@ -208,14 +208,26 @@ table.show-header thead { display: table-header-group; } -table.style-list td + td { +table.style-list td + td, table.style-list-arrow td + td { padding-top: 0 !important; } -table.style-list td { + +table.style-list td, table.style-list-arrow td { display: block; text-align: left !important; } +table.style-list-arrow td:first-child::before { + content: ''; + display: inline-block; + width: 0px; + height: 0px; + border-right: 8px solid transparent; + border-top: 5px solid transparent; + border-left: 8px solid #228e6c; + border-bottom: 5px solid transparent; +} + tt, code { font-family: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace; font-size: 1em; @@ -649,6 +661,7 @@ body:not(.home) .h3wrap > h3:hover a::after { width: 0.5rem; border-color: #228e6c; background: transparent; + border-style: solid; top: 14px; }