Skip to content

Commit 2f5454f

Browse files
committed
Clean up options page
1 parent 7b67788 commit 2f5454f

File tree

2 files changed

+30
-35
lines changed

2 files changed

+30
-35
lines changed

chrome/src/options/options.css

Lines changed: 27 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
body, button {
22
background-color: #fff;
3-
font-family: 'Helvetica Neue', Helvetica, sans-serif;
3+
font-family: Geneva, Tahoma, Verdana, sans-serif;
44
font-size: 13px;
5+
color: #121210;
56
line-height: 1.6;
67
}
78

@@ -11,57 +12,48 @@ body, * {
1112

1213
.wrapper {
1314
width: 500px;
14-
margin: 30px auto;
15-
border-radius: 3px;
15+
margin: auto;
1616
padding: 0 20px;
17-
overflow: hidden;
18-
border: 1px solid #e0e0e0;
1917
}
2018

2119
.notice {
2220
display: none;
23-
background: #ffeeee;
24-
border-top: 1px solid #fcc;
25-
border-bottom: 1px solid #fcc;
26-
color: #a00;
27-
padding: 20px;
28-
margin: -1px -20px 0;
21+
background: #f1f5f9;
22+
border-left: 2px solid #c1c5cd;
23+
border-radius: 0 5px 5px 0;
24+
padding: 12px;
25+
margin: 30px 0;
2926
font-weight: bold;
3027
}
3128

3229
.option {
33-
margin: 0 -20px 0;
34-
padding: 20px;
35-
background-color: #f9f9f9;
30+
margin: 30px 0 0;
3631
transition: all 0.6s;
3732
}
3833

39-
.option:last-child {
40-
border-bottom: 1px solid #e0e0e0;
41-
}
42-
43-
.option:nth-child(even) {
44-
border-top: 1px solid #e0e0e0;
45-
border-bottom: 1px solid #e0e0e0;
46-
background-color: #fff;
47-
}
48-
4934
.saved.option {
5035
background: #ffe;
5136
color: #333;
5237
}
5338

39+
.description {
40+
margin-top: 5px;
41+
color: #666;
42+
}
43+
5444
input[type]:focus {
5545
background-color: #fff;
46+
border: 1px solid #49d;
47+
outline: none;
5648
}
5749

5850
input[type] {
59-
background: none;
60-
border: 1px solid #e0e0e0;
61-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
62-
padding: 9px;
51+
background: #f5f5f5;
52+
border: 1px solid transparent;
53+
border-radius: 5px;
54+
padding: 12px;
6355
margin-top: 5px;
64-
font-family: monospace;
56+
font-family: menlo, monospace;
6557
}
6658

6759
input[type], button {
@@ -71,7 +63,7 @@ input[type], button {
7163
}
7264

7365
label {
74-
font-weight: bold;
66+
font-size: 14px;
7567
}
7668

7769
button {
@@ -81,14 +73,17 @@ button {
8173
color: #fff;
8274
font-weight: bold;
8375
cursor: pointer;
76+
letter-spacing: 2px;
77+
border-radius: 5px;
8478
text-transform: uppercase;
85-
box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .1);
79+
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .1);
8680
transition: all .6s;
8781
margin: 20px 0;
82+
font-size: 12px;
8883
}
8984

9085
button:active {
91-
box-shadow: inset 0 4px 0 rgba(0, 0, 0, .1);
86+
box-shadow: inset 0 1px 0 rgba(0, 0, 0, .1);
9287
}
9388

9489
code {

chrome/src/options/options.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"Domains" : {
33
"description": "Specify GitHub enterprise domain, or other domains you'd like to grab links for. There's no need to add github.com, protocol is also not required unless you'd like to be explicit.",
44
"val": "",
5-
"hint": "( comma separated if multiple )"
5+
"hint": "(comma separated if multiple)"
66
},
77
"Shortcut" : {
88
"description": "The shortcut that triggers button clicking on the mail view.",
99
"val": "shift + 71",
10-
"hint": " ( press shortcut in the input field )"
10+
"hint": " (press shortcut in the input field)"
1111
},
1212
"BackgroundShortcut" : {
1313
"description": "The shortcut that triggers button clicking on the mail view, opens the link in the background.",
1414
"val": "shift + 66",
15-
"hint": " ( press shortcut in the input field )"
15+
"hint": " (press shortcut in the input field)"
1616
}
1717
}

0 commit comments

Comments
 (0)