-
Notifications
You must be signed in to change notification settings - Fork 0
/
playground.css
96 lines (90 loc) · 1.4 KB
/
playground.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
91
92
93
94
95
96
body{
font-family: Tahoma, Arial, serif;
margin: 0;
}
#canvas {
border: 4px solid #666;
margin: 20px 30px;
width: 800px;
height: 500px;
position: relative;
opacity: 1;
-webkit-transition: opacity 1s ease;
}
#canvas .vertex {
position: absolute;
width: 10px;
height: 10px;
border-radius: 5px;
background: #669;
-webkit-transition: 0.5s ease top, 0.5s ease left;
}
#canvas .edge {
position: absolute;
width: 100px;
height: 1px;
-webkit-transition: 0.5s ease all;
background: #558;
}
.loading {
opacity: 0.2 !important;
cursor: not-allowed;
}
h1{
margin:0;
padding: 10px 18px;
background: #EEE;
}
h3{
margin: 0;
padding: 8px 18px;
background: #F6F6F6;
}
#sidebar {
position: fixed;
top: 0;
right: 0;
width: 330px;
background: #EEE;
}
#sidebar .block{
margin: 26px;
border: 1px solid #666;
border-radius: 8px;
}
#sidebar .block h2{
margin: 0;
padding: 4px 10px;
font-size: 17px;
color: white;
background: #666;
text-transform: uppercase;
text-align: center;
}
#sidebar .block>div{
margin:8px;
font-size: 11px;
overflow: auto;
}
#sidebar .block>div span{
padding: 0 4px;
display: block;
width: 170px;
float: left;
}
#sidebar .block>div input{
display: block;
margin:auto;
float: left;
width: 70px;
}
#sidebar button{
display: block;
margin:5px auto;
font-size: 20px;
border: 1px solid #666;
padding: 8px 16px;
border-radius: 8px;
cursor: pointer;
background: #F6F6F6;
}