|
|
.wrapper { width: 100%; overflow: hidden; position: relative; top: 250px; }
.open-body { width: 100%; overflow: hidden; }
.open-body .bg { position: absolute; z-index: 1; background: url(https://d31zlh4on95l9h.cloudfront.net/images/5iujb001000d6m6ct5ghzpl21en4zi3e.png) 0px 0px no-repeat; background-size: 452px auto; width: 452px; height: 510px; max-height: 100%; left: 50%; margin-left: -226px; top: -25px; }
.open-body .bg.rotate { -webkit-animation: rotate 10s infinite linear; }
.open-has { position: relative; z-index: 2; height: 450px; width: 320px; margin: 0px auto; }
.open-has .title-close { opacity: 1; -webkit-transition: all .5s; width: 100%; text-align: center; }
.open-has .title-open { opacity: 0; -webkit-transition: all .5s; position: absolute; top: 0px; left: 0px; text-align: center; width: 100%; }
.open-has h3 { color: #865500; font-size: 15px; text-align: center; padding-top: 75px; padding-bottom: 33px; }
.open-has h3 .user { color: #ff5400; margin: 0px 5px; display: inline-block; overflow: hidden; text-overflow: ellipsis; max-width: 100px; position: relative; white-space: nowrap; vertical-align: top; }
.open-has .title-close .user {}
.mod-chest .chest-close .tips { width: 166px; height: 60px; background: url(https://d31zlh4on95l9h.cloudfront.net/images/5iujb101000d6m6dcaam22o21olgw92l.png) 0px 0px no-repeat; background-size: 190px auto; position: absolute; left: 70px; top: 145px; -webkit-transition: all .5s; }
.mod-chest .chest-close .tips .arrow { width: 26px; height: 60px; background: url(https://d31zlh4on95l9h.cloudfront.net/images/5iujb101000d6m6dcaam22o21olgw92l.png) right 0px no-repeat; background-size: 190px auto; position: absolute; display: block; top: 0px; right: -28px; -webkit-animation: move .7s linear infinite alternate; }
.mod-chest .chest-close:after { width: 320px; height: 300px; position: absolute; top: -100px; left: -61px; content: ""; display: block; }
.mod-chest .chest-close:active { -webkit-transform: scale(1.05); -webkit-transition: all .3s; }
.mod-chest .chest-close.shake .gift { -webkit-animation: shake 1.2s linear; -webkit-animation-fill-mode: forwards; }
.mod-chest .chest-close.shake .tips { opacity: 0; }
.mod-chest .chest-open {}
.mod-chest .chest-open.blur:after { width: 320px; height: 68px; background: url(https://d31zlh4on95l9h.cloudfront.net/images/5iujau01000d6m6e13ri0qn23k3g8s09.png) no-repeat 0px 0px; background-size: 320px auto; position: relative; z-index: 1; position: absolute; left: 0px; top: -5px; content: ""; display: block; }
.open-has.opened .title-open { opacity: 1; }
.open-has.opened .title-close { opacity: 0; }
/*.open-has.opened .mod-chest{-webkit-transform:translate(0px,150px);}*/ .open-has.opened .mod-chest .chest-open { -webkit-transform: translate(0px, 150px); }
.open-has .mod-chest-cont { padding: 30px 0px 50px; text-align: center; overflow: hidden; opacity: 0; -webkit-transform: translate(0px, 30px); /*-webkit-transition:all .3s .3s;-webkit-transition:all .3s .3s cubic-bezier(.53,1.5,.69,1.81);*/ z-index: 9; -webkit-animation-fill-mode: forwards; }
.open-has .chest-open.show .mod-chest-cont { /*-webkit-transform:translate(0px,0px);opacity: 1;*/ -webkit-animation: move2 .2s .0s linear; -webkit-animation-fill-mode: forwards; }
.open-has .mod-chest-cont .gift { color: #ff6000; font-size: 24px; line-height: 30px; padding-bottom: 30px; }
.open-has .mod-chest-cont .gift .icon { width: 58px; height: 0px; position: relative; display: inline-block; vertical-align: middle; }
.open-has .mod-chest-cont .gift img { width: 160px; height: 160px; position: absolute; top: -62px; left: -48px; }
.open-none { position: relative; z-index: 2; height: 450px; width: 320px; margin: 0px auto; }
.open-none .mod-chest { height: 150px; }
.open-none h3 { font-size: 15px; color: #865500; text-align: center; padding-top: 35px; padding-bottom: 40px; }
.open-none .func { padding: 18px 35px 30px; }
@-webkit-keyframes rotate { 0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); } }
@-webkit-keyframes move { 0% { -webkit-transform: translate(0px, 0px); }
100% { -webkit-transform: translate(0px, -5px); } }
@-webkit-keyframes move2 { 0% { -webkit-transform: translate(0px, 30px); opacity: 0; }
70% { -webkit-transform: translate(0px, -20px); opacity: 1; }
100% { -webkit-transform: translate(0px, 0px); opacity: 1; } }
@-webkit-keyframes shake { 0% { transform: scale(1); -webkit-transform: scale3d(1, 1, 1); }
6% { -webkit-transform: scale(.9) rotate(-8deg); -webkit-transform: scale3d(1, 1, 1) rotate(0, 0, 1, -8deg); }
18%, 30%, 42% { -webkit-transform: scale(1.1) rotate(8deg); -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 8deg); }
12%, 24%, 36%, 48% { -webkit-transform: scale(1.1) rotate(-8deg); -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -8deg); }
54% { -webkit-transform: scale(1); -webkit-transform: scale3d(1, 1, 1); }
60% { -webkit-transform: scale(1); -webkit-transform: scale3d(1, 1, 1); }
80% { -webkit-transform: scale(1) translate(0px, 150px); -webkit-transform: scale3d(1, 1, 1) translate3d(0px, 150px, 0); }
90% { -webkit-transform: scale(1) translate(0px, 130px); -webkit-transform: scale3d(1, 1, 1) translate3d(0px, 130px, 0); }
100% { -webkit-transform: scale(1) translate(0px, 150px); -webkit-transform: scale3d(1, 1, 1) translate3d(0px, 150px, 0); } }
.chest-notice { text-align: center; font-size: 12px; line-height: 20px; position: relative; color: #ff6000; padding-bottom: 10px; }
.chest-notice input { position: relative; top: 3px; }
|