| /* |
| * Copyright (c) 2014-2018 BSI Business Systems Integration AG. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * BSI Business Systems Integration AG - initial API and implementation |
| */ |
| .file-input { |
| cursor: pointer; |
| /* Don't allow text selection because mouse down opens the chooser. |
| * Reason: The browser would still be in selecting mode after the chooser closes, |
| * every click outside of the field would immediately open the chooser again (at least in FF). |
| */ |
| #scout.user-select(none); |
| |
| &:not(.disabled):not(.alternative):active { |
| background-color: @control-disabled-background-color; |
| } |
| |
| &.alternative:not(.disabled):active { |
| #scout.alternative-focus-border(); |
| } |
| |
| &.has-error:not(.disabled):not(.alternative):active { |
| background-color: @error-background-color; |
| } |
| |
| &.has-error.alternative:not(.disabled):active { |
| border-bottom-color: @error-border-color; |
| } |
| |
| &.disabled { |
| cursor: default; |
| #scout.user-select(text); |
| } |
| } |
| |
| .legacy-upload-form { |
| & > .legacy-upload-file-input { |
| width: 100%; |
| |
| & > iframe { |
| display: none; |
| } |
| } |
| } |