Skip to content

Commit e3b14d8

Browse files
including css file
1 parent 65e723f commit e3b14d8

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

assets/css/admin-bar.php

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<style type="text/css">
2+
#wpadminbar {
3+
background-color: %s !important;
4+
}
5+
6+
#wp-admin-bar-environment-notice {
7+
display: none;
8+
}
9+
10+
#wpadminbar .ab-item,
11+
#wpadminbar a.ab-item,
12+
#wpadminbar > #wp-toolbar span.ab-label,
13+
#wpadminbar > #wp-toolbar span.noticon,
14+
.adminbar--environment-notice {
15+
color: #fff;
16+
}
17+
18+
@media only screen and ( min-width: 800px ) {
19+
#wp-admin-bar-environment-notice {
20+
display: block;
21+
}
22+
23+
#wp-admin-bar-environment-notice .ab-item {
24+
background-color: %s !important;
25+
}
26+
27+
#wp-admin-bar-environment-notice:hover .ab-item {
28+
background-color: %s !important;
29+
color: #fff;
30+
}
31+
}
32+
style>

0 commit comments

Comments
 (0)