123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281 |
- $photos-main-family:'Microsoft JhengHei', Helvetica,Noto Sans TC,Roboto,Arial,sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
- .html-mobile, .photos-mobile {
- position: relative;
- height: 100%;
- }
- .photos-mobile {
- margin: 0;
- padding: 0;
- font-family: $photos-main-family;
- }
- /* 照片輪播區塊 */
- .swiper-container {
- width: 100% !important;
- height: 73% !important;
- z-index: unset !important;
- }
- .swiper-wrapper{
- position: relative;
- width: 100%;
- height: 85% !important;
- z-index: 1;
- display: flex;
- transition-property: transform;
- box-sizing: content-box;
- }
- .swiper-slide {
- flex-shrink: 0;
- width: 100%;
- height: 100%;
- position: relative;
- /* Center slide text vertically */
- display: -webkit-box;
- display: -ms-flexbox;
- display: -webkit-flex;
- display: flex;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- -webkit-align-items: center;
- align-items: center;
- }
- .img-wrapper{
- background-color: #6D6D6D;
- display: flex;
- width: 100%;
- height: 100%;
- justify-content: center;
- align-items: center;
- }
- .swiper-zoom-container{
- width: 100%;
- height: 100%;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-box-align: center;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- text-align: center;
- img{
- width: 100%;
- height: auto;
- max-width: 100%;
- max-height: 100%;
- object-fit: cover !important;
- }
- }
- .swiper-button-prev, .swiper-button-next{
- top: 45% !important;
- }
- .swiper-button-prev:after{
- content:'';
- width: 30px;
- height: 105px;
- background: url("../images/section/icon/photos/LEFT-1.svg") no-repeat ;
- background-position: center;
- display: inline-block;
- color: transparent;
- filter: drop-shadow(0 3px 5px #333);
- }
- .swiper-button-next:after{
- content:'';
- width: 30px;
- height: 105px;
- background: url("../images/section/icon/photos/RIGHT-1.svg") no-repeat ;
- background-position: center;
- display: inline-block;
- color: transparent;
- filter: drop-shadow(0 3px 5px #333);
- }
- .swiper-button-prev, .swiper-button-next{
- &:focus{
- outline: none;
- }
- }
- .icon-close-wrapper{
- position: absolute;
- z-index: 99;
- right: 3%;
- left: auto;
- top: 3%;
- svg{
- filter: drop-shadow(0 3px 5px #333);
- }
- }
- .icon-wrapper{
- display: flex;
- justify-content: center;
- width: 100%;
- position: absolute;
- bottom: 17%;
- z-index: 99;
- }
- .icon{
- display: inline-block;
- width: 40px;
- height: 40px;
- background-size: cover;
- box-shadow: 1px 3px 13px -2px rgba(0, 0, 0, 0.35);
- &:hover, &:focus, &:active{
- box-shadow: 5px 3px 1px -3px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
- }
- }
- .icon-media-wrapper{
- width: 100%;
- height: 80px;
- position: absolute;
- bottom: 20.5%;
- right: 0%;
- z-index: 99;
- opacity: 0;
- transition: opacity 300ms ease-in-out;
- .icon-media-box{
- width: 41%;
- padding: .5rem .5rem;
- margin-left: auto;
- margin-right: auto;
- }
- .close-btn{
- position: absolute;
- top: 3%;
- right: 12%;
- }
- }
- .icon-media-wrapper.active{
- opacity: 1;
- }
- .icon-share-m{
- background-image: url(../../assets/images/section/icon/photos/share-1.svg);
-
- }
- .icon-download-m{
- background-image: url(../../assets/images/section/icon/photos/download-1.svg);
-
- }
- .icon-like-m{
- background-image: url(../../assets/images/section/icon/photos/like-1.svg);
- &.icon-like-solid{
- background-image: url(../../assets/images/section/icon/photos/like-3.svg);
- }
- }
- /* 資訊區塊 */
- .divider{
- width: 100%;
- height: 1px;
- border-left: none;
- border-bottom: 1px solid #9c9c9c;
- margin: 10px 0;
- }
- .hmb-info-area{
- padding: 1rem;
- transform: translateY(-5%);
- }
- .info-area-title{
- font-size: 18px;
- font-weight: bold;
- }
- .info-area-other-case, .info-area-same-case, .info-area-data, .info-area-contact{
- font-size: 16px;
- font-weight: bold;
- color: #6D6D6D;
- }
- .info-area-other-case img, .info-area-same-case img{
- // width: 75px;
- width: 100%;
- height: 75px;
- }
- .data-table{
- width: 100%;
- font-size: 14px;
- padding: 0.55rem 0;
- .data-table-items{
- padding: .05rem 0;
- }
- .data-table-lf {
- flex-basis: 23%;
- flex-grow: 0;
- max-width: 25%;
- display: flex;
- justify-content: start;
- align-items: start;
- }
- .data-table-rt {
- flex-basis: 77%;
- flex-grow: 0;
- max-width: 75%;
- justify-content: start;
- word-break: break-all;
- }
- }
- .contact-section{
- a{
- &:hover, &:focus{
- text-decoration: none;
- }
- }
- .contact-section-avatar{
- width: 75px;
- height: 100px;
- background-position: center;
- background-repeat: no-repeat;
- background-size: cover;
- }
- span{
- font-size: 18px;
- font-weight: normal;
- }
- .contact-section-detail{
- font-size: 14px;
- }
- .contact-section-detail-lf{
- flex-basis: 7%;
- flex-grow: 0;
- display: flex;
- align-items: start;
- max-width: 7%;
- }
- .contact-section-detail-rt{
- flex-basis: 93%;
- flex-grow: 0;
- max-width: 93%;
- }
- }
|