-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathexample.css
90 lines (78 loc) · 1.42 KB
/
example.css
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
.blocks-expression {
display: inline-flex;
align-items: stretch;
color: black;
border: 2px solid black;
border-radius: 15px 0px 0px 15px;
margin: 5px;
background: #ccc;
cursor: default;
}
.blocks-operator {
display: flex;
justify-content: center;
flex-direction: column;
font-weight: bold;
border-right: 2px solid black;
padding: 5px;
min-width: 20px;
text-align: center;
}
.blocks-args {
display: inline-flex;
flex-wrap: wrap;
flex-grow: 1;
background: #eee;
}
.blocks-literal {
display: inline-block;
color: black;
border-radius: 5px;
padding: 5px;
border: 1px solid transparent;
}
.blocks-expression.blocks-selected {
border-color: red;
}
.blocks-expression.blocks-selected .blocks-operator {
border-color: red;
}
.blocks-literal.blocks-selected {
border-color: red;
}
.blocks-editing {
outline: 0;
}
.blocks-literal.blocks-editing {
border: 1px solid green;
}
.blocks-over-target {
background-color: red;
}
.blocks-white-space:before {
content: ' ';
}
.blocks-white-space {
padding: 5px;
border: 2px solid transparent;
font-weight: bold;
}
.blocks-white-space:hover {
border-color: black;
border-radius: 5px;
}
.blocks-white-space:hover:before {
content: '+';
}
.blocks-white-space.blocks-editing:before {
content: '';
}
.blocks-white-space.blocks-editing {
font-weight: normal;
margin: 15px;
}
nav {
display: flex;
justify-content: flex-end;
gap: 1em;
}