1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 10:16:26 +00:00

Merge pull request #887 from BoostIO/fix-layout

Fix layout
This commit is contained in:
Kazu Yokomizo
2017-09-23 01:38:28 +09:00
committed by GitHub
4 changed files with 27 additions and 22 deletions

View File

@@ -2,6 +2,7 @@ $control-height = 30px
.root .root
absolute left bottom absolute left bottom
bottom 30px
top $topBar-height - 1 top $topBar-height - 1
background-color $ui-noteList-backgroundColor background-color $ui-noteList-backgroundColor

View File

@@ -4,10 +4,9 @@
height 270px height 270px
overflow hidden overflow hidden
position relative position relative
padding 0 40px
.header .header
height 70px height 80px
margin-bottom 10px margin-bottom 10px
margin-top 20px margin-top 20px
font-size 18px font-size 18px
@@ -15,23 +14,27 @@
background-color $ui-backgroundColor background-color $ui-backgroundColor
color $ui-text-color color $ui-text-color
.title
font-size 36px
font-weight 600
.control-folder-label .control-folder-label
text-align left text-align left
font-size 12px font-size 14px
color $ui-text-color color $ui-text-color
.control-folder-input .control-folder-input
display block display block
height 30px height 40px
width 420px width 490px
padding 0 5px padding 0 5px
margin 10px auto 15px margin 10px 0
border 1px solid #C9C9C9 // TODO: use variable. border 1px solid #C9C9C9 // TODO: use variable.
border-radius 2px border-radius 2px
background-color transparent background-color transparent
outline none outline none
vertical-align middle vertical-align middle
font-size 14px font-size 16px
&:disabled &:disabled
background-color $ui-input--disabled-backgroundColor background-color $ui-input--disabled-backgroundColor
&:focus, &:active &:focus, &:active
@@ -39,14 +42,13 @@
.control-confirmButton .control-confirmButton
display block display block
float right height 35px
height 30px width 140px
width 100px
border none border none
border-radius 2px border-radius 2px
padding 0 25px padding 0 25px
margin 20px auto margin 20px auto
font-size 12px font-size 14px
colorPrimaryButton() colorPrimaryButton()
body[data-theme="dark"] body[data-theme="dark"]
@@ -56,7 +58,6 @@ body[data-theme="dark"]
height 270px height 270px
overflow hidden overflow hidden
position relative position relative
padding 0 40px
.header .header
background-color transparent background-color transparent

View File

@@ -9,16 +9,19 @@
font-size 18px font-size 18px
line-height 50px line-height 50px
padding 0 15px padding 0 15px
background-color $ui-backgroundColor
border-bottom solid 1px $ui-borderColor
color $ui-text-color color $ui-text-color
margin-bottom 20px
.title
font-size 36px
font-weight 600
.control .control
padding 25px 15px 15px padding 25px 0px
text-align center text-align center
.control-button .control-button
width 220px width 240px
height 220px height 220px
margin 0 15px margin 0 15px
border $ui-border border $ui-border
@@ -30,8 +33,8 @@
colorPrimaryButton() colorPrimaryButton()
.control-button-icon .control-button-icon
font-size 50px font-size 48px
margin-bottom 15px margin-bottom 25px
.control-button-label .control-button-label
font-size 18px font-size 18px
@@ -49,8 +52,6 @@ body[data-theme="dark"]
modalDark() modalDark()
.header .header
background-color $ui-dark-button--hover-backgroundColor
border-color $ui-dark-borderColor
color $ui-dark-text-color color $ui-dark-text-color
.control-button .control-button

View File

@@ -150,8 +150,10 @@ modal()
position relative position relative
z-index $modal-z-index z-index $modal-z-index
width 100% width 100%
margin-left 40px margin-left 80px
margin-right 40px margin-right 80px
margin-bottom 80px
margin-top 100px
background-color $modal-background background-color $modal-background
overflow hidden overflow hidden
border-radius $modal-border-radius border-radius $modal-border-radius