aboutsummaryrefslogtreecommitdiff
path: root/client/src/components/Editor/Editor.module.css
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/components/Editor/Editor.module.css')
-rw-r--r--client/src/components/Editor/Editor.module.css107
1 files changed, 107 insertions, 0 deletions
diff --git a/client/src/components/Editor/Editor.module.css b/client/src/components/Editor/Editor.module.css
new file mode 100644
index 0000000..5eabc10
--- /dev/null
+++ b/client/src/components/Editor/Editor.module.css
@@ -0,0 +1,107 @@
+.container {
+ width: 100vw;
+ display: flex;
+ flex-direction: column;
+ flex: 1;
+}
+
+.languages {
+ background-color: transparent;
+ border: none;
+ padding: 10px 0;
+ margin-left: 36px;
+ font-family: inherit;
+ font-size: inherit;
+ cursor: inherit;
+ line-height: inherit;
+ width: 7rem;
+ outline: none;
+ color: white;
+}
+
+.languages__option {
+ width: 10rem;
+ border: none;
+ cursor: pointer;
+ transition: 0.3s;
+ background: #3c3836;
+}
+
+.editor {
+ display: flex;
+ flex-direction: row;
+ flex: 1;
+ padding: 20px 70px 0 40px;
+ border-top: 1px solid #3c3836;
+}
+
+.line__numbers {
+ display: flex;
+ flex-direction: column;
+ padding: 0px 20px 0px 0px;
+ overflow-y: auto;
+}
+
+.line__numbers::-webkit-scrollbar {
+ display: none;
+}
+
+.line__number {
+ margin: 0px;
+ font-size: 16px;
+ line-height: 1.5rem;
+ text-align: right;
+}
+
+.codespace {
+ position: relative;
+ display: flex;
+ flex: 1;
+ margin-left: 10px;
+}
+
+.codespace__textarea {
+ caret-color: white;
+ background: transparent;
+ position: absolute;
+ color: transparent;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ font-size: 1rem;
+ line-height: 1.5rem;
+ resize: none;
+ border: none;
+ outline: none;
+ padding: 0px;
+ overflow-y: auto;
+}
+
+.codespace__pre {
+ background: transparent !important;
+ height: 100%;
+ width: 100%;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.btn__save {
+ position: fixed;
+ bottom: 3rem;
+ right: 3rem;
+ height: 8rem;
+ width: 8rem;
+ background-color: #ebdbb2;
+ color: white;
+ border: none;
+ border-radius: 50%;
+ cursor: pointer;
+ transition: 0.3s;
+ z-index: 1;
+}
+
+.btn__icon {
+ height: 4rem;
+ width: 4rem;
+}