Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / native_client_sdk / src / gonacl_appengine / static / styles / style.css
blob971028f7db5bcb5aa5a7a98641e1487dea854cf4
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
5 * {
6 box-sizing: border-box;
7 -webkit-font-smoothing:antialiased;
10 html, body {
11 margin: 0;
12 padding: 0;
13 width: 100%;
14 height: 100%;
15 background: #FAFAFA;
16 font-family: 'Myriad Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
17 line-height: 1.35;
18 color: #444;
21 body {
22 display: flex;
23 flex-direction: row;
26 nav {
27 width: 230px;
28 background: #F3F3F3;
29 border-right: 1px solid #CCCCCC;
30 flex: 0 0 auto;
33 nav h1 {
34 font-family: 'Open Sans';
35 font-weight: 300;
36 color: #555;
37 margin: 0;
38 padding: 35px 0 20px 10px;
39 font-size: 22px;
40 border-bottom: 1px solid #CCC;
43 nav ul {
44 list-style: none;
45 padding: 0;
46 margin: 0;
49 nav ul li {
50 height: 52px;
51 line-height: 52px;
52 border-top: 1px solid #FFF;
53 border-bottom: 1px solid #CCC;
54 position: relative;
55 overflow: hidden;
58 nav ul li a {
59 padding-left: 50px;
60 display: block;
61 width: 100%;
62 height: 100%;
63 background-image: url(icons.png);
64 background-repeat: no-repeat;
65 background-color: #F3F3F3;
66 background-size: 30px 420px;
67 color: #444;
68 text-decoration: none;
69 transition: background-color 0.2s ease-out, color 0.3s ease-in-out;
72 nav ul li#lua a {
73 background-position: 14px 16px;
76 nav ul li#bullet a {
77 background-position: 14px -52px;
80 nav ul li#earth a {
81 background-position: 14px -108px;
84 nav ul li#life a {
85 background-position: 13px -166px;
88 nav ul li#voronoi a {
89 background-position: 15px -230px;
92 nav ul li#smoothlife a {
93 background-position: 13px -290px;
96 nav ul li#cube a {
97 background-position: 13px -350px;
100 nav ul li a:hover,
101 nav ul li a.active {
102 background-color: #444;
103 color: #FFF;
104 transition: background-color 0.1s ease-out, color 0.2s ease-in-out;
107 nav ul li:last-child:after {
108 content: '';
109 width: 100%;
110 height: 0;
111 border-bottom: 1px solid #FFF;
112 position: absolute;
113 left: 0;
114 bottom: -2px;
117 section {
118 padding: 25px;
119 flex: 1 1 auto;
120 display: flex;
121 flex-direction: column;
124 section iframe {
125 box-shadow: 0 1px 1px rgba(0,0,0,0.3);
126 width: 100%;
127 height: 100%;
128 background: #FFF;
129 flex: 1 1 auto;
132 .error {
133 background-color: #ccc;
134 position: fixed;
135 left: 0;
136 top: 0;
137 right: 0;
138 bottom: 0;
141 .error h1 {
142 font-family: 'Open Sans';
143 font-weight: 300;
144 color: #555;
145 margin: 0;
146 padding: 20px 0 20px 10px;
147 font-size: 22px;
148 border-bottom: 1px solid #CCC;
149 margin-bottom: 20px;
152 .error .message {
153 background-color: #fff;
154 padding: 20px;
155 margin: auto;
156 position: absolute;
157 left: 0;
158 right: 0;
159 top: 0;
160 bottom: 0;
161 width: 500px;
162 height: 350px;
163 box-shadow: 0 1px 1px rgba(0,0,0,0.3);
166 .error img {
167 float: right;
168 margin-left: 20px;
171 .error[hidden] {
172 display: none;
175 /** Demo **/
177 .demo {
178 background: #FFF;
179 flex-direction: column;
182 .demo header {
183 flex: 0 1 auto;
184 padding: 15px 25px;
187 .demo header h1 {
188 margin: 0;
189 font-family: 'Open Sans';
190 font-weight: 300;
191 color: #666;
192 font-size: 62px;
193 letter-spacing: -0.05em;
196 .demo p {
197 margin: 0 0 1em 0;
198 font-size: 17px;
201 .demo ul {
202 margin: 0;
205 .demo section {
206 padding: 0 25px 25px 25px;
207 display: flex;
208 flex-direction: row;
211 .demo .intro {
212 max-width: 360px;
213 padding-right: 40px;
216 .demo div {
217 flex: 1 1 auto;
220 .demo div.Demo-body,
221 .demo div.Demo-content {
222 display: flex;
223 flex-direction: column;
226 .demo div.Demo-body {
227 border: 1px solid #DFDFDF;
228 position: relative;
229 padding: 10px;
232 .demo div.Demo-content embed {
233 flex: 1 1 auto;
236 .demo p {
237 font-size: 20px;
240 .demo a {
241 color: #00A3D9;
244 .demo p.note {
245 color: #666;
246 font-style: italic;
247 font-size: 14px;
250 .demo .panel-info {
251 margin-top: 20px;
252 padding-top: 20px;
253 border-top: 1px solid #CCC;
256 .demo .panel-body {
257 margin-bottom: 10px;
258 padding-bottom: 10px;
261 .demo tr {
262 font-size: 14px;
263 height: 30px;
264 line-height: 30px;
267 .demo td {
268 padding: 4px;
271 .demo tr:nth-child(2n) {
272 background: #f4f4f4;
275 .demo td.name {
276 font-weight: bold;
279 .demo h2 {
280 font-size: 16px;
281 font-family: 'Open Sans';
282 font-weight: 700;
283 margin: 0 0 0.2em 0;
284 color: #777;
285 letter-spacing: -0.06em;
288 .demo #loading-cover{
289 display: block;
290 position: fixed;
291 left: 0;
292 top: 0;
293 right: 0;
294 bottom: 0;
295 width: 100%;
296 background-color: rgba(255, 255, 255, 0.8);
299 .demo #message {
300 position:absolute;
301 text-align: center;
302 width: 100%;
303 height: 100%;
304 z-index:10;
305 top:0;
306 left:0;
309 .demo #statusField {
310 padding-top: 200px;
311 color: #444;
312 font-size: 44px;
313 font-weight: 700;
314 font-family: 'Open Sans';
315 text-align: center;
316 width: 100%;
317 letter-spacing: -0.06em;
320 .demo #terminal {
321 width: 100%;
322 height: 100%;
323 position: relative;
324 display: flex;
327 .demo #terminal iframe {
328 width: auto;
329 height: auto;
332 .demo #rendererContainer {
333 width: calc(100% - 20px);
334 height: calc(100% - 20px);
335 position: absolute;
338 .no-pointer-events {
339 pointer-events: none;
342 .demo button {
343 background: #777;
344 color: #FFF;
345 width: 49%;
346 height: 35px;
347 border-radius: 6px;
348 border: none;
349 margin-bottom: 4px;
350 cursor: pointer;
351 transition: background-color 0.2s ease-out;
354 .demo button.block {
355 display: block;
358 .demo button.one-third {
359 width: 32%;
362 .demo button:hover {
363 background: #333;
366 .demo {
367 min-height: 645px;
370 .demo #progress {
371 margin: 20px auto;
372 width: 300px;
373 border-radius: 8px;
374 background: #FFF;
375 box-shadow: 0 3px 8px rgba(0,0,0,0.3);
378 .progress-bar {
379 border-radius: 8px;
380 height: 40px;
381 background: #6DD900;
382 transition: width 0.1s ease-out;
385 .demo .credit {
386 margin-top: 20px;
387 font-size: 10px;
388 color: #AAA;