1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

modify: change layout for config modal

This commit is contained in:
sota1235
2016-12-30 13:35:35 +09:00
parent d19ff3ff17
commit fb4dfbadf3
2 changed files with 23 additions and 7 deletions

View File

@@ -1,20 +1,35 @@
.root
modal()
max-width 540px
min-height 400px
max-width 800px
min-height 500px
height 80%
overflow hidden
position relative
.nav
.top-bar
absolute top left right
height 50px
background-color $ui-backgroundColor
border-bottom solid 1px $ui-borderColor
p
text-align center
font-size 18px
line-height 50px
.nav
absolute top left right
top 50px
left 0
width 140px
margin-left 30px
margin-top 20px
background-color $ui-backgroundColor
.nav-button
font-size 14px
text-align left
width 80px
height 50px
padding 7px 0
border none
background-color transparent
color #939395
@@ -34,6 +49,7 @@
.content
absolute left right bottom
top 50px
left 140px
overflow-y auto
body[data-theme="dark"]

View File

@@ -88,9 +88,6 @@ class Preferences extends React.Component {
key={tab.target}
onClick={(e) => this.handleNavButtonClick(tab.target)(e)}
>
<i styleName='nav-button-icon'
className={'fa fa-' + tab.icon}
/>
<span styleName='nav-button-label'>
{tab.label}
</span>
@@ -104,6 +101,9 @@ class Preferences extends React.Component {
tabIndex='-1'
onKeyDown={(e) => this.handleKeyDown(e)}
>
<div styleName='top-bar'>
<p>Your menu for Boostnote</p>
</div>
<div styleName='nav'>
{navButtons}
</div>