summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/modules/_softwareProductAttachmentPage.scss
blob: c8d8cf4e0bb47e436ca47e9555cf0e60caa34b7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.vsp-attachments-view {
  position: relative;
  #attachments-tabs {
    .nav-tabs {
      background-color: $tlv-gray;
      box-shadow: none;
      border-bottom: 1px solid $light-gray;
      & > li {
        & > a {
          @extend .heading-2;
          padding-left: 0;
          padding-right: 0;
          margin-right: 40px;
        };
        &.active > a {color: $blue;};
      }
    }
  }
  .attachments-view-controllers {
    position: absolute;
    right: 40px;
    top: 15px;
    display: flex;


    .icon-component {
      margin-right: 30px;

    }

    input[type="file"] {
      visibility: hidden;
      width: 1px;
      padding: 0;
      margin-left: -1px;
    }
  }
}

.vsp-attachments-heat-validation {
  @extend .body-1;
  display: flex;
  .svg-icon.exclamationTriangleFull {
    fill: $orange;
    width: 15px;
    height: 15px;
    &.large {
      width: 20px;
      height: 20px;
    }
  }
  .validation-tree-section {
    display: flex;
    width: 400px;
    justify-content: space-between;
  }
  .vsp-attachments-heat-validation-tree {
    @extend .flex-column;
    margin: 0;
    overflow: auto;
    height: 100%;
    .attachments-tree-header {
      display: flex;
      justify-content: space-between;
      height: 55px;
      align-items: center;
      &.header-selected {
        background: $tlv-gray;
      }
      .header-icon {
        top: -3px;
        position: relative;
        margin-left: 20px;
      }
      .tree-header-title-text {
        @extend .heading-4-semibold;
        padding-left: 32px;
        cursor: pointer;
        &.tree-header-title-selected{
          color: $blue;
        }
      }
      .tree-header-title {
        display: flex;
      }
    }
    .counters {
      display: flex;
      justify-content: space-between;
      z-index: 1;
      padding-right: 20px;
      .counter {
        display: flex;
        &:first-child {
          margin-right: 20px;
        }
        &:only-child {
          margin-right: 0;
        }
        .svg-icon-wrapper {
          margin-right: 5px;
        }
        .counter-icon {
          margin-right: 5px;
        }
        .error-text, .warning-text {
          @extend .body-3;
          &.large {
            @extend .heading-4-semibold;
          }
        }
      }
    }
    .tree-wrapper {
      flex: 1 1;
      position: relative;
      padding-bottom: 10px;

      @-moz-document url-prefix() {
        .tree-block-inside {
          top: 0;
          position: relative;
        }
      }
      .tree-block-inside {
        padding-left: 20px;
        .tree-node-row {
          cursor: default;
          white-space: nowrap;
          display: flex;
          justify-content: space-between;
          height: 40px;
          align-items: center;
          .svg-icon {
            &.__chevronUp, &.__chevronDown {
              height: 10px;
              width: 10px;
            }
          }

          &:after {
            border-top: 1px solid $tlv-gray;
            height: 40px;
            position: absolute;
            left: 0;
            right: 0;
            content: ' ';
          }
          @-moz-document url-prefix() {
            &:after {
              top: 0;
            }
          }
          &.tree-node-selected::before {
            position: absolute;
            left: 0;
            right: 0;
            height: 20px;
            display: inline-block;
            content: ' ';
            background-color: $tlv-gray;
            color: $blue;
          }

          &.tree-node-clicked {
            color: $blue;
            &:after {
              background: $tlv-gray;
              height: 40px;
              position: absolute;
              left: 0;
              right: 0;
              content: ' ';
            }
          }
          .tree-node-name {
            cursor: pointer;
          }
          .name-section {
            z-index: 1;
            flex: 1;
            @include ellipsis(auto);
          }
          .tree-node-expander {
            position: relative;
            display: inline-block;
            cursor: pointer;
          }
          .tree-node-icon {
            margin: 0 7px;
          }
        }
      }
    }
  }
  .vsp-attachments-heat-validation-separator {
    border-left: 1px solid $tlv-light-gray;
    height: 100%;
    width: 5px;
    cursor: e-resize;
  }

  .message-board-section {
    @extend .flex-column;
    padding-left: 25px;
    padding-top: 10px;
    padding-right: 60px;
    overflow: auto;
    margin-bottom: 70px;
    .error-item {
      display: flex;
      margin: 10px 0;
      .large {
        .svg-icon {
          width: 20px;
          height: 20px;
        }
      }
      .error-item-file-type {
        margin-left: 15px;
      }
      .error-file-name {
        @extend .body-1-semibold;
        margin-right: 5px;
      }



    }

  }

}