aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/modules/app-starter/app-starter.component.css
blob: 8ec276ce6d1695b73054efe344c92458f193b691 (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
/*
 * Copyright (c) 2022. Deutsche Telekom AG
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * SPDX-License-Identifier: Apache-2.0
 */


.card-img-top {
  width: 60%;
  height: 5vw;
  object-fit: contain;
}

.card-deck > div {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
}

.card-deck > div:not(:last-child) {
  margin-right: 15px;
}

.card-deck {
  width: 90%;
  margin-left: 2%;
}

.card-deck > div:not(:first-child) {
  margin-left: 15px;
}

.my-group-title {
  color: var(--primary);
}

.card {
  border-radius: 20px;
  cursor: pointer;
  transition: 0.4s;
  min-width: 200px;
  max-width: 200px;
  min-height: 250px;
  max-height: 250px;
  text-align: center;
  margin-right: 2.25rem;
}

.card-body {
  padding-bottom: 0;
}

.card-title {
  min-height: 87px;
  font-size: 14px;
}

/* Works together with bootstraps responsive image class
https://stackoverflow.com/questions/53721711/how-to-set-responsive-images-max-width-bootstrap-4#53723494
*/
.img-max {
  max-width: 115px;
  width: 100%;
}

.card:hover {
  transform: scale(1.1, 1.1);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.disabled-card:hover {
  transform: none !important;
  box-shadow: none !important;
  transition: none !important;
}

a,
a:hover {
  color: #262626;
  text-decoration: none;
}

a:hover {
  cursor: pointer;
}

.nav-tabs,
.nav-links {
  border-bottom: 1px solid #b2b2b2;
}

.nav-link {
  background-color: transparent;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: var(--primary);
  background-color: #fff;
  border-color: #b2b2b2 #b2b2b2 #fff;
}

.nav-link:focus {
  border-style: none;
}

/* I will leave this for future purpose in case we will have disabled tiles in the Portal */
/* .disabled-tiles {
  opacity: 0.5;
  cursor: not-allowed !important;
} */