lbry-desktop/ui/scss/component/_markdown-editor.scss

105 lines
2.1 KiB
SCSS
Raw Normal View History

2017-08-26 22:47:37 +02:00
.CodeMirror {
2017-10-15 07:55:25 +02:00
background: var(--color-canvas) !important;
border: 0px !important;
border-radius: 0px !important;
2017-08-26 22:47:37 +02:00
color: var(--text-color) !important;
box-shadow: var(--box-shadow-layer);
2017-08-26 22:47:37 +02:00
}
.editor-toolbar {
opacity: 1 !important;
border: 0 !important;
background: var(--color-bg-alt);
border-radius: 0 !important;
box-shadow: var(--box-shadow-layer);
2017-08-26 22:47:37 +02:00
}
.editor-toolbar i.separator {
border: 0 !important;
border-right: var(--divider) !important;
2017-08-26 22:47:37 +02:00
}
.editor-toolbar.fullscreen {
background: var(--color-bg) !important;
}
div.editor-toolbar a {
2017-10-15 07:55:25 +02:00
opacity: 0.64;
2017-08-26 22:47:37 +02:00
color: var(--text-color) !important;
}
.editor-toolbar a.active,
.editor-toolbar a:hover {
opacity: 1;
2017-08-26 22:47:37 +02:00
background: var(--button-bg) !important;
border-color: transparent !important;
}
.editor-toolbar.disabled-for-preview a:not(.no-disable) {
background: var(--color-bg-alt) !important;
2017-08-26 22:47:37 +02:00
border-color: transparent !important;
}
.editor-statusbar {
color: var(--form-label-color) !important;
2017-08-26 22:47:37 +02:00
}
.editor-preview {
background: var(--card-bg) !important;
2017-10-15 07:55:25 +02:00
border: 0 !important;
2017-08-26 22:47:37 +02:00
}
.editor-preview-side {
background: var(--color-bg-alt) !important;
border: 1px solid var(--input-border-color) !important;
}
.editor-preview pre,
.editor-preview-side pre {
background: #eee;
}
.editor-preview table td,
.editor-preview table th,
.editor-preview-side table td,
.editor-preview-side table th {
border: 1px solid var(--input-border-color) !important;
}
.CodeMirror .CodeMirror-code .cm-tag {
color: #63a35c;
}
.CodeMirror .CodeMirror-code .cm-attribute {
color: #795da3;
}
.CodeMirror .CodeMirror-code .cm-string {
color: #183691;
}
.CodeMirror .CodeMirror-selected {
background: var(--text-selection-bg) !important;
color: var(--text-selection-color) !important;
}
.CodeMirror .CodeMirror-cursor{
2017-10-15 07:55:25 +02:00
border-color: var(--color-primary) !important;
2017-08-26 22:47:37 +02:00
}
.CodeMirror .CodeMirror-code .cm-comment {
background: rgba(0, 0, 0, .05);
}
.CodeMirror .CodeMirror-code .cm-link {
color: #7f8c8d;
}
.CodeMirror .CodeMirror-code .cm-url {
color: #aab2b3;
}
.CodeMirror .CodeMirror-placeholder {
opacity: .5;
}