mirror of
https://github.com/heyman/heynote.git
synced 2025-06-27 04:51:50 +02:00
Minor CSS tweaks
This commit is contained in:
parent
2b3a7817c8
commit
672052dd7b
@ -60,10 +60,11 @@
|
|||||||
color: #fff
|
color: #fff
|
||||||
font-family: "Open Sans"
|
font-family: "Open Sans"
|
||||||
font-size: 12px
|
font-size: 12px
|
||||||
padding-left: 7px
|
padding-left: 0px
|
||||||
padding-right: 7px
|
padding-right: 0px
|
||||||
display: flex
|
display: flex
|
||||||
flex-direction: row
|
flex-direction: row
|
||||||
|
user-select: none
|
||||||
|
|
||||||
&.dark
|
&.dark
|
||||||
background: #0e1713
|
background: #0e1713
|
||||||
@ -79,14 +80,17 @@
|
|||||||
flex-grow: 1
|
flex-grow: 1
|
||||||
|
|
||||||
.status-block
|
.status-block
|
||||||
padding: 2px 5px
|
padding: 2px 12px
|
||||||
cursor: default
|
cursor: default
|
||||||
&.line-number
|
&.line-number
|
||||||
color: rgba(255, 255, 255, 0.7)
|
color: rgba(255, 255, 255, 0.7)
|
||||||
.num
|
.num
|
||||||
color: rgba(255, 255, 255, 1.0)
|
color: rgba(255, 255, 255, 1.0)
|
||||||
&.lang
|
&.lang
|
||||||
|
cursor: pointer
|
||||||
.auto
|
.auto
|
||||||
color: rgba(255, 255, 255, 0.7)
|
color: rgba(255, 255, 255, 0.7)
|
||||||
|
&:hover
|
||||||
|
background: rgba(255,255,255, 0.1)
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -13,6 +13,7 @@ export const heynoteBase = EditorView.theme({
|
|||||||
},
|
},
|
||||||
'.cm-gutters': {
|
'.cm-gutters': {
|
||||||
padding: '0 2px 0 4px',
|
padding: '0 2px 0 4px',
|
||||||
|
userSelect: 'none',
|
||||||
},
|
},
|
||||||
'.cm-foldGutter': {
|
'.cm-foldGutter': {
|
||||||
marginLeft: '0px',
|
marginLeft: '0px',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user