/*
 * Copyright 2017-2020 EPAM Systems, Inc. (https://www.epam.com/)
 *
 * 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.
 */

.panel {}

.anchor {
  background-color: #efefef;
  position: absolute;
}

.anchor:hover {
  background-color: #ccc;
}

.anchor.right,
.anchor.left {
  width: 5px;
  top: 0;
  bottom: 0;
  cursor: col-resize;
}

.anchor.top,
.anchor.bottom {
  height: 5px;
  left: 0;
  right: 0;
  cursor: row-resize;
}

.anchor.right {
  right: 0;
}

.anchor.left {
  left: 0;
}

.anchor.top {
  top: 0;
}

.anchor.bottom {
  bottom: 0;
}

.anchor.top.left {
  bottom: unset;
  right: unset;
  cursor: nwse-resize;
}

.anchor.top.right {
  bottom: unset;
  left: unset;
  cursor: nesw-resize;
}

.anchor.bottom.left {
  top: unset;
  right: unset;
  cursor: nesw-resize;
}

.anchor.bottom.right {
  top: unset;
  left: unset;
  cursor: nwse-resize;
}
