-
Notifications
You must be signed in to change notification settings - Fork 799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unify masterbars in Simple and Atomic Default sites (take 3) #38419
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: minor | ||
Type: changed | ||
|
||
Nav Redesign: Use Core admin bar for Simple and Atomic Default-view sites |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/** | ||
* Always shows WP logo (All Sites) | ||
*/ | ||
#wpadminbar li#wp-admin-bar-wp-logo { | ||
#wpadminbar li#wp-admin-bar-wpcom-logo { | ||
display: block !important; | ||
} | ||
|
||
|
@@ -17,7 +17,13 @@ | |
/** | ||
* WP logo menu | ||
*/ | ||
#wpadminbar #wp-admin-bar-wp-logo>.ab-item .ab-icon:before { | ||
#wpadminbar #wp-admin-bar-wpcom-logo>.ab-item .ab-icon { | ||
width: 15px; | ||
@media (max-width: 782px) { | ||
width: revert; | ||
} | ||
} | ||
#wpadminbar #wp-admin-bar-wpcom-logo>.ab-item .ab-icon:before { | ||
display: flex; | ||
content: ""; | ||
width: 20px; | ||
|
@@ -27,6 +33,7 @@ | |
mask-image: url("data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iZ3JpZGljb24gZ3JpZGljb25zLW15LXNpdGVzIiBoZWlnaHQ9IjI0IiB3aWR0aD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDI0IDI0Ij48Zz48cGF0aCBkPSJNMTIgMkM2LjQ3NyAyIDIgNi40NzcgMiAxMnM0LjQ3NyAxMCAxMCAxMCAxMC00LjQ3NyAxMC0xMFMxNy41MjMgMiAxMiAyek0zLjUgM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DAxMjAuNSAxMmE4LjQ5MyA4LjQ5MyAwIDAxLTQuMjI3IDcuMzQ3eiIvPjwvZz48L3N2Zz4="); | ||
mask-position: center; | ||
mask-repeat: no-repeat; | ||
top: 2px; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. took style from https://github.com/WordPress/wordpress-develop/blob/5a30482419f1b0bcc713a7fdee3a14afd67a1bca/src/wp-includes/css/admin-bar.css#L505 to resolve the broken CSS layout of the wpcom logo |
||
|
||
@media (max-width: 782px) { | ||
width: 36px; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: minor | ||
Type: changed | ||
|
||
Nav Redesign: Use Core admin bar for Simple and Atomic Default-view sites |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Significance: patch | ||
Type: other | ||
Comment: Updated composer.lock. | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Significance: patch | ||
Type: changed | ||
Comment: Updated composer.lock. | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Significance: patch | ||
Type: changed | ||
Comment: Updated composer.lock. | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
took style from https://github.com/WordPress/wordpress-develop/blob/5a30482419f1b0bcc713a7fdee3a14afd67a1bca/src/wp-includes/css/admin-bar.css#L493 to resolve the broken CSS layout of the wpcom logo