summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/modules/_softwareProductAttachmentPage.scss
blob: 657bb544a794c6c18b9faae007c670f606334dbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
.software-product-attachments {
  @extend .body-1;
  width: 100%;
  height: 100%;
  display: flex;

  .software-product-attachments-tree {
    display: flex;
    border-right: 1px solid $light-gray;
    margin: 0px;
    padding: 5px 3px 10px 3px;
    overflow: auto;
    height: 100%;

    .tree-wrapper {
      flex: 1 1;
      position: relative;
      padding-bottom: 10px;

      .tree-block-inside {
        padding-left: 17px;
        padding-top: 8px;
        padding-bottom: 1px;
        .tree-node-row {
          cursor: default;
          white-space: nowrap;
          &.tree-node-selected::before {
            position: absolute;
            left: 0;
            right: 0;
            height: 20px;
            display: inline-block;
            content: ' ';
            background-color: $light-gray;
          }

          &.tree-node-clicked::before {
            position: absolute;
            left: 4px;
            right: 4px;
            height: 20px;
            display: inline-block;
            content: ' ';
            font-weight: bold;
            background-color: $white;
          }

          .tree-node-expander {
            position: relative;
            display: inline-block;
            cursor: pointer;
            .fa {
              position: absolute;
              left: -7px;
              top: -11px;
              @include transition(transform 0.3s);
            }
            &.tree-node-expander-collapsed .fa {
              @include transform-rotate(-90);
            }
          }

          .tree-node-icon {
            margin: 0 7px;
            color: $text-black;
            opacity: .5;
            .tree-node-validation-error::after {
              content: "!";
              font-weight: bold;
              position: absolute;
              color: $red;
              font-size: large;
              left: -7px;
              bottom: -5px;
            }
          }

          .error-status {
            color: $red;
            &.error-status-selected {
              font-weight: bold;
            }
            &.error-status-hovered {
              font-weight: bold;
              background-color: $blue;
            }
          }

          .tree-element-text {
            @extend %noselect;
            position: relative;
            padding-right: 5px;
            &.error-status-selected {
              font-weight: bold;
            }
          }
        }

      }
    }
  }
  .software-product-attachments-separator {
    border: 1px solid $tlv-light-gray;
    height: 100%;
    width: 5px;
    cursor: e-resize;
  }

  .software-product-attachments-error-list {
    text-align: center;
    margin-top: 12px;
    display: flex;
    align-content: flex-start;
    flex-direction: column;
    padding-left: 70px;
    padding-right: 50px;
    overflow: auto;
    margin-bottom: 70px;
    .error-item {
      &.selected {
        background-color: $light-gray;
      }
      &.clicked {
        color: $blue;
      }
      &.shifted {
        margin-top: 20px;
      }
      text-align: left;
      .error-item-file-name {
        font-weight: bold;
      }
      .error-item-file-type {
        margin-right: 5px;
        &.strong {
          font-weight: bold;
        }
        &.ERROR {
          color: $red;
        }
        &.WARNING {
          color: $yellow;
        }
      }
    }

    .error-item:hover {
      cursor: default;
      background-color: $tlv-hover;
    }
  }

}