File tree Expand file tree Collapse file tree
styles/main/HomeContainer/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ export default class ArticleDetail extends React.Component {
2929 super ( props )
3030
3131 this . state = {
32- article : makeInstantArticle ( props . activeArticle )
32+ article : makeInstantArticle ( props . activeArticle ) ,
33+ previewMode : false
3334 }
3435 }
3536
@@ -139,10 +140,10 @@ export default class ArticleDetail extends React.Component {
139140 </ div >
140141 < div className = 'right' >
141142 < button onClick = { e => this . handleEditButtonClick ( e ) } className = 'editBtn' >
142- < i className = 'fa fa-fw fa-edit' /> < span className = 'tooltip' > Edit 編集 (e)</ span >
143+ < i className = 'fa fa-fw fa-edit' /> < span className = 'tooltip' > Edit (e)</ span >
143144 </ button >
144145 < button onClick = { e => this . handleDeleteButtonClick ( e ) } className = 'deleteBtn' >
145- < i className = 'fa fa-fw fa-trash' /> < span className = 'tooltip' > Delete 削除 (d)</ span >
146+ < i className = 'fa fa-fw fa-trash' /> < span className = 'tooltip' > Delete (d)</ span >
146147 </ button >
147148 </ div >
148149 </ div >
@@ -252,7 +253,7 @@ export default class ArticleDetail extends React.Component {
252253 < div className = 'right' >
253254 {
254255 this . state . article . mode === 'markdown'
255- ? ( < button className = 'preview' onClick = { e => this . handleTogglePreviewButtonClick ( e ) } > Toggle Preview</ button > )
256+ ? ( < button className = 'preview' onClick = { e => this . handleTogglePreviewButtonClick ( e ) } > { ! this . state . previewMode ? ' Preview' : 'Edit' } </ button > )
256257 : null
257258 }
258259 < button onClick = { e => this . handleCancelButtonClick ( e ) } > Cancel</ button >
Original file line number Diff line number Diff line change @@ -59,14 +59,14 @@ export default class ArticleNavigator extends React.Component {
5959 < div className = 'userName' > local</ div >
6060 < button onClick = { e => this . handlePreferencesButtonClick ( e ) } className = 'settingBtn' >
6161 < i className = 'fa fa-fw fa-chevron-down' />
62- < span className = 'tooltip' > Preferences 環境設定 </ span >
62+ < span className = 'tooltip' > Preferences</ span >
6363 </ button >
6464 </ div >
6565
6666 < div className = 'controlSection' >
6767 < button onClick = { e => this . handleNewPostButtonClick ( e ) } className = 'newPostBtn' >
6868 New Post
69- < span className = 'tooltip' > 新しいポスト (⌘ + Enter or a)</ span >
69+ < span className = 'tooltip' > Create a new Post (⌘ + Enter or a)</ span >
7070 </ button >
7171 </ div >
7272
@@ -75,7 +75,7 @@ export default class ArticleNavigator extends React.Component {
7575 < div className = 'title' > Folders</ div >
7676 < button onClick = { e => this . handleNewFolderButton ( e ) } className = 'addBtn' >
7777 < i className = 'fa fa-fw fa-plus' />
78- < span className = 'tooltip' > New folder 新しいフォルダー </ span >
78+ < span className = 'tooltip' > Create a new folder </ span >
7979 </ button >
8080 </ div >
8181 < div className = 'folderList' >
Original file line number Diff line number Diff line change @@ -92,16 +92,16 @@ export default class ArticleTopBar extends React.Component {
9292 : null
9393 }
9494 < div className = { 'tooltip' + ( this . state . isTooltipHidden ? ' hide' : '' ) } >
95- - Search by tag タグで検索 : #{ '{string}' } < br />
96- - Search by folder フォルダーで検索 : in:{ '{folder_name}' }
95+ - Search by tag : #{ '{string}' } < br />
96+ - Search by folder : in:{ '{folder_name}' }
9797 </ div >
9898 </ div >
9999 </ div >
100100 < div className = 'right' >
101- < button onClick = { e => this . handleTutorialButtonClick ( e ) } > ?< span className = 'tooltip' > How to use 使い方 </ span > </ button >
101+ < button onClick = { e => this . handleTutorialButtonClick ( e ) } > ?< span className = 'tooltip' > How to use</ span > </ button >
102102 < ExternalLink className = 'logo' href = 'http://b00st.io' >
103103 < img src = '../../resources/favicon-230x230.png' width = '44' height = '44' />
104- < span className = 'tooltip' > Boost official page 公式サイト </ span >
104+ < span className = 'tooltip' > Boost official page</ span >
105105 </ ExternalLink >
106106 </ div >
107107 </ div >
Original file line number Diff line number Diff line change @@ -205,10 +205,10 @@ iptFocusBorderColor = #369DCD
205205 tooltip ()
206206 & .editBtn .tooltip
207207 margin-top 25px
208- margin-left - 65 px
208+ margin-left - 45 px
209209 & .deleteBtn .tooltip
210210 margin-top 25px
211- margin-left - 98 px
211+ margin-left - 73 px
212212 & :hover
213213 color inherit
214214 .tooltip
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ infoBtnActiveBgColor = #3A3A3A
106106 transition 0.1s
107107 .tooltip
108108 tooltip ()
109- margin-left - 70 px
109+ margin-left - 50 px
110110 margin-top 29px
111111 & :hover
112112 background-color infoBtnActiveBgColor
@@ -122,7 +122,7 @@ infoBtnActiveBgColor = #3A3A3A
122122 .tooltip
123123 tooltip ()
124124 margin-top 44px
125- margin-left - 180 px
125+ margin-left - 120 px
126126 & :hover
127127 opacity 1
128128 .tooltip
Original file line number Diff line number Diff line change 11{
22 "name" : " boost" ,
3- "version" : " 0.4.0-alpha.6 " ,
3+ "version" : " 0.4.0-alpha.7 " ,
44 "description" : " Boost App" ,
55 "main" : " main.js" ,
66 "scripts" : {
1111 "codesign" : " codesign --verbose --deep --force --sign \" MAISIN solutions Inc.\" Boost-darwin-x64/Boost.app"
1212 },
1313 "config" : {
14- "version" : " --version=0.33 .0 --app-bundle-id=com.maisin.boost" ,
14+ "version" : " --version=0.34 .0 --app-bundle-id=com.maisin.boost" ,
1515 "platform" : " --platform=darwin --arch=x64 --prune --icon=resources/app.icns" ,
1616 "ignore" : " --ignore=Boost-darwin-x64 --ignore=node_modules/devicon/icons --ignore=submodules/ace/(?!src-min)|submodules/ace/(?=src-min-noconflict)"
1717 },
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module.exports = {
33 devtool : 'source-map' ,
44 entry : {
55 main : './browser/main/index.js' ,
6- finder : './browser/main /index.js'
6+ finder : './browser/finder /index.js'
77 } ,
88 output : {
99 path : 'compiled' ,
You can’t perform that action at this time.
0 commit comments