Skip to content

Commit e4bc663

Browse files
author
Victor George
committed
Hide chatbot card from 2-tier menu
1 parent 48fb62d commit e4bc663

File tree

1 file changed

+25
-6
lines changed

1 file changed

+25
-6
lines changed

src/projects/create/components/ProjectTypeCard.scss

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,24 @@
1111
margin: 10px 10px 0;
1212
position: relative;
1313
vertical-align: top;
14-
1514
transition: 300ms all ease;
1615
-moz-transition: 300ms all ease;
1716
-webkit-transition: 300ms all ease;
18-
17+
18+
// Hide the chatbot card
19+
// FIXME: Remove when chatbot should be enabled again
20+
&:nth-child(3) {
21+
display: none;
22+
}
23+
1924
.sub-type-details {
2025
padding: 0 20px;
2126
font-size: 13px;
2227
color: $tc-gray-50;
2328
line-height: 20px;
2429
width: 100%;
2530
}
31+
2632
.header {
2733
@include tc-body;
2834
@include roboto-bold;
@@ -31,39 +37,48 @@
3137
margin-bottom: 10px;
3238
margin-top: 0px;
3339
}
34-
40+
3541
.icon-wrapper {
3642
height: 87px;
3743
display: flex;
44+
3845
.Icon {
39-
margin: 4*$base_unit 0 2*$base_unit;
46+
margin: 4 * $base_unit 0 2 * $base_unit;
47+
4048
svg {
4149
fill: $tc-gray-70;
4250
}
4351
}
4452
}
53+
4554
&.disabled {
46-
opacity: 0.3
55+
opacity: 0.3;
4756
}
57+
4858
&.enabled:hover {
4959
border-color: $tc-dark-blue-70;
5060
cursor: pointer;
61+
5162
.button {
5263
background: $tc-dark-blue;
5364
border-color: transparent;
5465
color: $tc-white;
5566
}
67+
5668
svg {
5769
fill: $tc-dark-blue-90;
5870
}
5971
}
72+
6073
&.selected {
6174
background: $tc-gray-10;
6275
border-color: transparent;
76+
6377
&:hover {
6478
border-color: transparent;
6579
}
6680
}
81+
6782
.tc-btn {
6883
margin-top: 2 * $base_unit;
6984
}
@@ -73,22 +88,26 @@
7388
bottom: 30px;
7489
left: 50%;
7590
transform: translateX(-50%);
76-
opacity: 0
91+
opacity: 0;
7792
}
93+
7894
&:hover {
7995
transition: 300ms all ease;
8096
-moz-transition: 300ms all ease;
8197
-webkit-transition: 300ms all ease;
8298
position: relative;
8399
background: $tc-white;
84100
box-shadow: 0 2px 9px 0 rgba(38, 38, 38, 0.1);
101+
85102
h1 {
86103
color: $tc-dark-blue;
87104
}
105+
88106
.tc-btn {
89107
opacity: 1;
90108
}
91109
}
110+
92111
&:active {
93112
background: $tc-dark-blue-10;
94113
}

0 commit comments

Comments
 (0)