@appscode/design-system 1.1.0-alpha.7 → 1.1.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/base/utilities/_all.scss
CHANGED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
%card-hover {
|
|
2
|
+
cursor: pointer;
|
|
3
|
+
|
|
4
|
+
&::before {
|
|
5
|
+
content: "";
|
|
6
|
+
position: absolute;
|
|
7
|
+
top: 0;
|
|
8
|
+
right: 0;
|
|
9
|
+
bottom: 0;
|
|
10
|
+
left: 0;
|
|
11
|
+
border-top: solid 1px;
|
|
12
|
+
border-bottom: solid 1px;
|
|
13
|
+
transition: 0.3s;
|
|
14
|
+
transform: scaleX(0);
|
|
15
|
+
border-color: #1971bd;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&::after {
|
|
19
|
+
content: "";
|
|
20
|
+
position: absolute;
|
|
21
|
+
top: 0;
|
|
22
|
+
right: 0;
|
|
23
|
+
bottom: 0;
|
|
24
|
+
left: 0;
|
|
25
|
+
border-left: solid 1px;
|
|
26
|
+
border-right: solid 1px;
|
|
27
|
+
transition: 0.3s;
|
|
28
|
+
transform: scaleY(0);
|
|
29
|
+
border-color: #1971bd;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&:hover {
|
|
33
|
+
&::before,
|
|
34
|
+
&::after {
|
|
35
|
+
transform: scale(1);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
package/components/_all.scss
CHANGED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
.card-details {
|
|
2
|
+
border: 1px solid #d2e7f9;
|
|
3
|
+
padding: 30px 20px;
|
|
4
|
+
width: calc(33.3% - 8px);
|
|
5
|
+
min-width: 400px;
|
|
6
|
+
max-width: 525px;
|
|
7
|
+
// border-radius: 4px;
|
|
8
|
+
transition: 0.3s ease-in-out;
|
|
9
|
+
position: relative;
|
|
10
|
+
z-index: 1;
|
|
11
|
+
&.has-hover-style {
|
|
12
|
+
@extend %card-hover;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// &:hover {
|
|
16
|
+
// border: 1px solid #1971bd;
|
|
17
|
+
// }
|
|
18
|
+
|
|
19
|
+
.c-header {
|
|
20
|
+
display: flex;
|
|
21
|
+
margin-bottom: 20px;
|
|
22
|
+
|
|
23
|
+
.c-logo {
|
|
24
|
+
width: 54px;
|
|
25
|
+
height: 54px;
|
|
26
|
+
background: #e8f3fc;
|
|
27
|
+
border-radius: 50%;
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
margin-right: 24px;
|
|
32
|
+
|
|
33
|
+
img {
|
|
34
|
+
height: 24px;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.c-content {
|
|
39
|
+
width: calc(100% - 78px);
|
|
40
|
+
h4 {
|
|
41
|
+
font-size: 18px;
|
|
42
|
+
line-height: 130%;
|
|
43
|
+
color: #030d17;
|
|
44
|
+
}
|
|
45
|
+
.icon {
|
|
46
|
+
color: #0c365a;
|
|
47
|
+
cursor: pointer;
|
|
48
|
+
position: relative;
|
|
49
|
+
z-index: 1;
|
|
50
|
+
&:after {
|
|
51
|
+
position: absolute;
|
|
52
|
+
content: "";
|
|
53
|
+
border-radius: 50%;
|
|
54
|
+
width: 32px;
|
|
55
|
+
height: 32px;
|
|
56
|
+
background: #e8f3fc;
|
|
57
|
+
opacity: 0;
|
|
58
|
+
visibility: hidden;
|
|
59
|
+
transition: 0.3s ease-in-out;
|
|
60
|
+
z-index: -1;
|
|
61
|
+
}
|
|
62
|
+
&:hover {
|
|
63
|
+
&:after {
|
|
64
|
+
opacity: 1;
|
|
65
|
+
visibility: visible;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
.tags {
|
|
70
|
+
margin-top: 12px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.c-body {
|
|
76
|
+
display: flex;
|
|
77
|
+
flex-wrap: wrap;
|
|
78
|
+
gap: 20px;
|
|
79
|
+
justify-content: space-between;
|
|
80
|
+
p {
|
|
81
|
+
width: calc(25% - 16px);
|
|
82
|
+
|
|
83
|
+
span {
|
|
84
|
+
font-size: 11px;
|
|
85
|
+
color: #666666;
|
|
86
|
+
display: block;
|
|
87
|
+
}
|
|
88
|
+
strong {
|
|
89
|
+
color: #061b2d;
|
|
90
|
+
font-size: 13px;
|
|
91
|
+
font-weight: 400;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// ac card
|
|
98
|
+
.card-basic {
|
|
99
|
+
padding: 20px;
|
|
100
|
+
width: calc(25% - 8px);
|
|
101
|
+
max-width: 390px;
|
|
102
|
+
min-width: 290px;
|
|
103
|
+
position: relative;
|
|
104
|
+
&.has-hover-style {
|
|
105
|
+
@extend %card-hover;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.required {
|
|
109
|
+
position: absolute;
|
|
110
|
+
left: 20px;
|
|
111
|
+
top: -9px;
|
|
112
|
+
}
|
|
113
|
+
.c-header {
|
|
114
|
+
.c-title {
|
|
115
|
+
|
|
116
|
+
h4 {
|
|
117
|
+
font-size: 18px;
|
|
118
|
+
color: #061b2d;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.c-body {
|
|
124
|
+
p {
|
|
125
|
+
color: #0C365A;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|