1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00
Files
Boostnote/browser/main/modals/RenameFolderModal.styl
2019-02-11 00:45:34 +01:00

74 lines
1.5 KiB
Stylus

.root
modal()
max-width 340px
overflow hidden
position relative
.header
height 50px
font-size 16px
line-height 50px
padding 0 15px
background-color $ui-backgroundColor
border-bottom solid 1px $ui-borderColor
color $ui-text-color
.control
padding 25px 15px 15px
text-align center
.control-input
display block
height 30px
width 240px
padding 0 5px
margin 0 auto 15px
border none
border-bottom solid 1px $border-color
border-radius 2px
background-color transparent
outline none
vertical-align middle
font-size 14px
text-align center
&:disabled
background-color $ui-input--disabled-backgroundColor
&:focus, &:active
border-color $ui-active-color
.control-confirmButton
display block
height 30px
border none
border-radius 2px
padding 0 25px
margin 0 auto
font-size 14px
colorPrimaryButton()
apply-theme(theme)
body[data-theme={theme}]
.root
background-color transparent
.header
background-color get-theme-var(theme, 'button--hover-backgroundColor')
border-color get-theme-var(theme, 'borderColor')
color get-theme-var(theme, 'text-color')
.description
color $ui-inactive-text-color
.control-input
border-color get-theme-var(theme, 'borderColor')
color get-theme-var(theme, 'text-color')
.control-confirmButton
colorThemedPrimaryButton(theme)
for theme in 'dark' 'solarized-dark' 'dracula'
apply-theme(theme)
for theme in $themes
apply-theme(theme)