summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/modules/_onboardingCatalog.scss
blob: 6020866d4ae777e8381caa04f87520682f5cc923 (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
154
155
156
157
158
159
160
161
162
163
164
$transitionLength: 0.6s;

.catalog-view {
  background-color: $background-gray;
  height: 100%;
  overflow: hidden;
  height: 100%;
  .catalog-header {
    padding-top: 20px;
    margin: 0 48px 0 20px;
    border-bottom: 1px solid $light-gray;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    .catalog-header-title {
      @extend .heading-2;
      margin: 0 0 10px 0;
    }
    .expandable-input-wrapper {
      margin: 0 0 10px 0;
    }
  }
  .catalog-list {
    max-height: 100%;
    overflow: auto;
    display: flex;
    flex-wrap: wrap;
    padding: 40px 10px 0 10px;
    &:after {
      content: ' ';
      display:block;
      width: 100%;
      height: 85px;
    }
    .tile {
      background-color: $white;
      margin: 10px;
      width: 214px;
      height: 210px;
      display: flex;
      flex-direction: column;

    }
    .create-catalog-item {
      border: 2px dashed $light-gray;
      background-color: transparent;
      &:hover {
        .plus-section {
          display: none;
        }
        .primary-btn {
          display: inherit;
        }
      }
      justify-content: center;
      .plus-section {
        align-self: center;
        display: flex;
        flex-direction: column;
        .plus-icon-button {
          align-self: center;
          background-size: 23px;
          width: 23px;
          height: 23px;
          margin-bottom: 4px;
        }
      }
      .primary-btn {
        display: none;
        width: 176px;
        &.new-license-model {
          margin-bottom: 18px;
        }
        &:hover {
          background-color: $background-alice-blue;
        }
      }
    }
    .catalog-tile {
      cursor: pointer;
      border: 1px solid $tlv-light-gray;
      &:hover {
        @include box-shadow(3px 3px 5px 0 rgba(24,24,25,.04));
      }
      &:active {
        border: 1px solid $light-blue;
      }
      .catalog-tile-type {
        padding-top: 7px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        background: white;
        border: 4px solid #F2F2F2;
        position: relative;
        top: -12px;
        left: -7px;
        &:before {
          @extend .body-1;
          color: $light-blue;
        }
        &.license-model-type {
          padding-left: 13px;
          &:before {
            content: "L"
          }
        }
        &.software-product-type {
          padding-left: 8px;
          &:before {
            content: "SP"
          }
        }
      }
      .catalog-tile-icon {
        text-align: center;
        flex-basis: 60%;
        justify-content: center;
        background-size: 60px 60px;
        background-repeat: no-repeat;
        background-position: center;
        display: flex;
        .icon {
          align-self: center;
          height: 65px;
          width: 65px;
          background-repeat: no-repeat;
          margin-bottom: 27px;
          &.license-model-type-icon {
            background-image: url('../images/onboarding/vendor-license-model.svg');
          }
          &.software-product-type-icon {
            background-image: url('../images/onboarding/vendor-software-product.svg');
          }
        }
      }
      .catalog-tile-content {
        border-top: 1px solid $background-gray;
        flex-basis: 30%;
        padding: 8px;
        display: flex;
        justify-content: space-between;
        .catalog-tile-item-details {
          overflow: hidden;
        }
        .catalog-tile-item-name {
          @extend .body-1-medium;
          @include ellipsis();
          width: 150px;
          color: $dark-gray
        }
        .catalog-tile-item-version {
          @extend .body-1;
          color: $gray;
        }
        .catalog-tile-check-in-status {
          width: 25px;
          height: 19px;
          align-self: center;
        }
      }
    }
  }
}