OLD | NEW |
1 /* Copyright 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright 2014 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 | 5 |
6 .window-body { | 6 .window-body { |
7 position: relative; | 7 position: relative; |
8 } | 8 } |
9 | 9 |
10 html.apps-v2, | 10 html.apps-v2, |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 background-position: 2px 1px; | 74 background-position: 2px 1px; |
75 } | 75 } |
76 | 76 |
77 #scroller { | 77 #scroller { |
78 height: 100%; | 78 height: 100%; |
79 width: 100%; | 79 width: 100%; |
80 overflow: auto; | 80 overflow: auto; |
81 position: relative; | 81 position: relative; |
82 } | 82 } |
83 | 83 |
84 html.apps-v2 #scroller { | 84 html.apps-v2 .window-body { |
85 height: calc(100% - 32px); /* Allow space for the title-bar */ | 85 height: calc(100% - 32px); /* Allow space for the title-bar */ |
86 } | 86 } |
87 | 87 |
88 /* Add an etched border to the window controls, title bar and stub */ | 88 /* Add an etched border to the window controls, title bar and stub */ |
89 .window-title, | 89 .window-title, |
90 .window-control, | 90 .window-control, |
91 .window-controls-stub { | 91 .window-controls-stub { |
92 position: relative; | 92 position: relative; |
93 } | 93 } |
94 | 94 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 * - The stub is visible. | 137 * - The stub is visible. |
138 * - The window controls gain transition effects for position and opacity and | 138 * - The window controls gain transition effects for position and opacity and |
139 * auto-hide behind the top edge of the screen. | 139 * auto-hide behind the top edge of the screen. |
140 * - A border is added to the window controls to ensure they stand out against | 140 * - A border is added to the window controls to ensure they stand out against |
141 * any desktop. | 141 * any desktop. |
142 * - The window border is removed. | 142 * - The window border is removed. |
143 * - The full-screen button is removed. | 143 * - The full-screen button is removed. |
144 */ | 144 */ |
145 | 145 |
146 html.apps-v2 body.fullscreen #scroller { | 146 html.apps-v2 body.fullscreen #scroller { |
| 147 overflow: hidden; |
| 148 } |
| 149 |
| 150 html.apps-v2 body.fullscreen .window-body { |
147 height: 100%; | 151 height: 100%; |
148 overflow: hidden; | |
149 } | 152 } |
150 | 153 |
151 body.fullscreen .title-bar { | 154 body.fullscreen .title-bar { |
152 border: 1px solid #a6a6a6; | 155 border: 1px solid #a6a6a6; |
153 } | 156 } |
154 | 157 |
155 body.fullscreen .window-title { | 158 body.fullscreen .window-title { |
156 display: none; | 159 display: none; |
157 } | 160 } |
158 | 161 |
(...skipping 27 matching lines...) Expand all Loading... |
186 box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5); | 189 box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5); |
187 } | 190 } |
188 | 191 |
189 .fullscreen .title-bar.opened .window-controls-stub { | 192 .fullscreen .title-bar.opened .window-controls-stub { |
190 background-color: #a6a6a6; | 193 background-color: #a6a6a6; |
191 } | 194 } |
192 | 195 |
193 body.fullscreen .window-fullscreen { | 196 body.fullscreen .window-fullscreen { |
194 display: none; | 197 display: none; |
195 } | 198 } |
OLD | NEW |