12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154 |
- :root {
- --main-color: #34404b;
- --sub-color: #ee751b;
- }
- // .top-block {
- // background-color: rgb(202, 202, 202);
- // transition-property: height;
- // transition-duration: 300ms;
- // .slick-next,
- // .slick-prev {
- // z-index: 1000;
- // }
- // .slick-next {
- // right: 15px;
- // }
- // .slick-prev {
- // left: 15px;
- // }
- // .slick-prev:before,
- // .slick-next:before {
- // display: none;
- // }
- // }
- .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 {
- margin-bottom: 1rem;
- 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, .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: .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: .6;
- font-size: 32px;
- transition: all .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;
- }
- }
- .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: 500;
- line-height: 22px;
- }
- h5 {
- padding: 0 10px;
- margin-bottom: 20px;
- font-size: 22px;
- font-weight: 500;
- color: var(--main-color);
- span {
- color: var(--sub-color);
- }
- }
- .describe {
- padding-top: 50px;
- margin: 25px 0;
- font-size: 32px;
- font-weight: 500;
- 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;
- }
- }
- .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: 500;
- text-align: center;
- color: #727272;
- background-color: #ededed;
- border-radius: 5px;
- transition: all .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%;
- }
- }
- }
- }
- .topic-content {
- .img-box {
- border-radius: 5px;
- overflow: hidden;
- }
- .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 {
- display: block;
- 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 .35s cubic-bezier(.4, .8, .74, 1) 0s, transform .35s cubic-bezier(.26, 1, .48, 1) 0s, -webkit-transform .35s cubic-bezier(.26, 1, .48, 1) 0s;
- }
- }
- }
- .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 {
- margin-bottom: 10px;
- padding: 3px 10px 5px;
- color: #ADADAD;
- border: 1px solid #ADADAD;
- border-radius: 5px;
- 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 .2s;
- @media (max-width: 1200px) {
- width: 9vw;
- }
- @media (max-width: 991px) {
- width: 22vw;
- }
- }
- }
- }
- .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;
- }
- }
- }
- }
- .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;
- }
- }
- }
- }
- .slide-img {
- display: block;
- overflow: hidden;
- img {
- transition: all .5s;
- }
- &:hover {
- img {
- transform: scale(1.1);
- }
- }
- }
- #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 .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;
- }
- }
- }
- .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 .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;
- .slide-img {
- height: 170px;
- display: block;
- box-shadow: 2px 2px 6px #00000029;
- border-radius: 5px;
- overflow: hidden;
- @media (max-width: 767px) {
- width: 155px;
- height: 140px;
- }
- img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- border-radius: 5px 5px 0 0;
- transition: all 0.5s;
- }
- }
- 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, .8);
- position: absolute;
- left: 0;
- right: 0;
- bottom: 0;
- 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: 500;
- }
- }
- }
- }
- }
- }
- .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 .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;
- }
- }
- .slider-close-btn {
- 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;
- }
- /* 手機版進度條 */
- .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;
- }
- }
- .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;
- }
- }
- }
- .sub-banner-content {
- .sub-banner-slider {
- img {
- width: 650px;
- margin: auto;
- padding: 0 10px;
- }
- .slick-prev:before,
- .slick-next:before {
- content: "" !important;
- }
- .slick-prev i,
- .slick-next i {
- display: none;
- opacity: 0.3;
- transition: all 0.3s;
- }
- .slick-prev i:hover,
- .slick-next i: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 .2s;
- &:hover {
- color: var(--sub-color) !important;
- }
- }
|