Skip to content

Commit f9de055

Browse files
committed
Fixed links to small buttons
1 parent a4bfc04 commit f9de055

File tree

2 files changed

+13
-22
lines changed

2 files changed

+13
-22
lines changed

lighthouse-extension/app/popup.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h2 class="header-titles__url">...</h2>
3939
<main class="main" role="main">
4040
<div class="feedback"></div>
4141

42-
<button class="button button--link button--configure" id="configure-options">Options</button>
42+
<button class="button button--configure" id="configure-options">Options</button>
4343
<button class="button button--generate" id="generate-report">Generate report</button>
4444
</main>
4545

@@ -54,7 +54,7 @@ <h2 class="options__title">Options</h2>
5454
<ul class="options__list">
5555
</ul>
5656

57-
<button class="button button--link button--ok" id="ok">OK</button>
57+
<button class="button button--ok" id="ok">OK</button>
5858
</aside>
5959

6060
<script src="scripts/popup.js"></script>

lighthouse-extension/app/styles/lighthouse.css

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -114,43 +114,33 @@ body {
114114

115115
.button {
116116
cursor: pointer;
117-
}
118-
119-
.button--link {
120-
background: none;
121-
border: none;
122-
box-shadow: none;
123-
color: #FFF;
124-
text-decoration: underline;
125-
cursor: pointer;
126-
}
127-
128-
.button--generate {
129117
font-family: 'Roboto', Arial, sans-serif;
130118
-webkit-font-smoothing: antialiased;
131119
font-weight: 500;
132-
font-size: 16px;
120+
font-size: 12px;
133121
color: #FFFFFF;
134122
border: none;
135123
color: #FFF;
136124
background: #719EA8;
137125
box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.50);
138126
border-radius: 2px;
127+
padding: 7px 12px 5px 12px
128+
}
129+
130+
.button--generate {
131+
font-weight: 500;
132+
font-size: 16px;
139133
padding: 8px 16px 10px 16px;
140-
margin-left: auto;
141134
align-self: stretched;
135+
margin-left: auto;
142136
}
143137

144138
.button--configure {
145-
background: none;
146-
border: none;
147-
box-shadow: none;
148-
color: #FFF;
149-
text-decoration: underline;
139+
margin-right: auto;
150140
}
151141

152142
.button--ok {
153-
align-self: center;
143+
margin: 0 auto;
154144
}
155145

156146
.subpage {
@@ -205,6 +195,7 @@ body {
205195
/* 1. scrollbar when extension is too small */
206196
.options {
207197
overflow: auto; /* [1] */
198+
display: block;
208199
}
209200

210201
.options__title {

0 commit comments

Comments
 (0)