Skip to content

Commit

Permalink
Optimize logo in settings page
Browse files Browse the repository at this point in the history
  • Loading branch information
htmgarcia committed Apr 4, 2017
1 parent 2c8384e commit 2531e8d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 12 deletions.
9 changes: 5 additions & 4 deletions src/EmbedPress/Ends/Back/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,11 @@ public static function renderForm()
?>
<div id="embedpress-settings-wrapper">
<header>
<a href="//wordpress.org/plugins/embedpress" target="_blank" rel="noopener noreferrer" title="EmbedPress" class="presshack-logo">
<img width="35" src="//pressshack.com/wp-content/uploads/2016/05/embedpress-150x150.png">
</a>
<h1>EmbedPress</h1>
<h1 class="pressshack-title">
<a href="//wordpress.org/plugins/embedpress" target="_blank" rel="noopener noreferrer" title="EmbedPress">
EmbedPress
</a>
</h1>
</header>

<?php settings_errors(); ?>
Expand Down
23 changes: 15 additions & 8 deletions src/assets/css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,23 +60,30 @@
*/

#embedpress-settings-wrapper {
margin-top: 20px;
margin-top: 15px;
}

#embedpress-settings-wrapper > header > * {
#embedpress-settings-wrapper > header .pressshack-title {
display: inline-block;
padding: 10px 0 10px 55px;
background-image: url(../images/icon-128x128.png);
background-size: 45px auto;
background-position: left center;
background-repeat: no-repeat;
background-color: transparent;
}

#embedpress-settings-wrapper > header h1 {
margin: .67em 0 15px .15em;
font-weight: 600;
font-size: 2em;
}

#embedpress-settings-wrapper a:hover img {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
filter: alpha(opacity=80);
-moz-opacity: .80;
-khtml-opacity: .80;
opacity: .80;
#embedpress-settings-wrapper > header h1 a,
#embedpress-settings-wrapper > header h1 a:hover,
#embedpress-settings-wrapper > header h1 a:focus,
#embedpress-settings-wrapper > header h1 a:active {
color: #23282d;
}

#embedpress-settings-wrapper .nav-tab-wrapper .nav-tab-active {
Expand Down
Binary file added src/assets/images/icon-128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2531e8d

Please sign in to comment.