feat: award

This commit is contained in:
shenyu
2019-12-05 23:31:52 +08:00
parent b7dd081c74
commit 100ee436a9
9 changed files with 145 additions and 1 deletions

View File

@@ -0,0 +1,54 @@
.page-reward
margin: 60px 0;
text-align: center;
.page-reward-btn
position: relative;
display: inline-block;
width: 56px;
height: 56px;
line-height: 56px;
font-size: 20px;
color: #fff;
background: body-color;
border-radius: 50%;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
-webkit-transition: .4s ease-in-out;
transition: .4s ease-in-out;
&:hover,
&:active
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2), 0 4px 15px rgba(0, 0, 0, 0.2);
.tooltip-item
display: block;
width: 56px;
height: 56px;
.reward-box
display: flex;
justify-content: space-around;
.reward-p
color: body-color;
font-weight: bold;
text-shadow: 1px 1px 1px main-color;
.icon
margin: 0 10px;
color: #ddd;
.reward-type
font-size: 16px;
display: block;
color: #4d4d4d;
margin: 20px 0 0 0;
.reward-img
width: 130px;
height: 130px;
border: 6px solid #fff;
border-radius: 3px;

View File

@@ -0,0 +1,29 @@
.tooltip-top
.tooltip
display: inline;
position: relative;
z-index: 999;
/* Tooltip */
.tooltip-content
position: absolute;
z-index: 9999;
width: 370px;
left: 50%;
bottom: 70px;
font-size: 20px;
line-height: 1.4;
text-align: center;
font-weight: 400;
color: #4d4d4d;
background: water;
margin: 0 0 -10px -185px;
cursor: default;
display: none;
padding-bottom: 20px;

View File

@@ -67,6 +67,8 @@ button
@import "_partial/pace"
@import "_partial/gitalk"
@import "_partial/apple"
@import "_partial/reward"
@import "_partial/tooltip"
if sidebar
@import "_partial/sidebar"