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

Fix layout at note detail

This commit is contained in:
Kazu Yokomizo
2017-11-11 20:25:34 +09:00
parent f88ac891ff
commit 1cd26d2e71
3 changed files with 18 additions and 6 deletions

View File

@@ -3,9 +3,9 @@
.root .root
absolute top right bottom absolute top right bottom
border-width 0 border-left 1px solid alpha(#DEDEDE, 60%)
background-color $ui-noteDetail-backgroundColor background-color $ui-noteDetail-backgroundColor
box-shadow $note-detail-box-shadow box-shadow none
.lock-button .lock-button
padding-bottom 3px padding-bottom 3px
@@ -40,10 +40,16 @@
.body-noteEditor .body-noteEditor
absolute top bottom left right absolute top bottom left right
body[data-theme="white"]
.root
box-shadow $note-detail-box-shadow
border none
body[data-theme="dark"] body[data-theme="dark"]
.root .root
background-color $ui-dark-noteDetail-backgroundColor background-color $ui-dark-noteDetail-backgroundColor
box-shadow none box-shadow none
border none
.control-lockButton .control-lockButton
topBarButtonDark() topBarButtonDark()

View File

@@ -3,9 +3,9 @@
.root .root
absolute top bottom right absolute top bottom right
border-width 0 border-left 1px solid alpha(#DEDEDE, 60%)
background-color $ui-noteDetail-backgroundColor background-color $ui-noteDetail-backgroundColor
box-shadow $note-detail-box-shadow box-shadow none
.body .body
absolute left right absolute left right
@@ -70,9 +70,14 @@
padding 0 0 2px 0 padding 0 0 2px 0
topBarButtonLight() topBarButtonLight()
body[data-theme="white"]
.root
box-shadow $note-detail-box-shadow
border none
body[data-theme="dark"] body[data-theme="dark"]
.root .root
border-color $ui-dark-borderColor border none
background-color $ui-dark-noteDetail-backgroundColor background-color $ui-dark-noteDetail-backgroundColor
box-shadow none box-shadow none

View File

@@ -16,7 +16,7 @@ $ui-inactive-text-color = #939395
$ui-borderColor = #D1D1D1 $ui-borderColor = #D1D1D1
$ui-backgroundColor = #FFFFFF $ui-backgroundColor = #FFFFFF
$ui-noteList-backgroundColor = #FBFBFB $ui-noteList-backgroundColor = #FBFBFB
$ui-noteDetail-backgroundColor = #F4F4F4 $ui-noteDetail-backgroundColor = #F8F8F8
$ui-border = solid 1px $ui-borderColor $ui-border = solid 1px $ui-borderColor
$ui-active-color = #6AA5E9 $ui-active-color = #6AA5E9
$ui-tag-backgroundColor = rgba(0, 0, 0, 0.3) $ui-tag-backgroundColor = rgba(0, 0, 0, 0.3)
@@ -198,6 +198,7 @@ topBarButtonLight()
// White theme // White theme
$ui-white-noteList-backgroundColor = #F3F3F3 $ui-white-noteList-backgroundColor = #F3F3F3
$ui-white-noteDetail-backgroundColor = #F4F4F4
/** /**
* Nav * Nav