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/menu.scss +6 -4 3.10.04.0.0-beta.2 View file →
@@ -1,4 +1,5 @@
1 +@use 'common/theme';
1 2
2 3 #adminmenu {
3 4 .toplevel_page_snippets div.wp-menu-image::before {
4 5 content: '';
@@ -9,9 +10,9 @@
9 10 }
10 11
11 12 .code-snippets-upgrade-button {
12 13 color: #fff;
13 - background-color: #d46f4d;
14 + background-color: var(--cs-color-secondary);
14 15 border: none;
15 16
16 17 // WP 7.0 restyles `.button`/`.button-primary` with wider padding, a 2px radius and a
17 18 // 40px min-height; pin these (independent of the plugin control tokens, which are
@@ -16,9 +17,9 @@
16 17 // WP 7.0 restyles `.button`/`.button-primary` with wider padding, a 2px radius and a
17 18 // 40px min-height; pin these (independent of the plugin control tokens, which are
18 19 // sized for page content rather than the admin menu) so the pill keeps its compact
19 20 // dimensions and stays aligned with the surrounding submenu items across WP versions.
20 - border-radius: 3px;
21 + border-radius: 5px;
21 22 padding-block: 0;
22 23 padding-inline: 10px;
23 24 min-block-size: 30px;
24 25 block-size: auto;
@@ -34,10 +35,11 @@
34 35 @media (prefers-reduced-motion: reduce) {
35 36 transition-duration: 0.01s;
36 37 }
37 38
38 - &:hover {
39 - background-color: #0ca0a9;
39 + &:hover,
40 + &:focus {
41 + background-color: var(--cs-color-primary-hover);
40 42 }
41 43
42 44 .dashicons {
43 45 vertical-align: text-bottom;