You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
486 lines
8.4 KiB
486 lines
8.4 KiB
.contanier{
|
|
width: 100%;
|
|
height: calc(100vh);
|
|
background: url('../images/bg.gif') no-repeat top left;
|
|
background-size: cover;
|
|
overflow: hidden;
|
|
}
|
|
.return {
|
|
position: fixed;
|
|
bottom: 50%;
|
|
right: 20px;
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
border-radius: 100%;
|
|
text-align: center;
|
|
font-size: .375rem;
|
|
line-height: 1.25rem;
|
|
background-color: yellow;
|
|
font-weight: bold;
|
|
color: #000;
|
|
z-index: 9999;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* nav部分 */
|
|
.flex-container {
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
justify-items: center;
|
|
margin: 30px;
|
|
z-index: 99;
|
|
}
|
|
|
|
.flex-container .flex-middle{
|
|
width: 500px;
|
|
height: 400px;
|
|
line-height: 400px;
|
|
text-align: center;
|
|
color: #fff;
|
|
font-size: .25rem;
|
|
font-weight: bold;
|
|
border: 1px solid #fff;
|
|
}
|
|
|
|
.flex-container ul {
|
|
position: relative;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
flex-direction: row;
|
|
width: calc((100% - 600px) / 2);
|
|
height: 400px;
|
|
}
|
|
|
|
|
|
/* .flex-container ul.flex-left {
|
|
position: relative;
|
|
border: 1px solid red;
|
|
} */
|
|
|
|
.flex-container ul.flex-left li:nth-child(1) {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
}
|
|
|
|
.flex-container ul.flex-left li:nth-child(2) {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 140px;
|
|
animation-delay: .3s;
|
|
}
|
|
|
|
.flex-container ul.flex-left li:nth-child(3) {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 280px;
|
|
animation-delay: .6s;
|
|
}
|
|
|
|
|
|
.flex-container ul.flex-right li:nth-child(1) {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
}
|
|
|
|
.flex-container ul.flex-right li:nth-child(2) {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 140px;
|
|
animation-delay: .3s;
|
|
}
|
|
|
|
.flex-container ul.flex-right li:nth-child(3) {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 280px;
|
|
animation-delay: .6s;
|
|
}
|
|
|
|
.flex-container ul li{
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
height: 1.25rem;
|
|
line-height: 1.25rem;
|
|
text-align: center;
|
|
color: #fff;
|
|
font-size: .25rem;
|
|
font-weight: bold;
|
|
background-color: rgb(0, 174, 255);
|
|
border: 1px solid #000;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.flex-container ul li img{
|
|
display: block;
|
|
margin-left: .375rem;
|
|
height: .625rem;
|
|
}
|
|
|
|
.flex-item-link img.active{
|
|
position: fixed;
|
|
top: 50%;
|
|
left: -50%;
|
|
width: 400px;
|
|
height: 400px;
|
|
margin: -200px 0 0 -200px;
|
|
}
|
|
|
|
.flex-container ul li a{
|
|
display: block;
|
|
}
|
|
|
|
/* pdf预览 */
|
|
.pdfobject-container {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: calc(100vw);
|
|
height: calc(100vh);
|
|
z-index: 999;
|
|
}
|
|
|
|
.chat-wrapper {
|
|
position: relative;
|
|
width: 10rem;
|
|
height: 10rem;
|
|
margin: .375rem auto;
|
|
background-color: #fff;
|
|
border-radius: .125rem;
|
|
z-index: 99;
|
|
}
|
|
|
|
.chat-content {
|
|
width: 100%;
|
|
height: calc(100% - 2.5rem);
|
|
overflow: hidden;
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
.chat-message {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin: .125rem;
|
|
padding: .125rem;
|
|
line-height: .5rem;
|
|
font-size: .25rem;
|
|
color: #000;
|
|
}
|
|
|
|
.chat-message p {
|
|
position: relative;
|
|
line-height: .5rem;
|
|
padding: 0 .125rem;
|
|
margin-right: .125rem;
|
|
background-color: burlywood;
|
|
border-radius: .05rem;
|
|
}
|
|
|
|
.chat-message p span{
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: -0.45rem;
|
|
width: 1rem;
|
|
height: .375rem;
|
|
text-align: center;
|
|
line-height: .375rem;
|
|
border: 1px solid #000;
|
|
border-radius: .05rem;
|
|
font-size: .175rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.chat-message p span:hover{
|
|
background-color: #999;
|
|
}
|
|
|
|
.chat-message p span.remove-btn{
|
|
border: none;
|
|
color: #999;
|
|
}
|
|
|
|
.chat-message p span.remove-btn:hover{
|
|
background-color: #fff;
|
|
}
|
|
|
|
.chat-message img {
|
|
display: block;
|
|
width: .5rem;
|
|
height: .5rem;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.bot-message {
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.bot-message p {
|
|
margin-left: .125rem;
|
|
background-color: rgb(0, 209, 112);
|
|
}
|
|
.loading{
|
|
position: relative;
|
|
}
|
|
.loading img {
|
|
display: block;
|
|
width: .25rem;
|
|
height: .25rem;
|
|
margin-top: .125rem;
|
|
animation: rotate 2s linear infinite;
|
|
}
|
|
|
|
@keyframes rotate {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.chat-send {
|
|
width: 100%;
|
|
height: 2.5rem;
|
|
background-color: #fff;
|
|
border-radius: .125rem;
|
|
}
|
|
|
|
.chat-send textarea {
|
|
display: block;
|
|
width: calc(100% - .5rem);
|
|
height: 1.25rem;
|
|
font-size: .3rem;
|
|
line-height: .375rem;
|
|
border: none;
|
|
padding: .25rem;
|
|
background-color: #e4e4e4;
|
|
}
|
|
|
|
.send-button-container {
|
|
text-align: right;
|
|
}
|
|
|
|
.send-button {
|
|
margin: .125rem .25rem 0 0;
|
|
padding: 0 .25rem;
|
|
line-height: .5rem;
|
|
font-size: .325rem;
|
|
color: #000;
|
|
}
|
|
|
|
.send-disabled-button {
|
|
color: #7c7c7c;
|
|
}
|
|
|
|
.scene-wrapper{
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
flex-wrap: wrap;
|
|
width: calc(100vw - .525rem);
|
|
height: calc(100vh - .525rem);
|
|
padding: .25rem;
|
|
z-index: 99;
|
|
}
|
|
|
|
.scene-item{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-self: center;
|
|
width: calc(100% / 3 - .525rem);
|
|
margin: .25rem;
|
|
}
|
|
|
|
.scene-item img{
|
|
display: block;
|
|
width: 2.5rem;
|
|
height: 2.5rem;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.scene-item p{
|
|
margin-top: .25rem;
|
|
font-size: .3rem;
|
|
color: #fff;
|
|
text-align: center;
|
|
}
|
|
|
|
/* 菜单3D */
|
|
.show-nav{
|
|
position: relative;
|
|
width: 1000px;
|
|
height: 460px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin: 0 auto;
|
|
z-index: 99;
|
|
}
|
|
|
|
#showcase {
|
|
width: 100%;
|
|
height: 360px;
|
|
/* border-radius: 8px; */
|
|
position: absolute;
|
|
transform-style: preserve-3d;
|
|
transition: transform 1s;
|
|
}
|
|
|
|
.menu-item{
|
|
position: absolute;
|
|
width: 240px;
|
|
height: 240px;
|
|
border-radius: 100%;
|
|
background-color: #fff;
|
|
text-align: center;
|
|
line-height: 240px;
|
|
font-size: 26px;
|
|
font-weight: bold;
|
|
color: #000;
|
|
cursor: pointer;
|
|
}
|
|
/*
|
|
.a {
|
|
transform: rotateY(0deg);
|
|
background: #ed1c24;
|
|
}
|
|
.b {
|
|
transform: rotateY(60deg);
|
|
background: #0072bc;
|
|
}
|
|
.c {
|
|
transform: rotateY(120deg);
|
|
background: #39b54a;
|
|
}
|
|
.d {
|
|
transform: rotateY(180deg);
|
|
background: #f26522;
|
|
}
|
|
.e {
|
|
transform: rotateY(240deg);
|
|
background: #630460;
|
|
}
|
|
.f {
|
|
transform: rotateY(300deg);
|
|
background: #8c6239;
|
|
}
|
|
*/
|
|
|
|
#nav {
|
|
margin-top: 10px;
|
|
text-align: center;
|
|
}
|
|
#nav > button {
|
|
width: 64px;
|
|
height: 36px;
|
|
color: #666;
|
|
font: bold 16px arial;
|
|
text-align: center;
|
|
margin: 5px;
|
|
text-shadow: 0px 1px 0px #f5f5f5;
|
|
background: #f6f6f6;
|
|
border: solid 2px rgba(0, 0, 0, 0.4);
|
|
-webkit-border-radius: 5px;
|
|
-moz-border-radius: 5px;
|
|
border-radius: 5px;
|
|
-webkit-box-shadow: 0 0 9px 1px rgba(0, 0, 0, 0.4);
|
|
-moz-box-shadow: 0 0 9px 1px rgba(0, 0, 0, 0.4);
|
|
box-shadow: 0 0 9px 1px rgba(0, 0, 0, 0.4);
|
|
cursor: pointer;
|
|
}
|
|
#nav > button:active,
|
|
#nav > button.down {
|
|
background: #dfdfdf;
|
|
border: solid 2px rgba(0, 0, 0, 0.6);
|
|
box-shadow: none;
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
width: 250px;
|
|
height: 200px;
|
|
position: relative;
|
|
perspective: 1000px;
|
|
}
|
|
|
|
.carousel {
|
|
height: 100%;
|
|
width: 100%;
|
|
position: absolute;
|
|
transform-style: preserve-3d;
|
|
transition: transform 1s;
|
|
}
|
|
|
|
.item {
|
|
display: block;
|
|
position: absolute;
|
|
background: #000;
|
|
width: 250px;
|
|
height: 200px;
|
|
line-height: 200px;
|
|
font-size: .375rem;
|
|
text-align: center;
|
|
color: #FFF;
|
|
opacity: 0.95;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
}
|
|
.item a{
|
|
/* display: block; */
|
|
}
|
|
|
|
.a {
|
|
transform: rotateY(0deg) translateZ(250px);
|
|
background: #ed1c24;
|
|
}
|
|
.b {
|
|
transform: rotateY(60deg) translateZ(250px);
|
|
background: #0072bc;
|
|
}
|
|
.c {
|
|
transform: rotateY(120deg) translateZ(250px);
|
|
background: #39b54a;
|
|
}
|
|
.d {
|
|
transform: rotateY(180deg) translateZ(250px);
|
|
background: #f26522;
|
|
}
|
|
.e {
|
|
transform: rotateY(240deg) translateZ(250px);
|
|
background: #630460;
|
|
}
|
|
.f {
|
|
transform: rotateY(300deg) translateZ(250px);
|
|
background: #8c6239;
|
|
}
|
|
|
|
.next, .prev {
|
|
color: #444;
|
|
position: absolute;
|
|
top: 50%;
|
|
padding: 15px 30px;
|
|
cursor: pointer;
|
|
background: #CCC;
|
|
border-radius: 5px;
|
|
border-top: 1px solid #FFF;
|
|
box-shadow: 0 5px 0 #999;
|
|
transition: box-shadow 0.1s, top 0.1s;
|
|
z-index: 999;
|
|
}
|
|
.next:hover, .prev:hover { color: #000; }
|
|
.next:active, .prev:active {
|
|
top: 51%;
|
|
box-shadow: 0 1px 0 #999;
|
|
}
|
|
.next { right: .75rem; }
|
|
.prev { left: .75rem; }
|
|
|