go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/milo/frontend/static/common/css/build.css (about)

     1  /* Copyright 2019 The LUCI Authors.
     2  **
     3  ** Licensed under the Apache License, Version 2.0 (the "License");
     4  ** you may not use this file except in compliance with the License.
     5  ** You may obtain a copy of the License at
     6  **
     7  **      http://www.apache.org/licenses/LICENSE-2.0
     8  **
     9  ** Unless required by applicable law or agreed to in writing, software
    10  ** distributed under the License is distributed on an "AS IS" BASIS,
    11  ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  ** See the License for the specific language governing permissions and
    13  ** limitations under the License.
    14   */
    15  
    16  #modal-overlay {
    17      display: none;
    18      position: fixed;
    19      z-index: 1;
    20      padding-top: 30vh;
    21      left: 0;
    22      top: 0;
    23      width: 100%;
    24      height: 100%;
    25      overflow: auto;
    26      background-color: rgba(0, 0, 0, 0.3);
    27  }
    28  
    29  #modal-overlay.show {
    30      display: block;
    31  }
    32  
    33  .modal-content {
    34      display: none;
    35      background-color: white;
    36      margin: auto;
    37      padding: 20px;
    38      border: 1px solid black;
    39      width: 60%;
    40  }
    41  
    42  .modal-content * {
    43      margin: 5px 0 5px 0;
    44  }
    45  
    46  #modal-overlay.show-retry-build-modal #retry-build-modal {
    47      display: block;
    48  }
    49  
    50  #modal-overlay.show-cancel-build-modal #cancel-build-modal {
    51      display: block;
    52  }