-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy path_card.scss
106 lines (95 loc) · 2.08 KB
/
_card.scss
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
.stdcm-v2-card {
border-radius: 8px;
box-shadow:
0px 1px 0px rgba(255, 255, 255, 1) inset,
0px 4px 7px -3px rgba(24, 68, 239, 0.19),
0px 1px 3px rgba(49, 46, 43, 0.2);
background-color: rgba(255, 255, 255, 1);
height: fit-content;
position: relative;
.stdcm-v2-default-card-icon {
padding-left: 0.125rem;
color: #1844ef;
}
.stdcm-v2-via-icons {
button {
display: none;
}
}
&.has-tip::after {
content: '';
position: absolute;
top: 100%;
left: 20px;
border-top: 10px solid transparent;
border-top-color: rgba(255, 255, 255, 1);
border-left: 15px solid transparent;
border-right: 15px solid transparent;
filter: drop-shadow(0px 2px 1px #d0d7e7);
}
.stdcm-v2-card__header {
border-radius: 8px 8px 0px 0px;
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.75) inset;
background-color: rgba(235, 235, 234, 1);
color: rgba(0, 0, 0, 1);
font-size: 18px;
font-weight: 600;
font-style: SemiBold;
letter-spacing: 0px;
text-align: left;
line-height: 24px;
padding: 7px 16px 0px 16px;
height: 2.5rem;
span {
padding-bottom: 6px;
}
}
.stdcm-v2-card__body {
padding: 14px 21px 21px 21px;
// TODO: remove this style after ui-core component is implemented
.suggestions > div:first-child {
padding-left: 0;
}
.suggestions * label,
.stdcm-v2-via-stop-for * label {
margin-bottom: 0;
}
.feed-back {
padding-left: 0rem;
padding-right: 0.3rem;
}
.stdcm-v2-default-card-button {
color: rgba(24, 68, 239, 1);
line-height: 24px;
}
button:focus {
outline: none;
}
}
&.disabled {
opacity: 0.5;
pointer-events: none;
}
&-via-button {
padding: 0.5rem;
}
}
.stdcm-v2-card:hover {
.stdcm-v2-via-icons {
span {
display: none;
}
button {
display: contents;
font-size: 1rem;
font-weight: 500;
cursor: pointer;
color: #256afa;
}
}
}
.stdcm-v2-card:last-of-type {
.stdcm-v2-card__body {
padding-bottom: 0.75rem;
}
}