-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_datacard.scss
83 lines (65 loc) · 1.5 KB
/
_datacard.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
.data-card {
background: $secondary-bg;
color: $primary-bg;
padding: 1.4rem 1rem;
display: flex;
flex-direction: column;
width: 22rem;
padding-bottom: 2rem;
transition: 0.4s ease-in-out all;
filter: blur(2px);
cursor: pointer;
.profile-img {
margin: 0.3rem 0;
width: 5rem;
border-radius: 50%;
height: 5rem;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
@media only screen and (max-width: 522px) {
width: 18rem;
}
}
.top-card:hover {
border-right-color: $primary-text;
border-bottom-color: $primary-text;
.stack-lines {
border-right-color: $primary-text;
border-bottom-color: $primary-text;
}
.data-card {
filter: blur(0px);
background: $primary-text;
color: $secondary-bg;
}
}
.stack-lines {
border-right: 1px solid $secondary-bg;
border-bottom: 1px solid $secondary-bg;
border-right-width: 2px;
border-bottom-width: 2px;
position: relative;
z-index: 3;
left: 0;
top: 0;
right: 0;
bottom: 0;
width: inherit;
height: inherit;
padding-right: 0.3rem;
padding-bottom: 0.3rem;
transition: 0.5s ease-in-out all;
}
// @keyframes wiggle {
// 0% {
// padding-right: 0.3rem;
// padding-bottom: 0.3rem;
// }
// 50% {}
// 100% {
// padding-right: 0.3rem;
// padding-bottom: 0.3rem;
// }
// }