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 @@ -173,7 +173,7 @@ export default class ArticleTopBar extends React.Component {
173173 />
174174 {
175175 this . props . status . search != null && this . props . status . search . length > 0
176- ? < button onClick = { e => this . handleSearchClearButton ( e ) } className = 'searchClearBtn ' > < i className = 'fa fa-times' /> </ button >
176+ ? < button onClick = { e => this . handleSearchClearButton ( e ) } className = 'ArticleTopBar-left-search-clear-button ' > < i className = 'fa fa-times' /> </ button >
177177 : null
178178 }
179179 < div className = { 'tooltip' + ( this . state . isTooltipHidden ? ' hide' : '' ) } >
@@ -200,17 +200,17 @@ export default class ArticleTopBar extends React.Component {
200200 < div className = 'ArticleTopBar-right' >
201201 < button onClick = { e => this . handleTutorialButtonClick ( e ) } > ?< span className = 'tooltip' > How to use</ span >
202202 </ button >
203- < a ref = 'links' className = 'linksBtn ' href >
203+ < a ref = 'links' className = 'ArticleTopBar-right-links-button ' href >
204204 < img src = '../resources/app.png' width = '44' height = '44' />
205205 </ a >
206206 {
207207 this . state . isLinksDropdownOpen
208208 ? (
209- < div className = 'links-dropdown' >
210- < ExternalLink className = 'links-item' href = 'https://b00st.io' >
209+ < div className = 'ArticleTopBar-right- links-button -dropdown' >
210+ < ExternalLink className = 'ArticleTopBar-right- links-button-dropdown -item' href = 'https://b00st.io' >
211211 < i className = 'fa fa-fw fa-home' /> Boost official page
212212 </ ExternalLink >
213- < ExternalLink className = 'links-item' href = 'https://github.com/BoostIO/boost-app-discussions/issues' >
213+ < ExternalLink className = 'ArticleTopBar-right- links-button-dropdown -item' href = 'https://github.com/BoostIO/boost-app-discussions/issues' >
214214 < i className = 'fa fa-fw fa-bullhorn' /> Discuss
215215 </ ExternalLink >
216216 </ div >
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ infoBtnActiveBgColor = #3A3A3A
9595 line-height 33px
9696 z-index 1
9797 pointer-events none
98- .searchClearBtn
98+ .ArticleTopBar-left-search-clear-button
9999 position absolute
100100 top 6px
101101 right 10px
@@ -112,20 +112,9 @@ infoBtnActiveBgColor = #3A3A3A
112112 & :hover
113113 color white
114114 background-color topBarBtnBgColor
115- & > .refreshBtn
116- float left
117- width 33px
118- height 33px
119- margin-top 13.5px
120- margin-left 15px
121- border none
122- color refreshBtColor
123- background transparent
124- font-size 18px
125- line-height 18px
126- transition 0.1s
127- & :hover
128- color refreshBtnActiveColor
115+ & :active
116+ color white
117+ background-color darken (topBarBtnBgColor , 35% )
129118 .ArticleTopBar-left-unsaved
130119 line-height 33px
131120 float left
@@ -138,8 +127,15 @@ infoBtnActiveBgColor = #3A3A3A
138127 border none
139128 outline none
140129 color inactiveTextColor
130+ width 33px
131+ height 33px
132+ border-radius 16.5px
133+ transition 0.1s
141134 & :hover
142135 color inherit
136+ & :active
137+ color inherit
138+ background-color lighten (topBarBtnBgColor , 15% )
143139 & .ArticleTopBar-left-unsaved-save-button
144140 position relative
145141 .ArticleTopBar-left-unsaved-save-button-count
@@ -189,7 +185,7 @@ infoBtnActiveBgColor = #3A3A3A
189185 .tooltip
190186 opacity 1
191187
192- & > .linksBtn
188+ & > .ArticleTopBar-right-links-button
193189 display block
194190 position absolute
195191 top 8px
@@ -199,14 +195,14 @@ infoBtnActiveBgColor = #3A3A3A
199195 opacity 1
200196 .tooltip
201197 opacity 1
202- & > .links-dropdown
198+ & > .ArticleTopBar-right- links-button -dropdown
203199 position fixed
204200 z-index 50
205201 right 10px
206202 top 40px
207203 background-color transparentify (invBackgroundColor , 80% )
208204 padding 5px 0
209- .links-item
205+ .ArticleTopBar-right- links-button-dropdown -item
210206 padding 0 10px
211207 height 33px
212208 width 100%
You can’t perform that action at this time.
0 commit comments