/*
 * Copyright (c) 2010, 2024 BSI Business Systems Integration AG
 *
 * This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License 2.0
 * which is available at https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 */
.desktop {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: clip; // prevent unwanted scrolling on modern browsers

  &:focus {
    outline: none;
  }

  &.has-navigation-handle > .splitter {
    height: calc(~'100% - 50px');
  }

  &.in-background {
    // Necessary for the rounded top left border of the bench
    background-color: @desktop-navigation-body-in-background-background-color;
  }
}

/* "Open URI" related rules */

.download-frame {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  visibility: hidden;
  /* Do _not_ use 'display: none', because that seems to interrupt the download in Safari */
}
