$horizontal: 480px; :root { --main-color: #34404b; --sub-color: #ee751b; } body { font-family: "Noto Sans TC", sans-serif; // font-family: "Helvetica Neue"; } .scrollable { overflow-x: hidden; } .unscrollable { height: 100vh; overflow: hidden; } .loading-item { background: #fff; position: fixed; height: 100vh; width: 100vw; z-index: 1000; top: 0; display: flex; justify-content: center; align-items: center; } .loading-hide { animation-name: fadeOut; animation-duration: 1s; opacity: 0; z-index: -1000; } @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } } .sec-00 { background-color: rgb(202, 202, 202); transition-property: height; transition-duration: 300ms; .slider-content { padding: 0.75rem 0; @media (max-width: 991px) { padding: 0; } } &__close { position: absolute; top: 0; right: 20px; width: 50px; height: 30px; background-color: hsla(0, 0%, 100%, 0.66); border-radius: 0 0 50px 50px; color: #888; border: none; outline: none; font-size: 11px; box-shadow: 0 0 10px rgba(32, 32, 32, 0.25); line-height: 12px; z-index: 3; } &.bannerClose { height: 0; overflow: hidden; transition-property: height; transition-duration: 300ms; } .container-fluid { background-color: rgb(202, 202, 202); // height: 295px; // @media (max-width: 1850px) { // height: 260px; // } // @media (max-width: 1550px) { // height: 230px; // } // @media (max-width: 1100px) { // height: 200px; // } } &__slider { margin: 0 auto; width: 100%; height: 100%; max-width: 1310px; padding-top: 20px; padding-bottom: 24px; @media (max-width: 1850px) { max-width: 1310px; } @media (max-width: 1550px) { max-width: 1310px; } @media (max-width: 576px) { max-width: 100%; height: auto; } .slide-item { width: 100%; height: 100%; max-width: 1310px; max-height: 300px; -o-object-fit: contain; object-fit: contain; height: 300px; cursor: pointer; @media (max-width: 576px) { max-width: 100%; height: auto; } } } .slick-next { @media (max-width: 576px) { right: 25px; } } .slick-prev { z-index: 100; @media (max-width: 576px) { left: 25px; } } .slick-prev:before, .slick-next:before { display: none; } &-bulletList { position: absolute; bottom: 10px; // left: calc(50% - 650px); width: 1300px; max-width: 100%; box-sizing: border-box; display: flex; z-index: 10; background-color: rgba(0, 0, 0, 0.1); @media (max-width: 991px) { bottom: 0; } } &-bullet { position: relative; width: 100%; height: 3px; background-color: rgba(0, 0, 0, 0.1); flex: 1 1 auto; opacity: 1; &::after { content: ""; background: #ee7800; position: absolute; width: 0; height: 100%; left: 0; top: 0; border-radius: 2px; } } .bullet-active::after { width: 0; -webkit-animation-name: progress; animation-name: progress; -webkit-animation-duration: 4s; animation-duration: 4s; -webkit-animation-timing-function: linear; animation-timing-function: linear; } } @keyframes progress { 0% { width: 0%; } 25% { width: 25%; } 50% { width: 50%; } 75% { width: 75%; } 100% { width: 100%; } } @-webkit-keyframes progress { 0% { width: 0%; } 25% { width: 25%; } 50% { width: 50%; } 75% { width: 75%; } 100% { width: 100%; } } @-webkit-keyframes slidein { 100% { height: 0px; } } @keyframes slidein { 100% { height: 0px; } } .navbar-main.sticky+.sec-02 { padding-top: 53.5px; } .sec-02 { &__slider { width: 100%; height: 100%; .slide-item { width: 100%; height: 74vh; background-position: center center; background-size: cover; background-repeat: no-repeat; cursor: pointer; } } .slick-prev:before, .slick-next:before { display: none; } .slick-prev { left: 15px; z-index: 3; } .slick-next { right: 15px; } } .sec-04 { background-color: #f4f4f4; padding: 4rem 1rem; .container { max-width: 950px; width: 70%; @media (max-width: 1100px) { width: 90%; } } .card { box-shadow: 1px 2px 8px 1px rgb(214, 214, 214); text-decoration: none; cursor: pointer; transition: all 0.6s; &-title { font-size: 1.4rem; line-height: 1.8rem; color: #4c4c4c; font-weight: 500; transition: all 2s; } &__imgfr { width: 100%; img { width: 100%; height: 100%; } } &:hover { transform: scale(1.05); } } } .sec-guessLike { .container { margin: 0 auto; padding: 2rem 2rem; max-width: 1050px; width: 70%; @media (max-width: 1100px) { width: 90%; padding: 0 1rem; } } &__titlebox { &-h2 { margin: 0 auto; font-size: 1.8rem; font-weight: 600; color: rgb(83, 83, 83); padding: 0.8rem 0; border-bottom: 6px solid #ee7800; display: inline-block; } } &__title { display: block; text-align: center; position: relative; font-size: 1.2rem; margin-bottom: 0.8rem; &::before, &::after { position: absolute; content: " "; width: 40%; height: 0rem; border-top: 1px solid black; top: 50%; } &::before { left: 0; } &::after { left: 60%; } } &__article { h5 { font-size: 1.1rem; } p { font-size: 14px; } } &__case { p { font-size: 1.1rem; font-weight: 500; } } &__card { width: 100%; overflow: hidden; height: 26vh; position: relative; background-position: center center; background-size: cover; background-repeat: no-repeat; &.special { height: 45vh; } &__img { width: 100%; transition: all 0.8s; } &__txt { position: absolute; bottom: 1rem; left: 3rem; color: white; z-index: 2; font-size: 600; text-shadow: 1px 1px 2px gray; } } &__video__play { position: absolute; width: 2.5rem; left: 50%; top: 50%; transform: translate(-50%, -50%); } } .sec-05 { border-top: 1px solid rgb(187, 187, 187); padding-bottom: 2rem; .container { margin: 0 auto; padding: 0 2rem; max-width: 1050px; width: 70%; @media (max-width: 1100px) { width: 90%; padding: 0 1rem; } } &__tabdiv { box-sizing: content-box; align-items: center; justify-content: space-between; .more { padding-bottom: 0.4rem; } .nav { &-item { position: relative; padding-right: 18px; padding-left: 18px; &::after { position: absolute; content: " "; width: 100%; height: 30%; left: 0; top: 35%; background-color: transparent; border-right: 1px solid rgb(179, 179, 179); z-index: -1; } &:nth-of-type(3)::after { display: none; } } &-item-link { color: black; font-weight: 500; font-size: 1.6rem; border: none; position: relative; padding: 1.5rem 0; outline: none; @media (max-width: 385px) { font-size: 1.1rem; } &:focus { outline: none !important; } &.active { color: #ee7800; } &::before { position: absolute; content: " "; width: 101%; height: 100%; left: -2px; top: 0px; background-color: transparent; border-top: 3px solid #ee7800; opacity: 0; } } } .nav-item-link.active::before { opacity: 1; } } .tab-pane { height: 100%; } &tab-content { height: 35vh; } .tabpar { &__card { margin: 3px; position: relative; font-size: 14px; cursor: pointer; &__imgfr { width: 100%; height: 25vh; position: relative; background-position: center center; background-size: cover; background-repeat: no-repeat; @media (max-width: 1100px) { height: 20vh; } } h5 { font-size: 1rem; } p { font-size: 0.95rem; font-weight: 300; color: gray; } &__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 2.5rem; } } } .slick-prev { top: 40%; left: -2rem; z-index: 2; } .slick-next { top: 40%; right: -2rem; z-index: 2; } .slick-prev:before, .slick-next:before { display: none; } } .sec-06 { padding: 2rem 0; .container { margin: 0 auto; padding: 1rem 2rem; max-width: 1050px; width: 70%; @media (max-width: 1100px) { width: 90%; padding: 0 1rem; } } &__title { h3 { display: inline-block; font-size: 1.6rem; padding-bottom: 0.5rem; border-bottom: 6px solid #ee7800; color: #535353; margin-bottom: 0; } } &__video { width: 100%; position: relative; &__imgfr { width: 100%; height: 34vh; background-position: center center; background-size: cover; background-repeat: no-repeat; @media (max-width: 1100px) { height: 25vh; } } &__play { position: absolute; left: 50%; top: 50%; width: 2.5rem; height: 2.5rem; z-index: 2; transform: translate(-50%, -50%); } } &__videotxt { width: 90%; margin: 0 auto; background-color: rgba(255, 255, 255, 0.842); box-shadow: 1px 1px 3px 1px rgba(196, 196, 196, 0.795); padding: 0.4rem 0.8rem; transform: translateY(-20%); font-weight: 600; font-size: 1.1rem; } &__btns { display: block; outline: none; border: none; padding: 0.4rem 1.2rem; width: 88%; margin: 0 auto; background-color: #ea068c; color: white; border-radius: 3px; box-shadow: 1px 1px 3px 1px rgba(196, 196, 196, 0.795); transition: all 0.4s; text-decoration: none; &:hover { transform: translate(2px, 2px); color: white; } &__txt { font-weight: 600; } &:nth-of-type(2), &:nth-of-type(3) { padding: 1rem 1.2rem; // #10506d; } } &__card { width: 100%; &:hover .sec-06__card__imgfr { transform: scale(1.1); } h5 { font-size: 1.1rem; margin-bottom: 0.3rem; } p { font-size: 0.9rem; } &__outer { width: 100%; height: 48vh; overflow: hidden; } &__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 2.5rem; } &__imgfr { width: 100%; height: 48vh; background-position: center center; background-size: cover; background-repeat: no-repeat; transition: all 0.5s; position: relative; } } .slick-prev { top: 40%; left: 0.5rem; z-index: 2; } .slick-next { top: 40%; right: 0.5rem; z-index: 2; } .slick-prev:before, .slick-next:before { display: none; } } // .sec-07 { // padding: 2rem 0; // .container { // margin:0 auto; // padding: .8rem 1.2rem; // max-width: 1050px; // width: 70%; // background-color: #F4F4F4; // @media (max-width: 1100px) { // width: 90%; // padding: 0 1rem; // } // } // &__slider { // height: 100%; // .slide-item { // height: 23vh; // background-position: center center; // background-size: contain; // background-repeat: no-repeat; // width: 100%; // margin: 0 5px; // cursor: pointer; // @media (max-width: 1100px) { // height: 18vh; // } // } // } // } .sec-08 { padding-bottom: 2.5rem; .container { margin: 0 auto; padding: 1rem 0rem; max-width: 1050px; width: 70%; @media (max-width: 1100px) { width: 90%; padding: 0 1rem; } } &__title { border-bottom: 6px solid #ee7800; color: #535353; h3 { font-size: 1.6rem; } } &__slider { width: 100%; cursor: pointer; } &__imgfr { width: 100%; height: 28vh; background-position: center center; background-size: cover; background-repeat: no-repeat; position: relative; @media (max-width: 1100px) { height: 20vh; } } &__card { h5 { font-size: 1rem; } p { font-size: 0.9rem; } } &__card__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 2.5rem; } &__cardtxt { font-size: 14px; padding-right: 0.6rem; } .slick-prev { top: 40%; left: -2rem; z-index: 2; } .slick-next { top: 40%; right: -2rem; z-index: 2; } .slick-prev:before, .slick-next:before { display: none; } } .sec-09 { background-color: #f4f4f4; .container { margin: 0 auto; padding: 2rem 0rem; max-width: 1050px; width: 70%; @media (max-width: 1100px) { width: 90%; padding: 0 1rem; } } &__imgfr { width: 100%; height: 25vh; background-position: center center; background-size: cover; background-repeat: no-repeat; position: relative; @media (max-width: 1100px) { height: 20vh; } } &__card { margin: 5px; text-align: center; cursor: pointer; p { font-size: 14px; margin-top: 0.5rem; } &__play { position: absolute; right: 0.6rem; bottom: 0.6rem; width: 2.5rem; } } &__title { border-bottom: 6px solid #ee7800; color: #535353; h3 { font-size: 1.6rem; } } .slick-prev { top: 40%; left: -2rem; z-index: 2; } .slick-next { top: 40%; right: -2rem; z-index: 2; } .slick-prev:before, .slick-next:before { display: none; } } .sec-10 { padding: 2.5rem 0; .container { max-width: 1000px; width: 70%; @media (max-width: 1100px) { width: 90%; padding: 0 1rem; } } &__titlebox { border-bottom: 1px solid rgb(75, 75, 75); display: flex; justify-content: center; &-h2 { margin: 0 auto; font-size: 1.8rem; font-weight: 600; color: rgb(83, 83, 83); padding: 0.8rem 0; border-bottom: 6px solid #ee7800; display: inline-block; } } &__card { cursor: pointer; h5 { font-size: 1rem; margin-bottom: 0.3rem; } p { font-size: 0.95rem; font-weight: 300; color: gray; } &-img { width: 100%; height: 25vh; background-position: center center; background-size: cover; background-repeat: no-repeat; position: relative; @media (max-width: 1100px) { height: 20vh; } } &__play { position: absolute; right: 1rem; bottom: 1rem; width: 2.5rem; height: 2.5rem; } } } .sec-11 { padding: 2.5rem 0; padding-top: 1rem; .container { max-width: 1000px; width: 70%; @media (max-width: 1100px) { width: 90%; padding: 0 1rem; } } &__titlebox { border-bottom: 1px solid rgb(75, 75, 75); display: flex; justify-content: center; &-h2 { margin: 0 auto; font-size: 1.8rem; font-weight: 600; color: rgb(83, 83, 83); padding: 0.8rem 0; border-bottom: 6px solid #ee7800; display: inline-block; } } &__card { cursor: pointer; h5 { font-size: 1rem; margin-bottom: 0.3rem; } p { font-size: 0.95rem; font-weight: 300; color: gray; } &-img { width: 100%; height: 25vh; background-position: center center; background-size: cover; background-repeat: no-repeat; position: relative; @media (max-width: 1100px) { height: 20vh; } } &__play { position: absolute; right: 1rem; bottom: 1rem; width: 2.5rem; height: 2.5rem; } } } .footer { padding: 2rem; background-color: #f4f4f4; box-shadow: 0px 0px 20px #00000033; h2 { text-align: center; margin: 100px auto 0; color: #707070; font-size: 16px; font-weight: 300; letter-spacing: 0.05rem; @media (max-width: 991px) { margin: 70px auto 50px; font-size: 14px; } } h4 { color: #797979; text-align: center; margin-bottom: 50px; @media (max-width: 991px) { text-align: left; margin-bottom: 20px; } } .about-list, .follow-list, .more-list { @media (max-width: 991px) { display: flex; justify-content: center; section { width: 300px; } } } .about-list { a { color: #707070; transition: all 0.3s; &:hover { opacity: 0.8; } } ul { padding: 0; letter-spacing: 0.05em; @media (max-width: 991px) { margin-bottom: 0; } li { margin: 5px 0; @media (max-width: 991px) { margin: 0; height: 30px; } span { color: #ea068c; } } } img { width: 20px; height: 20px; margin-right: 7px; } } .follow-list { img { width: 45px; height: 45px; transition: all 0.3s; @media (max-width: 1200px) { width: 40px; height: 40px; } } .media { display: flex; @media (max-width: 991px) { margin: 0 8px 10px 0; section { margin-bottom: 20px; } } a { display: block; margin: 0 5px; position: relative; @media (max-width: 1200px) { margin: 0 3px; } } .media-item.after { // display: none; position: absolute; top: 0; left: 0; opacity: 0; } } .fb-list { display: flex; margin-top: 30px; @media (max-width: 991px) { flex-direction: column; margin-top: 5px; } a { display: flex; align-items: center; padding-right: 10px; color: #797979; font-size: 0.9rem; transition: all 0.3s; @media (max-width: 1200px) { padding-right: 5px; font-size: 14px; } @media (max-width: 991px) { font-size: 15px; height: 30px; } &:hover { opacity: 0.8; } img { width: 20px; margin-right: 5px; @media (max-width: 1200px) { width: 18px; margin-right: 3px; } @media (max-width: 991px) { width: 20px; margin-right: 8px; } } } } } .follow-list, .more-list { padding: 0; overflow: hidden; position: relative; @media (max-width: 991px) { margin-top: 30px; padding-top: 30px; border-top: 1px solid #989898; } &::after { content: ""; height: 100%; display: block; width: 1px; background: #989898; position: absolute; top: 50px; @media (max-width: 991px) { display: none; } } } .more-list { ::placeholder { text-align: center; } a { display: inline-block; margin: 5px; padding-bottom: 2px; color: #797979; border-bottom: 1px solid; transition: all 0.3s; &:hover { opacity: 0.8; } } .input-focus { border-color: var(--sub-color) !important; button { background-color: var(--sub-color) !important; } } .input-error { border-color: #ff5252 !important; button { background-color: #ff5252 !important; } } .subscriber-item { width: 100%; max-width: 300px; margin: auto; display: flex; flex-direction: column; border: 2px solid #34404b; &:hover { border: 2px solid var(--sub-color); button { background-color: var(--sub-color); } } @media (max-width: 1200px) { max-width: 250px; } @media (max-width: 991px) { max-width: 300px; } input:focus { outline: none; } input, button { padding: 10px; border: none; } button { color: #fff; background-color: #34404b; transition: all 0.1s; // &:hover { // background-color: var(--sub-color); // } } .spinner-border { display: none; } .show { display: inline-block; } } .link { width: 230px; @media (max-width: 991px) { width: 310px; margin-left: -3px; } } } } /* 舊 */ // .footer { // background: #e9e9e9; // padding: 2.5rem 0; // .container { // @media (max-width: 1100px) { // width: 98%; // max-width: 950px; // } // } // &__block { // padding: 1rem 3rem; // border-left: 1px solid rgb(143, 143, 143); // @media (max-width: 1100px) { // padding: 1rem 1rem; // } // &-title { // font-size: 1.3rem; // margin-bottom: 1.5rem; // } // &-list { // padding-left: 0; // } // &:nth-of-type(1) { // border-left: none; // } // &:nth-of-type(2) { // padding: 1rem 4rem; // @media (max-width: 1100px) { // padding: 1rem 1rem; // } // } // &-socials { // padding-left: 0; // display: flex; // align-items: center; // justify-content: space-between; // img { // @media (max-width: 1100px) { // width: 30px; // } // } // } // .follows-fp { // text-decoration: none; // color: #696969; // font-size: 0.9rem; // display: flex; // align-items: center; // @media (max-width: 1100px) { // font-size: 0.8rem; // } // } // &-phone { // p { // display: inline; // @media (max-width: 900px) { // display: block; // } // } // p, // span { // font-size: 0.9rem; // } // .text-phone { // color: #ee7800; // text-decoration: none; // } // } // &-links { // display: flex; // align-items: center; // margin-top: 1rem; // justify-content: center; // &-grp { // padding: 0.3rem; // border-left: 1px solid rgb(185, 185, 185); // &:nth-of-type(1) { // border-left: none; // } // a { // display: block; // text-decoration: none; // color: #696969; // font-size: 0.9rem; // margin-bottom: 0.4rem; // @media (max-width: 1100px) { // font-size: 0.8rem; // } // } // } // } // &-subscribe { // width: 100%; // margin-top: 1rem; // .subscribeBar { // font-size: 0.8rem; // width: 70%; // margin-left: 7%; // @media (max-width: 900px) { // width: 75%; // margin-left: 3%; // font-size: 0.7rem; // } // } // .subscribeBtn { // width: 20%; // padding: 0.4rem 0.6rem; // padding-bottom: 9px; // border: none; // outline: none; // background-color: rgb(41, 41, 41); // color: white; // border-radius: 0 3px 3px 0; // margin-left: -0.4rem; // @media (max-width: 900px) { // margin-left: -0.3rem; // font-size: 0.8rem; // padding-top: 9px; // padding-bottom: 10px; // } // } // } // } // &__list-item { // display: flex; // align-items: center; // text-decoration: none; // margin-bottom: 0.5rem; // p { // color: #696969; // font-size: 0.9rem; // font-weight: 300; // } // } // &__list-icon { // width: 30px; // display: flex; // justify-content: center; // margin-right: 0.3rem; // } // .bottom-box { // padding: 1rem 0; // border-top: 1px solid rgb(185, 185, 185); // margin-top: 2.5rem; // } // } #videoModal .modal-content { background-color: transparent; border: none; width: fit-content; } #videoModal .modal-dialog { max-width: 700px; } .modal-content { letter-spacing: 1px; .fm-close { cursor: pointer; } } .more { &link { text-decoration: none; color: #ee7800; font-weight: 700; &:hover { color: #ee7800; } } } .fixed-btn { position: fixed; right: 15px; bottom: 2rem; .btn-gotop, .btn-login, .btn-favor { cursor: pointer; padding: 1.2rem 0.8rem; background-color: rgba(255, 255, 255, 0.897); display: flex; align-items: center; box-shadow: 1px 1px 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); -webkit-box-shadow: 1px 1px 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); -moz-box-shadow: 1px 1px 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); } } .sec-login { &-list { background-color: #f3f3f3; padding: 1rem; padding-bottom: 1.4rem; hr { background-color: #aaaaaa; } } &-btns { padding: 1rem; background-color: white; box-shadow: 0 0 15px 2px rgba(190, 190, 190, 0.61); } } #loginModal { .btn-close { position: absolute; right: -2rem; top: -2rem; } } #favorModal { .btn-close { position: absolute; right: -2rem; top: -2rem; } .sec-favor { &-title { color: #4c4c4c; font-size: 18px; } &-list { background-color: #f3f3f3; padding: 1rem; padding-bottom: 1.4rem; hr { background-color: #aaaaaa; } } &-form, &-checklist { .form-user { width: 50%; color: #707070; font-size: 16px; } .form-progressbar { width: 50%; display: flex; justify-content: space-between; li { width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 2px solid #d3d3d3; line-height: 1.4rem; display: flex; justify-content: center; position: relative; color: #d3d3d3; background-color: #f3f3f3; z-index: 2; &.active { border: 2px solid #ee7800; color: #ee7800; &::before { border-top: 2px solid #ee7800; } } &::before { position: absolute; content: " "; width: 4rem; height: 0; border-top: 2px dashed #d3d3d3; right: 100%; top: 50%; z-index: 1; } &:nth-of-type(1)::before { display: none; } } } .form-step { background-color: white; border-radius: 3px; padding: 1.5rem 1rem; padding-bottom: 1.5rem; box-shadow: 0 0 15px 2px rgba(190, 190, 190, 0.61); overflow: visible; .next { padding: 0.6rem 5rem; background-color: #ee7800; border-radius: 3px; color: white; border: none; outline: none; } } .form-step1 { display: block; } .form-step2 { display: none; } .form-step3 { display: none; position: relative; padding-bottom: 1.5rem; } input[type="checkbox"], input[type="radio"] { display: none; } .imgfr { background-position: center center; background-size: cover; background-repeat: no-repeat; width: 100%; height: 4.5rem; border-radius: 8px; border: 2px solid transparent; } h4 { color: #aaaaaa; font-size: 15px; font-weight: 400; } input[type="checkbox"]:checked+.fs-label-info .imgfr { border: 2px solid #ee7800; } input[type="checkbox"]:checked+.fs-label-chbox { border: 1px solid #ee7800; color: #ee7800; } input[type="radio"]:checked+.fs-label-chbox { border: 1px solid #ee7800; color: #ee7800; } .step3-block { margin-bottom: 1rem; &:nth-of-type(3) { margin-bottom: 0; } &-title { color: #aaaaaa; display: block; margin-bottom: 0.5rem; font-size: 1rem; } .radio { display: inline-block; padding: 0.25rem 0.7rem; margin-right: 0.4rem; border: 1px solid #707070; border-radius: 2rem; color: #797979; margin-bottom: 0.5rem; } } .skip { padding: 0.3rem 1rem; color: #aaaaaa; border: none; outline: none; background-color: transparent; } .btngrp { /* position: absolute; left: 50%; transform: translateX(-50%); bottom: -6rem; */ display: flex; flex-direction: column; align-items: center; .next { transform: translateY(0rem); } } } &-checklist .form-user { margin: 0 auto; text-align: center; margin-bottom: 1rem; } &-btns { padding: 1rem; background-color: white; box-shadow: 0 0 15px 2px rgba(190, 190, 190, 0.61); } } } .test { position: relative; .cover { width: 100%; position: absolute; left: 0; bottom: 0; display: block; background-color: white; height: 100%; &.slidein { //transform: translateX(0px); -webkit-animation: slidein 2s forwards; animation: slidein 2s forwards; } } } .title_back { display: block; position: relative; width: 10em; height: 1.75em; overflow: hidden; .title { position: absolute; left: 0; bottom: -1.75em; display: block; transition: all 1s; } } .test_content { opacity: 0; &.fadein { //transform: translateX(0px); -webkit-animation: fadein 2s forwards; animation: fadein 2s forwards; } } @-webkit-keyframes slidein { 100% { height: 0px; } } @keyframes slidein { 100% { height: 0px; } } @-webkit-keyframes fadein { 100% { opacity: 1; } } @keyframes fadein { 100% { opacity: 1; } } // 個案頁面 #hhh-cases { .article__readMore::before { content: ""; display: inline-block; background: -webkit-gradient(linear, left bottom, left top, from(#fcfcfc), to(rgba(255, 255, 255, 0.454219))); background: linear-gradient(0deg, #fcfcfc 0%, rgba(255, 255, 255, 0.454219) 100%); width: 100%; height: 25px; -webkit-transition: all 300ms ease-in-out; transition: all 300ms ease-in-out; } .article__contexts_cases { font-size: 1.1rem; line-height: 1.8; height: 50px; overflow: hidden; -webkit-transition: all 300ms ease-in-out; transition: all 300ms ease-in-out; color: #727679; // @media (max-width:576px) { // height: 50px; // } } .article__readMore { cursor: pointer; margin-left: auto; margin-right: auto; color: #ffac73; text-align: center; font-size: 90%; padding: 0 0 1rem; -webkit-transform: translateY(-20px); transform: translateY(-20px); -webkit-transition: all 300ms ease-in-out; transition: all 300ms ease-in-out; a { text-decoration: none; color: #ffac73; } } .img-wrapper-desktop { background-color: #6d6d6d; display: -webkit-box; display: -ms-flexbox; display: flex; width: 100%; height: 100%; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; margin: 0 auto; } .swiper-zoom-container-desktop { width: 100%; height: 100%; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; text-align: center; } .swiper-zoom-container-desktop img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; -o-object-fit: contain; object-fit: contain; } .swiper-zoom-container-sm-desktop { width: 50%; height: 70%; } .swiper-zoom-container-sm-desktop { width: 50%; height: 70%; } .slick-prev:before, .slick-next:before { display: none; } .modal-body { padding: 0 !important; } .case-slick-box { height: 100vh; // width: 100%; position: sticky; top: 15px; @media (max-width: 576px) { height: 60vh; position: static; } } .img-wrapper-desktopp { width: 95%; margin: 0 auto; height: 100%; } .CaseDetail-slick { height: 100vh; width: 95%; margin: 0 auto; @media (max-width: 576px) { height: 60vh; } .slick-slide { height: 100vh; @media (max-width: 576px) { height: 60vh; } } img { width: 100%; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; } } .breadcrumb { padding: 0.75rem 1rem; letter-spacing: 1px; @media (max-width: 576px) { margin-bottom: 0; display: block; } .breadcrumb-item+.breadcrumb-item::before { float: unset; padding-right: 0.2rem; color: #6c757d; content: var(--bs-breadcrumb-divider, "/"); } a { font-size: 0.75rem; color: #727679; text-decoration: none; } li { @media (max-width: 576px) { display: inline; } } .active { a { color: #aaaaaa; } } } .breadcrumb-item+.breadcrumb-item { padding-left: 0.2rem; } .h4 { font-weight: bold; color: #34404b; } .article { color: #727679; .small { padding: 0.5rem 0; font-size: 80%; } } .shadow-sm { box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.08) !important; } .container-width-column { max-width: 1120px; margin: 0 auto; } .article__wrapper { padding: 0.75rem 1rem; } .shadow { box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; } .cases-content { // height: 100vh; background: #fcfcfc; .caseSlider { background: #fff; max-width: 1310px; margin: 0 auto; padding: 100px; position: relative; @media (max-width: 576px) { padding: 0; } } .caseSlider .morePhotoTip { cursor: pointer; position: absolute; color: #fff; right: 120px; bottom: 120px; padding: 0.2rem 0.8rem; background-color: rgba(0, 0, 0, 0.45); -webkit-transition: all 300ms ease-in-out; transition: all 300ms ease-in-out; @media (max-width: 576px) { bottom: 10px; right: 10px; } } } .container--padding { padding: 1.2rem 0; } .info__items { font-size: 1.2rem; text-align: center; color: #34404b; font-weight: 800; min-height: 4.5rem; display: flex; justify-content: center; align-items: center; @media (max-width: 576px) { font-size: 1rem; } } .info__items__title { color: #727679; font-weight: 400; font-size: 1rem; } .case-scMedia__block { width: 35%; margin: 0 auto; @media (max-width: 576px) { width: 100%; } .case-scMedia__list { background-color: #fff; box-shadow: 0 1px 10px #cecece; border-radius: 45px; padding: 1rem 2.8rem; display: flex; justify-content: space-around; @media (max-width: 576px) { border-radius: 0px; box-shadow: none; padding: 0; } } } .relTag { padding: 1rem; a { margin: 0 0 0.6rem 0.6rem; transition: all 300ms ease-in-out; &:hover { color: #ffac73; border-color: #ffac73; } } } .relTag__items__title { width: 7%; } .relTag__items { width: 100%; display: flex; align-items: baseline; } .relTag__items__tags { width: 93%; } .btn-outline-custom { border-color: #707070; } .caseData { color: #727679; padding: 0.5rem 0 0; margin-bottom: 3rem; h4 { font-weight: bold; color: #34404b; padding: 0.5rem; @media (max-width: 576px) { padding: 1rem 0.5rem 0.5rem; } } .caseData__infoBlock { position: relative; box-shadow: 0 1px 10px #cecece; padding: 1rem; } .caseData__infoItems { padding: 0.5rem; } .caseData__infoItems__list { display: flex; } .caseData__infoItems__list--lf { justify-content: start; -webkit-box-align: start; display: flex; flex-grow: 0; max-width: 15%; flex-basis: 15%; -webkit-box-flex: 0; @media (max-width: 576px) { max-width: 25%; flex-basis: 25%; } } .caseData__infoItems__list--rt { flex-basis: 80%; flex-grow: 0; max-width: 80%; justify-content: start; word-break: break-all; @media (max-width: 576px) { flex-basis: 70%; max-width: 70%; } } a { text-decoration: none; background-color: transparent; color: #727679; } } .caseData__designerBlock { display: flex; box-shadow: 0 1px 10px #cecece; ul { list-style-type: none; padding: 0.6rem; } } .caseData__designerBlock__designer--pc { padding: 1rem 0.9rem; width: 50%; height: 370px; } .caseData__designerBlock__designer { @media (max-width: 576px) { width: 60%; } } .caseData__designerBlock__designer--above { height: 70%; } .caseData__designerBlock__designer--below { height: 25%; border-top: 1px solid #727679; } .caseData__designerBlock__avatar--img { height: 100%; background-size: contain; background-repeat: no-repeat; background-position: center; @media (max-width: 576px) { height: 190px; background-size: contain; } } .caseData__designerBlock__avatar { width: 50%; @media (max-width: 576px) { width: 40%; } } .tel { color: #ee751b !important; font-size: 1.5rem; font-weight: bold; @media (max-width: 576px) { font-size: 1rem; } } .likeSee__state { display: flex; -webkit-box-pack: justify; justify-content: space-between; -webkit-box-align: center; align-items: center; h4 { font-weight: bold; color: #34404b; } .likeSee__state__filter--divider { height: 12px; display: inline-block; border: 0.5px solid #9d9d9d; } a { color: #727679; text-decoration: none; transition: 0.3s; &:hover { color: #ee7800; } } .active { color: #ee751b; } } .card { border: none; font-size: 0.75rem; } .vue-waterfall { position: relative; a { color: #727679; text-decoration: none; background-color: transparent; font-size: 0.75rem; transition: all 300ms ease-in-out; &:hover { color: #ffac73; } } .card-body { padding: 0.5rem 0.5rem 0.5rem 0; } .likeSee__tag--item { margin: 0 0.2rem 0 0; text-decoration: none !important; color: #727679; transition: all 300ms ease-in-out; &:hover { color: #ffac73; } } } .likeSee__tag { padding: 0.5rem 0; } .likeSee__tag--item { margin: 0 0.2rem 0 0; text-decoration: none !important; color: #727679; transition: all 300ms ease-in-out; &:hover { color: #ffac73; } } .likeSee__state__filter--item { cursor: pointer; } .formBtn .btn { padding: 1.2rem 0.75rem; } .btn-primary { color: #fff; background-color: #ee7800; border-color: #ee7800; } .btn-block { display: block; width: 100%; } .container-width-ad { max-width: 768px; } .formBtn { width: 47%; @media (max-width: 576px) { margin-top: 15px; width: 100%; } } .ad__bgImg { height: 80px; background-repeat: no-repeat; background-size: cover; background-position: center; } .container-width-ad { max-width: 768px; margin-bottom: 30px; @media (max-width: 576px) { margin-bottom: 100px; } } // 彈出視窗 .contact-section-avatar { width: 75px; height: 100px; } .contact-section-company { font-weight: bold; font-size: 18px; color: #6d6d6d; text-decoration: none; height: calc(18px * 2 * 1.39); } .contact-section-detail-box { color: #6d6d6d; display: flex !important; .contact-section-detail-lf { flex-basis: 7%; flex-grow: 0; max-width: 7%; display: flex !important; -webkit-box-align: start; -webkit-box-flex: 0; } a { color: #6d6d6d; text-decoration: none; } } .loading-move { animation-name: move; animation-duration: 2s; animation-delay: 0; animation-iteration-count: infinite; animation-direction: normal; animation-timing-function: linear; } @keyframes move { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .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; a { color: #6d6d6d; text-decoration: none; } } .info-area-data-desktop, .info-area-other-case-desktop, .info-area-same-case-desktop, .info-area-contact-desktop { font-size: 16px; font-weight: bold; color: #6d6d6d; a { color: #6d6d6d; text-decoration: none; } } .divider { width: 100%; height: 1px; border-left: none; border-bottom: 1px solid #9c9c9c; margin: 10px 0; } .data-table-desktop { width: 100%; font-size: 14px; padding: 0.55rem 0; } .data-table-lf { -ms-flex-preferred-size: 18%; flex-basis: 18%; -webkit-box-flex: 0; flex-grow: 0; max-width: 25%; display: flex; -webkit-box-pack: start; justify-content: start; -webkit-box-align: start; align-items: start; } .contact-section-detail-desktop { font-size: 14px; } .contact-section-detail-lf { flex-basis: 7%; -webkit-box-flex: 0; flex-grow: 0; display: -webkit-box; display: flex; -webkit-box-align: start; align-items: start; max-width: 7%; } .info { margin: 0 0 1.8rem; -webkit-transition: all 300ms ease-in-out; transition: all 300ms ease-in-out; .info__option { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; min-height: 100%; } .info__items--ellipse { -webkit-box-orient: vertical; box-orient: vertical; -webkit-line-clamp: 1; line-break: after-white-space; height: calc(19.2px * 1 * 1.5); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-transition: all 300ms ease-in-out; transition: all 300ms ease-in-out; @media (max-width: 576px) { height: calc(16px * 1 * 1.5); min-height: 0; padding: 0; } } .border-sidebar { position: relative; } .border-sidebar::after { content: ""; display: inline-block; width: 1px; height: calc(150px * 0.8); background-color: #cecece; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); position: absolute; left: 100%; top: 12px; } .mh { min-height: 75px; } .border-below { border-bottom: 1px solid #cecece; } .container--padding { @media (max-width: 576px) { padding: 0 1.875rem; } } } .display-pc { @media (max-width: 576px) { display: none; } } .CaseInfo-pc { @media (max-width: 576px) { display: none; } } .info--shadow { -webkit-box-shadow: 0 1px 10px #cecece; box-shadow: 0 1px 10px #cecece; } } /* 舊版 */ .fixed_menu { height: 78px; position: fixed; z-index: 4; bottom: 0; left: 0; width: 100%; background-color: #fff; box-shadow: 0 3px 14px 2px rgba(0, 0, 0, 0.12); -webkit-box-shadow: 0 3px 14px 2px rgba(0, 0, 0, 0.12); -moz-box-shadow: 0 3px 14px 2px rgba(0, 0, 0, 0.12); //padding-bottom: 16px; @media (min-width: $horizontal) { height: 50px; } .row { @media (min-width: $horizontal) { height: 50px; } } &__box { @media (min-width: $horizontal) { width: 100%; height: 100%; } img { &:focus-visible { outline: none; } @media (min-width: $horizontal) { width: 100%; height: 100%; } } } } /* 新版 */ .footer-fix-block { height: 65px; padding: 5px 10px; position: fixed; z-index: 5; bottom: 0; left: 0; width: 100%; background-color: #fff; box-shadow: 0 3px 14px 2px rgba(0, 0, 0, 0.12); -webkit-box-shadow: 0 3px 14px 2px rgba(0, 0, 0, 0.12); -moz-box-shadow: 0 3px 14px 2px rgba(0, 0, 0, 0.12); .footer-fix-wrapper { a { display: flex; } img { margin: auto; max-width: 65px; } } } // 文章頁面 .article--style { background: #fff; box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); @media (max-width: 576px) { box-shadow: none; } } .article__title { color: #34404b; font-size: 1.5rem; font-weight: bold; margin-bottom: 0.5rem; } .article__contexts { font-size: 1.1rem; line-height: 1.8; @media (max-width: 576px) { max-width: calc(100vw - 32px); height: auto !important; word-break: break-word; } img { max-width: 80%; margin: 0.5rem 0; @media (max-width: 576px) { max-width: 100% !important; } } p { margin-bottom: 1rem !important; } a { text-decoration: none; } strong { font-weight: bolder; } } table { width: 100% !important; display: block; overflow-x: auto; white-space: nowrap; } iframe { width: 100%; max-width: 640px; } .cardList__items { box-shadow: 0 1px 10px #eee; margin: 0 0 1.5rem; img { width: 100%; height: 293px; object-fit: cover; } .cardList__items__content { padding: 0.5rem 1rem; } .cardList__items--title { font-size: 1.125rem; font-weight: bold; margin: 0.5rem 0; color: #727679; } .likeSee__tag--item { margin: 0 0.2rem 0 0; } a { font-size: 16px !important; } p { margin-bottom: 1rem !important; } } .article__contexts__note { width: 99.5%; margin: 1.8rem auto; font-size: 1.125rem; padding: 1rem; border: 1px solid #727679; p { margin-bottom: 1rem !important; } } .scMedia { width: 100%; max-width: 500px; margin: 0 auto; @media (max-width: 576px) { width: 100%; padding: 1rem 0; } .scMedia__list { background-color: #fff; box-shadow: 0 1px 10px #cecece; border-radius: 45px; padding: 1rem 2.8rem; display: flex; justify-content: space-around; @media (max-width: 576px) { border-radius: 0px; box-shadow: none; padding: 0; } a { display: inline-block; margin: 0 5px; } span { cursor: pointer; } } } .fixed-btn { position: fixed; right: 15px; bottom: 8rem; @media (min-width: $horizontal) { bottom: 5rem; } .btn-gotop { padding: 1.2rem 0.8rem; background-color: rgba(255, 255, 255, 0.897); display: flex; align-items: center; box-shadow: 1px 1px 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); -webkit-box-shadow: 1px 1px 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); -moz-box-shadow: 1px 1px 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); } } .sec-ads { padding: 2rem 0; background-color: #f4f4f4; .slick-prev { left: 15px; z-index: 100; } .slick-next { right: 15px; } .sec-slide-box { width: 85%; margin: 0 auto; } .container { margin: 0 auto; padding: 0.8rem 1.2rem; max-width: 1050px; width: 60%; @media (max-width: 1100px) { width: 90%; padding: 0 1rem; } } &__slider { height: 100%; .slide-item { height: 23vh; cursor: pointer; @media (max-width: 1100px) { height: 20vh; } } } } /* index Start */ .info-item { .logo-img { position: absolute; z-index: 10; top: 20px; left: 50px; @media (max-width: 991px) { left: 100px; } @media (max-width: 767px) { top: 5%; right: 0; left: -65%; } img { width: 100%; object-fit: contain; } .img-designer { height: 50px; @media (max-width: 767px) { height: 40px; } @media (max-width: 575px) { height: 26px; } } .img-renovation { height: 60px; } .img-glory { height: 70px; } .img-glory, .img-renovation { @media (max-width: 767px) { height: 60px; } @media (max-width: 575px) { height: 34px; margin-left: -4vw; } } } section { position: absolute; z-index: 10; bottom: 70px; left: 70px; color: #fff; text-shadow: 1px 1px 4px #333; @media (max-width: 991px) { left: 14%; bottom: 10%; } @media (max-width: 767px) { left: 6%; bottom: 6%; } h3 { font-size: 18px; @media (max-width: 767px) { display: none; } } div { display: flex; border: 1px solid #fff; @media (max-width: 767px) { flex-direction: column; } h2 { margin: auto; margin-left: 0; padding: 5px 30px; font-size: 26px; @media (max-width: 575px) { font-size: 18px; margin: 0; text-align: center; } } h2:first-child { padding-bottom: 8px; background-color: rgba(237, 237, 237, 0.3); } h2:last-child { font-size: 24px; @media (max-width: 575px) { font-size: 18px; } small { font-size: 16px; font-weight: 300; @media (max-width: 575px) { font-size: 14px; } } } } } } .banner-content { max-width: 100%; margin-top: 0.875rem; @media (max-width: 991px) { margin-top: 0; } img { width: 1300px; height: 535px; margin: 0 7px; object-fit: cover; @media (max-width: 1200px) { width: 100%; height: 400px; } @media (max-width: 991px) { height: 50vw; } @media (max-width: 767px) { height: 65vw; width: 93vw; } } .slick-next:before, .slick-prev:before { content: "" !important; } .slick-next { right: 160px; margin-left: auto; @media (max-width: 575px) { right: 20px; } } .slick-prev { left: -50px; margin-right: auto; @media (max-width: 575px) { left: 20px; } } .slick-next, .slick-prev { top: 5vw; z-index: 1000; i { opacity: 0.6; font-size: 32px; transition: all 0.3s; } &:hover { i { opacity: 1; // font-size: 36px; } } @media (max-width: 1200px) { top: 1vw; } i { padding: 200px 100px; } } .slick-dots { bottom: 10px; li { margin: 0; button:before { width: 10px; height: 10px; content: ""; opacity: 1; border: 1px solid #fff; border-radius: 100px; } } & .slick-active { button:before { color: #fff; background-color: #fff; } } } .banner-slider { img { filter: brightness(50%); } } .slick-now { img { filter: brightness(100%) !important; } } .slick-slide { position: relative; } } /* 手機版進度條 */ .progress { display: none; width: 50%; height: 3px; margin: 10px auto 0; border-radius: 10px; overflow: hidden; background-color: #f5f5f5; background-image: linear-gradient(to right, var(--sub-color), var(--sub-color)); background-repeat: no-repeat; background-size: 0 100%; transition: background-size 0.4s ease-in-out; @media (max-width: 575px) { display: block; } } .banner-content { .progress { width: 100% !important; } } .index-content { @media (max-width: 991px) { max-width: 100%; } * { letter-spacing: 0.05em; font-family: "Helvetica"; } .fas { font-family: Font Awesome\5 Free !important; } h3 { color: #727272; font-weight: bold; line-height: 22px; } h5 { padding: 0 10px; margin-bottom: 20px; font-size: 22px; font-weight: bold; color: var(--main-color); span { color: var(--sub-color); } } .describe { padding-top: 50px; margin: 25px 0; font-size: 32px; font-weight: bold; text-align: center; color: #34404b; line-height: 1.3em; border-top: 1px solid #989898; span { color: var(--sub-color); } @media (max-width: 991px) { padding-top: 1.3rem; } @media (max-width: 767px) { font-size: 25px; } } /* 手機版進度條 */ // .progress { // display: none; // width: 50%; // height: 3px; // margin: 10px auto 0; // border-radius: 10px; // overflow: hidden; // background-color: #f5f5f5; // background-image: linear-gradient(to right, var(--sub-color), var(--sub-color)); // background-repeat: no-repeat; // background-size: 0 100%; // transition: background-size 0.4s ease-in-out; // @media (max-width: 575px) { // display: block; // } // } .card-item { padding: 0 10px; margin-top: 1.3rem; a { height: 90px; display: flex; justify-content: center; align-items: center; font-size: 16px; font-weight: bold; text-align: center; color: #727272; background-color: #ededed; border-radius: 5px; transition: all 0.3s; line-height: 1.2rem; @media (max-width: 767px) { height: 60px; margin-bottom: 16px; } } } .top-card, .center-card { a { position: relative; overflow: hidden; span { position: absolute; display: block; width: 0px; height: 0px; border-radius: 100%; transition: width 0.4s ease-in-out, height 0.4s ease-in-out; transform: translate(-50%, -50%); z-index: -1; } &:hover { color: #fff; background-color: transparent !important; span { width: 225%; height: 500%; } } } } } .top-card { a { &:hover { text-shadow: 1px 2px 4px rgb(188 84 6); } span { // background-color: #f5d2b7; background-color: var(--sub-color); } } .bag-btn { color: var(--sub-color) !important; &:hover { color: #fff !important; section { img { transition: all 0.5s; &:last-child { opacity: 1; } } } } section { width: 20px; position: relative; img { width: 15px; top: -10px; left: -2px; position: absolute; &:first-child { filter: invert(46%) sepia(79%) saturate(779%) hue-rotate(350deg) brightness(98%) contrast(91%); } &:last-child { opacity: 0; filter: invert(100%) sepia(2%) saturate(0%) hue-rotate(21deg) brightness(107%) contrast(101%); } } } } } .center-card { a:hover { color: #fff; } div:nth-child(1), div:nth-child(2) { a { span { background-color: #ea068c; } } } div:nth-child(3) { a { span { background-color: #0f506d; } } } } .more-link { color: var(--sub-color); transition: all 0.2s; &:hover { color: var(--sub-color); opacity: 0.7; } img { width: 15px; transform: rotate(90deg); filter: invert(50%) sepia(97%) saturate(1293%) hue-rotate(348deg) brightness(95%) contrast(96%); } } .options-content { h3 { font-size: 16px; } .space-slider, .options-slider { .slick-list { padding-bottom: 5px; } .slick-slide { section { margin: 0 10px; border-radius: 0 0 5px 5px; span { height: 170px; display: block; box-shadow: 2px 2px 6px #00000029; border-radius: 5px; @media (max-width: 767px) { width: 155px; height: 140px; } // @media (max-width: 575px) { // width: 41vw; // } img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px 5px 0 0; } } a { position: relative; display: flex; height: 100%; &:hover { h3 { color: var(--sub-color); background-color: rgba(237, 237, 237, 0.9); } img { transform: scale(1.1); } } h3 { padding: 10px; text-align: center; color: var(--main-color); background-color: rgba(237, 237, 237, 0.8); position: absolute; left: 0; right: 0; bottom: -9px; border-radius: 0 0 5px 5px; strong { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; line-break: after-white-space; transition: all 0.2s; font-weight: 600; } } } } } } .space-slider { .slick-slide { section { span { @media (max-width: 767px) { width: 100%; } @media (max-width: 575px) { width: 41vw; } } } } } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; } } .options-content, .main-content { .slick-prev { left: -10px !important; } .slick-next { right: -12px !important; } .slick-prev, .slick-next { width: 35px; height: 35px; z-index: 100; box-shadow: 2px 2px 7px #979797; background: rgba(255, 255, 255, 0.3); border-radius: 100px; transition: all 0.3s; &:hover { background: rgba(255, 255, 255, 0.8); } .fa-chevron-right, .fa-chevron-left { padding-top: 20px; color: #989898 !important; font-size: 15px !important; } .fa-chevron-right { padding-left: 4px; } &:before { content: "" !important; } } } .main-content { margin-bottom: 100px; h3 { font-size: 18px; line-height: 1.4em; letter-spacing: 0.05em; } } .slide-img { display: block; overflow: hidden; img { transition: all 0.5s; &:hover { transform: scale(1.1); } } } .img-scale { img { transition: all 0.5s; transform: scale(1.1); } } .ad-content { .ad-slider { img { width: 650px; margin: auto; padding: 0 10px; } .slick-prev, .slick-next { &:before { content: "" !important; } i { opacity: 0.3; transition: all 0.3s; &:hover { opacity: 0.8; } } } } } // 標題省略 .ellipsis-title { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; // 超過兩行則省略 -webkit-box-orient: vertical; line-break: after-white-space; transition: all 0.2s; &:hover { color: var(--sub-color) !important; } } .featured-content, .topic-content, .video-content { .slide-img { box-shadow: 2px 2px 6px #00000029; } } .video-content { .slide-img { a { display: block; position: relative; &:hover { .play-btn img { transform: scale(1.1); } } } .play-btn { position: absolute; z-index: 999; bottom: 0; right: 3px; img { width: 60px; height: 60px; } } } } .topic-content { .img-box { border-radius: 5px; } .slick-track { margin: 0; display: flex; justify-content: space-around; @media (max-width: 575px) { justify-content: start; } } } .designer-content { h3 { margin: 10px auto 5px; text-align: center; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; line-break: after-white-space; @media (max-width: 575px) { width: 160px; } } .name { margin-top: 5px; display: block; font-size: 16px; font-weight: normal; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-break: after-white-space; small { font-size: 12px; } } .slide-item { object-position: top; object-fit: contain; } .slick-slide { margin: 0 15px; } section { position: relative; .slide-img { margin: 0 auto 15px; height: 130px; width: 130px; border-radius: 100px; box-shadow: 0px 3px 6px #00000029; transition: 0.3s all ease-in; overflow: unset; a { display: block; // for safari position: relative; } img { height: 130px; width: 130px; object-fit: cover; border-radius: 100px; transform: scale(1) !important; &:hover { transform: scale(1) !important; } } &:hover { .img-border { opacity: 1 !important; } } .img-border { opacity: 0; display: block; border: 2px solid var(--sub-color); width: 140px; height: 140px; position: absolute; top: -5px; left: -5px; border-radius: 100px; z-index: 100; transition: opacity 0.35s cubic-bezier(0.4, 0.8, 0.74, 1) 0s, transform 0.35s cubic-bezier(0.26, 1, 0.48, 1) 0s, -webkit-transform 0.35s cubic-bezier(0.26, 1, 0.48, 1) 0s; } // &:hover { // border: 2px solid #fff; // outline: 2px solid var(--sub-color); // } } } .slick-track { padding-top: 20px; } } .topic-slider, .featured-slider, .popular-slider { section { padding: 0 10px; @media (max-width: 767px) { width: 100%; } @media (max-width: 575px) { width: 45vw; } @media (max-width: 414px) { width: 75vw; } } img { height: 185px; width: 100%; object-fit: cover; @media (max-width: 1400px) { height: 11vw; } @media (max-width: 991px) { height: 200px; } @media (max-width: 767px) { height: 145px; } @media (max-width: 575px) { height: 25vw; } @media (max-width: 414px) { height: 42vw; } } .title { // height: 50px; display: flex; align-items: flex-start; margin-top: 10px; } .tab-block { display: flex; flex-wrap: wrap; height: 30px; overflow: hidden; margin-top: 10px; a { display: inline-block; margin-right: 6px; &:hover { h4 { color: var(--sub-color); border: 1px solid var(--sub-color); } } h4 { color: #adadad; border: 1px solid #adadad; border-radius: 5px; padding: 4px 10px; font-size: 14px; font-weight: 400; } } } } .popular-slider { .slide-img { overflow: auto; a:first-child { display: block; overflow: hidden; border-radius: 5px; box-shadow: 2px 2px 6px #00000029; img { border-radius: 5px; } } } .designer-item { display: flex; align-items: center; margin: -20px 0 10px 10px; img { width: 80px; height: 80px; object-position: top; object-fit: cover; box-shadow: 0px 3px 6px #00000029; transform: scale(1) !important; } h2 { width: 12vw; font-size: 16px; margin: 10px 0 0 10px; color: #707070; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-break: after-white-space; // for safari transition: all 0.2s; @media (max-width: 1200px) { width: 9vw; } @media (max-width: 991px) { width: 22vw; } } } } .video-slider { section { margin: auto 10px; max-width: 300px; @media (max-width: 575px) { width: 43vw; } @media (max-width: 414px) { width: 70vw; } } .slide-img { border-radius: 5px; .slide-item { height: 170px; object-fit: cover; width: 100%; @media (max-width: 767px) { height: 135px; } @media (max-width: 414px) { height: 39.5vw; } } } } #youtubeModal { .modal-content { background-color: transparent; border: none; .modal-header { border-bottom: none; } .modal-title { padding: 0; font-size: 30px; font-weight: bold; color: #fff; } } .modal-body { padding: 10px 0; section { display: flex; justify-content: center; h2 { color: #fff; font-size: 20px; margin-top: 15px; border-bottom: 1px solid #fff; text-align: center; padding-bottom: 3px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; // 超過則省略 -webkit-box-orient: vertical; line-break: after-white-space; // for safari transition: all 0.2s; } } } .video-box { display: flex; margin: auto; position: relative; width: 80%; height: 0; padding-bottom: 45%; @media (max-width: 991px) { width: 100%; padding-bottom: 55%; } iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } } } .featured-slider { .slide-img { border-radius: 5px; } } .search-modal { .modal-dialog { @media (max-width: 991px) { max-width: 100%; } } .modal-content { border: none; background: transparent; .input-group { height: 50px; } } .form-control:focus { box-shadow: none; } .keyword-list { display: flex; align-items: center; padding: 0 20px; @media (max-width: 991px) { flex-direction: column; align-items: flex-start; } span { color: #fff; margin-right: 10px; } ul { margin: 0; padding: 0; display: flex; flex-wrap: wrap; color: #fff; li { margin: 5px 10px 5px 0; cursor: pointer; transition: all 0.3s; &:hover { opacity: 0.8; } @media (max-width: 991px) { border-bottom: 1px solid #fff; } } } } } .modal-backdrop.show { opacity: 0.7 !important; } #adModal { .modal-header { position: absolute; z-index: 1; right: 0; border: none; } .btn-close { transition: all 0.3s; opacity: 1 !important; &:hover { opacity: 0.7 !important; } } } .mb-menu { display: flex; padding: 13px 0 8px; position: fixed; right: 0; left: 0; bottom: 0; z-index: 1000; transition: all 0.3s; background-color: #fff; box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2); a { display: flex; flex-direction: column; align-items: center; justify-content: center; h4 { margin: 5px auto 0; color: #34404b; font-size: 16px; } img { width: 20px; height: 20px; } } } .expand-btn { border: none; background-color: transparent; } /* index End */