File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ othersMenu.append(new MenuItem({
3535} ) )
3636
3737const BRAND_COLOR = '#18AF90'
38+ const OSX = global . process . platform === 'darwin'
3839
3940const editDeleteTutorialElement = (
4041 < svg width = '300' height = '500' className = 'tutorial' >
@@ -318,6 +319,7 @@ export default class ArticleDetail extends React.Component {
318319 disabled = { ! isUnsaved }
319320 >
320321 < i className = 'fa fa-fw fa-save' /> Save
322+ < span className = 'tooltip' children = { `Save Post (${ OSX ? '⌘' : '^' } + S)` } />
321323 </ button >
322324 </ div >
323325
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ export default class ArticleNavigator extends React.Component {
186186 < div className = 'title' > Folders</ div >
187187 < button onClick = { e => this . handleNewFolderButton ( e ) } className = 'addBtn' >
188188 < i className = 'fa fa-fw fa-plus' />
189- < span className = 'tooltip' > Create a new folder ({ OSX === 'darwin' ? '⌘' : '^' } + Shift + n)</ span >
189+ < span className = 'tooltip' > Create a new folder ({ OSX ? '⌘' : '^' } + Shift + n)</ span >
190190 </ button >
191191
192192 { status . isTutorialOpen ? newFolderTutorialElement : null }
Original file line number Diff line number Diff line change @@ -110,6 +110,13 @@ infoButton()
110110 & :focus
111111 color white
112112 background-color lighten (brandColor , 15% )
113+ .tooltip
114+ tooltip ()
115+ margin-top 30px
116+ margin-left - 90px
117+ & :hover .tooltip
118+ opacity 1
119+
113120 .ShareButton-open-button .tooltip
114121 margin-left - 40px
115122 .ShareButton-dropdown
@@ -121,7 +128,7 @@ infoButton()
121128 border-radius 5px
122129 right 5px
123130 top 95px
124- box-shadow 0px 0px 10px 1px # c0 c0 c0
131+ box-shadow 0px 0px 10px 1px alpha ( # b b b , 0.8 )
125132 border 1px solid #bc bc bc
126133 & .hide
127134 display none
@@ -133,7 +140,7 @@ infoButton()
133140 padding-left 20px
134141 text-align left
135142 font-size 13px
136- font-family 'Helvetica Neue '
143+ font-family '.HelveticaNeueDeskInterface-Regular '
137144 & :hover
138145 background-color #42 97 FE
139146 color white
You can’t perform that action at this time.
0 commit comments