mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
86 lines
1.5 KiB
Stylus
86 lines
1.5 KiB
Stylus
.root
|
|
modal()
|
|
max-width 540px
|
|
overflow hidden
|
|
position relative
|
|
|
|
.header
|
|
height 50px
|
|
font-size 18px
|
|
line-height 50px
|
|
padding 0 15px
|
|
background-color $ui-backgroundColor
|
|
border-bottom solid 1px $ui-borderColor
|
|
color $ui-text-color
|
|
|
|
.closeButton
|
|
height 50px
|
|
position absolute
|
|
background-color transparent
|
|
color $ui-inactive-text-color
|
|
border none
|
|
top 7px
|
|
right 10px
|
|
text-align center
|
|
width top-bar--height
|
|
height top-bar--height
|
|
|
|
.control
|
|
padding 25px 15px 15px
|
|
text-align center
|
|
|
|
.close-mark
|
|
font-size 15px
|
|
|
|
.control-button
|
|
width 220px
|
|
height 220px
|
|
margin 0 15px
|
|
border $ui-border
|
|
border-radius 5px
|
|
color $ui-text-color
|
|
colorDefaultButton()
|
|
padding 10px
|
|
&:focus
|
|
colorPrimaryButton()
|
|
|
|
.control-button-icon
|
|
font-size 50px
|
|
margin-bottom 15px
|
|
|
|
.control-button-label
|
|
font-size 18px
|
|
line-height 32px
|
|
.control-button-description
|
|
font-size 12px
|
|
|
|
.description
|
|
color $ui-inactive-text-color
|
|
text-align center
|
|
margin-bottom 25px
|
|
|
|
body[data-theme="dark"]
|
|
.root
|
|
modalDark()
|
|
|
|
.header
|
|
background-color $ui-dark-button--hover-backgroundColor
|
|
border-color $ui-dark-borderColor
|
|
color $ui-dark-text-color
|
|
|
|
.closeButton
|
|
border-color $ui-dark-borderColor
|
|
color $ui-dark-text-color
|
|
colorDarkDefaultButton()
|
|
|
|
.control-button
|
|
border-color $ui-dark-borderColor
|
|
color $ui-dark-text-color
|
|
background-color transparent
|
|
&:focus
|
|
colorPrimaryButton()
|
|
|
|
.description
|
|
color $ui-inactive-text-color
|
|
|