forked from algorithm-visualizer/algorithm-visualizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCodeEditor.module.scss
More file actions
63 lines (53 loc) · 1.12 KB
/
CodeEditor.module.scss
File metadata and controls
63 lines (53 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
@import "~common/stylesheet/index";
.code_editor {
flex: 1;
display: flex;
flex-direction: column;
align-items: stretch;
.ace_editor {
flex: 1;
width: 100% !important;
height: 100% !important;
min-width: 0 !important;
min-height: 0 !important;
.current_line_marker {
background-color: rgba($color-highlight, 0.4);
border: 1px solid $color-highlight;
position: absolute;
width: 100% !important;
animation: line_highlight .1s;
}
@keyframes line_highlight {
from {
background-color: rgba($color-highlight, 0.1);
}
to {
background-color: rgba($color-highlight, 0.4);
}
}
}
.contributors_viewer {
display: flex;
flex-wrap: wrap;
align-items: center;
padding: 4px;
background-color: $theme-normal;
.contributor {
height: 28px;
padding: 0 6px;
font-weight: bold;
&.label {
display: flex;
align-items: center;
white-space: nowrap;
}
}
.empty {
display: flex;
flex: 1;
}
.delete {
height: $line-height;
}
}
}