/* Copyright 2019 The LUCI Authors.
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
**      http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
 */

#modal-overlay {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 30vh;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.3);
}

#modal-overlay.show {
    display: block;
}

.modal-content {
    display: none;
    background-color: white;
    margin: auto;
    padding: 20px;
    border: 1px solid black;
    width: 60%;
}

.modal-content * {
    margin: 5px 0 5px 0;
}

#modal-overlay.show-retry-build-modal #retry-build-modal {
    display: block;
}

#modal-overlay.show-cancel-build-modal #cancel-build-modal {
    display: block;
}
