// 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.

@import "widgets/theme";

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

  .pf-plugins-topbar {
    margin-bottom: 10px;
    & > button {
      margin-right: 4px;
    }
  }

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

  .pf-plugins-grid {
    display: inline-grid;
    grid-template-columns: auto auto auto;
    row-gap: 6px;
    column-gap: 10px;
  }

  .pf-tag {
    padding: 3px 6px;
    display: inline;
    width: 100px;
    text-align: center;
    border-radius: $pf-border-radius;

    &.pf-active {
      background: lightgreen;
    }
    &.pf-inactive {
      background: lightcoral;
    }
  }
}
