/*
 * Copyright 2015-2016 Imply Data, Inc.
 * Copyright 2017-2019 Allegro.pl
 *
 * 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 '../../imports';

$resize-handle-size: 12px;

.dimension-measure-panel {

  @include for-small-screens {
    padding: 0 1px 0 0;
    font-size: 0.9em;
  }

  padding: $tile-margin-v $tile-margin-h;

  .dimension-measure-panel--container {
    left: 0;
    height: 100%;
    right: 0;
  }

  .dimension-list-tile {
    border-radius: $corner $corner 0 0;
    margin-bottom: $resize-handle-size;
  }

  .measures-tile {
    border-radius: 0 0 $corner $corner;
  }

  .resize-handle {
    @include css-variable(border-color, background-base);
    @include css-variable(background-color, background-lightest);
    border-width: 1px;
    border-style: solid;
    border-left-width: 0;
    height: $resize-handle-size;
  }
}
