PluginProbe
Code Snippets / 4.0.0-beta.2
Code Snippets v4.0.0-beta.2
4.0.0-beta.2 3.10.2 3.10.1 3.10.0 3.10.0-beta.2 3.10.0-beta.1 4.0.0-beta.1 3.9.6 trunk 2.10.0 2.10.1 2.12.0 2.12.1 2.13.0 2.13.1 2.13.2 2.13.3 2.14.0 2.14.1 2.14.2 2.14.3 2.14.4 2.14.5 2.14.6 3.0.0 All 65 releases
code-snippets / css / common / list-table / _navigation.scss

_navigation.scss in Code Snippets 4.0.0-beta.2, at css/common/list-table/_navigation.scss

69 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @use '../theme';
2
3 .tablenav {
4 margin: 16px 0;
5 display: flex;
6 align-items: center;
7 flex-wrap: wrap;
8
9 // The row gap only shows once controls wrap onto a second row (see the
10 // tablet collapse below, where the selection + pagination cluster drops to
11 // its own row); the 18px column gap spaces the left cluster on one line.
12 gap: 12px 18px;
13 }
14
15 /* WP 7.0 changes the default admin link colour to the modern blue. Pin the classic accent on active rows (names and
16 row-action links) so links keep their original colour; inactive rows are handled by the muted link-colors mixin,
17 and the trash button keeps its dark red from the `.delete` rules. */
18 .wp-list-table .active-snippet a {
19 color: var(--cs-color-accent);
20
21 &:hover,
22 &:focus {
23 color: var(--cs-color-accent-hover);
24 box-shadow: none;
25 }
26
27 &:focus-visible {
28 outline: 2px solid var(--cs-color-accent);
29 }
30 }
31
32 /* Status filter links (All | Active | Inactive | …): the current view reads as plain
33 body text while the remaining views are accent-coloured links; every count stays
34 in the body-text colour regardless of its link state. */
35 /* stylelint-disable no-descending-specificity -- unrelated element; ordering is fine. */
36 .subsubsub a.current {
37 color: var(--cs-color-text);
38 }
39
40 .subsubsub a:not(.current) {
41 color: var(--cs-color-accent);
42
43 &:hover,
44 &:focus {
45 color: var(--cs-color-accent-hover);
46 box-shadow: none;
47 }
48
49 &:focus {
50 outline: 2px solid var(--cs-color-accent);
51 }
52 }
53
54 .snippets-table-toolbar .subsubsub a .count {
55 color: var(--cs-color-text);
56 }
57 /* stylelint-enable no-descending-specificity */
58
59 .wp-core-ui .button.clear-filters {
60 vertical-align: baseline;
61 }
62
63 .snippet-type-description {
64 border-block-end: 1px solid var(--cs-color-border);
65 margin: 0;
66 padding-block: 1em;
67 padding-inline: 0;
68 }
69