/*
 * 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.
 */
@import "~#oss/pages/ExplorePage/components/Wiki/Wiki.variables.less";

.section {
  composes: clear-fix from "~#oss/uiTheme/less/layout.less";
  composes: row-of-inputs-spacing from "~#oss/uiTheme/less/forms.less";
  border-bottom: 1px solid var(--border--neutral);
  display: flex;
  align-items: center;
  height: @wiki-title-height;
}

.title {
  composes: h2 from "~#oss/uiTheme/css/typography.css";
  color: #666666; // taken from design sketch file
  flex: 1;
}

.button-container {
  composes: row-of-inputs-spacing from "~#oss/uiTheme/less/forms.less";
  display: flex;
  align-items: center;
}

.custom-button {
  @color: var(--text--faded);
  border-radius: 4px;
  border: 1px solid var(--border--neutral--solid);
  height: 28px;
  width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  outline: none;
  background: var(--fill--primary);
  &:hover {
    background: var(--fill--secondary);
  }
}
