Skip to content
This repository was archived by the owner on Dec 11, 2019. It is now read-only.

Commit 8790898

Browse files
jonathansampsonbsclifton
authored andcommitted
Standardizes on Lion badge design
1 parent e2b0bab commit 8790898

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

app/renderer/components/browserActionBadge.js

+9-7
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,19 @@ class BrowserActionBadge extends ImmutableComponent {
3939

4040
const styles = StyleSheet.create({
4141
browserActionBadge: {
42+
left: 'calc(50% - 1px)',
43+
top: '14px',
44+
position: 'absolute',
4245
color: '#FFF',
43-
borderRadius: '2px',
46+
borderRadius: '2.5px',
4447
padding: '1px 2px',
4548
pointerEvents: 'none',
46-
font: '7pt "Arial Narrow"',
49+
font: '6pt "Arial Narrow"',
4750
textAlign: 'center',
48-
position: 'absolute',
49-
top: '50%',
50-
left: '40%',
51-
border: '.5px solid #FFF',
52-
minWidth: '8px'
51+
border: '0px solid #FFF',
52+
background: '#555555',
53+
minWidth: '10px',
54+
userSelect: 'none'
5355
},
5456
centered: {
5557
left: '50%',

0 commit comments

Comments
 (0)