Skip to content

Commit

Permalink
move CSS to admin bar
Browse files Browse the repository at this point in the history
  • Loading branch information
remyperona committed Nov 6, 2023
1 parent 181ab02 commit a36f696
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 33 deletions.
37 changes: 37 additions & 0 deletions assets/css/admin-bar.css
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,40 @@
color: #FFF;
text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}


#wp-admin-bar-imagify-profile .imagify-upsell-admin-bar {
position:relative ;
background: #c51161;
margin: 10px -13px -10px -13px;
padding: 20px;
}

#wp-admin-bar-imagify-profile .imagify-upsell-admin-bar p {
color: #fff;
}

#wp-admin-bar-imagify-profile a.imagify-upsell-admin-bar-button {
display: block;
height: auto !important;
border: 1px solid #fff;
border-radius: 5px;
color: #fff !important;
padding: 5px 10px !important;
text-align: center;
text-decoration: none;
margin-top: 10px;
}

#wpadminbar #wp-admin-bar-imagify-profile a.imagify-upsell-dismiss {
display: inline !important;
height: auto !important;
}

#wpadminbar #wp-admin-bar-imagify-profile .imagify-upsell-dismiss::before {
position: absolute;
top: 5px;
right: 10px;
content: "\2715";
color: #fff;
}
33 changes: 0 additions & 33 deletions assets/css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -1543,36 +1543,3 @@ ul.imagify-datas-details.imagify-datas-details {
padding-right: 0em;
}
}

.imagify-upsell-admin-bar {
position:relative !important;
background: #c51161;
margin-top: 10px !important;
padding: 20px !important;
}

.imagify-upsell-admin-bar p {
color: #fff;
}

.imagify-upsell-admin-bar-button {
display: block !important;
border: 1px solid #fff !important;
border-radius: 5px !important;
color: #fff !important;
font-weight: bold !important;
padding: 5px 10px !important;
text-align: center;
text-decoration: none;
height: auto !important;
margin-top: 10px !important;
}

.imagify-upsell-dismiss::before {
position: absolute;
top: 5px;
right: 5px;
content: "\2715";
color: #fff;
font-size: 1em;
}

0 comments on commit a36f696

Please sign in to comment.