diff --git a/src/App.vue b/src/App.vue index 0789046..9421389 100644 --- a/src/App.vue +++ b/src/App.vue @@ -24,7 +24,7 @@ body, ::-webkit-scrollbar { width: 6px; height: 6px; - background-color: #fff; + background-color: #ffffff; } ::-webkit-scrollbar-track { @@ -35,47 +35,39 @@ body, ::-webkit-scrollbar-thumb { border-radius: 6px; background-color: rgba(144, 146, 152, 0.5); - transition: background-color 0.3s; } -::-webkit-scrollbar-thumb:hover { - background-color: rgba(144, 146, 152, 0.5); -} /* CSS-hints */ .CodeMirror-hints { position: absolute; z-index: 10; - overflow: hidden; - list-style: none; - + overflow-y: auto; margin: 0; padding: 2px; - border-radius: 4px; - background-color: #ffffff; - box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.08); + max-height: 20em; min-width: 200px; font-size: 12px; font-family: monospace; - max-height: 20em; - overflow-y: auto; color: #333333; + background-color: #ffffff; + box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.08); } .CodeMirror-hint { - margin: 0; margin-top: 10px; padding: 4px 6px; border-radius: 2px; white-space: pre; - color: black; + color: #000000; cursor: pointer; -} -.CodeMirror-hint:first-of-type { - margin-top: 0; -} -.CodeMirror-hint:hover { - background: #f0f0f0; + + &:first-of-type { + margin-top: 0; + } + &:hover { + background: #f0f0f0; + } } diff --git a/src/assets/images/light.png b/src/assets/images/light.png deleted file mode 100644 index 844c253..0000000 Binary files a/src/assets/images/light.png and /dev/null differ diff --git a/src/assets/images/night.png b/src/assets/images/night.png deleted file mode 100644 index 534c8c4..0000000 Binary files a/src/assets/images/night.png and /dev/null differ diff --git a/src/components/CodemirrorEditor/EditorHeader.vue b/src/components/CodemirrorEditor/EditorHeader.vue index 3fddbfc..1ad807f 100644 --- a/src/components/CodemirrorEditor/EditorHeader.vue +++ b/src/components/CodemirrorEditor/EditorHeader.vue @@ -1,41 +1,6 @@