1 /* 2 Copyright (c) 2011 The Chromium Authors. All rights reserved. 3 Use of this source code is governed by a BSD-style license that can be 4 found in the LICENSE file. 5 */ 6 .overlay-root { 7 display: -webkit-box; 8 position: fixed; 9 width: 100%; 10 height: 100%; 11 top: 0; 12 left: 0; 13 background: rgba(0, 0, 0, 0.8); 14 -webkit-user-select: none; 15 -webkit-box-orient: horizontal; 16 -webkit-box-align: stretch; 17 -webkit-box-pack: center; 18 z-index: 1000; 19 } 20 21 .overlay-root:not([visible]), 22 .overlay:not([visible]) 23 { 24 display: none; 25 } 26 27 .overlay-root > .content-host { 28 -webkit-user-select: auto; 29 display: -webkit-box; 30 -webkit-box-orient: vertical; 31 -webkit-box-align: stretch; 32 -webkit-box-pack: center; 33 } 34 35 .overlay-root > .content-host > * { 36 background: rgb(255, 255, 255); 37 } 38