Skip to content

Commit

Permalink
showing the save message while saving App Branding #15
Browse files Browse the repository at this point in the history
  • Loading branch information
iamakram22 committed Aug 3, 2023
1 parent 0cf7202 commit ac8c810
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions admin/templates/html-app-branding.php
Original file line number Diff line number Diff line change
Expand Up @@ -324,5 +324,6 @@
</table>

<?php submit_button(__('Save', 'wpem-rest-api'), 'primary wpem-backend-theme-button', 'update_app_branding'); ?>
<div class="update_app_branding_message"></div>

</div>
15 changes: 15 additions & 0 deletions assets/css/backend.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,21 @@
.wpem-api-message.updated{
margin:0;
}
.update_app_branding_message {
position: absolute;
bottom: 30px;
left: 100px;
transition: all 300ms ease;
}
.wpem-app-branding-mode.wpem-dark-mode .update_app_branding_message {
color: white;
}
.update_app_branding_message i.wpem-icon-checkmark {
color: #77dd37;
}
.update_app_branding_message i.wpem-icon-cross {
color: #FC4C20;
}
.wpem-admin-container .wpem-admin-top-title-section.postbox {
margin: 0px;
border: none;
Expand Down
Loading

0 comments on commit ac8c810

Please sign in to comment.