Home | History | Annotate | Download | only in src
      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
      3  * found in the LICENSE file. */
      4 
      5 .overlay-root * {
      6   -webkit-user-select: none;
      7   box-sizing: border-box;
      8 }
      9 
     10 .overlay-root {
     11   -webkit-box-align: stretch;
     12   -webkit-box-orient: horizontal;
     13   -webkit-box-pack: center;
     14   -webkit-user-select: none;
     15   background: rgba(0, 0, 0, 0.8);
     16   display: -webkit-box;
     17   font-family: sans-serif;
     18   height: 100%;
     19   left: 0;
     20   position: fixed;
     21   top: 0;
     22   width: 100%;
     23   z-index: 1000;
     24 }
     25 
     26 .overlay-root:not([visible]),
     27 .overlay:not([visible]) {
     28   display: none;
     29 }
     30 
     31 .overlay-root > .content-host {
     32   -webkit-box-align: stretch;
     33   -webkit-box-orient: vertical;
     34   -webkit-box-pack: center;
     35   -webkit-user-select: auto;
     36   display: -webkit-box;
     37 }
     38 
     39 .overlay-root > .content-host > * {
     40   background: rgb(255, 255, 255);
     41 }
     42 
     43 .overlay {
     44   max-height: 500px;
     45   overflow: auto;
     46   padding: 8px;
     47 }