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
← All changes | css/common/list-table/_responsive.scss +18 -15 3.10.0 → 4.0.0-beta.2 View file →
@@ -1,10 +1,11 @@
1 1 @use '../theme';
2 2
3 -// Toolbar squeeze: above the mobile breakpoint the row never wraps —
4 -// components shrink gracefully instead (flex-wrap would otherwise win
5 -// before flex-shrink ever engages). Wrapping remains the small-screen
6 -// fallback only.
3 +// Toolbar squeeze: above the tablet collapse (see below) the row never wraps;
4 +// components shrink instead (flex-wrap would otherwise win before flex-shrink
5 +// ever engages). Between 782px and 1400px the pagination and view toggle, which
6 +// cannot shrink, force the row onto two lines; below 782px wrapping is the
7 +// small-screen fallback.
7 8 .snippets-list-view .tablenav {
8 9 flex-wrap: wrap;
9 10
10 11 @media (width > 782px) {
@@ -22,11 +23,10 @@
22 23 min-inline-size: 0;
23 24
24 25 select {
25 26 inline-size: auto;
26 - flex: 1 1 154px;
27 - min-inline-size: 104px;
28 - max-inline-size: 154px;
27 + flex: 0 1 auto;
28 + min-inline-size: 170px;
29 29 }
30 30 }
31 31
32 32 .tablenav-select-all {
@@ -85,13 +85,13 @@
85 85 min-block-size: 38px;
86 86 box-sizing: border-box;
87 87 padding: 0;
88 88 margin: 0;
89 - border-radius: 5.6px;
89 + border-radius: 5px;
90 90 }
91 91
92 92 a.button {
93 - color: theme.$accent;
93 + color: var(--cs-color-accent);
94 94 }
95 95
96 96 .paging-input {
97 97 gap: 8px;
@@ -103,20 +103,20 @@
103 103 min-block-size: 38px;
104 104 box-sizing: border-box;
105 105 margin: 0;
106 106 text-align: center;
107 - color: #2c3337;
107 + color: var(--cs-color-text);
108 108 }
109 109
110 110 .tablenav-paging-text {
111 111 font-size: 14px;
112 - color: #646970;
112 + color: var(--cs-color-text-muted);
113 113 }
114 114 }
115 115
116 116 .tablenav-pages .displaying-num {
117 117 font-size: 14px;
118 - color: #646970;
118 + color: var(--cs-color-text-muted);
119 119 white-space: nowrap;
120 120 }
121 121
122 122 // The trailing float-clearing break would otherwise register as an
@@ -124,11 +124,14 @@
124 124 br.clear {
125 125 display: none;
126 126 }
127 127
128 + // The pagination and view toggle cannot shrink, so the group must not be
129 + // asked to: letting it shrink pushed the toggle out of the toolbar (and
130 + // off the page edge in RTL) between the tablet collapse and about 1400px.
128 131 .tablenav-end-group {
129 - flex: 0 1 auto;
130 - min-inline-size: 0;
132 + flex: 0 0 auto;
133 + min-inline-size: fit-content;
131 134 }
132 135
133 136 // The item count is the first thing to give way when space runs short.
134 137 @media (width <= 1240px) {
@@ -144,9 +147,9 @@
144 147 // fill the remainder). Row two carries the selection + navigation cluster:
145 148 // "Select all" at the start, the pagination + view-toggle group pinned to the
146 149 // end. A forced full-width break keeps the split deterministic regardless of
147 150 // content width.
148 -@media (782px < width <= 1210px) {
151 +@media (782px < width <= 1400px) {
149 152 .snippets-list-view .tablenav.top {
150 153 flex-wrap: wrap;
151 154 row-gap: 8px;
152 155