Files
peko-h5/view/peko/activity/billiard/css/index.css
2024-02-28 19:57:48 +08:00

769 lines
12 KiB
CSS

html,
body {
width: 100%;
background: #05341F;
}
.back {
position: fixed;
top: 0.93333rem;
left: 0.45333rem;
z-index: 99;
width: 0.82667rem;
height: 0.82667rem;
}
.back img {
width: 100%;
height: 100%;
}
.back p {
color: #fff;
font-size: 0.42667rem;
position: absolute;
width: 9rem;
left: 0;
top: 0;
height: 100%;
text-align: center;
line-height: 0.82667rem;
}
.header {
width: 10rem;
height: 8.24rem;
background: url(../images/header.png) no-repeat;
background-size: 100% 100%;
position: relative;
margin: 0 auto 0;
}
.header .rule_icon {
width: 0.72rem;
height: 1.92rem;
position: absolute;
top: 2.61333rem;
right: 0;
}
.header div {
width: 100%;
text-align: center;
font-size: 0.37333rem;
color: #FFFCE6;
position: absolute;
top: 1rem;
left: 0;
font-weight: 500;
}
.tabBox {
width: 9.52rem;
height: 1.66667rem;
background: url(../images/tabBox.png) no-repeat;
background-size: 100% 100%;
margin: -0.53333rem auto 0.18667rem;
position: relative;
display: flex;
justify-content: space-between;
padding: 0 0.37333rem;
box-sizing: border-box;
}
.tabBox div {
width: 2.16rem;
height: 1.12rem;
margin-top: 0.28rem;
}
.tabBox .tab1 {
background: url(../images/tab1.png) no-repeat;
background-size: 100% 100%;
}
.tabBox .tab2 {
background: url(../images/tab2.png) no-repeat;
background-size: 100% 100%;
}
.tabBox .tab3 {
background: url(../images/tab3.png) no-repeat;
background-size: 100% 100%;
}
.tabBox .tab4 {
background: url(../images/tab4.png) no-repeat;
background-size: 100% 100%;
}
.tabBox .tabAct1 {
background: url(../images/tabAct1.png) no-repeat;
background-size: 100% 100%;
}
.tabBox .tabAct2 {
background: url(../images/tabAct2.png) no-repeat;
background-size: 100% 100%;
}
.tabBox .tabAct3 {
background: url(../images/tabAct3.png) no-repeat;
background-size: 100% 100%;
}
.tabBox .tabAct4 {
background: url(../images/tabAct4.png) no-repeat;
background-size: 100% 100%;
}
.page1 .time {
width: 100%;
height: 0.98667rem;
line-height: 0.98667rem;
text-align: center;
color: #FFEDBB;
font-size: 0.32rem;
}
.page1 .time span {
width: 0.98667rem;
margin: 0 0.12rem;
color: #FFF;
font-size: 0.42667rem;
background: url(../images/num.png) no-repeat;
background-size: 100% 100%;
display: inline-block;
}
.page1 .top {
width: 100%;
height: 5.12rem;
margin: 0 auto 0.26667rem;
position: relative;
}
.page1 .top .no1 {
width: 2.98667rem;
height: 5.12rem;
position: absolute;
left: 50%;
top: 0;
transform: translateX(-50%);
}
.page1 .top .no1 .ts {
width: 100%;
height: 100%;
position: absolute;
z-index: 2;
}
.page1 .top .no1 .tx {
width: 2.21333rem;
height: 2.21333rem;
border-radius: 50%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 0.77333rem;
z-index: 2;
}
.page1 .top .no1 p {
width: 81%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
text-align: center;
color: #663208;
font-size: 0.34667rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 3.16rem;
z-index: 2;
font-weight: bold;
}
.page1 .top .no1 span {
width: 81%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
text-align: center;
color: #663208;
font-size: 0.29333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 3.64rem;
z-index: 2;
}
.page1 .top .no1 .score {
width: 2.45333rem;
height: 0.61333rem;
line-height: 0.61333rem;
text-align: center;
color: #FFF1D8;
font-size: 0.29333rem;
background: url(../images/win.png) no-repeat;
background-size: 100% 100%;
z-index: 2;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 4rem;
}
.page1 .top .no1 .score b {
color: #fff;
font-size: 0.32rem;
}
.page1 .top .no2 {
width: 2.98667rem;
height: 5.12rem;
position: absolute;
left: 0.32rem;
top: 0;
}
.page1 .top .no2 .ts {
width: 100%;
height: 100%;
position: absolute;
z-index: 2;
}
.page1 .top .no2 .tx {
width: 1.94667rem;
height: 1.94667rem;
border-radius: 50%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 1.06667rem;
z-index: 2;
}
.page1 .top .no2 p {
width: 81%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
text-align: center;
color: #663208;
font-size: 0.34667rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 3.16rem;
z-index: 2;
font-weight: bold;
}
.page1 .top .no2 span {
width: 81%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
text-align: center;
color: #663208;
font-size: 0.29333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 3.64rem;
z-index: 2;
}
.page1 .top .no2 .score {
width: 2.45333rem;
height: 0.61333rem;
line-height: 0.61333rem;
text-align: center;
color: #FFF1D8;
font-size: 0.29333rem;
background: url(../images/win2.png) no-repeat;
background-size: 100% 100%;
z-index: 2;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 4rem;
}
.page1 .top .no2 .score b {
color: #fff;
font-size: 0.32rem;
}
.page1 .top .no3 {
width: 2.98667rem;
height: 5.12rem;
position: absolute;
right: 0.32rem;
top: 0;
}
.page1 .top .no3 .ts {
width: 100%;
height: 100%;
position: absolute;
z-index: 2;
}
.page1 .top .no3 .tx {
width: 1.94667rem;
height: 1.94667rem;
border-radius: 50%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 1.06667rem;
z-index: 2;
}
.page1 .top .no3 p {
width: 81%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
text-align: center;
color: #663208;
font-size: 0.34667rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 3.16rem;
z-index: 2;
font-weight: bold;
}
.page1 .top .no3 span {
width: 81%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
text-align: center;
color: #663208;
font-size: 0.29333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 3.64rem;
z-index: 2;
}
.page1 .top .no3 .score {
width: 2.45333rem;
height: 0.61333rem;
line-height: 0.61333rem;
text-align: center;
color: #FFF1D8;
font-size: 0.29333rem;
background: url(../images/win3.png) no-repeat;
background-size: 100% 100%;
z-index: 2;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 4rem;
}
.page1 .top .no3 .score b {
color: #fff;
font-size: 0.32rem;
}
.page1 ul {
width: 9.30667rem;
margin: 0 auto 2rem;
}
.page1 ul li {
width: 100%;
height: 1.81333rem;
background: url(../images/li.png) no-repeat;
background-size: 100% 100%;
}
.page1 ul li .num {
width: 1rem;
text-align: center;
color: #fff;
font-size: 0.53333rem;
font-weight: bold;
float: left;
height: 100%;
line-height: 1.81333rem;
margin-right: 0.18667rem;
}
.page1 ul li .tx {
width: 1.30667rem;
height: 1.30667rem;
border-radius: 50%;
float: left;
display: block;
margin-top: 0.25333rem;
margin-right: 0.30667rem;
}
.page1 ul li .user {
width: 3.12rem;
float: left;
}
.page1 ul li .user p {
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #FFFFFF;
font-size: 0.37333rem;
margin-top: 0.50667rem;
margin-bottom: 0.18667rem;
}
.page1 ul li .user span {
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #B8BCBB;
font-size: 0.32rem;
}
.page1 ul li .score {
float: right;
height: 100%;
line-height: 1.81333rem;
color: #FFE04E;
font-size: 0.29333rem;
margin-right: 0.48rem;
}
.page1 .my {
width: 100%;
position: fixed;
height: 1.81333rem;
background: url(../images/my.png) no-repeat;
background-size: 100% 100%;
left: 0;
bottom: 0;
}
.page1 .my .num {
width: 1rem;
text-align: center;
color: #D7D1CE;
font-size: 0.32rem;
font-weight: bold;
float: left;
height: 100%;
line-height: 1.81333rem;
margin-right: 0.18667rem;
margin-left: 0.44rem;
}
.page1 .my .tx {
width: 1.30667rem;
height: 1.30667rem;
border-radius: 50%;
float: left;
display: block;
margin-top: 0.25333rem;
margin-right: 0.30667rem;
}
.page1 .my .user {
width: 3.12rem;
float: left;
}
.page1 .my .user p {
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #FFFFFF;
font-size: 0.37333rem;
line-height: 1.81333rem;
}
.page1 .my .user span {
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #B8BCBB;
font-size: 0.32rem;
}
.page1 .my .score {
float: right;
height: 100%;
line-height: 1.81333rem;
color: #FFE04E;
font-size: 0.29333rem;
margin-right: 0.48rem;
}
.page2 {
display: none;
}
.page2 .timeShow {
width: 9.36rem;
height: 1.70667rem;
background: #032417;
margin: 0 auto 0.16rem;
overflow: hidden;
border-radius: 0.10667rem;
}
.page2 .timeShow p {
width: 100%;
text-align: center;
color: #FFEDBB;
font-size: 0.4rem;
margin-top: 0.37333rem;
margin-bottom: 0.2rem;
}
.page2 .timeShow p b {
color: #fff;
}
.page2 .timeShow span {
width: 100%;
display: block;
text-align: center;
color: #FFEDBB;
font-size: 0.4rem;
}
.page2 .timeShow span b {
color: #fff;
}
.page2 .page2GoToRoom {
width: 8.58667rem;
height: 0.65333rem;
display: block;
margin: 0 auto 0.61333rem;
}
.page2 .line {
width: 10rem;
height: 0.4rem;
margin: 0 auto 0.41333rem;
display: block;
}
.page2 .page2Bg {
width: 10rem;
display: block;
margin: 0 auto 1.16rem;
}
.page3 {
display: none;
}
.page3 .timeShow {
width: 9.36rem;
height: 1.70667rem;
background: #032417;
margin: 0 auto 0.16rem;
overflow: hidden;
border-radius: 0.10667rem;
}
.page3 .timeShow p {
width: 100%;
text-align: center;
color: #FFEDBB;
font-size: 0.4rem;
margin-top: 0.37333rem;
margin-bottom: 0.2rem;
}
.page3 .timeShow p b {
color: #fff;
}
.page3 .timeShow span {
width: 100%;
display: block;
text-align: center;
color: #FFEDBB;
font-size: 0.4rem;
}
.page3 .timeShow span b {
color: #fff;
}
.page3 .page2GoToRoom {
width: 8.58667rem;
height: 0.65333rem;
display: block;
margin: 0 auto 0.61333rem;
}
.page3 .line {
width: 10rem;
height: 0.4rem;
margin: 0 auto 0.41333rem;
display: block;
}
.page3 .page2Bg {
width: 10rem;
display: block;
margin: 0 auto 1.16rem;
}
.page4 {
display: none;
}
.page4 .timeShow {
width: 9.36rem;
height: 1.70667rem;
background: #032417;
margin: 0 auto 0.16rem;
overflow: hidden;
border-radius: 0.10667rem;
}
.page4 .timeShow p {
width: 100%;
text-align: center;
color: #FFEDBB;
font-size: 0.4rem;
margin-top: 0.37333rem;
margin-bottom: 0.2rem;
}
.page4 .timeShow p b {
color: #fff;
}
.page4 .timeShow span {
width: 100%;
display: block;
text-align: center;
color: #FFEDBB;
font-size: 0.4rem;
}
.page4 .timeShow span b {
color: #fff;
}
.page4 .page2GoToRoom {
width: 8.58667rem;
height: 0.65333rem;
display: block;
margin: 0 auto 0.61333rem;
}
.page4 .line {
width: 10rem;
height: 0.4rem;
margin: 0 auto 0.41333rem;
display: block;
}
.page4 .page2Bg {
width: 10rem;
display: block;
margin-bottom: 1.16rem;
}
.page4 .swiper {
width: 10rem;
height: 7.5rem;
margin-bottom: 1.37333rem;
}
.page4 .swiper .swiper-slide,
.page4 .swiper .img {
display: block;
width: 100%;
}
.page4 .swiper .swiper-pagination-bullet {
background: #507163;
}
.page4 .swiper .swiper-pagination-bullet-active {
background: #FFEC4B;
}
.rule {
position: fixed;
z-index: 999;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, 0.6);
display: none;
}
.rule .rule_in {
width: 9.25333rem;
height: 14.36rem;
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
background: url(../images/ruleBG.png) no-repeat;
background-size: 100% 100%;
}
.rule .rule_in .tab {
width: 7.22667rem;
height: 0.88rem;
display: flex;
justify-content: space-between;
margin: 0.02667rem auto 0.64rem;
}
.rule .rule_in .tab div {
width: 50%;
height: 100%;
}
.rule .rule_in .tab1 {
background: url(../images/ruleTab1.png) no-repeat;
background-size: 100% 100%;
}
.rule .rule_in .tab2 {
background: url(../images/ruleTab2.png) no-repeat;
background-size: 100% 100%;
}
.rule .rule_in .box {
width: 7.76rem;
height: 12.3rem;
margin: 0 auto;
overflow-y: scroll;
}
.rule .rule_in .box::-webkit-scrollbar {
display: none;
}
.rule .rule_in .box img {
display: block;
width: 100%;
}