File tree Expand file tree Collapse file tree
oj/views/problem/problemSolving Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -175,8 +175,11 @@ export const m = {
175175 PruneTestCase_Delete_All : "전체 삭제" ,
176176
177177 // Problem.vue
178+ Question_Creation : "문제 생성" ,
178179 Display_ID : "문제 번호" ,
180+ Check_ID_Duplication : "중복 확인" ,
179181 Title : "제목" ,
182+ Question_Title : "문제 제목" ,
180183 Description : "문제 설명" ,
181184 Input_Description : "입력 설명" ,
182185 Output_Description : "출력 설명" ,
@@ -186,8 +189,8 @@ export const m = {
186189 Visible : "공개 여부" ,
187190 ShareSubmission : "제출 공유 여부" ,
188191 Languages : "언어" ,
189- Input_Samples : "입력 예시 " ,
190- Output_Samples : "출력 예시 " ,
192+ Input_Samples : "예제 입력 " ,
193+ Output_Samples : "예제 출력 " ,
191194 Add_Sample : "예시 추가" ,
192195 Code_Template : "코드 템플릿" ,
193196 Special_Judge : "스페셜 저지" ,
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import { codemirror } from "vue-codemirror"
1111import " codemirror/lib/codemirror.css"
1212import " codemirror/mode/clike/clike.js"
1313import " codemirror/mode/python/python.js"
14- import " codemirror/theme/solarized.css"
1514export default {
1615 name: " CodeMirror" ,
1716 data () {
@@ -21,12 +20,12 @@ export default {
2120 mode: " text/x-csrc" ,
2221 lineNumbers: true ,
2322 lineWrapping: false ,
24- theme: " solarized " ,
23+ theme: " default " ,
2524 tabSize: 4 ,
2625 line: true ,
2726 foldGutter: true ,
2827 gutters: [" CodeMirror-linenumbers" , " CodeMirror-foldgutter" ],
29- autofocus: true ,
28+ autofocus: false ,
3029 },
3130 }
3231 },
@@ -66,12 +65,40 @@ export default {
6665}
6766 </script >
6867
69- <style scoped >
68+ <style >
7069.CodeMirror {
7170 height : auto !important ;
71+ font-family : " Courier New" , Courier , monospace !important ;
72+ font-size : 14px ;
73+ line-height : 1.6 ;
74+ background-color : #f8fafc !important ;
75+ color : #334155 !important ;
7276}
77+
7378.CodeMirror-scroll {
74- min-height : 300px ;
75- max-height : 1000px ;
79+ height : 300px ;
80+ overflow-y : auto !important ;
81+ }
82+
83+ .CodeMirror-lines {
84+ padding : 8px 0 !important ;
85+ }
86+
87+ .CodeMirror-gutters {
88+ background-color : #f8fafc !important ;
89+ border-right : 1px solid #e2e8f0 !important ;
90+ padding-right : 5px ;
91+ }
92+
93+ .CodeMirror-linenumber {
94+ color : #94a3b8 !important ;
95+ }
96+
97+ .CodeMirror-activeline-background {
98+ background : #f1f5f9 !important ;
99+ }
100+
101+ .CodeMirror-selected {
102+ background : #cbd5e1 !important ;
76103}
77104 </style >
You can’t perform that action at this time.
0 commit comments