OLD | NEW |
---|---|
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 body { | 5 body { |
6 color: rgb(48, 57, 66); | 6 color: rgb(48, 57, 66); |
7 font-size: 13px; | 7 font-size: 13px; |
8 margin: 0; | 8 margin: 0; |
9 min-width: 47em; | 9 min-width: 47em; |
10 padding: 20px 20px 65px 0; | |
11 } | 10 } |
12 | 11 |
13 .hidden { | 12 .hidden { |
14 display: none !important; | 13 display: none !important; |
15 } | 14 } |
16 | 15 |
17 img { | 16 img { |
18 flex-shrink: 0; | 17 flex-shrink: 0; |
19 height: 16px; | 18 height: 16px; |
20 padding-left: 2px; | 19 padding-left: 2px; |
21 padding-right: 5px; | 20 padding-right: 5px; |
22 vertical-align: top; | 21 vertical-align: top; |
23 width: 16px; | 22 width: 16px; |
24 } | 23 } |
25 | 24 |
26 #container { | 25 #container { |
27 -webkit-flex-direction: row; | 26 -webkit-flex-direction: row; |
28 display: -webkit-flex; | 27 display: -webkit-flex; |
29 } | 28 } |
30 | 29 |
31 #navigation { | 30 #navigation { |
31 box-sizing: border-box; | |
pfeldman
2015/03/02 17:15:31
Lets do
* {
box-sizing: border-box;
}
robwu
2015/04/04 09:18:48
Done. I've updated some values because of the effe
| |
32 max-height: 100vh; | |
pfeldman
2015/03/02 17:15:31
We don't use vh much in the source base.
robwu
2015/04/04 09:18:48
What's the issue with vh?
100vh is exactly what we
pfeldman
2015/04/04 09:32:30
what is the effect you are trying to achieve? isn'
robwu
2015/04/04 09:39:37
When the window is large enough, then there is no
| |
33 overflow: auto; | |
34 padding-top: 20px; | |
32 width: 150px; | 35 width: 150px; |
33 } | 36 } |
34 | 37 |
35 #content { | 38 #content { |
36 -webkit-flex: 1; | 39 -webkit-flex: 1; |
40 max-height: 100vh; | |
41 overflow: auto; | |
37 } | 42 } |
38 | 43 |
39 #caption { | 44 #caption { |
40 color: rgb(92, 97, 102); | 45 color: rgb(92, 97, 102); |
41 font-size: 150%; | 46 font-size: 150%; |
42 padding-bottom: 10px; | 47 padding-bottom: 10px; |
43 padding-left: 20px; | 48 padding-left: 20px; |
44 } | 49 } |
45 | 50 |
46 #serviceworker-internals { | 51 #serviceworker-internals { |
(...skipping 16 matching lines...) Expand all Loading... | |
63 font: inherit; | 68 font: inherit; |
64 line-height: 17px; | 69 line-height: 17px; |
65 margin: 6px 0; | 70 margin: 6px 0; |
66 padding: 0 2px; | 71 padding: 0 2px; |
67 } | 72 } |
68 | 73 |
69 .tab-header:not(.selected) > button { | 74 .tab-header:not(.selected) > button { |
70 color: #999; | 75 color: #999; |
71 } | 76 } |
72 | 77 |
78 #content > div { | |
79 padding: 20px 20px 65px 0; | |
80 } | |
73 #content > div:not(.selected) { | 81 #content > div:not(.selected) { |
74 display: none; | 82 display: none; |
75 } | 83 } |
76 | 84 |
77 .content-header { | 85 .content-header { |
78 border-bottom: 1px solid #eee; | 86 border-bottom: 1px solid #eee; |
79 font-size: 150%; | 87 font-size: 150%; |
80 padding-bottom: 10px; | 88 padding-bottom: 10px; |
81 } | 89 } |
82 | 90 |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
402 } | 410 } |
403 | 411 |
404 #port-forwarding-config-buttons { | 412 #port-forwarding-config-buttons { |
405 align-items: center; | 413 align-items: center; |
406 display: flex; | 414 display: flex; |
407 } | 415 } |
408 | 416 |
409 #port-forwarding-config-buttons > label { | 417 #port-forwarding-config-buttons > label { |
410 flex-grow: 1 | 418 flex-grow: 1 |
411 } | 419 } |
OLD | NEW |