mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
- hide/show code editor based on markdown editor state (could be CODE or PREVIEW); - changed styles for code editor;
28 lines
359 B
Stylus
28 lines
359 B
Stylus
.root
|
|
position relative
|
|
|
|
.codeEditor
|
|
absolute top bottom left right
|
|
|
|
.hide
|
|
z-index 0
|
|
opacity 0
|
|
pointer-events none
|
|
|
|
.codeEditor--hide
|
|
@extend .codeEditor
|
|
@extend .hide
|
|
|
|
.preview
|
|
display block
|
|
absolute top bottom left right
|
|
z-index 100
|
|
background-color white
|
|
height 100%
|
|
width 100%
|
|
|
|
.preview--hide
|
|
@extend .preview
|
|
@extend .hide
|
|
|