| 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 html.apps-v2, | 6 html.apps-v2, |
| 7 html.apps-v2 body { | 7 html.apps-v2 body { |
| 8 height: 100%; | 8 height: 100%; |
| 9 width: 100%; | 9 width: 100%; |
| 10 } | 10 } |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 /* Remove dark borders for elements that are adjacent an existing border. */ | 108 /* Remove dark borders for elements that are adjacent an existing border. */ |
| 109 .window-close::after { | 109 .window-close::after { |
| 110 border-right: none; | 110 border-right: none; |
| 111 } | 111 } |
| 112 | 112 |
| 113 .window-controls-stub::after { | 113 .window-controls-stub::after { |
| 114 border-bottom: none; | 114 border-bottom: none; |
| 115 border-right: none; | 115 border-right: none; |
| 116 } | 116 } |
| 117 | 117 |
| 118 /* The Disconnect and Options buttons are only displayed when connected. */ | 118 /* The Disconnect, full-screen and options buttons are only displayed when |
| 119 connected. */ |
| 119 body:not(.connected) .window-disconnect, | 120 body:not(.connected) .window-disconnect, |
| 121 body:not(.connected) .window-fullscreen, |
| 120 body:not(.connected) .window-options { | 122 body:not(.connected) .window-options { |
| 121 display: none; | 123 display: none; |
| 122 } | 124 } |
| 123 | 125 |
| 124 | 126 |
| 125 /* | 127 /* |
| 126 * When in full-screen mode, significant changes are made: | 128 * When in full-screen mode, significant changes are made: |
| 127 * - The scroll-bars are removed. | 129 * - The scroll-bars are removed. |
| 128 * - The window controls have a border (so the left-border of the first button | 130 * - The window controls have a border (so the left-border of the first button |
| 129 * is not needed). | 131 * is not needed). |
| 130 * - The window title is not displayed. | 132 * - The window title is not displayed. |
| 131 * - The stub is visible. | 133 * - The stub is visible. |
| 132 * - The window controls gain transition effects for position and opacity and | 134 * - The window controls gain transition effects for position and opacity and |
| 133 * auto-hide behind the top edge of the screen. | 135 * auto-hide behind the top edge of the screen. |
| 134 * - A border is added to the window controls to ensure they stand out against | 136 * - A border is added to the window controls to ensure they stand out against |
| 135 * any desktop. | 137 * any desktop. |
| 136 * - The window border is removed. | 138 * - The window border is removed. |
| 139 * - The full-screen button is removed. |
| 137 */ | 140 */ |
| 138 | 141 |
| 139 html.apps-v2 body.fullscreen #scroller { | 142 html.apps-v2 body.fullscreen #scroller { |
| 140 height: 100%; | 143 height: 100%; |
| 141 overflow: hidden; | 144 overflow: hidden; |
| 142 } | 145 } |
| 143 | 146 |
| 144 body.fullscreen .title-bar { | 147 body.fullscreen .title-bar { |
| 145 border: 1px solid #a6a6a6; | 148 border: 1px solid #a6a6a6; |
| 146 } | 149 } |
| (...skipping 28 matching lines...) Expand all Loading... |
| 175 body.fullscreen .title-bar.opened, | 178 body.fullscreen .title-bar.opened, |
| 176 body.fullscreen .title-bar.preview { | 179 body.fullscreen .title-bar.preview { |
| 177 top: -4px; | 180 top: -4px; |
| 178 opacity: 1.0; | 181 opacity: 1.0; |
| 179 box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5); | 182 box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5); |
| 180 } | 183 } |
| 181 | 184 |
| 182 .fullscreen .title-bar.opened .window-controls-stub { | 185 .fullscreen .title-bar.opened .window-controls-stub { |
| 183 background-color: #a6a6a6; | 186 background-color: #a6a6a6; |
| 184 } | 187 } |
| 188 |
| 189 body.fullscreen .window-fullscreen { |
| 190 display: none; |
| 191 } |
| OLD | NEW |