1
0
Fork 0
mirror of https://github.com/kou029w/quot.git synced 2025-01-19 16:38:06 +00:00
quot/app/views/components/editor.css

42 lines
727 B
CSS
Raw Normal View History

2022-08-23 09:49:34 +09:00
.editor {
2022-09-07 20:46:43 +09:00
padding: 0.75rem;
2022-08-28 17:49:49 +09:00
box-sizing: border-box;
background-color: var(--nc-bg-2);
color: var(--nc-tx-2);
border-width: 0.75rem;
border-top-style: solid;
border-top-color: var(--nc-bg-3);
box-shadow: 0 1px var(--nc-bg-3);
2022-08-23 09:49:34 +09:00
}
2022-09-07 17:03:54 +09:00
2022-09-16 21:30:29 +09:00
.editor .cm-editor.cm-focused {
outline: unset;
}
2022-09-19 14:16:41 +09:00
.editor .cm-editor.cm-focused .cm-selectionBackground {
background-color: var(--nc-ac-1);
}
2022-09-16 21:30:29 +09:00
.editor .cm-content {
font-family: "sans-serif";
font-size: 1rem;
}
2022-09-17 15:44:34 +09:00
.editor .cm-cursor {
border-left-color: var(--nc-tx-1);
}
2022-09-16 21:30:29 +09:00
.editor .auto-link:hover {
cursor: pointer;
2022-09-07 17:03:54 +09:00
}
2022-09-16 21:30:29 +09:00
.editor .auto-link {
color: var(--nc-lk-1);
text-decoration: underline;
2022-09-07 17:03:54 +09:00
}
2022-09-08 23:09:33 +09:00
2022-09-16 21:30:29 +09:00
.editor .auto-link:hover {
color: var(--nc-lk-2);
2022-09-08 23:09:33 +09:00
cursor: pointer;
}