react 16 upgrade
[sdc.git] / openecomp-ui / resources / scss / modules / onboardingCatalog / _catalogTile.scss
1 .catalog-tile {
2     &:hover {
3         box-shadow: 0.3px 5px 12.8px 1.3px rgba(24, 24, 25, 0.15);
4         border: 1px solid $light-gray;
5     }
6     .catalog-tile-top {
7         position: relative;
8         flex: 1;
9         display: flex;
10         padding-top: 29px;
11         padding-left: 10px;
12         align-items: flex-start;
13         flex-direction: column;
14         .catalog-tile-content {
15             margin-top: auto;
16             width: 180px;
17         }
18
19         .catalog-tile-type {
20             display: block;
21             margin-top: -25px;
22             font-size: $heading-font-5;
23             &.license-model-type {
24                 color: $purple;
25             }
26             &.software-product-type {
27                 color: $blue;
28             }
29         }
30         .catalog-tile-entity-details {
31             margin-top: 20px;
32             display: flex;
33             flex-direction: column;
34             justify-content: space-between;
35             flex: 0.8;
36             .catalog-tile-version-info {
37                 display: flex;
38                 justify-content: space-between;
39
40                 .catalog-tile-item-version {
41                     @extend .body-2;
42                     line-height: 6px;
43                 }
44             }
45             .catalog-tile-vendor-name {
46                 @extend .body-3;
47                 flex: 0.4;
48                 align-self: baseline;
49                 color: $gray;
50                 line-height: 10px;
51                 &:first-letter {
52                     text-transform: capitalize;
53                 }
54                 @include ellipsis(auto, inline-block, 178px);
55             }
56         }
57         .catalog-tile-item-name {
58             @extend .heading-5-semibold;
59             color: $black;
60             @include ellipsis(auto, inline-block, 175px);
61             line-height: inherit;
62             &:first-letter {
63                 text-transform: capitalize;
64             }
65         }
66     }
67     .catalog-tile-icon {
68         width: 58px;
69         height: 58px;
70         text-align: center;
71         justify-content: center;
72         display: flex;
73
74         .icon {
75             align-self: center;
76             height: 58px;
77             width: 58px;
78             margin-left: 122px;
79             background-repeat: no-repeat;
80             .svg-icon {
81                 &.__vendor {
82                     fill: $dark-gray;
83                     &:hover {
84                         fill: $dark-gray;
85                     }
86                     margin-top: 22px;
87                 }
88                 &.__vsp {
89                     fill: $light-blue;
90                 }
91                 margin-top: 18px;
92                 margin-left: 3px;
93                 &.__vlm {
94                     margin-top: 18px;
95                     fill: $purple;
96                 }
97             }
98         }
99     }
100     .catalog-tile-content {
101         border-top: 1px solid $background-gray;
102         padding-top: 5px;
103         display: flex;
104         justify-content: space-between;
105         margin-top: 2px;
106         padding-bottom: 3px;
107         @extend .body-2-semibold;
108         .svg-icon {
109             &.__plus {
110                 width: 20px;
111                 height: 20px;
112                 fill: $blue;
113             }
114         }
115         .catalog-tile-item-details {
116             overflow: hidden;
117         }
118
119         .catalog-tile-add-new-vsp {
120             color: $blue;
121             .svg-icon {
122                 &.__plus {
123                     width: 20px;
124                     height: 20px;
125                 }
126             }
127             margin-left: 40px;
128         }
129         .catalog-tile-locking-user-name {
130             @extend .body-2;
131             @include ellipsis(auto, inline-block, 180px);
132         }
133         .catalog-tile-check-in-status {
134             .svg-icon {
135                 &.__locked {
136                     fill: $gray;
137                 }
138                 &.__unlocked {
139                     fill: $gray;
140                 }
141             }
142         }
143     }
144 }