JFIF $ d d 7 * Z qn )ZP 0 !1 A "#a$2Qr D8 a Ri [f \m I ykI w0 c u F c Rı?lO7 к _f˓ [C $殷WF< _W ԣ s Kc ëI zyQy /_LK ℂ ;C",p F A : /] =H ~ , l s / 9 ć: [=/#f ; ) x { ٛE Q )~ = 𘙲r*2~ a _V = ' ku m F D } KYYC )( { * g& f `툪 r y ` = ^ c J. I ]( * `wq 1dđ #̩ ͑ 0 ; H ] u 搂 @:~ ו K L N s h } O I R* 8 :2 ! lD JV o ( 3 = M ( z Ȱ+i *N A r6K n S l ) ! J J Ӂ* % ݉?|D } d5: eP0 R; {$X' x F @ .ÊB {,WJ uQ ɲRI ;9 Q E琯 6 2fT .DU J ;*c P A\IL Nj! J ۱+ O\ ͔ ] ޒ S J ȧ c%A N ol ՎprU L Zԛe r E2= X D Xg VQeӓ k y P7 U* o m Q I s ,K `) 6\G3t?pgjr m ۛجw luGt f h 9uyP 0D;Uڽ"OXl i f $ ) &|ML 0 Z rm1 [ H XP l P R0 'G=i 2N +0 e 2 ]] 9 VT P O 7 h(F * 癈 ' = Q VZD F,d ߬ ~ T X G[ `le 69C R(!S2! P < 0 x < !1AQ "Raq 02Br #S CTb ? Ζ "]mH5WR 7 k.ۛ ! } Q~ + yԏ z |@ T20 S~ K e k *zF f^2X *( @ 8 r ? C I uI|֓>^Ex LgNU Y+{.R Ѫ τV YT D I 6 2 '8Y2 7'\T P.6 d &˦ @V q i |8 -O Ε ] ʔ U= T L 8= ;6c | !qfF3 a ů& ~$ l} 'NW U s$U k^S V : U#6w + +s &r+n ڐ { @ 29gL u " T Ù M=6 (^ "7 r}=6Yݾ lC u hquymp Ǧ G jhs ǜNl ɻ} o 7 #S6 a w 4 ! OS r D 5 7 % | ?x> L | / nD 6?/8 w # [ ) L 7 +6〼T A T g ! %5 Mm Z /c -{1_Je "| ^$ 'O & ޱմ < H vNqϡQ$ < 6 &Nݛ ֨tǻN (9 n ru~'όN sMG& ,uH Kw *Ī 5@ u6 BԒ i YN * f 0 _ GhKW u lT <nj- 0{ M L~ | /a v\ E = ?1 \ɟuq Ђ Y O a K ޡP q $ H8o Q˼EV ~ k 0 h' L Pp M -M" m^ !6l nմ 쮝C U T . ! :vMǨb h ډ Vc r @~p # !1QAa q ? AL0L x LU 4 d ; x " 16ad0 7.\ߋ 0 = P l v/ " c A Ay A|2pO8"d MV #1] = \ " ˡ ] k v I9 d ۓ & q ) ǐq E ꞅ v "P )q X &Q З non]я u ג./ ; gZ$ M QР 2M ]h ni 0 P $ێ 3CɏGjώy : m c # S_ l@ '_ \m|C 2`K _ 1 cIvGc $? PCQ S+D ? K aײ k Fr b 8 ύ NEدg ĝ U 3 6 #Ik+ v { v i ( ވ ? a e) X xy/*@Q Ǽ Ծ ) $ IWO l c G; !i k{ gOŀ L ('x T rb $ w) R $ & N1E td U3Uȉ1p M"N* (DNy d96.(jQ) X 5 c QɎMy W ? Q *!R > 6=7)Xj 5`J ] e 8%t ! + ' ! 1Q 5 !1 AQaq ё #2 "0BRb ? G t^ ## .l lQ T $ v , ,m 㵜5u bV =sY+ @d { N ! dn O < .- B; _w J t 6;Q Jd. Q c%p{ 1 ,sND dF H I0 Гo X ш e黅X ۢ F :)[ F G X ƹ / w _c MeD ,ʡc c . W D tA $ j@ : ) - #u c1< @ۗ9F ) KJ- hpP] _ x [ q B lb p ʖ w q " LFGd ƶ * s +ډ_Zc " ? % t[I P 6 J ]# =ɺ V v v CGs Gh1 > )6 |e y ? L ӣ m,4 G W Ui ` ] uJVo VDG< SB 6ϏQ @ TiU l y O U 0 kfV ~ ~}S Z @ *WU Ui ## ; s /[ = ! 7}" W N ] ' (L ! ~ y5 g9T̅J kbM' +s :S +B) v @ M j e C f j E 0 Y\Qn z G 1 д~ W o{T 9?` Rm yhsy3 !HAD ] m c1 ~ 2 L S u7x T ;j$ `} 4-> L# vzŏ I L S ֭ T { r jGK C ; b pU= - ` Bs K. S F w4 M q] Z dH S 0 ) tLg
@use 'theme';
// Snippet-type navigation: a boxed segmented control on a white band, with
// each tab separated by a vertical rule and the active tab shown as a
// filled tile.
.snippet-type-nav-wrapper {
position: relative;
// Bleed across the full admin content width, flush against the plugin toolbar.
box-sizing: border-box;
min-block-size: 53px;
margin-inline-start: -22px;
inline-size: calc(100% + 42px);
overflow: hidden;
background: #fff;
&::before,
&::after {
position: absolute;
inset-block: 0;
z-index: 1;
inline-size: 32px;
content: '';
opacity: 0;
pointer-events: none;
transition: opacity 150ms ease;
}
&::before {
inset-inline-start: 0;
background: linear-gradient(to right, #fff, transparent);
}
&::after {
inset-inline-end: 0;
background: linear-gradient(to left, #fff, transparent);
}
&.has-scroll-start::before,
&.has-scroll-end::after {
opacity: 1;
}
@media (width <= 782px) {
margin-inline-start: -10px;
inline-size: calc(100% + 22px);
}
}
.snippet-type-nav {
// The tab band scrolls sideways instead of wrapping at any width.
overflow-x: auto;
scrollbar-width: thin;
// The row line is painted on the scrollport so it remains fixed while tabs scroll.
background: linear-gradient(to top, #e2e2e4 1px, #fff 1px);
@media (width <= 960px) {
li {
flex: 1 1 0;
}
.snippet-type-link {
inline-size: 100%;
min-inline-size: 100px;
padding-inline: 4px;
}
}
@media (width <= 782px) {
scrollbar-width: none;
&::-webkit-scrollbar {
display: none;
}
}
ul {
display: flex;
align-items: stretch;
flex-wrap: nowrap;
min-block-size: 53px;
margin: 0;
padding: 0;
list-style: none;
}
li {
display: flex;
flex: 0 0 auto;
margin: 0;
}
button.snippet-type-link {
background: none;
border-block: none;
border-inline-start: none;
font-family: inherit;
}
.snippet-type-icon {
font-size: 22px;
inline-size: 24px;
block-size: 24px;
}
.snippet-type-link {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
min-inline-size: 100px;
padding-block: 0;
padding-inline: 24px;
cursor: pointer;
font-size: 14px;
font-weight: 600;
line-height: 1.5;
white-space: nowrap;
color: #646970;
text-decoration: none;
box-sizing: border-box;
border-inline-end: 1px solid #e2e2e4;
// The text-only "All Snippets" tab uses a slightly wider gap between
// its label and count than tabs that lead with a badge or icon.
&.all-type-link {
gap: 12px;
}
svg {
display: block;
inline-size: 24px;
block-size: 24px;
}
&:hover,
&:focus,
&:active {
color: theme.$accent;
}
&.active-type {
background: #f0f0f1;
color: theme.$accent;
}
// Suppress the persistent focus ring left behind after a mouse click;
// keyboard navigation still gets a visible outline via :focus-visible.
&:focus-visible {
outline: 2px solid theme.$accent;
outline-offset: -2px;
box-shadow: none;
}
&:focus:not(:focus-visible) {
outline: none;
box-shadow: none;
}
&.pro-locked-type {
color: #646970;
}
}
}
// Card/table view toggle: a two-icon segmented pair of square tiles with
// the active view filled in the accent colour.
.snippet-view-toggle {
display: flex;
align-items: center;
gap: 4px;
.snippet-view-toggle-option {
display: flex;
align-items: center;
justify-content: center;
inline-size: 38px;
block-size: 38px;
box-sizing: border-box;
padding: 0;
margin: 0;
background: #f0f0f1;
color: #646970;
border: none;
border-radius: 4.5px;
cursor: pointer;
svg {
display: block;
}
&:hover,
&:focus {
color: #2c3337;
}
&.active-view {
background: theme.$accent;
color: #fff;
&:hover,
&:focus {
color: #fff;
}
}
}
}
// Slot that adopts the WordPress Screen Options / Help tabs so they appear
// directly below the snippet-type nav instead of above the page content.
.snippets-screen-meta-slot {
#screen-meta-links {
float: none;
display: flex;
justify-content: flex-end;
margin: 0;
border-color: #e2e2e4;
.show-settings {
border-color: #e2e2e4;
}
}
#screen-meta {
margin: 0;
}
}
// Item count shown after a subnav tab's label, using the label colour at reduced opacity.
.snippet-type-nav .subnav-count {
font-size: 14px;
font-weight: 600;
line-height: 1.5;
color: currentcolor;
opacity: 0.65;
}
// Keep the active count tied to its active label rather than assigning a separate colour.
.snippet-type-nav .snippet-type-link.active-type .subnav-count {
color: currentcolor;
}
// The short "All" form of the all-snippets label only replaces "All Snippets"
// once the bar collapses; the full form is shown at every wider width.
.snippet-type-name-short {
display: none;
}
// Collapse at mid-width and below (through mobile): drop the type names so each
// tab shows just its badge and count, and shorten "All Snippets" to "All". Only
// the badged manage nav owns a .snippet-type-name; the text-only import/settings
// subnav tabs are untouched. Below 782px the bar still scrolls sideways (above),
// now with the compact collapsed tabs.
@media (width <= 1210px) {
.snippet-type-nav .snippet-type-link:not(.all-type-link) .snippet-type-name {
display: none;
}
.snippet-type-nav .all-type-link .snippet-type-name-full {
display: none;
}
.snippet-type-nav .all-type-link .snippet-type-name-short {
display: inline;
}
}
// When an admin notice pushes the page content down, restore the top border
// above the subnav bar (no extra margin — the wrapper sits flush).
.notice + .wrap .snippet-type-nav-wrapper {
border-block-start: 1px solid #e2e2e4;
}