/*
 * Copyright (C) 2017-2019 Dremio Corporation
 *
 * 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.
 */
/* TODO describe style in each modal (HomePage modals) */
:global {
  // DX-11429 TODO reafactor component to use css modules instead fo global classes

  .add-file-form {
    .add-file {
      @background-color: #f5f5f5;

      .file-content {
        margin: 12px 15px;
      }

      .file-drop-form {
        margin: 0 0 10px 0;

        .inputDropClass {
          color: var(--text--primary);
          height: 160px;
          width: 300px;
          border: 2px dashed var(--border--neutral);
          text-align: center;
        }
      }

      .file-footer {
        bottom: 0;
        height: 50px;
        width: 100%;
        background-color: var(--fill--secondary);
        justify-content: flex-end;
        display: flex;
        position: absolute;
        align-items: center;

        .add-file-button {
          background-color: @background-color;
          width: 140px;
          height: 30px;
          outline: none;
          box-shadow: none;
          border: 1px solid var(--border--neutral);
          display: flex;
          border-radius: 3px;
          justify-content: center;
          position: relative;
          margin-left: 15px;
          font-size: 13px;
          align-items: center;
          cursor: pointer;

          &.button-next {
            background-color: #0096ff;
            border: 1px solid #0096ff;
            color: var(--text--primary);
            margin-right: 15px;
            display: flex;
            justify-content: center;
            width: 140px;
            height: 30px;
          }
        }
      }
    }
  }
}
