123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703 |
- @import 'global.scss';
- .banner {
- position: relative;
- a {
- display: block;
- position: absolute;
- left: 0;
- right: 0;
- margin: 0 auto;
- bottom: 15%;
- width: 150px;
- height: 38px;
- line-height: 38px;
- font-size: 14px;
- text-align: center;
- color: #fff;
- border: 1px solid #fff;
- z-index: 1;
- overflow: hidden;
- @media(min-width:768px){
- width: 180px;
- height: 48px;
- line-height: 48px;
- font-size: 18px;
- }
- &:after {
- content: '';
- position: absolute;
- z-index: -1;
- transition: width 0.3s, opacity 0.3s;
- width: 0;
- height: 530px;
- top: 50%;
- left: 50%;
- opacity: 0;
- background: rgba(0, 0, 0, 0.2);
- transform: translate3d(-50%, -50%, 0) rotate(45deg);
- backface-visibility: hidden;
- }
- &:hover,
- &:active {
- &:after {
- width: 100%;
- opacity: 1;
- }
- }
- }
- img {
- width: 100%;
- }
- }
- .entrance {
- margin: 40px auto;
- @media(min-width: 768px) {
- margin: 60px auto;
- }
- @media(min-width:1200px) {
- margin: 100px auto;
- }
- .item{
- margin-bottom: 20px;
- .img{
- img{
- height: px2vw(200);
- @media(min-width:768px){
- height: auto;
- }
- width:100%;
- }
- }
- .txt{
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: rgba(0, 0, 0, .2);
- padding: 20px;
- @media(min-width:768px){
- padding: 20px;
- }
- @media(min-width:1200px){
- padding: 40px;
- }
- span{
- color: $color;
- font-weight: bold;
- font-size: 16px;
- display: inline-block;
- margin-top: 10px;
- @media(min-width:768px){
- font-size: 20px;
- margin-top: 30px;
- }
- }
- h2{
- color: #fff;
- margin: 12px 0;
- font-size: 22px;
- em {
- color: $color;
- }
- @media(min-width:768px){
- margin: 25px 0;
- font-size: 28px;
- }
- @media(min-width:1200px){
- font-size: 44px;
- }
- }
- p{
- color: #fff;
- font-size: 14px;
- @media(min-width:768px){
- font-size: 20px;
- }
- @media(min-width:1200px){
- font-size: 24px;
- }
- }
- i{
- font-weight: bold;
- padding-right: 30px;
- color: $color;
- position: absolute;
- bottom: 25px;
- font-size: 16px;
- @media(min-width:768px){
- font-size: 20px;
- }
- &:after{
- content: "";
- display: inline-block;
- width: 30px;
- height: 10px;
- transition: all .5s ease;
- background: url("/assets/image/arrow-color.png") no-repeat center;
- }
- }
- }
- a{
- display: block;
- position: relative;
- transition: all .5s ease;
- &:hover,&:active{
- transform: translateY(-10px);
- box-shadow: 0px 8px 40px 0px rgba(0, 0, 0, 0.2);
- }
- }
- }
- }
- .product {
- .headline {
- text-align: center;
- margin-bottom: 10px;
- @media(min-width:768px){
- margin-bottom: 30px;
- }
- @media(min-width:1200px){
- margin-bottom: 50px;
- }
- h2 {
- color: #111;
- margin-bottom: 10px;
- font-size: 24px;
- @media(min-width:768px){
- margin-bottom: 22px;
- font-size: 32px;
- }
- @media(min-width:1200px){
- font-size: 46px;
- }
- }
- span {
- color: $color;
- font-size: 16px;
- @media(min-width:768px){
- font-size: 20px;
- }
- @media(min-width:1200px){
- font-size: 24px;
- }
- }
- }
- ul {
- li {
- clear: fix;
- position: relative;
- margin-top: 20px;
- @media(min-width:768px){
- margin-top: 30px;
- }
- .type {
- background: #f86363;
- color: #fff;
- width: 44%;
- height: 200px;
- padding: 25px;
- padding-bottom: 0;
- text-align: center;
- float: left;
- @media(min-width:768px){
- float: none;
- position: absolute;
- top: 0;
- left: 0;
- width: 200px;
- height: 250px;
- padding: 25px;
- }
- @media(min-width:1200px){
- width: 268px;
- height: 300px;
- padding: 40px;
- }
- a{
- display: block;
- color: #fff;
- &:hover{
- img{
- transform: scale(.9);
- }
- .p-icon{
- margin-top: 10px;
- }
- }
- }
- .p-icon {
- position: relative;
- margin: 20px auto 20px;
- width: 40px;
- height: 40px;
- line-height: 40px;
- transition: all .5s ease;
- @media(min-width:768px){
- width: 60px;
- height: 60px;
- line-height: 60px;
- }
- @media(min-width:1200px){
- width: 80px;
- height: 80px;
- line-height: 80px;
- }
- img{
- width: 30px;
- height: 30px;
- z-index: 3;
- position: relative;
- transition: all .5s ease;
- @media(min-width:768px){
- width:40px;
- height: 40px;
- }
- @media(min-width:1200px){
- width: 60px;
- height: 60px;
- }
- }
- &:before {
- content: "";
- opacity: 1;
- transform: scale(1);
- display: block;
- position: absolute;
- z-index: 2;
- zoom: 1;
- transform: translateZ(1px);
- width: 38px;
- height: 38px;
- top: 1px;
- left: 1px;
- border-radius: 50%;
- box-shadow: 0 0 10px 10px #f86363;
- @media(min-width:768px){
- width: 58px;
- height: 58px;
- }
- @media(min-width:1200px){
- width: 78px;
- height: 78px;
- }
- }
- &:after {
- content: '';
- opacity: 1;
- transform: scale(1);
- display: block;
- position: absolute;
- z-index: 1;
- zoom: 1;
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- border-radius: 50%;
- box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.5);
- transition: all .3s ease-in-out;
- }
- }
- h2{
- padding: 14px 0;
- border-bottom: 1px solid #fff;
- font-size: 18px;
- @media(min-width:768px){
- padding: 20px 0;
- font-size: 26px;
- }
- @media(min-width:1200px){
- font-size: 36px;
- }
- @include ellipsis(auto);
- }
- span{
- display: inline-block;
- margin-top: 10px;
- font-size: 13px;
- @media(min-width:768px){
- margin-top: 10px;
- font-size: 15px;
- }
- @media(min-width:1200px){
- margin-top: 20px;
- font-size: 18px;
- }
- }
- }
- .items {
- clear: fix;
- width: 56%;
- float: left;
- @media(min-width:768px){
- float: none;
- width: auto;
- margin-left: 200px;
- }
- @media(min-width:1200px){
- margin-left:268px;
- }
- .item{
- width: 100%;
- @media(min-width:768px){
- width: 48.5%;
- }
- }
- .item.fr{
- display: none;
- @media(min-width:768px){
- display: block;
- }
- }
- a{
- position: relative;
- display: block;
- padding: 15px;
- height:200px;
- box-shadow: 0 0 10px 0px rgba(0, 0, 0, .1);
- border-top: 6px solid #fff;
- transition: all .5s ease;
- @media(min-width:768px){
- padding: 20px;
- height:250px;
- }
- @media(min-width:1200px){
- padding: 30px;
- height:300px;
- }
- &:hover{
- border-top: 6px solid $color;
- transform: translateY(-10px);
- }
- }
- h2{
- color: #111;
- line-height: 1.4;
- margin-bottom: 20px;
- font-size: 16px;
- @media(min-width:768px){
- font-size: 24px;
- }
- @media(min-width:1200px){
- font-size: 30px;
- }
- @include ellipsisLn(2);
- }
- p{
- color: #333;
- line-height: 1.4;
- font-size: 12px;
- @media(min-width:768px){
- font-size: 16px;
- }
- @include ellipsisLn(2);
- }
- span{
- position: absolute;
- bottom: 20px;
- right: 20px;
- color: $color;
- i{
- display: inline-block;
- vertical-align: middle;
- width: 13px;
- height: 13px;
- background: url("/assets/image/arrow-color.png") no-repeat center;
- }
- }
- }
- }
- }
- .more{
- margin: 30px auto 0;
- width: 180px;
- height: 40px;
- line-height: 40px;
- cursor: pointer;
- border: 1px solid #e0e0e0;
- color: #333;
- text-align: center;
- font-size: 14px;
- overflow: hidden;
- position: relative;
- z-index: 2;
- @media(min-width:768px){
- margin: 50px auto 0;
- width: 180px;
- height: 50px;
- line-height: 50px;
- font-size: 18px;
- }
- &:after {
- content: '';
- position: absolute;
- z-index: 1;
- transition: width 0.3s, opacity 0.3s;
- width: 0;
- height: 530px;
- top: 50%;
- left: 50%;
- opacity: 0;
- background: rgba(0, 0, 0, .1);
- transform: translate3d(-50%, -50%, 0) rotate(45deg);
- backface-visibility: hidden;
- }
- &:hover,&:active {
- &:after {
- width: 100%;
- opacity: 1;
- }
- }
- }
- }
- .ad{
- margin: 40px auto;
- @media(min-width:768px){
- margin: 60px auto;
- }
- @media(min-width:1200px){
- margin: 100px auto;
- }
- a{
- width: 100%;
- }
- img{
- width:100%;
- }
- }
- .product.other{
- padding-bottom: 20px;
- margin-bottom: 40px;
- @media(min-width:768px){
- padding-bottom: 50px;
- margin-bottom: 50px;
- }
- @media(min-width:1200px){
- margin-bottom: 100px;
- }
- ul{
- li{
- .type{
- background: #47a5ed;
- .p-icon{
- &:before{
- box-shadow: 0 0 10px 10px #47a5ed;
- }
- }
- }
- .items{
- a{
- &:hover{
- border-color: #47a5ed;
- }
- }
- }
- }
- }
- }
- .repository {
- @media(min-width:768px){
- background: linear-gradient(to right, #ffffff 50%, #eeeeee 50%, #eeeeee);
- }
- .list{
- background: #fff;
- padding-top: 20px;
- @media(min-width:768px){
- padding-top: 50px;
- }
- }
- .list-title{
- font-size: 24px;
- color: #111;
- border-bottom: 1px solid #eee;
- padding: 40px 0 20px;
- margin-bottom: 20px;
- @media(min-width:768px){
- margin-bottom: 20px;
- font-size: 36px;
- padding: 50px 0;
- margin-right: -15px;
- }
- @media(min-width:1200px){
- font-size: 44px;
- margin-bottom: 30px;
- }
- }
- .back-nav{
- color: $color;
- font-size: 14px;
- cursor: pointer;
- display: inline-block;
- @media(max-width:767px){
- margin-bottom: 30px;
- }
- i {
- display: inline-block;
- width: 30px;
- height: 10px;
- transition: all .5s ease;
- background: url("/assets/image/arrow-color-left.png") no-repeat center;
- }
- &:hover,
- &:active {
- i {
- background-position: center left;
- }
- }
- }
- .category{
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: #f8f8f8;
- z-index: 1010;
- padding: 30px;
- overflow: auto;
- background: #eee;
- transform: translateX(100%);
- transition: all .5s ease;
- -webkit-overflow-scrolling: touch;
- &.showIn{
- transform: translateX(0);
- }
- @media(min-width:768px){
- position: relative;
- top: auto;
- left: auto;
- right: auto;
- bottom: auto;
- transform: translateX(0);
- z-index: 1;
- }
- .total{
- padding: 50px 0 0 0;
- @media(min-width:768px){
- padding: 130px 0 0 0;
- }
- p{
- color: #111;
- font-family: "Publico-Headline-Medium";
- font-weight: lighter;
- margin-top: 5px;
- font-size: 24px;
- }
- }
- ul{
- margin:0 -15px;
- margin-top: 30px;
- @media(min-width:768px){
- margin-top: 65px;
- }
- li{
- margin: 15px 0;
- a{
- display: inline-block;
- color: #666;
- padding: 10px 30px;
- font-size: 16px;
- border-left: 2px solid #eee;
- transition: all .5s ease;
- @media(min-width:768px){
- font-size: 14px;
- }
- &:hover,&.active,&.cur{
- color: $color;
- border-color: $color;
- }
- }
- }
- }
- }
- }
- .product-list{
- margin: 0 auto 60px;
- @media(min-width:768px){
- margin: 0 auto 100px;
- }
- @media(min-width:1200px){
- margin: 0 auto 120px;
- }
- ul{
- margin-right: 0;
- @media(min-width:768px){
- margin-right: 30px;
- }
- li{
- margin-top:20px;
- @media(min-width:768px){
- margin-top:30px;
- }
- a{
- clear: fix;
- display: block;
- padding: 10px 10px 15px;
- box-shadow: 0 4px 30px -4px rgba(0, 0, 0, 0.2);
- transition: all .5s ease;
- border-top: 4px solid #fff;
- border-bottom: 4px solid #fff;
- @media(min-width:768px){
- padding: 10px;
- }
- &:hover,&:active{
- border-top: 4px solid $color;
- .img{
- img{
- transform: scale(1.05);
- }
- }
- }
- }
- .img{
-
- width:100%;
- height: px2vw(200);
- margin-right: 20px;
- border: 1px solid #ebecee;
- overflow: hidden;
- @media(min-width:768px){
- float:left;
- width:200px;
- height:150px;
- }
- @media(min-width:1200px){
- width:280px;
- height:200px;
- }
- img{
- width:100%;
- height:100%;
- transition: all .5s ease;
- }
- }
- .txt{
- padding-right: 20px;
- h2{
- color: #111;
- font-size: 18px;
- margin: 20px 0 10px;
- @media(min-width:768px){
- margin: 25px 0 20px;
- font-size: 24px;
- }
- @media(min-width:1200px){
- font-size: 28px;
- }
- @include ellipsis(auto);
- }
- p{
- color: #333;
- line-height: 1.8;
- font-size: 14px;
- @media(min-width:768px){
- font-size: 16px;
- }
- @include ellipsisLn(2);
- }
- }
- }
- }
- }
|