summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/modules/onboardingCatalog/_catalogTile.scss
blob: 5ce8e12ec3d4c67882b5198ad2a2c5241f1ba3c4 (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
.catalog-tile {
		&:hover {
		box-shadow: 0.3px 5px 12.8px 1.3px rgba(24, 24, 25, 0.15);
		border: 1px solid $light-gray;
	}
  .catalog-tile-top {
	position: relative;
	flex: 1;
	display: flex;
	padding-top: 29px;
	padding-left: 10px;
	align-items: flex-start;
	flex-direction: column;
		.catalog-tile-content {
			margin-top: auto;
			width: 180px;
		}


	.catalog-tile-type {
		display: block;
    margin-top: -25px;
		font-size: $heading-font-5;
		&.license-model-type {
			color: $purple;
		}
		&.software-product-type {
			color: $blue;
		}
	}
	.catalog-tile-entity-details {
		margin-top:23px;
		.catalog-tile-version-info{
			display: flex;
			justify-content: space-between;

			.catalog-tile-item-version {
				@extend .body-2;
				line-height: 6px;
			}
		}
		.catalog-tile-vendor-name {
			@extend .body-3-medium;
			color: $gray;
			line-height: 12px;
			@include ellipsis(auto,inline-block,178px);
		}

  }
		.catalog-tile-item-name {
			@extend .heading-5-medium;
			color: $black;
			@include ellipsis(auto,inline-block,175px);
		}
	}
  .catalog-tile-icon {

	width: 58px;
	height: 58px;
	text-align: center;
	justify-content: center;
	display: flex;

	.icon {
	  align-self: center;
	  height: 58px;
	  width: 58px;
		margin-left: 122px;
	  background-repeat: no-repeat;
	  .svg-icon {
		&.vendor {
		  fill: $dark-gray;
		  margin-top: 22px;
		  width: 53px;
		  height: 47px;
		  &:hover {
			fill: $dark-gray;
		  }
		}
		&.vsp {
		  fill: $light-blue;
		  margin-top: 18px;
		  margin-left: 3px;
		  width: 60px;
		  height: 40px;
		}
		&.vlm {
		  fill: $purple;
		  margin-top: 18px;
		  width: 45px;
		  height: 53px;
		}

	  }
	}
  }
  .catalog-tile-content {
	border-top: 1px solid $background-gray;
	padding-top: 5px;
	display: flex;
	justify-content: space-between;
	margin-top:2px;
	padding-bottom: 3px;
	@extend .body-2-medium;
	.svg-icon.plus {
	  height: 9px;
	  width: 9px;
	  fill: $blue;
	}
	.catalog-tile-item-details {
	  overflow: hidden;
	}

	.catalog-tile-add-new-vsp {
	  color: $blue;
	  margin-left:40px;
	}
	.catalog-tile-locking-user-name {
	  @extend .body-2;
	  @include ellipsis(auto,inline-block,180px);
	}
		.catalog-tile-check-in-status {
			.svg-icon-wrapper {
				.svg-icon {
					&.locked {
					margin-left: 7px;
					width: 11px;
					fill: $gray;
					}
					&.unlocked {
					margin-left: 7px;
					width: 11px;
					fill: $gray;
					}
				}
			}
		}
  }
}