Skip to content

Commit 8adad4d

Browse files
authored
Merge pull request #71 from soderlind/fix/style-loading
v1.11.1: Fix search box styling, update dependencies
2 parents ec9c3ad + 2ddda07 commit 8adad4d

File tree

9 files changed

+356
-295
lines changed

9 files changed

+356
-295
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
# Changelog
22

33
All notable changes to this project will be documented in this file.
4+
### 1.11.1
5+
6+
#### Fixed
7+
8+
- Fixed search box styling inconsistency between admin and front-end pages
9+
- Fixed `action_enqueue_scripts` parameter type error on front-end (wp_enqueue_scripts passes no arguments)
10+
11+
#### Updated
12+
13+
- @wordpress/api-fetch 7.9.0 → 7.43.0
14+
- @wordpress/i18n 5.9.0 → 6.16.0
15+
- @wordpress/scripts 31.6.0 → 31.8.0
16+
- dexie 4.2.0 → 4.4.2
17+
18+
#### Security
19+
20+
- Resolved all npm audit vulnerabilities (lodash, path-to-regexp, picomatch, yaml)
21+
422
### 1.11.0
523

624
#### Performance

build/index.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('wp-api-fetch', 'wp-i18n'), 'version' => '9e73d87177e6f0887ecc');
1+
<?php return array('dependencies' => array('wp-api-fetch', 'wp-i18n'), 'version' => '9bf33b357ad71f73fef7');

build/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "soderlind/super-admin-all-sites-menu",
33
"description": "For the super admin, replace WP Admin Bar My Sites menu with an All Sites menu.",
4-
"version": "1.11.0",
4+
"version": "1.11.1",
55
"keywords": [
66
"wordpress",
77
"multisite",

css/all-sites-menu.css

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,49 @@
5656
}
5757

5858
#wp-admin-bar-all-sites-search {
59-
height: 38px;
59+
height: 38px !important;
6060
}
6161

6262
#wp-admin-bar-all-sites-search .ab-item {
63-
height: 34px;
63+
height: 34px !important;
6464
}
6565

66-
#wp-admin-bar-all-sites-search input {
67-
padding: 0 2px;
66+
#wpadminbar #wp-admin-bar-all-sites-search input,
67+
#wpadminbar #wp-admin-bar-all-sites-search input[type="text"],
68+
#wpadminbar #all-sites-search-text {
69+
padding: 0 8px !important;
6870
width: 95%;
6971
width: calc( 100% - 4px);
72+
/* Light background for visibility */
73+
background: #fff !important;
74+
background-color: #fff !important;
75+
border: 1px solid #8c8f94 !important;
76+
border-radius: 3px !important;
77+
box-sizing: border-box !important;
78+
box-shadow: none !important;
79+
color: #2c3338 !important;
80+
font-size: 13px !important;
81+
line-height: 22px !important;
82+
height: 28px !important;
83+
min-height: 28px !important;
84+
max-height: 28px !important;
85+
margin: 5px 0 !important;
86+
outline: none !important;
87+
}
88+
89+
#wpadminbar #wp-admin-bar-all-sites-search input:focus,
90+
#wpadminbar #wp-admin-bar-all-sites-search input[type="text"]:focus,
91+
#wpadminbar #all-sites-search-text:focus {
92+
background: #fff !important;
93+
background-color: #fff !important;
94+
border-color: #2271b1 !important;
95+
color: #2c3338 !important;
96+
box-shadow: 0 0 0 1px #2271b1 !important;
97+
outline: none !important;
98+
}
99+
100+
#wpadminbar #wp-admin-bar-all-sites-search input::placeholder,
101+
#wpadminbar #all-sites-search-text::placeholder {
102+
color: #646970 !important;
103+
opacity: 1 !important;
70104
}

0 commit comments

Comments
 (0)