Skip to content

Commit

Permalink
Fixed links to small buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet committed Aug 5, 2016
1 parent a4bfc04 commit f9de055
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 22 deletions.
4 changes: 2 additions & 2 deletions lighthouse-extension/app/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h2 class="header-titles__url">...</h2>
<main class="main" role="main">
<div class="feedback"></div>

<button class="button button--link button--configure" id="configure-options">Options</button>
<button class="button button--configure" id="configure-options">Options</button>
<button class="button button--generate" id="generate-report">Generate report</button>
</main>

Expand All @@ -54,7 +54,7 @@ <h2 class="options__title">Options</h2>
<ul class="options__list">
</ul>

<button class="button button--link button--ok" id="ok">OK</button>
<button class="button button--ok" id="ok">OK</button>
</aside>

<script src="scripts/popup.js"></script>
Expand Down
31 changes: 11 additions & 20 deletions lighthouse-extension/app/styles/lighthouse.css
Original file line number Diff line number Diff line change
Expand Up @@ -114,43 +114,33 @@ body {

.button {
cursor: pointer;
}

.button--link {
background: none;
border: none;
box-shadow: none;
color: #FFF;
text-decoration: underline;
cursor: pointer;
}

.button--generate {
font-family: 'Roboto', Arial, sans-serif;
-webkit-font-smoothing: antialiased;
font-weight: 500;
font-size: 16px;
font-size: 12px;
color: #FFFFFF;
border: none;
color: #FFF;
background: #719EA8;
box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.50);
border-radius: 2px;
padding: 7px 12px 5px 12px
}

.button--generate {
font-weight: 500;
font-size: 16px;
padding: 8px 16px 10px 16px;
margin-left: auto;
align-self: stretched;
margin-left: auto;
}

.button--configure {
background: none;
border: none;
box-shadow: none;
color: #FFF;
text-decoration: underline;
margin-right: auto;
}

.button--ok {
align-self: center;
margin: 0 auto;
}

.subpage {
Expand Down Expand Up @@ -205,6 +195,7 @@ body {
/* 1. scrollbar when extension is too small */
.options {
overflow: auto; /* [1] */
display: block;
}

.options__title {
Expand Down

0 comments on commit f9de055

Please sign in to comment.