Skip to content

Commit

Permalink
Fix missing icons and add some style
Browse files Browse the repository at this point in the history
  • Loading branch information
adrium committed Jul 23, 2018
1 parent d0dab49 commit 021a461
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 5 deletions.
2 changes: 1 addition & 1 deletion data/panel/panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ <h1 data-l10n-id="migration_title"></h1>
<div id="password-template" hidden>
<div class="password-container">
<a href="#" class="password-menu-link iconic-link" data-l10n-id="password_menu"></a>
<div class="user-name-container to-document-link">
<div class="user-name-container to-document-link" tabindex="-1">
<span class="user-name"></span>
<span class="password-revision"></span>
</div>
Expand Down
27 changes: 24 additions & 3 deletions data/panel/panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
@import "../_shared.scss";

$hover-background: #e2f4ff;
$success-glow: #6c3;

$menu-arrow-height: 7px;
$menu-border-width: 1px;
Expand Down Expand Up @@ -265,6 +266,22 @@ a
background-image: url("../images/android-warning.svg");
}

.user-name-container.to-document-link
{
cursor: pointer;
padding: 5px;

&:hover
{
background-color: $hover-background;
}

&:focus
{
background-color: $success-glow;
}
}

.password-menu-link
{
background-image: url("../images/android-menu.svg");
Expand All @@ -275,10 +292,14 @@ a
background-color: 0.7 * $background-color + 0.3 * $text-color;
}

.to-document-link:hover
.to-document-link.iconic-link
{
background-color: $hover-background;
cursor: pointer;
background-image: url(../images/ios-color-wand.svg);
}

.to-clipboard-link
{
background-image: url(../images/archive.svg);
}

.pwshow-link
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "__MSG_description__",
"author": "Adrium",
"homepage_url": "https://github.com/adrium/easypass.git",
"version": "0.11",
"version": "0.11.1",
"permissions": [
"tabs",
"http://*/*",
Expand Down

0 comments on commit 021a461

Please sign in to comment.