Pro/public/static/onlinechip/nn/css/index.css
2026-02-25 01:50:31 +08:00

916 lines
18 KiB
CSS

html{
min-width: 100vw;
min-height: 100vh;
background: #fff;
min-width: 1024px;
}
.noselect{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.niuniu .head{
width: 100%;
height: 92px;
background:url(../img/hd_bg.png) repeat-x;
-webkit-background-size: auto 100%;
background-size: auto 100%;
position: relative;
}
.niuniu .head .left_bg{
width: 220px;
height: 92px;
position: absolute;
left: 0;
top: 0;
background: url(../img/hd_lbg.png) no-repeat;
-webkit-background-size:100% 100%;
background-size:100% 100%;
z-index: 9;
}
.niuniu .head .right_bg{
width: 220px;
height: 92px;
position: absolute;
right: 0;
top: 0;
background: url(../img/hd_rbg.png) no-repeat;
-webkit-background-size:100% 100%;
background-size:100% 100%;
z-index: 9;
}
.niuniu .head .right_bg .goback{
position: absolute;
width: 40px;
height: 36px;
background: url(../img/goback.png) center right no-repeat;
-webkit-background-size: 25px;
background-size: 25px;
right: 25px;
top:50%;
margin-top: -18px;
cursor: pointer;
z-index: 10;
font-size: 20px;
padding-right: 32px;
line-height: 34px;
}
.niuniu .head .left_bg .leftnav_btn{
position: absolute;
width: 40px;
height: 36px;
/*background: url(../img/goback.png) center right no-repeat;*/
-webkit-background-size: 25px;
background-size: 25px;
left: 25px;
top:50%;
margin-top: -18px;
cursor: pointer;
z-index: 10;
font-size: 20px;
padding-right: 32px;
line-height: 34px;
}
.head .info{
margin:0 220px;
height: 100%;
position: relative;
color: #feecc9;
font-size: 20px;
font-weight: 500;
}
.head .info .item{
display: inline-block;
vertical-align: middle;
padding: 0 15px;
line-height: 92px;
}
.head .info .item .c_name{
font-size: 24px;
background-image: -webkit-linear-gradient(bottom,#613c0f,#ffaf5b,#ffffff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-weight: normal;
}
.head .info .item .c_name img{
width: 67px;
padding-right: 11px;
padding-bottom: 10px
}
.head .info .tab-title{
position: absolute;
right: 0;
top: 0;
line-height: 92px;
}
.list-left-nav{
position: fixed;
width: 250px;
height: 100vh;
top: 0;
left: -100%;
background: rgba(0,0,0,0.8);
z-index: 999;
-ms-transition: all .3s ease .1s;
-moz-transition: all .3s ease .1s;
-webkit-transition: all .3s ease .1s;
-o-transition: all .3s ease .1s;
transition: all .3s ease .1s;
}
.list-left-nav .logo{
padding-top: 15vh;
width: 230px;
margin: 0 auto;
}
.list-left-nav .item{
color: #d9b660;
display: block;
font-weight: 600;
font-size: 22px;
text-align: center;
width: 164px;
line-height: 45px;
background: url(../img/list-btn-bg.png);
-webkit-background-size: 100% 100%;
background-size: 100% 100%;
margin: 0 auto;
margin-bottom: 25px;
}
.list-left-nav .item:last-child{
margin-bottom: 0;
margin-top: 10vh;
}
.list-left-nav .item:hover,.list-left-nav .item.active{
background: url(../img/list-btn-bgactive.png);
-webkit-background-size: 100% 100%;
background-size: 100% 100%;
color: #000;
}
.main{
width: 100%;
background: url(../img/tab_bg.jpg) no-repeat;
-webkit-background-size: 100% 100%;
background-size: 100% 100%;
position: relative;
}
.main .bet-tab{
position: absolute;
bottom: 80px;
width: 95%;
height: 100px;
left: 50%;
margin-left: -47.5%;
z-index: 99;
}
.main .rule{
float: right;
z-index: 99;
max-width: 19%;
color: #feecc9;
font-size: 14px;
padding-right: 5px;
padding-top: 20px;
}
.main .bet-tab .list{
width: 32.66%;
float: left;
height: 100%;
border-radius: 5px;
box-sizing:border-box;
-moz-box-sizing:border-box;
-webkit-box-sizing:border-box;
border: 2px solid #a1a33b;
background: rgba(0,0,0,0.5);
display: table;
}
.main .bet-tab .list:nth-of-type(2){
margin:0 1%;
}
.main .bet-tab .list .item{
display: table-cell;
vertical-align: middle;
cursor: pointer;
position: relative;
}
.main .bet-tab .list .item:after{
content: "";
border-left: 2px solid #37835a;
height: 80px;
position: absolute;
right: -1px;
top: 50%;
margin-top: -40px;
}
.main .bet-tab .list .item:last-child:after{
display: none;
}
.main .bet-tab .list .lab{
display: table-cell;
vertical-align: middle;
color: #ddbc7e;
font-weight: bold;
width: 35px;
text-align: center;
overflow: hidden;
background: rgba(0,0,0,0.4);
font-size: 30px;
}
.main .bet-tab .list .item span{
display: block;
text-align: center;
font-size: 12px;
}
.main .bet-tab .list .item .en{
color: #ffcc00;
font-weight: 600;
font-size: 14px;
}
.main .bet-tab .list .item .font{
color: #ffcc00;
font-weight: 600;
padding: 3px 0;
font-size: 20px;
}
.main .bet-tab .list .item .font.d{
background-color: #ffcc00;
background-image: linear-gradient(180deg, #ffcc00 12%, #ffffdf 50%, #ffcc00 100%);
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
}
.main .bet-tab .list .item .font.e{
background-color: #2f78fe;
background-image: linear-gradient(180deg, #2f78fe 12%, #69d8fc 50%, #2f78fe 100%);
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
}
.main .bet-tab .list .item .percent{
color: #fff;
font-weight: 600;
}
.main .bet-tab .list .item .chipbox{
position: absolute;
width: 100%;
height: 100%;
position: absolute;
left: 0;
top:0;
}
.main .bet-tab .list .item .chipbox i{
width: 32px;
height: 14px;
position: absolute;
left: 50%;
bottom: 26px;
margin-left: -16px;
background: url(../img/chip.png) no-repeat;
-webkit-background-size: 260px;
background-size: 260px;
z-index: 99;
}
.main .bet-tab .list .item .chipbox .money{
padding: 2px 4px;
position: absolute;
bottom: 37px;
background: rgba(0,0,0,0.85);
color: #F5FF00;
font-weight: 600;
left: 50%;
-webkit-transform: translate(-50%, 0);
transform: translate(-50%, 0);
word-break:keep-all;
white-space:nowrap;
border-radius: 3px;
border: 1px solid #4a4a4a;
z-index: 99;
}
.main .bet-tab .list .item .chipbox .money:after {
content: "";
position: absolute;
bottom: -4.5px;
left: 50%;
margin-left: -5.5px;
width: 0;
height: 0;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 7px solid rgba(0, 0, 0, 0.85);
z-index: -1;
}
.main .bet-tab .list .item .chipbox .money span{
font-size: 14px;
}
.main .bet-tab .list .item .chipbox .money strong{
font-weight: 600;
}
.main .bet-tab .list .item .chipbox span.small{
font-size: 10px;
color: red;
}
.main .bet-tab .list .item .chipbox .chip-5{
background-position: -4px -206px;
}
.main .bet-tab .list .item .chipbox .chip-10{
background-position: -131px -167px;
}
.main .bet-tab .list .item .chipbox .chip-20{
background-position: -164px -186px;
}
.main .bet-tab .list .item .chipbox .chip-50{
background-position: -35px -206px;
}
.main .bet-tab .list .item .chipbox .chip-100{
background-position: -67px -167px;
}
.main .bet-tab .list .item .chipbox .chip-200{
background-position: -131px -206px;
}
.main .bet-tab .list .item .chipbox .chip-500{
background-position: -131px -186px;
}
.main .bet-tab .list .item .chipbox .chip-1k{
background-position: -4px -167px;
}
.main .bet-tab .list .item .chipbox .chip-2k{
background-position: -67px -206px;
}
.main .bet-tab .list .item .chipbox .chip-5k{
background-position: -99px -206px;
}
.main .bet-tab .list .item .chipbox .chip-1w{
background-position: -164px -206px;
}
.main .bet-tab .list .item .chipbox .chip-2w{
background-position: -99px -167px;
}
.main .bet-tab .list .item .chipbox .chip-5w{
background-position: -35px -167px;
}
.main .bet-box{
width: 80%;
height: 70px;
position: absolute;
bottom: 5px;
left: 50%;
margin-left: -40%;
z-index: 99;
}
.main .bet-box .l-bg{
width: 50px;
height: 70px;
background: url(../img/bet_tab_lbg.png) center left no-repeat;
position: absolute;
left: 0;
top: 0;
-webkit-background-size: auto 100%;
background-size: auto 100%;
}
.main .bet-box .r-bg{
width: 50px;
height: 70px;
background: url(../img/bet_tab_rbg.png) center right no-repeat;
position: absolute;
right: 0;
top: 0;
-webkit-background-size: auto 100%;
background-size: auto 100%;
}
.main .bet-box .bd{
height: 70px;
margin:0 50px;
background: url(../img/bet_tab_bg.png) center left repeat-x;
-webkit-background-size: auto 100%;
background-size: auto 100%;
position: relative;
overflow: hidden;
}
.main .bet-box .bd .money{
background: rgba(0,0,0,0.8);
color: #fffd00;
font-weight: 600;
font-size: 15px;
padding: 3px 10px;
position: absolute;
left: 0;
top: 10px;
border-radius: 50px;
}
.main .bet-box .bd .info{
position: absolute;
left: 10px;
bottom: 5px;
color: #fff;
font-size: 15px;
font-weight: 600;
}
.main .bet-box .bd .info .item{
display: inline-block;
padding-right: 10px;
}
.main .bet-box .bd .btn-box{
position: absolute;
height: 35px;
right: 0;
top: 50%;
margin-top: -17.5px;
}
.main .bet-box .bd .btn-box .cancel{
display: inline-block;
width: 100px;
height: 35px;
background: url(../img/cancel.png) no-repeat;
-webkit-background-size: 100% 100%;
background-size: 100% 100%;
}
.main .bet-box .bd .btn-box .confirm{
display: inline-block;
width: 100px;
height: 35px;
background: url(../img/confirm.png) no-repeat;
-webkit-background-size: 100% 100%;
background-size: 100% 100%;
margin-left: 5px;
}
.main .bet-box .bd .btn-box button:active{
opacity: 0.7;
}
.main .bet-view{
margin-left: 160px;
margin-right: 220px;
}
.main .swiper-container{
margin:0 auto;
margin-top: 10px;
max-width: 840px;
overflow: hidden;
}
.main .chip-box .swiper-slide{
width: 55px;
height: 55px;
display: inline-block;
vertical-align: middle;
}
.main .chip-box .chip{
background: url(../img/chip.png) no-repeat;
-webkit-background-size: 282px auto;
background-size: 282px auto;
cursor: pointer;
transform: scale(0.9);
-ms-transform: scale(0.9);
-moz-transform: scale(0.9);
-webkit-transform: scale(0.9);
-o-transform: scale(0.9);
-webkit-transition: all 0.2s;
transition: all 0.2s;
}
.main .chip-box .swiper-slide.choice{
transform: scale(1.02);
-ms-transform: scale(1.02);
-moz-transform: scale(1.02);
-webkit-transform: scale(1.02);
-o-transform: scale(1.02);
}
.main .chip-box .jeton_5{
background-position: -2px -120px;
}
.main .chip-box .jeton_10{
background-position: -2px -4px;
}
.main .chip-box .jeton_20{
background-position: -2px -62px;
}
.main .chip-box .jeton_50{
background-position: -57px -120px;
}
.main .chip-box .jeton_100{
background-position: -57px -4px;
}
.main .chip-box .jeton_200{
background-position: -57px -62px;
}
.main .chip-box .jeton_500{
background-position: -112px -120px;
}
.main .chip-box .jeton_1k{
background-position: -112px -4px;
}
.main .chip-box .jeton_2k{
background-position: -112px -62px;
}
.main .chip-box .jeton_5k{
background-position: -167px -120px;
}
.main .chip-box .jeton_1w{
background-position: -167px -4px;
}
.main .chip-box .jeton_2w{
background-position: -167px -62px;
}
.main .poker-box{
width: 310px;
height: 270px;
position: absolute;
left: 0;
top: 50%;
margin-top: -226px;
background: rgba(0,0,0,0.6);
z-index: 999;
padding-right: 2px;
}
.main .poker-box .list{
height: 67.5px;
display: table;
width: 100%;
position: relative;
}
.main .poker-box .list.active{
background: rgba(255, 204, 0, 0.58);
}
.main .poker-box .list.win {
-webkit-animation-timing-function: ease-in-out;
-webkit-animation-name: nnbreathe;
-webkit-animation-duration: 500ms;
-webkit-animation-iteration-count: infinite;
-webkit-animation-direction: alternate;
animation-timing-function: ease-in-out;
animation-name: nnbreathe;
animation-duration: 500ms;
animation-iteration-count: infinite;
animation-direction: alternate;
}
.main .poker-box .list .lab{
line-height: 67.5px;
text-align: center;
display: table-cell;
width: 60px;
color: #fff;
font-size: 18px;
font-weight: 600;
}
.main .poker-box .banker .lab{
background-color: #ff3262;
background-image: linear-gradient(147deg, #ff3262 0%, #ffcad9 74%);
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
}
.main .poker-box .player .lab{
background-color: #2f78fe;
background-image: linear-gradient(180deg, #2f78fe 12%, #69d8fc 50%, #2f78fe 100%);
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
}
.main .poker-box .list.role0{
position: absolute;
top: -52px;
background: rgba(0,0,0,0.6);
width: 130px;
height: 50px;
}
.main .poker-box .list.role0 .lab{
line-height: 50px
}
.main .poker-box .list .rotate{
-webkit-transform: rotate(90deg);
transform: rotate(90deg);
width: 50px;
height: 50px;
margin-left:18px;
}
.main .poker-box .list .rotate .card{
width: 50px;
height: 67px;
}
.main .poker-box .list .card{
display: table-cell;
vertical-align: middle;
background:url(../img/pokerbg.png) center center no-repeat;
-webkit-background-size: 45px;
background-size: 45px;
width: 50px ;
height: 67px;
}
.main .poker-box .list .card.active {
-webkit-animation-name: flipInY;
animation-name: flipInY;
-webkit-animation-iteration-count: inherit;
animation-iteration-count: inherit;
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
.main .poker-box .list .result{
position: absolute;
bottom: 2px;
text-align: center;
font-size: 16px;
width: 245px;
left: 63px;
z-index: 9;
background: rgba(220, 10, 10, 0.8);
font-weight: 600;
color: #fff;
text-shadow:0px 0px 1px #000;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
line-height: 25px;
display: none;
}
.main .poker-box .list.player .result{
background:rgba(47, 120, 254, 0.91);
}
.waybill-box{
background-color: #0a00b2;
background-image: linear-gradient(0deg, #0a00b2 0%, #ff0000 52%, #b3b10b 99%);
padding: 3px;
box-sizing: border-box;
}
.waybill-box canvas{
background: #fff;
width: 100%;
display: block;
}
/*倒计时*/
.main .countdown{
position: absolute;
width: 120px;
height: 120px;
background: url(../img/countdown_bg.png);
background-size: 100% 100%;
top: 30px;
right: 50%;
margin-right: -400px;
line-height: 120px;
text-align: center;
font-weight: 600;
font-size: 60px;
display: none;
}
.main .video-box{
margin: 0 auto;
display: block;
background: #000;
position: relative;
}
.main .video-box .video-play{
width: 100%;
height: 100%;
}
.main .video-box .video-play video{
object-fit: fill;
width: 100%;
height: 100%;
}
.main .video-box .mask{
position: absolute;
width: 100%;
height: 100%;
z-index: 9;
left: 0;
top: 0;
}
.main .video-box .mask .refresh{
position: absolute;
width: 32px;
height: 32px;
top: 20px;
left: 20px;
border: solid 4px #fff;
border-radius: 40px;
cursor: pointer;
transition: all 0.4s;
opacity: 0.5;
}
.main .video-box .mask .refresh i{
position: absolute;
width: 0;
height: 0;
border: solid 10px #fff;
border-top-color: transparent;
border-right: none;
border-bottom: none;
right: -1px;
bottom: -1px;
box-shadow: -2px 2px 2px #000;
}
.main .video-box .mask .video-link li {
float: right;
padding: 3px 5px;
margin: 3px;
background: #000;
font-size: 12px;
font-weight: 500;
color: #fff;
border-radius: 2px;
cursor: pointer;
opacity: 0.8;
transition: all 0.5s;
}
.main .video-box .mask .video-link li.active {
background: #b30d00;
}
.main .video-box .mask .refresh:hover {
opacity: 0.7;
transform:rotateZ(180deg);
}
.main .video-box .mask .refresh:active {
opacity: 0.9;
transform:rotateZ(540deg);
}
.main .bet-tab .list .item.win{
background-color: rgba(255, 235, 59, 0.6);
-webkit-animation-timing-function:ease-in-out;
-webkit-animation-name:breathe;
-webkit-animation-duration:500ms;
-webkit-animation-iteration-count:infinite;
-webkit-animation-direction:alternate;
}
/*自适应*/
@media screen and (max-width: 1480px){
.niuniu .head{
line-height: 75px;
height: 75px;
}
.niuniu .head .left_bg{
height: 75px;
}
.niuniu .head .right_bg{
height: 75px;
}
.head .info .tab-title{
line-height: 75px;
}
.head .info .item{
line-height: 75px;
font-size: 18px;
}
}
@-webkit-keyframes breathe {
0% {
opacity:.5;
-moz-box-shadow: 0px 1px 10px #030c03;
box-shadow: 0px 1px 10px #030c03;
}
100% {
opacity:1;
box-shadow:0 1px 20px rgba(59,255,255,1);
-moz-box-shadow:0 1px 20px rgba(59,255,255,1);
}
@-webkit-keyframes flipInY {
0% {
-webkit-transform: perspective(400px) rotateY(90deg);
transform: perspective(400px) rotateY(90deg);
opacity: 0;
}
0%,
40% {
-webkit-animation-timing-function: ease-in;
animation-timing-function: ease-in;
}
40% {
-webkit-transform: perspective(400px) rotateY(-20deg);
transform: perspective(400px) rotateY(-20deg);
}
60% {
-webkit-transform: perspective(400px) rotateY(10deg);
transform: perspective(400px) rotateY(10deg);
opacity: 1;
}
80% {
-webkit-transform: perspective(400px) rotateY(-5deg);
transform: perspective(400px) rotateY(-5deg);
}
to {
-webkit-transform: perspective(400px);
transform: perspective(400px);
}
}
@keyframes flipInY {
0% {
-webkit-transform: perspective(400px) rotateY(90deg);
transform: perspective(400px) rotateY(90deg);
opacity: 0;
}
0%,
40% {
-webkit-animation-timing-function: ease-in;
animation-timing-function: ease-in;
}
40% {
-webkit-transform: perspective(400px) rotateY(-20deg);
transform: perspective(400px) rotateY(-20deg);
}
60% {
-webkit-transform: perspective(400px) rotateY(10deg);
transform: perspective(400px) rotateY(10deg);
opacity: 1;
}
80% {
-webkit-transform: perspective(400px) rotateY(-5deg);
transform: perspective(400px) rotateY(-5deg);
}
to {
-webkit-transform: perspective(400px);
transform: perspective(400px);
}
}
@-webkit-keyframes nnbreathe {
0% {
background-color: rgba(0, 0, 0, 0.4);
}
100% {
background-color: #9da220;
}
}