Skip to content

Commit

Permalink
Merge pull request #136 from gabrielbull/features/inset-titlebar
Browse files Browse the repository at this point in the history
Add vertical padding to inset titlebar
  • Loading branch information
davej authored Feb 4, 2019
2 parents 4c6a5bf + aa3a8d6 commit d286490
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/TitleBar/macOs/styles/10.11.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export default {
display: 'flex',
alignItems: 'center',
minHeight: '22px',
backgroundImage: '-webkit-linear-gradient(top, #ededed 0, #ededed 1px, #e7e7e7 2px, #d1d1d1 100%)',
backgroundImage:
'-webkit-linear-gradient(top, #ededed 0, #ededed 1px, #e7e7e7 2px, #d1d1d1 100%)',
borderBottomWidth: '1px',
borderBottomStyle: 'solid',
borderBottomColor: '#afafaf',
Expand All @@ -23,20 +24,24 @@ export default {
},

titleBarInset: {
paddingTop: '11px',
paddingBottom: '11px',
paddingLeft: '8px',
paddingRight: '8px'
},

unfocusedTitleBar: {
backgroundImage: '-webkit-linear-gradient(top, #fafafa 0px, #f6f6f6 2px, #f6f6f6 100%)',
backgroundImage:
'-webkit-linear-gradient(top, #fafafa 0px, #f6f6f6 2px, #f6f6f6 100%)',
borderBottomColor: '#d1d1d1'
},

title: {
WebkitUserSelect: 'none',
userSelect: 'none',
cursor: 'default',
fontFamily: '-apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif',
fontFamily:
'-apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif',
fontSize: '13px',
letterSpacing: '0px',
color: '#4d4d4d',
Expand Down

0 comments on commit d286490

Please sign in to comment.