123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335 |
- $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-desktop,
- .photos-desktop {
- position: relative;
- height: 100%;
- }
- .photos-desktop {
- margin: 0;
- padding: 0;
- font-family: $photos-main-family;
- }
- /* 照片輪播區塊 */
- .swiper-container.swiper-container-desktop{
- width: calc(100% - 480px) !important;
- height: 100% !important;
- margin-left: 0;
- margin-right: 0;
- transition: width 30ms ease-in-out;
- &.active{
- width: 100% !important;
- }
- }
- .swiper-wrapper.swiper-wrapper-desktop{
- width: 100%;
- height: 100% !important;
- }
- .img-wrapper-desktop{
- background-color: #6D6D6D;
- display: flex;
- width: 100%;
- height: 100%;
- justify-content: center;
- align-items: center;
- }
- .swiper-zoom-container-desktop{
- 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: contain;
- }
- }
- .swiper-zoom-container-sm-desktop{
- width: 50%;
- height: 70%;
- }
- .swiper-button-next.swiper-button-next-desktop{
- right: 0px;
- }
- .swiper-button-prev.swiper-button-prev-desktop{
- left: 0px;
- }
- .swiper-button-prev.swiper-button-prev-desktop, .swiper-button-next.swiper-button-next-desktop{
- top: 50% !important;
- width: 8%;
- }
- .swiper-button-prev.swiper-button-prev-desktop:after{
- content:'';
- width: 50px;
- height: 180px;
- background: url("../images/section/icon/photos/LEFT-2.svg") no-repeat ;
- background-position: center;
- display: inline-block;
- color: transparent;
- }
- .swiper-button-next.swiper-button-next-desktop:after{
- content:'';
- width: 50px;
- height: 180px;
- background: url("../images/section/icon/photos/RIGHT-2.svg") no-repeat ;
- background-position: center;
- display: inline-block;
- color: transparent;
- }
- .icon-wrapper-desktop{
- width: 50px;
- position: absolute;
- bottom: 5%;
- right: 2%;
- z-index: 99;
- flex-direction: column;
- display: flex;
- justify-content: flex-end;
- align-items: flex-end;
- }
- .icon-share-box{
- height: 50px;
- }
- .icon-share-box:hover .icon-media-box{
- display: block;
- }
- .icon-media-wrapper-desktop{
- // width: 10.45vw;
- width: 200px;
- // height: 20vh;
- height: 50px;
- position: absolute;
- // bottom: 14%;
- bottom: 177px;
- // right: 120%;
- right: 59px;
- z-index: 99;
- .icon-media-box{
- position: relative;
- padding: .3rem .3rem;
- 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);
- display: none;
- }
- }
- .icon-media-item{
- display: inline-block;
- width: 40px;
- height: 40px;
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center;
- }
- .icon-media-item-line{
- background-image: url(../../assets/images/section/icon/photos/share-LINE1.svg);
- &:hover, &:focus, &:active{
- cursor: pointer;
- background-image: url(../../assets/images/section/icon/photos/share-LINE2.svg);
- }
- }
- .icon-media-item-fb{
- background-image: url(../../assets/images/section/icon/photos/share-FB1.svg);
- // 解決 IE FB 圖被吃掉
- background-position-x: 62%;
- &:hover, &:focus, &:active{
- cursor: pointer;
- background-image: url(../../assets/images/section/icon/photos/share-FB2.svg);
- }
- }
- .icon-media-item-wechat{
- background-image: url(../../assets/images/section/icon/photos/share-wechat1.svg);
- &:hover, &:focus, &:active{
- cursor: pointer;
- background-image: url(../../assets/images/section/icon/photos/share-wechat2.svg);
- }
- }
- .icon-desktop {
- display: inline-block;
- width: 50px;
- height: 50px;
- 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-share{
- background-image: url(../../assets/images/section/icon/photos/share-1.svg);
- &:hover, &:focus, &:active{
- cursor: pointer;
-
- }
- }
- .icon-download{
- background-image: url(../../assets/images/section/icon/photos/download-1.svg);
- &:hover, &:focus, &:active{
- cursor: pointer;
- }
-
- }
- .icon-like{
- background-image: url(../../assets/images/section/icon/photos/like-1.svg);
- &:hover, &:focus, &:active{
- cursor: pointer;
- background-image: url(../../assets/images/section/icon/photos/like-2.svg);
- }
- &.icon-like-solid{
- background-image: url(../../assets/images/section/icon/photos/like-3.svg);
- }
- }
- .icon-zoom{
- background-image: url(../../assets/images/section/icon/photos/zoomin-1.svg);
- &:hover, &:focus, &:active{
- cursor: pointer;
- }
- &.active{
- background-image: url(../../assets/images/section/icon/photos/zoomout.svg);
- }
- }
- /* 資訊區塊 */
- .h-info-area{
- width: 480px;
- display: block;
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- padding: 1rem;
- overflow-y: scroll;
- &.active{
- display: none;
- }
- }
- .icon-close-wrapper-desktop{
- position: absolute;
- right: 4%;
- &:hover{
- cursor: pointer;
- }
- }
- .info-area-title-desktop{
- font-size: 18px;
- font-weight: bold;
- padding: 0.6rem 0 0.6rem 0.6rem;
- margin: 1.6rem 0 1rem 0;
- background-color: #EFEFEF;
- }
- .info-area-other-case-desktop, .info-area-same-case-desktop, .info-area-data-desktop, .info-area-contact-desktop{
- font-size: 16px;
- font-weight: bold;
- color: #6D6D6D;
- }
- .other-case-desktop-items, .same-case-desktop-items{
- width: 101%;
- }
- .data-table-desktop{
- width: 100%;
- font-size: 14px;
- padding: 0.55rem 0;
- .data-table-items{
- padding: .05rem 0;
- }
- .data-table-lf {
- flex-basis: 18%;
- flex-grow: 0;
- max-width: 25%;
- display: flex;
- justify-content: start;
- align-items: start;
- }
- .data-table-rt {
- flex-basis: 82%;
- flex-grow: 0;
- max-width: 75%;
- justify-content: start;
- word-break: break-all;
- }
- }
- .contact-section-desktop{
- a{
- &:hover, &:focus{
- text-decoration: none;
- }
- }
- .contact-section-detail-desktop{
- font-size: 14px;
- }
- }
- .contact-section-avatar{
- width: 75px;
- height: 100px;
- background-position: center;
- background-repeat: no-repeat;
- background-size: cover;
- }
- .contact-section-company{
- font-weight: bold;
- font-size: 18px;
- -webkit-box-orient: vertical;
- -moz-box-orient:vertical;
- box-orient:vertical;
- -webkit-line-clamp: 2;
- height: calc(18px * 2 *1.39);
- overflow:hidden;
- text-overflow:ellipsis;
- display: -webkit-box;
- }
- .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%;
- }
|