Skip to content

Commit 789ad37

Browse files
Update/visual style for parity (#25)
* Updating visual consistency - Adjusting Spacing - Adjusting Font Weight - Switching “Save to Pocket” to “Save” on recommendations * Removing Letter Spacing * Updating spacing and colors on panel and tags
1 parent a05e07d commit 789ad37

File tree

10 files changed

+40
-27
lines changed

10 files changed

+40
-27
lines changed

src/components/dropdown/dropdown.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.actions {
44
float: right;
55
text-align: right;
6+
padding: 3px 0;
67
}
78

89
.overflowList {

src/containers/save/recommendations/header/header.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
.header {
44
color: $darksmoke;
5-
font-size: 11px;
6-
font-weight: 200;
5+
font-size: 12px;
6+
font-weight: 400;
77
letter-spacing: 0.1px;
88
line-height: 16px;
99
margin: 0;

src/containers/save/recommendations/list/item.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { localize } from '../../../../common/_locales/locales'
88

99
const cx = classNames.bind(styles)
1010
const copy = {
11-
idle: localize('recommendations', 'save_to_pocket'),
11+
idle: localize('actions', 'save'),
1212
saving: localize('recommendations', 'saving'),
1313
saved: localize('recommendations', 'saved')
1414
}

src/containers/save/toolbar/tagging/chips/chips.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@
2020
display: inline-block;
2121
font-weight: 300;
2222
line-height: 16px;
23-
margin-bottom: 4px;
23+
margin-bottom: 2px;
2424
margin-right: 3px;
25+
margin-top: 2px;
2526
padding: 2px 12px;
2627
text-transform: lowercase;
2728

2829
&:first-child {
29-
margin-left: 16px;
30+
margin-left: 20px;
3031
}
3132

3233
span {

src/containers/save/toolbar/tagging/suggestions/suggestions.scss

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
display: block;
77
font-size: 13px;
88
line-height: 17px;
9-
margin-top: 2px;
109
text-align: left;
1110
width: 100%;
1211
}
@@ -23,30 +22,32 @@
2322
flex-wrap: wrap;
2423
list-style-type: none;
2524
margin: 0;
26-
padding: 8px 0 0;
25+
padding: 10px 0 0;
2726
text-align: left;
2827
}
2928

3029
.suggestion {
31-
background-color: $smoke;
30+
background-color: $snow;
31+
border: 1px solid $silver;
3232
border-radius: 3px;
3333
color: $tar;
3434
cursor: pointer;
3535
display: inline-block;
36-
flex-grow: 1;
36+
// flex-grow: 1;
3737
font-weight: 300;
3838
letter-spacing: 0.05em;
3939
line-height: 16px;
40-
margin-bottom: 5px;
41-
margin-right: 3px;
40+
margin-bottom: 4px;
41+
margin-right: 6px;
4242
min-width: 15%;
43-
padding: 1px 8px;
43+
padding: 2px 8px;
4444
text-align: center;
4545
text-transform: lowercase;
4646
transform: translateZ(0.1);
4747

4848
&:hover {
49-
background-color: $teal;
49+
border-color: $overcast;
50+
background-color: $darksmoke;
5051
color: $white;
5152
}
5253
}

src/containers/save/toolbar/tagging/tagging.scss

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
.well {
1111
background: $white;
1212
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="#999999"><path d="M83.38 54.6L43.8 17.02H17.41V43.4l39.58 39.58L83.38 54.6zM30.95 36.81c-3.45 0-6.25-2.67-6.25-5.96s2.8-5.97 6.25-5.97 6.25 2.67 6.25 5.97c0 3.29-2.8 5.96-6.25 5.96z"/></svg>');
13-
background-position: 4px 4px;
13+
background-position: 4px 7px;
1414
background-repeat: no-repeat;
1515
background-size: 22px;
1616
border: 1px solid $smoke;
1717
border-radius: 3px;
1818
box-sizing: border-box;
1919
font-size: 13px;
20-
line-height: 17px;
20+
line-height: 16px;
2121
margin: 0;
22-
padding: 4px 10px 2px;
22+
padding: 4px 10px;
2323
position: relative;
2424
text-align: left;
2525

@@ -29,11 +29,10 @@
2929

3030
.placeholder {
3131
color: $overcast;
32-
font-style: italic;
33-
left: 28px;
32+
left: 29px;
3433
// pointer-events: none;
3534
position: absolute;
36-
top: 6px;
35+
top: 10px;
3736
}
3837

3938
.typeaheadWrapper {

src/containers/save/toolbar/tagging/taginput/taginput.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ input.tagInput {
44
all: unset;
55
color: $pitch;
66
display: inline-block;
7-
margin-bottom: 2px;
7+
margin-top: 3px;
8+
margin-bottom: 3px;
89
margin-left: 16px;
910
margin-right: 3px;
1011
min-width: 0.3em;
12+
line-height: 16px;
1113
padding: 2px 4px;
1214

1315
&.active {

src/containers/save/toolbar/toolbar.main.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,12 @@ class Toolbar extends Component {
5151

5252
return (
5353
<div className={styles.toolbar}>
54-
{Icon.PocketLogo({ width: '18px', height: '18px' })}
55-
{this.statusText}
54+
{Icon.PocketLogo({
55+
width: '22px',
56+
height: '22px',
57+
marginRight: '8px'
58+
})}
59+
<span className={styles.statusText}>{this.statusText}</span>
5660

5761
{status === 'error' && <ToolbarError />}
5862

src/containers/save/toolbar/toolbar.scss

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,20 @@
1212
color: $pitch;
1313
font-family: $fontstack-default;
1414
font-size: 16px;
15-
font-weight: 300;
16-
letter-spacing: 1.05;
17-
line-height: 1.25;
18-
padding: 5px 10px;
15+
font-weight: 400;
16+
line-height: 1.5;
17+
padding: 8px 10px;
1918
position: relative;
2019
text-align: left;
2120
z-index: 100;
2221
}
2322

23+
.statusText {
24+
display: inline-block;
25+
font-weight: 600;
26+
padding: 3px 0;
27+
}
28+
2429
.error {
2530
background-color: $snow;
2631
border-radius: 4px;

src/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: 'Save to Pocket'
2-
version: 3.0.0.5
2+
version: 3.0.0.8
33
options_page: options.html
44
description: __MSG_extDescriptionGoogleChrome__
55
default_locale: "en"

0 commit comments

Comments
 (0)