// Copyright (C) 2023 The Android Open Source Project
//
// 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.

.widgets-page {
  padding: 20px;
  font-size: 16px;
  overflow: auto;

  h1 {
    margin: 32px 0 0 0;
    font-size: 28px;
  }

  h2 {
    margin: 16px 0 0 0;
    font-size: 24px;
  }

  ul {
    margin-block-start: 5px;
    margin-block-end: 0px;
    padding-inline-start: 0px;
  }

  li {
    list-style-type: none;
    margin: 2px 0 0 0;
  }

  .widget-row {
    margin: 10px;

    & > * {
      margin-right: 5px;
    }
  }

  .widget-block {
    display: flex;
    flex-direction: row;
  }

  .widget-controls {
    margin: 10px;
  }

  .widget-container {
    display: flex;
    min-width: 300px;
    max-width: 600px;
    min-height: 250px;
    border-radius: 3px;
    box-shadow: inset 2px 2px 10px #00000020;
    border: dashed 1px gray;
    margin: 10px 0 10px 0;
    padding: 16px;

    & > * {
      margin: auto;
      vertical-align: middle;
    }
  }

  .widget-container-wide {
    min-width: 450px;
  }
}
