quasar
Version:
Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
61 lines (51 loc) • 1.28 kB
text/stylus
.q-editor
border 1px solid $editor-border-color
border-radius $generic-border-radius
background-color #fff
&.disabled
border-style dashed
> div:first-child, &__toolbars-container, &__toolbars-container > div:first-child
border-top-left-radius inherit
border-top-right-radius inherit
&__content
outline 0
padding $editor-content-padding
min-height $editor-content-min-height
border-bottom-left-radius inherit
border-bottom-right-radius inherit
overflow auto
pre
white-space pre-wrap
hr
border 0
outline 0
margin 1px
height 1px
background $editor-hr-color
&__toolbar
border-bottom 1px solid $editor-border-color
min-height 32px
.q-btn
margin $editor-button-gutter
&__toolbar-group
position relative
margin 0 $editor-button-gutter
& + &
&:before
content ''
position absolute
left (- $editor-button-gutter)
top $editor-button-gutter
bottom $editor-button-gutter
width 1px
background $editor-border-color
&_input input
color inherit
&--flat
&, .q-editor__toolbar
border 0
&--dense
.q-editor__toolbar-group
display flex
align-items center
flex-wrap nowrap