|
1 | 1 | html, body { |
| 2 | + color: #4f5f6f; |
| 3 | + font-family: 'Open Sans', sans-serif; |
| 4 | + height: 100%; |
2 | 5 | margin: 0; |
| 6 | + min-height: 100%; |
| 7 | + overflow-x: hidden; |
3 | 8 | padding: 0; |
4 | 9 | } |
5 | 10 |
|
6 | | -html, body, #main { |
| 11 | +body { |
| 12 | + font-size: 14px; |
| 13 | + line-height: 1.5; |
| 14 | +} |
| 15 | + |
| 16 | +h1, h2, h3, h4, h5 { |
| 17 | + font-weight: normal; |
| 18 | +} |
| 19 | + |
| 20 | +h2, h3 { |
| 21 | + font-size: 14px; |
| 22 | +} |
| 23 | + |
| 24 | +a { |
| 25 | + color: #59c2e6; |
| 26 | + text-decoration: none; |
| 27 | + transition: color 0.13s; |
| 28 | +} |
| 29 | + |
| 30 | +a:hover { |
| 31 | + color: #0b98ca; |
| 32 | +} |
| 33 | + |
| 34 | +ol, ul { |
| 35 | + padding-left: 15px; |
| 36 | +} |
| 37 | + |
| 38 | +button { |
| 39 | + background-color: #0b98ca; |
| 40 | + border: 0; |
| 41 | + color: white; |
| 42 | + cursor: pointer; |
| 43 | + padding: 6px 12px; |
| 44 | + transition: background-color 0.13s; |
| 45 | +} |
| 46 | + |
| 47 | +button:hover { |
| 48 | + background-color: #219FCA; |
| 49 | +} |
| 50 | + |
| 51 | +label { |
| 52 | + display: inline-block; |
| 53 | + width: 45px; |
| 54 | +} |
| 55 | + |
| 56 | +select, input { |
| 57 | + background-color: white; |
| 58 | + border: 0; |
| 59 | + font-size: 14px; |
| 60 | + height: 26px; |
| 61 | + padding: 3px 3px; |
| 62 | + width: 200px; |
| 63 | +} |
| 64 | + |
| 65 | +hr { |
| 66 | + border-style: groove; |
| 67 | +} |
| 68 | + |
| 69 | +::-webkit-scrollbar { |
| 70 | + height: 7px; |
| 71 | + width: 7px; |
| 72 | +} |
| 73 | + |
| 74 | +::-webkit-scrollbar-thumb { |
| 75 | + background: #767D86; |
| 76 | + border-radius: 0; |
| 77 | +} |
| 78 | + |
| 79 | +::-webkit-scrollbar-track { |
| 80 | + background-color: #2d363f; |
| 81 | + border-radius: 0; |
| 82 | +} |
| 83 | + |
| 84 | +#main { |
7 | 85 | height: 100%; |
| 86 | + overflow-x: hidden; |
| 87 | + overflow-y: auto; |
| 88 | + position: absolute; |
| 89 | + width: 100%; |
| 90 | +} |
| 91 | + |
| 92 | +.app { |
| 93 | + background-color: #f0f3f6; |
| 94 | + box-sizing: border-box; |
| 95 | + /*box-shadow: 0 0 3px #ccc;*/ |
| 96 | + left: 0; |
| 97 | + /*margin: 0 auto;*/ |
| 98 | + min-height: 100vh; |
| 99 | + padding: 10px 10px 10px 240px; |
| 100 | + position: relative; |
| 101 | + transition: left 0.3s ease, padding-left 0.3s ease; |
| 102 | + width: 100%; |
| 103 | +} |
| 104 | + |
| 105 | +#logo { |
| 106 | + background-color: #3a4651; |
| 107 | + box-sizing: border-box; |
| 108 | + color: white; |
| 109 | + font-size: 16px; |
| 110 | + left: 0; |
| 111 | + line-height: 70px; |
| 112 | + padding-left: 15px; |
| 113 | + position: fixed; |
| 114 | + top: 0; |
| 115 | + width: 230px; |
| 116 | +} |
| 117 | + |
| 118 | +.brick { |
| 119 | + float: left; |
| 120 | + height: 40px; |
| 121 | + padding-top: 18px; |
| 122 | + width: 50px; |
| 123 | +} |
| 124 | + |
| 125 | +.brick rect { |
| 126 | + fill: #79D1EF; |
| 127 | +} |
| 128 | + |
| 129 | +#library { |
| 130 | + background-color: #3a4651; |
| 131 | + bottom: 0; |
| 132 | + color: white; |
| 133 | + font-size: 14px; |
| 134 | + left: 0; |
| 135 | + overflow-y: auto; |
| 136 | + position: fixed; |
| 137 | + top: 70px; |
| 138 | + transition: left 0.3s ease; |
| 139 | + width: 230px; |
| 140 | +} |
| 141 | + |
| 142 | +#library h2 { |
| 143 | + padding-left: 20px; |
| 144 | +} |
| 145 | + |
| 146 | +.nav h3, .nav h4 { |
| 147 | + color: white; |
| 148 | + font-size: 14px; |
| 149 | + margin: 0; |
| 150 | +} |
| 151 | + |
| 152 | +.nav h3 { |
| 153 | + background-color: #0b98ca; |
| 154 | + padding: 15px 10px 15px 20px; |
| 155 | +} |
| 156 | + |
| 157 | +.nav h4 { |
| 158 | + background-color: #2d363f; |
| 159 | + padding: 15px 10px 15px 40px; |
| 160 | +} |
| 161 | + |
| 162 | +.nav ul { |
| 163 | + list-style: none; |
| 164 | + margin: 0; |
| 165 | + padding-left: 0; |
| 166 | +} |
| 167 | + |
| 168 | +.nav li { |
| 169 | + color: rgba(255, 255, 255, 0.5); |
| 170 | + cursor: pointer; |
| 171 | + margin: 0; |
| 172 | + padding: 10px 0 10px 40px; |
| 173 | + transition: color 0.13s; |
| 174 | +} |
| 175 | + |
| 176 | +.nav li:hover { |
| 177 | + color: white; |
| 178 | + background-color: #2d363f; |
| 179 | +} |
| 180 | + |
| 181 | +#instructions { |
| 182 | + background-color: #2d363f; |
| 183 | + bottom: 0; |
| 184 | + box-sizing: border-box; |
| 185 | + color: rgba(255, 255, 255, 0.6); |
| 186 | + left: 0; |
| 187 | + overflow-y: auto; |
| 188 | + padding: 10px; |
| 189 | + position: fixed; |
| 190 | + top: 70px; |
| 191 | + width: 250px; |
| 192 | +} |
| 193 | + |
| 194 | +.tutorial.app { |
| 195 | + padding-left: 490px; |
| 196 | +} |
| 197 | + |
| 198 | +.tutorial #logo { |
| 199 | + width: 480px; |
| 200 | +} |
| 201 | + |
| 202 | +.tutorial #library { |
| 203 | + left: 250px; |
| 204 | +} |
| 205 | + |
| 206 | +.selectedElementDialog { |
| 207 | + background-color: rgba(58, 70, 81, 0.9); |
| 208 | + border-radius: 4px; |
| 209 | + color: white; |
| 210 | + padding: 20px 14px 10px; |
| 211 | + position: absolute; |
8 | 212 | } |
9 | 213 |
|
10 | 214 | #customValueInput input[type=radio] { |
11 | 215 | display: none; |
12 | 216 | } |
13 | 217 |
|
14 | 218 | #customValueInput input[type=radio] + label { |
15 | | - padding: 2px; |
16 | 219 | border: 3px solid rgba(0, 0, 0, 0); |
17 | 220 | color: white; |
18 | 221 | display: inline-block; |
19 | 222 | font-weight: bold; |
20 | | - margin: 3px 3px 0 0; |
| 223 | + height: 20px; |
| 224 | + margin-right: 3px; |
| 225 | + padding-left: 3px; |
21 | 226 | } |
22 | 227 |
|
23 | 228 | #customValueInput input[type=radio]:checked + label { |
24 | 229 | border: 3px solid orange; |
25 | 230 | } |
26 | 231 |
|
27 | 232 | .closeBtn { |
28 | | - color: #551A8B; |
| 233 | + color: white; |
29 | 234 | font-size: 15px; |
30 | 235 | line-height: 10px; |
31 | 236 | position: absolute; |
32 | 237 | right: 6px; |
33 | 238 | text-decoration: none; |
34 | | - top: 6px |
| 239 | + top: 6px; |
35 | 240 | } |
36 | 241 |
|
37 | 242 | .closeBtn:hover, .closeBtn:focus, .closeBtn:active { |
38 | | - color: #551A8B; |
| 243 | + color: white; |
39 | 244 | text-decoration: none; |
40 | 245 | } |
41 | 246 |
|
| 247 | +.topMargin { |
| 248 | + margin-top: 5px; |
| 249 | +} |
| 250 | + |
42 | 251 | .code { |
| 252 | + color: rgba(255, 255, 255, 0.9); |
43 | 253 | font-weight: bold; |
44 | 254 | } |
0 commit comments