Home | History | Annotate | Download | only in ui
      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 
      6 .overlay-root * {
      7   -webkit-user-select: none;
      8   box-sizing: border-box;
      9 }
     10 
     11 .overlay-root {
     12   -webkit-flex-flow: row;
     13   -webkit-justify-content: center;
     14   -webkit-user-select: none;
     15   background: rgba(0, 0, 0, 0.8);
     16   display: -webkit-flex;
     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   display: none;
     28 }
     29 
     30 .overlay-root > .content-host {
     31   -webkit-flex-flow: column;
     32   -webkit-justify-content: center;
     33   -webkit-user-select: auto;
     34   display: -webkit-flex;
     35 }
     36 
     37 .overlay * {
     38   -webkit-user-select: auto;
     39 }
     40 
     41 .overlay-root > .content-host > * {
     42   background: rgb(255, 255, 255);
     43 }
     44 
     45 .overlay-root > .content-host .tool-bar {
     46   cursor: pointer;
     47   display: -webkit-flex;
     48   height: 24px;
     49   padding: 1px;
     50 }
     51 
     52 .overlay-root > .content-host .tool-bar .exit-button {
     53   background-color: rgba(0,0,0, 0.8);
     54   border: 1px solid white;
     55   color: white;
     56   height:  100%;
     57   padding-left: 4px;
     58   width:  19px;
     59 }
     60 
     61 .overlay {
     62   max-height: 500px;
     63   overflow: auto;
     64   padding: 8px;
     65 }
     66