forked from tp5uiuc/kinematic_snake_sandbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnake_sandbox.css
136 lines (118 loc) · 2.19 KB
/
snake_sandbox.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/* Copyright 2021
Tejaswin Parthasarathy and GazzolaLab, see LICENSE
*/
body {
font-family : sans-serif;
font-size:18px;
width:800px;
padding: 20px;
margin: auto;
/* margin-left:auto;
margin-right:auto;
background-color:#e0e0e0;
*/
background-color:#ffffff;
}
h1 {
font-size:32px;
text-align:center;
margin: auto;
}
.row {
display: flex;
flex-direction: row;
flex-wrap: wrap;
width: 100%;
justify-content:center;
align-items: center;
}
.column {
display: flex;
flex-direction: column;
/*flex-basis: 100%;*/
flex: 1;
}
.double_width_column {
display: flex;
flex-direction: column;
/*flex-basis: 100%;*/
flex: 2;
}
.hide{
display:none
}
.visible{
}
/* Same as loading button */
.big_button {
position: relative;
padding: 8px 16px;
/* background: #3379F6;*/
/* border: none;
*/
outline: none;
border-radius: 2px;
cursor: pointer;
}
.loading_button {
position: relative;
padding: 8px 16px;
/* background: #3379F6;*/
/* border: none;
*/
outline: none;
border-radius: 2px;
cursor: pointer;
}
.loading_button:active {
background: #3379F6;
}
.loading_button_text{
transition: all 0.2s;
}
.button--loading::after {
content: "";
position: absolute;
width: 16px;
height: 16px;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
border: 4px solid transparent;
border-top-color: #000000;
border-radius: 50%;
animation: button-loading-spinner 1s ease infinite;
}
@keyframes button-loading-spinner {
from {
transform: rotate(0turn);
}
to {
transform: rotate(1turn);
}
}
/* Tooltip container */
.tooltip {
position: relative;
display: inline-block;
border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}
/* Tooltip text */
.tooltip .tooltiptext {
visibility: hidden;
width: 120px;
background-color: black;
color: #fff;
text-align: center;
padding: 5px 0;
border-radius: 6px;
/* Position the tooltip text - see examples below! */
position: absolute;
z-index: 1;
}
/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
visibility: visible;
}