mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
modify: change style for note-detail component (snipet mode)
This commit is contained in:
@@ -10,11 +10,11 @@
|
|||||||
absolute left right
|
absolute left right
|
||||||
top $info-height
|
top $info-height
|
||||||
bottom $statusBar-height
|
bottom $statusBar-height
|
||||||
|
background-color $ui-noteDetail-backgroundColor
|
||||||
|
|
||||||
.body .description
|
.body .description
|
||||||
absolute top left right
|
absolute top left right
|
||||||
height 80px
|
height 80px
|
||||||
border-bottom $ui-border
|
|
||||||
|
|
||||||
.body .description textarea
|
.body .description textarea
|
||||||
display block
|
display block
|
||||||
@@ -30,7 +30,6 @@
|
|||||||
absolute left right
|
absolute left right
|
||||||
top 80px
|
top 80px
|
||||||
height 30px
|
height 30px
|
||||||
border-bottom $ui-border
|
|
||||||
display flex
|
display flex
|
||||||
background-color $ui-noteDetail-backgroundColor
|
background-color $ui-noteDetail-backgroundColor
|
||||||
|
|
||||||
@@ -38,7 +37,6 @@
|
|||||||
flex 1
|
flex 1
|
||||||
display flex
|
display flex
|
||||||
overflow hidden
|
overflow hidden
|
||||||
border-right $ui-border
|
|
||||||
|
|
||||||
.tabList .plusButton
|
.tabList .plusButton
|
||||||
navButtonColor()
|
navButtonColor()
|
||||||
@@ -46,7 +44,7 @@
|
|||||||
|
|
||||||
.tabView
|
.tabView
|
||||||
absolute left right bottom
|
absolute left right bottom
|
||||||
top 110px
|
top 130px
|
||||||
|
|
||||||
.tabView-content
|
.tabView-content
|
||||||
absolute top left right bottom
|
absolute top left right bottom
|
||||||
@@ -68,8 +66,8 @@ body[data-theme="dark"]
|
|||||||
.root
|
.root
|
||||||
border-color $ui-dark-borderColor
|
border-color $ui-dark-borderColor
|
||||||
|
|
||||||
.body .description
|
.body
|
||||||
border-bottom-color $ui-dark-borderColor
|
background-color $ui-dark-noteDetail-backgroundColor
|
||||||
|
|
||||||
.body .description textarea
|
.body .description textarea
|
||||||
background-color $ui-dark-noteDetail-backgroundColor
|
background-color $ui-dark-noteDetail-backgroundColor
|
||||||
@@ -77,7 +75,6 @@ body[data-theme="dark"]
|
|||||||
|
|
||||||
.tabList
|
.tabList
|
||||||
background-color $ui-button--active-backgroundColor
|
background-color $ui-button--active-backgroundColor
|
||||||
border-bottom-color $ui-dark-borderColor
|
|
||||||
background-color $ui-dark-noteDetail-backgroundColor
|
background-color $ui-dark-noteDetail-backgroundColor
|
||||||
|
|
||||||
.tabList .list
|
.tabList .list
|
||||||
|
|||||||
@@ -2,9 +2,6 @@
|
|||||||
position relative
|
position relative
|
||||||
flex 1
|
flex 1
|
||||||
overflow hidden
|
overflow hidden
|
||||||
border-right $ui-border
|
|
||||||
&:last-child
|
|
||||||
border-right none
|
|
||||||
&:hover
|
&:hover
|
||||||
.deleteButton
|
.deleteButton
|
||||||
color $ui-inactive-text-color
|
color $ui-inactive-text-color
|
||||||
@@ -13,17 +10,17 @@
|
|||||||
&:active
|
&:active
|
||||||
color white
|
color white
|
||||||
background-color $ui-active-color
|
background-color $ui-active-color
|
||||||
|
|
||||||
.root--active
|
.root--active
|
||||||
@extend .root
|
@extend .root
|
||||||
min-width 100px
|
min-width 100px
|
||||||
.button
|
border-bottom $ui-border
|
||||||
border-color $brand-color
|
|
||||||
|
|
||||||
.button
|
.button
|
||||||
width 100%
|
width 100%
|
||||||
height 29px
|
height 29px
|
||||||
overflow ellipsis
|
overflow ellipsis
|
||||||
text-align left
|
text-align center
|
||||||
padding-right 30px
|
padding-right 30px
|
||||||
border none
|
border none
|
||||||
background-color transparent
|
background-color transparent
|
||||||
@@ -31,8 +28,6 @@
|
|||||||
border-left 4px solid transparent
|
border-left 4px solid transparent
|
||||||
&:hover
|
&:hover
|
||||||
background-color $ui-button--hover-backgroundColor
|
background-color $ui-button--hover-backgroundColor
|
||||||
&:active, &:active:hover
|
|
||||||
border-color $brand-color
|
|
||||||
|
|
||||||
.deleteButton
|
.deleteButton
|
||||||
position absolute
|
position absolute
|
||||||
@@ -71,8 +66,6 @@ body[data-theme="dark"]
|
|||||||
.root--active
|
.root--active
|
||||||
color $ui-dark-text-color
|
color $ui-dark-text-color
|
||||||
border-color $ui-dark-borderColor
|
border-color $ui-dark-borderColor
|
||||||
.button
|
|
||||||
border-color $brand-color
|
|
||||||
&:hover
|
&:hover
|
||||||
background-color $ui-dark-button--hover-backgroundColor
|
background-color $ui-dark-button--hover-backgroundColor
|
||||||
.deleteButton
|
.deleteButton
|
||||||
@@ -92,10 +85,6 @@ body[data-theme="dark"]
|
|||||||
&:hover
|
&:hover
|
||||||
color white
|
color white
|
||||||
background-color $ui-dark-button--hover-backgroundColor
|
background-color $ui-dark-button--hover-backgroundColor
|
||||||
&:active
|
|
||||||
color $ui-dark-button--active-color
|
|
||||||
&:active, &:active:hover
|
|
||||||
color $ui-dark-button--active-color
|
|
||||||
|
|
||||||
.input
|
.input
|
||||||
background-color $ui-dark-button--hover-backgroundColor
|
background-color $ui-dark-button--hover-backgroundColor
|
||||||
|
|||||||
Reference in New Issue
Block a user