/*
 * Copyright (C) 2017-2019 Dremio Corporation
 *
 * 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.
 */

:global {
  .admin-preferences-settings-main {
    .preferences-settings-page-description {
      max-width: 600px;
      line-height: 20px;
      margin: var(--dremio--spacing--1) 0;
    }

    .preferences-settings-button-section {
      max-width: 300px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--dremio--spacing--1);

      .preferences-settings-button-name {
        width: 200px;

        .dremio-tag {
          border: 1px solid var(--fill--info--solid);
          color: var(--fill--info--solid);
          background-color: var(--fill--info);
          line-height: 18px;
          padding: 2px var(--dremio--spacing--1);
          margin-left: var(--dremio--spacing--1);
          font-size: var(--dremio--font-size--sm);
        }
      }
    }

    .preferences-settings-description {
      max-width: 600px;
      margin: 0;

      span {
        font-size: 12px;
        line-height: 18px;
        color: var(--text--faded);
      }
    }

    .setting-body-preferences-hr {
      height: 1px;
      width: 98%;
      margin: var(--dremio--spacing--1) 0 var(--dremio--spacing--2);
      border: 0px;
      background-color: var(--border--neutral);
    }
  }
}
