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

@use "../../base/components/table";

:root {
  --leantable--column--gap: 10px;
  --leantable--header--background: var(--fill--primary);
  --leantable--header--text-align: left;
  --leantable--row--background: var(--fill--primary);
  --leantable--row--border: 1px solid var(--border--neutral);
  --leantable--row--hover--background: var(--fill--primary--hover);
}

.leantable__header-cell {
  font-weight: 600;
}

.leantable__body-cell {
  vertical-align: top;
}

.leantable__header-cell,
.leantable__body-cell {
  padding-block: 9.25px;
  line-height: 20px;
}

.dremio-dark {
  --leantable--header--background: lch(18% 7 242);
  --leantable--row--background: lch(18% 7 242);
  --leantable--row--border: 1px solid lch(10% 7 242);
  --leantable--row--hover--background: lch(22% 8 237);
}
