/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You 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.
 *
 */

@import 'src/scss/sp/colors';

standard-dialog-container {
  width: 100%;
  background-color: #fff;
  border-radius: 5px;
  -webkit-box-shadow: 0 10px 6px -6px #777;
  -moz-box-shadow: 0 10px 6px -6px #777;
  box-shadow: 0 10px 6px -6px #777;
}

.standard-dialog-panel {
  max-height: 80vh;
  height: 100%;
  display: grid;
  grid-template-rows: 50px auto;
}

.standard-dialog-panel-header {
  display: flex;
  justify-content: space-between;
  height: 50px;
  min-height: 50px;
  width: 100%;
  background: $sp-color-primary;
  align-items: center;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.dialog-panel-content {
  height: 100%;
  overflow-y:auto;
}

.dialog-title {
  padding: 5px 5px 5px 15px;
  font-size:20px;
  color: white;
}

#portal {
  width:100%;
}