-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.scss
142 lines (137 loc) · 2.53 KB
/
style.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
/*File reset css*/
@import "node_modules/normalize.css/normalize";
body {
background-color: #eee;
font-family: Arial;
font-size: 13px;
}
.post {
background-color: #fff;
margin: 30px auto 0px auto;
width: 600px;
&-header,
&-body,
&-footer {
padding: 10px;
}
&-header {
h3 {
margin: 0;
}
}
&-footer {
border-top: 1px solid #ddd;
}
}
.icon-hover {
color: #999;
font-weight: bold;
padding-left: 20px;
text-decoration: none;
position: relative;
/*background: green;*/
&:hover {
text-decoration: underline;
}
&:before {
content: "";
height: 14px;
width: 14px;
left: 0;
top: 0;
position: absolute;
display: inline-block;
background: url(https://www.facebook.com/rsrc.php/v2/ye/r/GdxcLgUK8jV.png) -379px -34px no-repeat;
}
}
.box-list-icons {
background-color: #fff;
border: 1px solid #ebebeb;
border-radius: 52px;
top: -64px;
left: -20px;
height: 0;
width: 0;
overflow: hidden;
position: absolute;
&:after {
content: "";
height: 10px;
width: 294px;
left: 0;
bottom: -11px;
position: absolute;
display: inline-block;
/*background: green;*/
}
/*label*/
label {
display: none;
background: rgba(0,0,0,0.75);
white-space: nowrap;
padding: 3px 5px;
border-radius: 10px;
font-size: 10px;
position: absolute;
color: #fff;
top: -20px;
left: 50%;
transform: translateX(-50%);
}
[class*="icon"]:hover label {
display: block;
}
/*end label*/
[class*="icon"] {
display: inline-block;
background: #ddd url('https://www.facebook.com/rsrc.php/v2/yc/r/G7nmfrnwcuL.png') no-repeat;
background-size: 40px;
height: 40px;
width: 40px;
margin: 6px 0 6px 8px;
float: left;
border-radius: 50%;
transform: scale(0.01) translateY(200px);
transform-origin: bottom;
transition: transform 300ms;
transition-timing-function: cubic-bezier(0, 0, 0, 1.225);
opacity: 0;
}
}
.icon-hover:hover .box-list-icons {
/*display: block;*/
height: 52px;
width: 294px;
overflow: initial;
[class*="icon"] {
transform: scale(1) translateY(0);
opacity: 1;
}
.icon-phanno {
background-position: 0 0;
transition-duration: 600ms;
}
.icon-haha {
background-position: 0 -80px;
transition-duration: 450ms;
}
.icon-thich {
background-position: 0 -120px;
transition-duration: 350ms;
}
.icon-yeuthich {
background-position: 0 -160px;
transition-duration: 400ms;
}
.icon-buon {
background-position: 0 -200px;
transition-duration: 550ms;
}
.icon-wow {
background-position: 0 -240px;
transition-duration: 500ms;
}
[class*="icon"]:hover {
transform: scale(1.225);
}
}