houde_web_api/public/static/css/product.css
2023-04-16 23:05:17 +08:00

351 lines
5.7 KiB
CSS

/*product.css*/
/*product*/
.product a {
text-decoration: none !important;
}
.productsBigBox {
margin: 60px auto;
display: flex;
justify-content: center;
}
/* .productsBigBox>div {
padding: 20px;
} */
.productMenusBox {
display: flex;
flex-direction: column;
}
/* .productMenusBox>div{
border: 1px solid #5555;
} */
.productMenusHead {
background: #11bea0;
font-size: 20px;
font-weight: 550;
color: white;
text-align: left;
position: relative;
overflow: hidden;
}
.productMenusHeadContent {
position: relative;
height: 80px;
text-align: center;
font-size: 25px;
line-height: 80px;
}
.upLeft {
width: 0;
height: 0;
position: absolute;
border-top: solid 15px transparent;
border-right: solid 15px #ffffff;
border-bottom: solid 15px transparent;
left: -3px;
transform: rotate(45deg);
top: -10px;
}
.upLeft2 {
width: 0;
height: 0;
position: absolute;
border-top: solid 10px transparent;
border-right: solid 10px #11bea0;
border-bottom: solid 10px transparent;
left: -1px;
transform: rotate(45deg);
top: -6px;
}
.upLeft3 {
width: 0;
height: 0;
position: absolute;
border-top: solid 18px transparent;
border-right: solid 18px #ffffff;
border-bottom: solid 18px transparent;
right: -3px;
transform: rotate(-135deg);
bottom: -13px;
}
.upLeft4 {
width: 0;
height: 0;
position: absolute;
border-top: solid 8px transparent;
border-right: solid 8px #11bea0;
border-bottom: solid 8px transparent;
right: -1px;
transform: rotate(-135deg);
bottom: -6px;
}
.upLeft5 {
width: 40px;
height: 3px;
position: absolute;
background: #11bea0;
right: -12px;
transform: rotate(-225deg);
bottom: 10px;
}
.productMenusBody>a {
padding: 10px 10px;
border-bottom: 1px solid rgb(234, 234, 234);
font-family: "Microsoft YaHei", ;
}
.productMenusBody {
width: 100%;
/* border-bottom: 1px solid #5555; */
border: 1px solid rgb(234, 234, 234);
/* background: #f2fbfa; */
}
.productMenusBody:last-child {
border-top: none;
}
.productMenusBody>a:last-child {
border-bottom: none;
}
.productMenusBodyTitle {
font-size: 20px;
color: rgb(121, 121, 121);
font-weight: 550;
height: 40px;
line-height: 20px;
border-bottom: 1px solid rgb(234, 234, 234);
padding: 10px;
}
.productMenusItem {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
transition: 0.6s;
/* border-bottom: 1px solid #aaaaaa; */
color: #898989;
}
.productMenusItem:hover {
background: #11bea0;
color: white;
margin-left: 0;
padding: 10px 15px 10px 20px;
}
.productMenusItemActive {
background: #11bea0 !important;
color: rgb(250, 246, 246) !important;
margin-left: -0px !important;
padding: 10px 20px 10px 20px !important;
}
.productMenuLine {
border-bottom: 1px solid #ecf2f2;
}
.productsTitle {
font-size: 28px;
}
.productsTitleDetail {
color: #bbbbbb;
font-size: 18px !important;
}
.productsBody {
display: flex;
justify-content: left;
align-items: center;
flex-wrap: wrap;
width: 100%;
}
.productItem {
height: 350px;
padding: 10px;
}
.products {
height: 100%;
position: relative;
overflow: hidden;
cursor: pointer;
border: 1px solid #f5f5f5;
transition: 0.6s;
}
.products>.productImg {
/*position: absolute;*/
height: 80%;
width: 100%;
/*padding: 10px;*/
object-fit: contain;
}
.productsBox {
width: 100%;
padding-top: 10px;
}
.productMenusBox {
width: 30%;
/*padding: 20px 50px 0 1px;*/
padding: 20px 20px 0 20px;
margin: 0 auto;
}
.productContent {
position: absolute;
bottom: 0;
/*height: 23%;*/
z-index: 9;
width: 100%;
background: white;
padding-bottom: 20px;
}
.productContent>div,
.productContent>span {
margin: 5px 0 11px 20px;
}
.productButton {
border: 1px solid #eeeeee;
color: #4fcaaf;
background: white;
transition: 0.6s;
padding: 5px;
}
.productType {
color: #cccccc;
}
.products:hover {
transform: translate(0, -10px);
box-shadow: 4px 4px 4px #f5f5f5;
}
.productButton:hover {
background: #4fcaaf;
color: white;
}
.productSMenu {
cursor: pointer;
/* color: #898989; */
}
/*page*/
.page {
transition: 0.4s;
}
.page:hover {
background: #11bea0;
color: white;
}
.pageBigBox {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 50px;
flex-wrap: wrap;
}
.pageBigBox>div {
margin: 10px 0;
}
.productPage {
display: flex;
justify-content: center;
align-items: center;
}
.pageActive {
background: #11bea0;
color: white;
}
.productPage>.page {
border: 1px solid #eeeeee;
height: 42px;
width: 46px;
text-align: center;
}
.productPage>div {
margin: 0 5px 0 5px;
cursor: pointer;
padding: 8px 15px 8px 14px;
}
.pageMoreInput {
display: flex;
justify-content: center;
align-items: center;
}
.pageMoreInput label {
margin-bottom: 0 !important;
}
.pageMoreInput input {
width: 40px;
border: 1px solid #a8a8a8;
}
.pageMore {
margin: 0 !important;
padding: 8px 7px 8px 7px;
}
.productPage img {
height: 62%;
width: 100%;
object-fit: cover;
}
.pageMoreInput {
display: flex;
justify-content: center;
align-items: center;
}
.pageMoreInput>* {
padding-left: 4px;
padding-right: 4px;
color: #898989;
font-size: 16px;
}
.productJump {
cursor: pointer;
transition: 0.4s;
background: #00a587;
color: white;
padding: 5px 10px;
}
.productJump:hover {
color: #00a587;
background: white;
}