/********************************************************************************
 * Copyright (C) 2018 Red Hat, Inc. and others.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 *
 * This Source Code may also be made available under the following Secondary
 * Licenses when the conditions for such availability set forth in the Eclipse
 * Public License v. 2.0 are satisfied: GNU General Public License, version 2
 * with the GNU Classpath Exception which is available at
 * https://www.gnu.org/software/classpath/license.html.
 *
 * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
 ********************************************************************************/

.theia-webview.lm-mod-hidden {
  visibility: hidden;
  display: flex !important;
}

.theia-webview {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.theia-webview iframe {
  flex-grow: 1;
  border: none;
  margin: 0;
  padding: 0;
}

.theia-webview-icon {
  background: none !important;
  min-height: 20px;
}

.theia-webview-icon::before {
  background-size: 13px;
  background-repeat: no-repeat;
  vertical-align: middle;
  display: inline-block;
  text-align: center;
  height: 15px;
  width: 15px;
  content: "";
}

.lm-TabBar.theia-app-sides .theia-webview-icon::before {
  width: var(--theia-private-sidebar-icon-size);
  height: var(--theia-private-sidebar-icon-size);
  background-size: contain;
}
