File tree Expand file tree Collapse file tree
browser/styles/main/HomeContainer/lib Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,29 +34,30 @@ iptFocusBorderColor = #369DCD
3434 border-radius 5px
3535 border solid 1px borderColor
3636 outline none
37- margin 100 px auto 15 px
37+ margin 75 px auto 20 px
3838 & :focus
3939 border-color iptFocusBorderColor
4040 .colorSelect
4141 text-align center
4242 .option
4343 cursor pointer
44- .FolderMark
45- padding 5px
46- font-size 22px
47- height 33px
48- width 33px
49- overflow hidden
50- line-height 33px
51- transition 0.1s
52- border 1px solid transparent
53- border-radius 5px
54- margin 0 2px
55- & :hover
56- border-color borderColor
57- & .active
58- font-size 28px
59- border-color iptFocusBorderColor
44+ font-size 22px
45+ height 48px
46+ width 48px
47+ margin 0 2px
48+ border 1px solid transparent
49+ border-radius 5px
50+ overflow hidden
51+ line-height 45px
52+ text-align center
53+ transition 0.1s
54+ display inline-block
55+ & :hover
56+ border-color borderColor
57+ font-size 28px
58+ & .active
59+ font-size 28px
60+ border-color iptFocusBorderColor
6061 .alert
6162 color infoTextColor
6263 background-color infoBackgroundColor
Original file line number Diff line number Diff line change @@ -62,13 +62,12 @@ export default class CreateNewFolder extends React.Component {
6262 colorIndexes . push ( i )
6363 }
6464 let colorElements = colorIndexes . map ( index => {
65- let className = index === this . state . color
66- ? 'active'
67- : null
65+ let className = 'option'
66+ if ( index === this . state . color ) className += ' active'
6867
6968 return (
70- < span className = 'option' key = { index } onClick = { e => this . handleColorClick ( index ) ( e ) } >
71- < FolderMark className = { className } color = { index } />
69+ < span className = { className } key = { index } onClick = { e => this . handleColorClick ( index ) ( e ) } >
70+ < FolderMark color = { index } />
7271 </ span >
7372 )
7473 } )
You can’t perform that action at this time.
0 commit comments