rv_web.scss 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151
  1. // <!-- -------------common----------------->
  2. $main-color: #727679;
  3. body {
  4. background-color: #FCFCFC;
  5. }
  6. h4,
  7. .h4 {
  8. font-weight: bold;
  9. color: #34404B;
  10. }
  11. .btn-outline-custom {
  12. color: #707070;
  13. border-color: #707070;
  14. }
  15. ul {
  16. display: block;
  17. list-style-type: none;
  18. margin-block-start: 0;
  19. margin-block-end: 0;
  20. margin-inline-start: 0;
  21. margin-inline-end: 0;
  22. padding-inline-start: 0;
  23. }
  24. a {
  25. color: $main-color;
  26. &:hover {
  27. color: #FFAC73;
  28. text-decoration: none;
  29. }
  30. }
  31. :focus {
  32. outline: -webkit-focus-ring-color auto 0;
  33. }
  34. shadow {
  35. box-shadow: 0 1px 10px #cecece;
  36. }
  37. .tel {
  38. color: #EE751B;
  39. font-size: 1.5rem;
  40. font-weight: bold;
  41. @media(max-width: 576px) {
  42. font-size: 1rem;
  43. }
  44. &:hover {
  45. color: #EE751B;
  46. }
  47. }
  48. .loading-move {
  49. animation-name: move;
  50. animation-duration: 2s;
  51. animation-delay: 0;
  52. animation-iteration-count: infinite;
  53. animation-direction: normal;
  54. animation-timing-function: linear;
  55. }
  56. @keyframes move {
  57. from {
  58. transform: rotate(0deg);
  59. }
  60. to {
  61. transform: rotate(360deg);
  62. }
  63. }
  64. .new {
  65. position: absolute;
  66. right: 0;
  67. top: 0;
  68. background-color: #FF0000;
  69. color: #fff;
  70. padding: 0.3rem 0.6rem;
  71. font-size: 0.625rem;
  72. }
  73. .className {
  74. position: absolute;
  75. left: 0;
  76. bottom: 0;
  77. background-color: #EE7800;
  78. color: #fff;
  79. padding: 0.3rem 0.6rem;
  80. font-size: 0.75rem;
  81. @media(max-width: 576px) {
  82. font-size: 0.9375rem;
  83. }
  84. }
  85. .gotop-btn-wrapper {
  86. z-index: 1031;
  87. }
  88. // 專欄文章內容頁文章限寬1120
  89. .container-width-column {
  90. max-width: 1120px;
  91. margin: 0 auto;
  92. }
  93. // 個案頁廣告限寬795
  94. .container-width-ad {
  95. max-width: 768px;
  96. }
  97. // CTA
  98. .formBtn {
  99. width: 47%;
  100. transition: all 300ms ease-in-out;
  101. @media(max-width: 576px) {
  102. width: 91%;
  103. }
  104. &--mr {
  105. margin-right: 2%;
  106. transition: all 300ms ease-in-out;
  107. @media(max-width: 576px) {
  108. margin-right: 0;
  109. }
  110. }
  111. .btn {
  112. padding: 1.2rem 0.75rem;
  113. }
  114. }
  115. // swiper
  116. .swiper-button-next,
  117. .swiper-button-prev {
  118. color: #FFF !important;
  119. }
  120. .swiper-pagination {
  121. position: unset;
  122. transform: translate3d(0, 5px, 0);
  123. color: $main-color;
  124. }
  125. .bg-ad {
  126. background-color: rgba(255, 255, 255, 0.7);
  127. }
  128. .bg-lightgray {
  129. background-color: #FCFCFC;
  130. }
  131. @mixin bgImage {
  132. background-repeat: no-repeat;
  133. background-size: cover;
  134. background-position: center center;
  135. }
  136. .divider {
  137. width: 100%;
  138. height: 1px;
  139. background-color: #AAAAAA;
  140. &--mg {
  141. margin: 0 0 2rem;
  142. }
  143. }
  144. // <!-- -----------------breadcrumb ------------------------>
  145. .breadcrumb {
  146. background-color: #FCFCFC;
  147. @media(max-width: 576px) {
  148. margin-bottom: 0;
  149. display: block;
  150. }
  151. li {
  152. @media(max-width: 576px) {
  153. display: inline;
  154. }
  155. }
  156. a {
  157. font-size: 0.75rem;
  158. }
  159. .breadcrumb-item.active {
  160. a {
  161. color: #AAAAAA;
  162. }
  163. }
  164. // SEO 優化
  165. h1 {
  166. font-size: 0.75rem;
  167. font-weight: 400;
  168. line-height: 2.3;
  169. margin-bottom: 0;
  170. @media(max-width: 576px) {
  171. display: inline;
  172. }
  173. }
  174. }
  175. // <!-- --------------------Case Swiper-------------------->
  176. .caseSlider {
  177. max-width: 1310px;
  178. margin: 0 auto;
  179. transition: all 300ms ease-in-out;
  180. @media(max-width: 576px) {
  181. max-width: 100%;
  182. }
  183. &__bgImg {
  184. height: 860px;
  185. background-repeat: no-repeat;
  186. background-size: 100% 100%;
  187. background-position: center;
  188. position: relative;
  189. transition: all 300ms ease-in-out;
  190. @media(max-width: 576px) {
  191. height: 250px;
  192. }
  193. &:hover {
  194. cursor: pointer;
  195. transition: all 300ms ease-in-out;
  196. img {
  197. transform: scale(1.2);
  198. transition: all 300ms ease-in-out;
  199. @media(max-width: 576px) {
  200. transform: scale(1);
  201. }
  202. }
  203. }
  204. // 桌機版
  205. img {
  206. position: absolute;
  207. right: 30px;
  208. bottom: 25px;
  209. width: 30px;
  210. height: 30px;
  211. transition: all 300ms ease-in-out;
  212. @media(max-width: 576px) {
  213. right: 10px;
  214. bottom: 10px;
  215. opacity: 1;
  216. }
  217. }
  218. }
  219. &__link {
  220. position: relative;
  221. display: flex;
  222. justify-content: center;
  223. align-items: center;
  224. max-width: 1310px;
  225. margin: 0 auto;
  226. background: #fff;
  227. min-height: 860px;
  228. transition: all 300ms ease-in-out;
  229. @media(max-width: 576px) {
  230. min-height: unset;
  231. }
  232. &:hover {
  233. cursor: pointer;
  234. }
  235. &--mx {
  236. max-width: 1120px;
  237. }
  238. }
  239. &__img {
  240. max-width: 100%;
  241. }
  242. picture {
  243. img {
  244. position: absolute;
  245. right: 10px;
  246. bottom: 10px;
  247. width: 30px;
  248. height: 30px;
  249. }
  250. }
  251. .morePhotoTip {
  252. position: absolute;
  253. color: #FFF;
  254. right: 75px;
  255. bottom: 50px;
  256. padding: 0.2rem 0.8rem;
  257. background-color: rgba(0, 0, 0, 0.45);
  258. transition: all 300ms ease-in-out;
  259. @media(max-width: 576px) {
  260. font-size: 0.9rem;
  261. right: 10px;
  262. bottom: 10px;
  263. }
  264. }
  265. }
  266. // <!-- -------------Info Board----------------->
  267. .info {
  268. margin: 0 0 1.8rem;
  269. transition: all 300ms ease-in-out;
  270. @media(max-width: 576px) {
  271. margin: 0 0 1rem;
  272. }
  273. &--shadow {
  274. box-shadow: 0 1px 10px #cecece;
  275. }
  276. &__items {
  277. font-size: 1.2rem;
  278. text-align: center;
  279. color: #34404B;
  280. font-weight: 800;
  281. padding: 0;
  282. min-height: 4.5rem;
  283. display: flex;
  284. justify-content: center;
  285. align-items: center;
  286. transition: all 300ms ease-in-out;
  287. @media(max-width: 576px) {
  288. font-size: 1rem;
  289. padding: 0.5rem;
  290. }
  291. &__title {
  292. color: #727679;
  293. font-weight: 400;
  294. font-size: 1rem;
  295. }
  296. &--ellipse {
  297. -webkit-box-orient: vertical;
  298. -moz-box-orient: vertical;
  299. box-orient: vertical;
  300. -webkit-line-clamp: 1;
  301. height: calc(19.2px * 1 *1.5);
  302. overflow: hidden;
  303. text-overflow: ellipsis;
  304. display: -webkit-box;
  305. transition: all 300ms ease-in-out;
  306. @media(max-width: 576px) {
  307. height: calc(16px * 1 *1.5);
  308. min-height: 0;
  309. padding: 0;
  310. }
  311. }
  312. > div {
  313. padding: 0 1rem;
  314. }
  315. }
  316. .container--padding {
  317. padding: 1.2rem 0;
  318. transition: all 300ms ease-in-out;
  319. @media(max-width: 576px) {
  320. padding: 0 1.875rem;
  321. }
  322. }
  323. &__option {
  324. display: flex;
  325. justify-content: center;
  326. align-items: center;
  327. min-height: 100%;
  328. }
  329. .mh {
  330. min-height: 75px;
  331. }
  332. .border-below {
  333. border-bottom: 1px solid #cecece;
  334. }
  335. .small {
  336. color: #727679;
  337. font-size: 80%;
  338. transform: scale(0.85);
  339. }
  340. .border-sidebar {
  341. position: relative;
  342. &::after {
  343. content: '';
  344. display: inline-block;
  345. width: 1px;
  346. height: calc(150px * 0.8); // 外層高度的80%
  347. background-color: #cecece;
  348. transform: translate3d(0, 0, 0);
  349. position: absolute;
  350. left: 100%;
  351. top: 12px;
  352. }
  353. }
  354. }
  355. // <!-- -----------------------內文 article------------------>
  356. .article {
  357. color: $main-color;
  358. &--style {
  359. background-color: #fff;
  360. box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  361. transition: height 300ms ease-in-out;
  362. @media(max-width: 576px) {
  363. background-color: transparent;
  364. box-shadow: unset;
  365. }
  366. }
  367. &__title {
  368. color: #34404B;
  369. font-size: 1.5rem;
  370. font-weight: bold;
  371. margin-bottom: 0.5rem;
  372. }
  373. &__contexts {
  374. font-size: 1.1rem;
  375. line-height: 1.8;
  376. height: 50px;
  377. overflow: hidden;
  378. transition: all 300ms ease-in-out;
  379. @media(max-width: 576px) {
  380. font-size: 1rem;
  381. }
  382. &.active {
  383. height: auto;
  384. overflow: visible;
  385. }
  386. // 專欄有使用
  387. img {
  388. max-width: 80%;
  389. margin: 0.5rem 0;
  390. transition: all 300ms ease-in-out;
  391. @media(max-width: 576px) {
  392. max-width: unset;
  393. width: 100%;
  394. height: auto;
  395. }
  396. }
  397. table {
  398. width: unset !important;
  399. transition: all 300ms ease-in-out;
  400. @media(max-width: 576px) {
  401. width: 100% !important;
  402. }
  403. }
  404. // 專欄有使用
  405. &__note {
  406. width: 99.5%;
  407. margin: 1.8rem auto;
  408. font-size: 1.125rem;
  409. padding: 1rem;
  410. border: 1px solid #727679;
  411. > div {
  412. word-wrap: break-word;
  413. word-break: break-all;
  414. }
  415. span {
  416. font-weight: bold;
  417. }
  418. }
  419. &--longHeight {
  420. height: auto;
  421. transition: height 300ms ease-in-out;
  422. @media(max-width: 576px) {
  423. height: auto;
  424. }
  425. }
  426. }
  427. &__wrapper {
  428. padding: 0.75rem 1rem;
  429. }
  430. &__wrapper__note {
  431. color: #AAA;
  432. }
  433. // h4 {
  434. // margin-bottom: 0;
  435. // }
  436. .small {
  437. padding: 0.5rem 0;
  438. font-size: 80%;
  439. }
  440. &__readMore {
  441. margin-left: auto;
  442. margin-right: auto;
  443. color: #FFAC73;
  444. text-align: center;
  445. font-size: 90%;
  446. padding: 0 0 1rem;
  447. transform: translateY(-20px);
  448. transition: all 300ms ease-in-out;
  449. @media(max-width: 576px) {
  450. width: 100%;
  451. margin: 0;
  452. }
  453. &:hover {
  454. cursor: pointer;
  455. }
  456. &::before {
  457. content: '';
  458. display: inline-block;
  459. background: linear-gradient(0deg,#FCFCFC 0%,rgba(255,255,255,0.454219) 100%);
  460. width: 100%;
  461. height: 25px;
  462. transition: all 300ms ease-in-out;
  463. }
  464. // 專欄有使用
  465. &--gradHight {
  466. transform: translateY(75px);
  467. transition: all 300ms ease-in-out;
  468. @media(max-width: 576px) {
  469. transform: translateY(-20px);
  470. }
  471. &::before {
  472. background: linear-gradient(0deg, rgba(252,252,252,0.9) 0%, rgba(255,255,255,0.9) 28%, rgba(255,255,255,0.5) 66%, rgba(255,255,255,0) 100%);
  473. position: absolute;
  474. bottom: 75px;
  475. left: 0;
  476. height: 340%;
  477. @media(max-width: 576px) {
  478. background: linear-gradient(0deg,#FCFCFC 0%,rgba(255,255,255,0.454219) 100%);
  479. position: unset;
  480. height: 25px;
  481. }
  482. }
  483. }
  484. &.active {
  485. display: none;
  486. &::before {
  487. background: unset;
  488. }
  489. }
  490. i {
  491. transition: all 300ms ease-in-out;
  492. &.is-rotate {
  493. transform: rotate(180deg);
  494. }
  495. }
  496. &__text {
  497. transition: all 300ms ease-in-out;
  498. &.is-open {
  499. height: 0;
  500. }
  501. }
  502. }
  503. }
  504. // 專欄手機版有使用
  505. @media(max-width: 576px) {
  506. .article__contexts * {
  507. max-width: calc(100vw - 32px) !important;
  508. height: auto !important;
  509. word-break: break-word;
  510. }
  511. .article__contexts iframe {
  512. min-height: calc(100vw / 16 * 9);
  513. }
  514. }
  515. // <!-- --------------社群媒體 social media---------------->
  516. .scMedia {
  517. padding: 1rem 0;
  518. &__block {
  519. width: 35%;
  520. margin-left: auto;
  521. margin-right: auto;
  522. transition: all 300ms ease-in-out;
  523. @media(max-width: 992px) {
  524. width: 50%;
  525. }
  526. @media(max-width: 768px) {
  527. width: 70%;
  528. }
  529. @media(max-width: 576px) {
  530. width: 100%;
  531. }
  532. &--noneStyle {
  533. width: unset;
  534. margin-left: unset;
  535. margin-right: unset;
  536. }
  537. }
  538. &__list {
  539. display: flex;
  540. justify-content: space-around;
  541. background-color: #FFF;
  542. box-shadow: 0 1px 10px #cecece;
  543. border-radius: 45px;
  544. padding: 1rem 2.8rem;
  545. transition: all 300ms ease-in-out;
  546. @media(max-width: 768px) {
  547. padding: 1rem 0.8rem;
  548. }
  549. @media(max-width: 576px) {
  550. box-shadow: none;
  551. border-radius: 0;
  552. padding: 0;
  553. background-color: #FCFCFC;
  554. }
  555. &--noneStyle {
  556. background-color: transparent;
  557. box-shadow: none;
  558. border-radius: 0;
  559. padding: 1rem;
  560. transition: all 300ms ease-in-out;
  561. @media(max-width: 576px) {
  562. padding: 0;
  563. }
  564. }
  565. }
  566. .like-o {
  567. display: block;
  568. &.active {
  569. display: none;
  570. }
  571. }
  572. .like {
  573. display: none;
  574. &.active {
  575. display: block;
  576. }
  577. }
  578. &__box {
  579. width: 100%;
  580. margin-left: auto;
  581. margin-right: auto;
  582. display: flex;
  583. justify-content: space-around;
  584. a {
  585. width: 16%;
  586. }
  587. }
  588. }
  589. // <!-- ------------------相關標籤 tag---------------------->
  590. .relTag {
  591. padding: 1rem 0;
  592. a {
  593. margin: 0 0 0.6rem 0.6rem;
  594. color: inherit;
  595. transition: all 300ms ease-in-out;
  596. &:hover {
  597. color: #FFAC73;
  598. border-color: #FFAC73;
  599. }
  600. }
  601. &__items {
  602. width: 100%;
  603. display: flex;
  604. &__title {
  605. width: 7%;
  606. transition: all 300ms ease-in-out;
  607. @media(max-width: 576px) {
  608. width: 30%;
  609. }
  610. }
  611. &__tags {
  612. width: 93%;
  613. transition: all 300ms ease-in-out;
  614. @media(max-width: 576px) {
  615. width: 70%;
  616. }
  617. }
  618. }
  619. }
  620. // <!-- --------------------CASE DATA----------------->
  621. .caseData {
  622. color: $main-color;
  623. padding: 0.5rem 0 0;
  624. margin-bottom: 3rem;
  625. &__infoBlock {
  626. position: relative;
  627. box-shadow: 0 1px 10px #cecece;
  628. padding: 1rem;
  629. transition: all 300ms ease-in-out;
  630. @media(max-width: 576px) {
  631. padding: 0;
  632. }
  633. }
  634. h4 {
  635. padding: 0.5rem;
  636. transition: all 300ms ease-in-out;
  637. @media(max-width: 576px) {
  638. padding: 1rem 0.5rem 0.5rem;
  639. }
  640. small {
  641. color: $main-color;
  642. font-size: 80%;
  643. transition: all 300ms ease-in-out;
  644. @media(max-width: 576px) {
  645. font-size: 60%;
  646. }
  647. }
  648. }
  649. &__vr {
  650. position: absolute;
  651. top: 15px;
  652. right: 15px;
  653. text-align: center;
  654. color: #EE751B;
  655. border: 1px solid #EE751B;
  656. border-radius: 0.25rem;
  657. line-height: 1;
  658. transition: all 300ms ease-in-out;
  659. @media(max-width: 576px) {
  660. top: 16px;
  661. right: 15px;
  662. }
  663. &:hover {
  664. cursor: pointer;
  665. }
  666. &__big {
  667. font-size: 265%;
  668. font-weight: bold;
  669. transition: all 300ms ease-in-out;
  670. @media(max-width: 576px) {
  671. font-size: 170%;
  672. }
  673. }
  674. &__text {
  675. &::before {
  676. content: '全景預覽';
  677. display: inline-block;
  678. transform: scale(0.8);
  679. @media(max-width: 576px) {
  680. transform: scale(0.6);
  681. }
  682. }
  683. }
  684. }
  685. &__infoItems {
  686. padding: 0.5rem;
  687. }
  688. &__infoItems__list {
  689. display: flex;
  690. &--lf {
  691. flex-basis: 15%;
  692. flex-grow: 0;
  693. max-width: 15%;
  694. display: flex;
  695. justify-content: start;
  696. align-items: start;
  697. transition: all 300ms ease-in-out;
  698. @media(max-width: 576px) {
  699. flex-basis: 25%;
  700. max-width: 25%;
  701. }
  702. @media(max-width: 321px) {
  703. flex-basis: 30%;
  704. max-width: 30%;
  705. }
  706. }
  707. &--rt {
  708. flex-basis: 80%;
  709. flex-grow: 0;
  710. max-width: 80%;
  711. justify-content: start;
  712. word-break: break-all;
  713. transition: all 300ms ease-in-out;
  714. @media(max-width: 576px) {
  715. flex-basis: 70%;
  716. max-width: 70%;
  717. }
  718. }
  719. .small {
  720. color: #AAA;
  721. }
  722. }
  723. &__designerBlock {
  724. display: flex;
  725. box-shadow: 0 1px 10px #cecece;
  726. transition: all 300ms ease-in-out;
  727. @media(max-width: 576px) {
  728. justify-content: space-around;
  729. align-items: center;
  730. padding: 0;
  731. }
  732. ul {
  733. list-style-type: none;
  734. padding: 0.6rem;
  735. }
  736. &__designer {
  737. width: 50%;
  738. display: flex;
  739. flex-direction: column;
  740. transition: all 300ms ease-in-out;
  741. @media(max-width: 576px) {
  742. width: 60%;
  743. }
  744. &--pc {
  745. padding: 1rem 0.9rem;
  746. width: 50%;
  747. height: 100%;
  748. }
  749. &--above {
  750. height: 75%;
  751. }
  752. &--below {
  753. height: 25%;
  754. border-top: 1px solid #727679;
  755. }
  756. }
  757. &__avatar {
  758. width: 50%;
  759. transition: all 300ms ease-in-out;
  760. @media(max-width: 576px) {
  761. width: 40%;
  762. }
  763. &--img {
  764. height: 370px;
  765. background-repeat: no-repeat;
  766. background-size: contain;
  767. background-position: center;
  768. transition: all 300ms ease-in-out;
  769. @media(max-width: 1199px) {
  770. height: 100%;
  771. background-size: contain;
  772. }
  773. @media(max-width: 576px) {
  774. height: 190px;
  775. background-size: contain;
  776. }
  777. }
  778. }
  779. }
  780. }
  781. // <!-- ---------------------個案影片拍攝----------------------->
  782. .caseVideo {
  783. margin: 0 0 3rem;
  784. &__block {
  785. margin: 1rem 0 0;
  786. transition: all 300ms ease-in-out;
  787. @media(max-width: 576px) {
  788. margin: 0;
  789. }
  790. }
  791. &__bgImg {
  792. height: 406px;
  793. background-repeat: no-repeat;
  794. background-size: cover;
  795. background-position: center;
  796. position: relative;
  797. transition: all 300ms ease-in-out;
  798. @media(max-width: 576px) {
  799. height: 250px;
  800. }
  801. }
  802. &__play {
  803. position: absolute;
  804. top: 43%;
  805. left: 47%;
  806. width: 55px;
  807. transition: all 300ms ease-in-out;
  808. @media(max-width: 576px) {
  809. top: 43%;
  810. left: 45%;
  811. width: 55px;
  812. }
  813. }
  814. }
  815. // <!-- --------------------分類主選單--------------------->
  816. .mainSort {
  817. padding: 1rem 0;
  818. &__state {
  819. font-size: 1rem;
  820. padding: 0.6rem 1rem;
  821. transition: all 300ms ease-in-out;
  822. @media(max-width: 576px) {
  823. font-size: 0.875rem;
  824. padding: 0.6rem 0;
  825. }
  826. span {
  827. color: #EE751B;
  828. font-size: 1.25rem;
  829. font-weight: bold;
  830. transition: all 300ms ease-in-out;
  831. @media(max-width: 576px) {
  832. font-size: 0.875rem;
  833. }
  834. }
  835. }
  836. &__wrapper {
  837. display: flex;
  838. flex-wrap: wrap;
  839. justify-content: flex-start;
  840. padding: 0 1rem;
  841. transition: all 300ms ease-in-out;
  842. @media(max-width: 576px) {
  843. padding: 0;
  844. }
  845. &__item {
  846. width: 19%;
  847. margin: 0 1% 1rem 0;
  848. display: flex;
  849. justify-content: center;
  850. align-items: center;
  851. border: 1px solid transparent;
  852. box-shadow: 2px 3px 5px 2px #eee;
  853. transition: all 300ms ease-in-out;
  854. @media(max-width: 576px) {
  855. width: 23%;
  856. margin: 0 2% 0.5rem 0;
  857. }
  858. // 第4個以後出現margin
  859. &:nth-child(4n) {
  860. & ~ .mainSort__wrapper__item {
  861. margin: 0 1% 1rem 0;
  862. transition: all 300ms ease-in-out;
  863. @media(max-width: 576px) {
  864. margin: 0 2% 0.5rem 0;
  865. }
  866. &:hover,
  867. &:active,
  868. &.active {
  869. color: #EE751B;
  870. border: 1px solid #EE751B;
  871. }
  872. }
  873. }
  874. &:hover,
  875. &:active,
  876. &.active {
  877. color: #EE751B;
  878. border: 1px solid #EE751B;
  879. }
  880. }
  881. a:not([href]) {
  882. &:hover {
  883. color: #EE751B;
  884. text-decoration: none;
  885. }
  886. }
  887. }
  888. .btn {
  889. font-size: 1rem;
  890. padding: 0.875rem 0.55rem;
  891. border-radius: 0.25rem;
  892. transition: all 300ms ease-in-out;
  893. @media(max-width: 576px) {
  894. font-size: 0.875rem;
  895. border-radius: 0;
  896. padding: 0.575rem 0.55rem;
  897. }
  898. }
  899. }
  900. @media(max-width: 576px) {
  901. .mainSort__wrapper__item,
  902. .mainSort__wrapper__item:nth-child(4n) ~ .mainSort__wrapper__item {
  903. &:hover {
  904. color: inherit;
  905. border: 1px solid transparent;
  906. }
  907. }
  908. .mainSort__wrapper__item,
  909. .mainSort__wrapper__item:nth-child(4n) ~ .mainSort__wrapper__item {
  910. &:active,
  911. &.active {
  912. color: #EE751B;
  913. border: 1px solid #EE751B;
  914. }
  915. }
  916. }
  917. // <!-- --------------------分類次選單--------------------->
  918. .subSort {
  919. padding: 1rem 0;
  920. background-color: transparent;
  921. transition: all 300ms ease-in-out;
  922. @media(max-width: 576px) {
  923. background-color: #F4F4F4;
  924. }
  925. &__wrapper {
  926. display: flex;
  927. flex-wrap: wrap;
  928. justify-content: flex-start;
  929. align-content: space-around;
  930. padding: 1.45rem 0.5rem;
  931. margin: 0 1.7rem 0 1rem;
  932. border-radius: 5px;
  933. background-color: #F4F4F4;
  934. transition: all 300ms ease-in-out;
  935. @media(max-width: 576px) {
  936. padding: 0;
  937. margin: 0 0.1rem;
  938. }
  939. &__item {
  940. width: 20.5%;
  941. margin: 0 .5% 0.5rem 0;
  942. display: flex;
  943. justify-content: center;
  944. align-items: center;
  945. transition: all 300ms ease-in-out;
  946. @media(max-width: 576px) {
  947. width: 23%;
  948. margin: 0 2% 0.5rem 0;
  949. border-radius: 0;
  950. }
  951. // 第4個以後出現margin
  952. &:nth-child(4n) {
  953. & ~ .subSort__wrapper__item {
  954. margin: 0.7rem 4% 0 0;
  955. @media(max-width: 576px) {
  956. margin: .0 2% 0 0;
  957. }
  958. }
  959. }
  960. &:hover,
  961. &:active,
  962. &.active {
  963. color: #EE751B;
  964. }
  965. }
  966. &__itemPC {
  967. margin: 0.5rem 1rem;
  968. padding: 0.2rem;
  969. &:hover,
  970. &:active,
  971. &.active {
  972. color: #EE751B;
  973. }
  974. }
  975. }
  976. a {
  977. border: 1px solid #E0E0E0;
  978. }
  979. .btn {
  980. font-size: 0.875rem;
  981. padding: 0.275rem 0.175rem;
  982. }
  983. }
  984. // <!-- -------------------你可能想看---------------------->
  985. .likeSee {
  986. &__rule {
  987. margin: 0 0 1rem;
  988. }
  989. &__bgImg {
  990. height: 430px;
  991. background-repeat: no-repeat;
  992. background-size: cover;
  993. background-position: center;
  994. // transition: all 300ms ease-in-out;
  995. @media(max-width: 576px) {
  996. height: 217px;
  997. }
  998. }
  999. &__tag {
  1000. padding: 0.5rem 0;
  1001. &--item {
  1002. margin: 0 0.2rem 0 0;
  1003. &.active {
  1004. color: #EE751B;
  1005. }
  1006. }
  1007. }
  1008. &__state {
  1009. display: flex;
  1010. justify-content: space-between;
  1011. align-items: center;
  1012. a {
  1013. padding: 0 0.25rem;
  1014. &.active {
  1015. color: #EE751B;
  1016. }
  1017. }
  1018. &__filter--divider {
  1019. height: 12px;
  1020. display: inline-block;
  1021. border: 0.5px solid #9d9d9d;
  1022. }
  1023. &__filter--offset {
  1024. position: absolute;
  1025. right: 10px;
  1026. }
  1027. }
  1028. }
  1029. .card {
  1030. border: none;
  1031. font-size: 0.75rem;
  1032. }
  1033. .card-body {
  1034. padding: 0.5rem 0.5rem 0.5rem 0;
  1035. }
  1036. .card-img-top {
  1037. border-top-left-radius: 0;
  1038. border-top-right-radius: 0;
  1039. }
  1040. // 桌機版要中斷點、手機版中斷點拿掉
  1041. @media(max-width: 576px) {
  1042. .card-columns {
  1043. -webkit-column-count: 2;
  1044. column-count: 2;
  1045. column-gap: 13px;
  1046. }
  1047. .card-columns .card {
  1048. display: inline-block;
  1049. width: 98%;
  1050. }
  1051. }
  1052. // <!--------------------- AD --------------------------->
  1053. // .ad {
  1054. // position: fixed;
  1055. // z-index: 1025;
  1056. // bottom: 30px;
  1057. // display: none;
  1058. // @media(max-width: 576px) {
  1059. // display: none;
  1060. // }
  1061. // &__bgImg {
  1062. // height: 150px;
  1063. // background-repeat: no-repeat;
  1064. // background-size: cover;
  1065. // background-position: center;
  1066. // }
  1067. // }
  1068. .ad {
  1069. position: sticky;
  1070. z-index: 1025;
  1071. bottom: 30px;
  1072. display: none;
  1073. @media(max-width: 576px) {
  1074. display: none;
  1075. }
  1076. &__bgImg {
  1077. height: 80px;
  1078. background-repeat: no-repeat;
  1079. background-size: cover;
  1080. background-position: center;
  1081. }
  1082. }
  1083. // <!-- -----------最新|人氣- 卡片列表------------->
  1084. // 專欄、主題企劃、設計師個案最新有使用
  1085. .cardList {
  1086. margin: 1rem 0 0;
  1087. &__filter {
  1088. display: flex;
  1089. justify-content: flex-end;
  1090. align-items: center;
  1091. padding: 1rem 0.5rem;
  1092. a {
  1093. padding: 0 0.35rem;
  1094. &.active {
  1095. color: #EE751B;
  1096. }
  1097. }
  1098. &--divider {
  1099. height: 12px;
  1100. display: inline-block;
  1101. border: 0.5px solid #9d9d9d;
  1102. }
  1103. }
  1104. &__item {
  1105. box-shadow: 0 1px 10px #eee;
  1106. margin: 0 0 1.5rem;
  1107. &__bgImg {
  1108. height: 365px;
  1109. background-repeat: no-repeat;
  1110. background-size: 100%;
  1111. background-position: center;
  1112. position: relative;
  1113. @media(max-width: 576px) {
  1114. height: 215px;
  1115. }
  1116. }
  1117. &__content {
  1118. padding: 0.5rem 1rem;
  1119. }
  1120. &--title {
  1121. font-size: 1.125rem;
  1122. font-weight: bold;
  1123. margin: 0.5rem 0;
  1124. color: $main-color;
  1125. }
  1126. &--ellipse {
  1127. -webkit-box-orient: vertical;
  1128. -moz-box-orient: vertical;
  1129. box-orient: vertical;
  1130. -webkit-line-clamp: 2;
  1131. height: calc(18px * 1 *1.4);
  1132. overflow: hidden;
  1133. text-overflow: ellipsis;
  1134. display: -webkit-box;
  1135. transition: all 300ms ease-in-out;
  1136. @media(max-width: 576px) {
  1137. height: calc(18px * 2 *1.4);
  1138. }
  1139. }
  1140. p {
  1141. font-size: 0.75rem;
  1142. }
  1143. a {
  1144. color: #AAAAAA;
  1145. }
  1146. }
  1147. // <!-- 3欄式PC、2欄式mb version -->
  1148. &__items {
  1149. box-shadow: 0 1px 10px #eee;
  1150. margin: 0 0 1.5rem;
  1151. &__bgImg {
  1152. height: 293px;
  1153. background-repeat: no-repeat;
  1154. background-size: cover;
  1155. background-position: center;
  1156. position: relative;
  1157. @media(max-width: 576px) {
  1158. height: 215px;
  1159. }
  1160. @media(max-width: 321px) {
  1161. height: 193px;
  1162. }
  1163. &--theme {
  1164. @media(max-width: 576px) {
  1165. height: 145px;
  1166. }
  1167. @media(max-width: 321px) {
  1168. height: 125px;
  1169. }
  1170. }
  1171. &--center {
  1172. display: flex;
  1173. justify-content: center;
  1174. align-items: center;
  1175. }
  1176. img {
  1177. width: 50px;
  1178. height: 50px;
  1179. }
  1180. }
  1181. &__content {
  1182. padding: 0.5rem 1rem;
  1183. }
  1184. &--title {
  1185. font-size: 1.125rem;
  1186. font-weight: bold;
  1187. margin: 0.5rem 0;
  1188. color: $main-color;
  1189. }
  1190. &--title2 {
  1191. font-size: 1.125rem;
  1192. font-weight: bold;
  1193. margin: 0 0 0.5rem;
  1194. color: #43484C;
  1195. }
  1196. &--ellipse {
  1197. font-size: 1.125rem;
  1198. -webkit-box-orient: vertical;
  1199. -moz-box-orient: vertical;
  1200. box-orient: vertical;
  1201. -webkit-line-clamp: 2;
  1202. height: calc(18px * 2 *1.5);
  1203. overflow: hidden;
  1204. text-overflow: ellipsis;
  1205. display: -webkit-box;
  1206. transition: all 300ms ease-in-out;
  1207. @media(max-width: 576px) {
  1208. height: calc(18px * 2 *1.5);
  1209. }
  1210. }
  1211. &--ellipse2 {
  1212. font-size: 1.125rem;
  1213. -webkit-box-orient: vertical;
  1214. -moz-box-orient: vertical;
  1215. box-orient: vertical;
  1216. -webkit-line-clamp: 1;
  1217. height: calc(18px * 1 *1.5);
  1218. overflow: hidden;
  1219. text-overflow: ellipsis;
  1220. display: -webkit-box;
  1221. transition: all 300ms ease-in-out;
  1222. @media(max-width: 576px) {
  1223. height: calc(18px * 1 *1.5);
  1224. }
  1225. }
  1226. // 主題企劃使用
  1227. .themecontent {
  1228. color: $main-color;
  1229. font-size: 1rem;
  1230. margin-bottom: 0;
  1231. &--ellipse {
  1232. font-size: 1rem;
  1233. -webkit-box-orient: vertical;
  1234. -moz-box-orient: vertical;
  1235. box-orient: vertical;
  1236. -webkit-line-clamp: 3;
  1237. height: calc(16px * 3 *1.5);
  1238. overflow: hidden;
  1239. text-overflow: ellipsis;
  1240. display: -webkit-box;
  1241. }
  1242. }
  1243. }
  1244. }
  1245. // <!-- -------------------------------------主題企劃 Banner ---------------------------------------------->
  1246. .themeBanner {
  1247. &__imgBlock {
  1248. display: flex;
  1249. width: 100%;
  1250. &__item {
  1251. width: calc(100% / 3);
  1252. position: relative;
  1253. cursor: pointer;
  1254. transition: all 300ms ease-in-out;
  1255. &:hover {
  1256. .overlay {
  1257. opacity: 1;
  1258. }
  1259. }
  1260. }
  1261. a {
  1262. display: block;
  1263. }
  1264. img {
  1265. width: 100%;
  1266. max-width: 100%;
  1267. }
  1268. }
  1269. .overlay {
  1270. width: 100%;
  1271. height: 100%;
  1272. background: rgba(0, 0, 0, 0.5);
  1273. position: absolute;
  1274. top: 0;
  1275. left: 0;
  1276. opacity: 0;
  1277. display: flex;
  1278. justify-content: center;
  1279. align-items: center;
  1280. text-align: center;
  1281. p {
  1282. color: #FFF;
  1283. }
  1284. &__title {
  1285. font-weight: bold;
  1286. font-size: 1.125rem;
  1287. letter-spacing: 0.72px;
  1288. text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  1289. }
  1290. }
  1291. }
  1292. // <!-- -------------------------------------當月主題企劃---------------------------------------------->
  1293. .pd-0 {
  1294. @media(max-width: 576px) {
  1295. padding: 0;
  1296. }
  1297. }
  1298. .mg-0 {
  1299. @media(max-width: 576px) {
  1300. margin: 0;
  1301. }
  1302. }
  1303. .themeArea {
  1304. padding: 5.5rem 15px 0.5rem;
  1305. transition: all 300ms ease-in-out;
  1306. @media(max-width: 576px) {
  1307. padding: 0;
  1308. }
  1309. &__state {
  1310. position: sticky;
  1311. top: 100px;
  1312. padding: 0 0 0 15px;
  1313. transition: all 300ms ease-in-out;
  1314. @media(max-width: 576px) {
  1315. position: unset;
  1316. padding: 0;
  1317. }
  1318. &__img {
  1319. width: 100%;
  1320. }
  1321. &__caption {
  1322. padding: 1rem 0.5rem;
  1323. }
  1324. .title {
  1325. color: #4D4D4D;
  1326. display: flex;
  1327. justify-content: space-between;
  1328. align-items: flex-end;
  1329. }
  1330. h2 {
  1331. font-size: 2rem;
  1332. font-weight: bold;
  1333. transition: all 300ms ease-in-out;
  1334. @media(max-width: 576px) {
  1335. font-size: 1.375rem;
  1336. }
  1337. }
  1338. p {
  1339. color: #4D4D4D;
  1340. font-size: 1.125rem;
  1341. letter-spacing: 0.9px;
  1342. margin: 1rem 0;
  1343. transition: all 300ms ease-in-out;
  1344. @media(max-width: 576px) {
  1345. font-size: 1rem;
  1346. letter-spacing: 0.28px;
  1347. }
  1348. }
  1349. }
  1350. &__list {
  1351. .themeCard {
  1352. display: block;
  1353. &:hover {
  1354. .cardList__items--title2 {
  1355. color: #EE7800;
  1356. }
  1357. }
  1358. }
  1359. }
  1360. .capital {
  1361. color: #E0E0E0;
  1362. font-size: 3.75rem;
  1363. font-weight: bold;
  1364. letter-spacing: 2.4px;
  1365. margin-bottom: 0;
  1366. padding: 0 1.5rem;
  1367. transition: all 300ms ease-in-out;
  1368. @media(max-width: 576px) {
  1369. font-size: 2.5rem;
  1370. letter-spacing: 1.6px;
  1371. margin-bottom: -6px;
  1372. }
  1373. }
  1374. }
  1375. // 動態輪播圖(主題企劃有使用)
  1376. #themeBanner {
  1377. .swiper-scrollbar-block {
  1378. position: absolute;
  1379. left: 0;
  1380. width: 100%;
  1381. box-sizing: border-box;
  1382. display: flex;
  1383. padding: 0 15px;
  1384. margin: 5px 0;
  1385. z-index: 10;
  1386. }
  1387. .carouselPrimary-bullet {
  1388. position: relative;
  1389. width: 100%;
  1390. height: 4px;
  1391. margin: 0 5px;
  1392. background-color: rgba(0, 0, 0, 0.1);
  1393. flex: 1 1 auto;
  1394. }
  1395. .carouselPrimary-bullet:after {
  1396. content: "";
  1397. background: #EE7800;
  1398. position: absolute;
  1399. width: 0;
  1400. height: 100%;
  1401. left: 0;
  1402. top: 0;
  1403. }
  1404. .carouselPrimary-bullet--active:after {
  1405. width: 0;
  1406. animation-name: progress;
  1407. animation-duration: 4s;
  1408. animation-timing-function: linear;
  1409. }
  1410. }
  1411. @keyframes progress {
  1412. 0% {
  1413. width: 0;
  1414. }
  1415. 100% {
  1416. width: 100%;
  1417. }
  1418. }
  1419. // <!-- -----------------------------大 Banner-------------------------------------->
  1420. .banner {
  1421. // height: 50.2vh;
  1422. // overflow: hidden;
  1423. &--offset {
  1424. margin-top: calc(56px);//navbar 高度
  1425. }
  1426. &__bgImg {
  1427. height: 470px;
  1428. background-repeat: no-repeat;
  1429. background-size: cover;
  1430. background-position: center center;
  1431. // background-position-x: center;
  1432. transition: all 300ms ease-in-out;
  1433. // height: 180%;
  1434. // position: relative;
  1435. // top: -100%;
  1436. @media(max-width: 576px) {
  1437. height: 240px;
  1438. }
  1439. &--fixed {
  1440. background-attachment: fixed;
  1441. z-index: 1;
  1442. }
  1443. }
  1444. }
  1445. // <!-- -----------------------------設計師(PC-左:資訊欄/右: 4項選項)------------------->
  1446. .dBlock {
  1447. background-color: #FCFCFC;
  1448. padding: 1rem 30px 0.5rem;
  1449. transition: all 300ms ease-in-out;
  1450. @media(max-width: 576px) {
  1451. background-color: #F4F4F4;
  1452. padding: 1rem 15px 0.5rem;
  1453. position: relative;
  1454. }
  1455. }
  1456. .avatar {
  1457. width: 200px;
  1458. height: 200px;
  1459. border: 3px solid #FFF;
  1460. border-radius: 50%;
  1461. background-size: cover;
  1462. background-repeat: no-repeat;
  1463. transition: all 300ms ease-in-out;
  1464. @media(max-width: 576px) {
  1465. width: 188px;
  1466. height: 188px;
  1467. position: absolute;
  1468. top: -140px;
  1469. }
  1470. &--sm {
  1471. width: 42px;
  1472. height: 42px;
  1473. position: unset;
  1474. }
  1475. }
  1476. .infoCard {
  1477. color: #727679;
  1478. display: flex;
  1479. flex-direction: column;
  1480. justify-content: center;
  1481. align-items: center;
  1482. padding: 1rem;
  1483. background-color: rgba(244, 244, 244, 0.8);
  1484. transition: all 300ms ease-in-out;
  1485. @media(max-width: 576px) {
  1486. background-color: transparent;
  1487. padding: 0 1.5rem 0 0;
  1488. margin: 3rem 0 0;
  1489. }
  1490. &--offset {
  1491. transform: translateY(-150px);
  1492. transition: all 300ms ease-in-out;
  1493. @media(max-width: 576px) {
  1494. transform: translateY(-165px);
  1495. }
  1496. }
  1497. &--sticky {
  1498. position: sticky;
  1499. top: 350px;
  1500. z-index: 1010;
  1501. }
  1502. > ul {
  1503. line-height: 1.8;
  1504. transition: all 300ms ease-in-out;
  1505. @media(max-width: 576px) {
  1506. line-height: 2;
  1507. }
  1508. a {
  1509. &:hover {
  1510. color: #727679;
  1511. }
  1512. }
  1513. }
  1514. li {
  1515. margin: 0.3rem 0;
  1516. }
  1517. &__name {
  1518. color: #43484C;
  1519. line-height: 1.3;
  1520. font-size: 1.75rem;
  1521. font-weight: bold;
  1522. text-align: center;
  1523. transition: all 300ms ease-in-out;
  1524. @media(max-width: 576px) {
  1525. font-size: 1.25rem;
  1526. padding: 0 0.5rem;
  1527. width: 100%;
  1528. margin: 0 auto;
  1529. }
  1530. span {
  1531. font-size: 1.25rem;
  1532. transition: all 300ms ease-in-out;
  1533. @media(max-width: 576px) {
  1534. font-size: 1rem;
  1535. }
  1536. }
  1537. }
  1538. &__cmy {
  1539. font-size: 1.25rem;
  1540. text-align: center;
  1541. transition: all 300ms ease-in-out;
  1542. @media(max-width: 576px) {
  1543. font-size: 1.125rem;
  1544. padding: 0 0.5rem;
  1545. width: 100%;
  1546. margin: 0 auto;
  1547. }
  1548. }
  1549. &__approve {
  1550. color: #EE7800;
  1551. font-size: 1rem;
  1552. text-align: center;
  1553. transition: all 300ms ease-in-out;
  1554. @media(max-width: 576px) {
  1555. padding: 0 0.5rem;
  1556. width: 100%;
  1557. margin: 0 auto;
  1558. }
  1559. }
  1560. &__more {
  1561. color: #FFAC73;
  1562. text-align: center;
  1563. cursor: pointer;
  1564. &.is-hidden {
  1565. display: none;
  1566. }
  1567. }
  1568. &__otherInfo {
  1569. display: none;
  1570. width: 100%;
  1571. &.is-open {
  1572. display: block;
  1573. }
  1574. }
  1575. &__detail {
  1576. width: 100%;
  1577. aside {
  1578. display: flex;
  1579. line-height: 2;
  1580. }
  1581. &__l {
  1582. flex-basis: 30%;
  1583. flex-grow: 0;
  1584. max-width: 30%;
  1585. display: flex;
  1586. justify-content: flex-end;
  1587. align-items: flex-start;
  1588. transition: all 300ms ease-in-out;
  1589. @media(max-width: 1280px) {
  1590. flex-basis: 40%;
  1591. max-width: 40%;
  1592. }
  1593. @media(max-width: 576px) {
  1594. flex-basis: 35%;
  1595. max-width: 35%;
  1596. }
  1597. }
  1598. &__r {
  1599. flex-basis: 70%;
  1600. flex-grow: 0;
  1601. max-width: 70%;
  1602. justify-content: start;
  1603. word-break: break-all;
  1604. transition: all 300ms ease-in-out;
  1605. @media(max-width: 1280px) {
  1606. flex-basis: 60%;
  1607. max-width: 60%;
  1608. }
  1609. @media(max-width: 576px) {
  1610. flex-basis: 65%;
  1611. max-width: 65%;
  1612. }
  1613. a:hover, a:focus {
  1614. color: #EE7800 !important;
  1615. }
  1616. }
  1617. .title {
  1618. color: #AAAAAA;
  1619. font-size: 1.125rem;
  1620. font-weight: bold;
  1621. transform: translateX(-15px);
  1622. }
  1623. }
  1624. }
  1625. .listNav {
  1626. &--sticky {
  1627. @media(max-width: 576px) {
  1628. position: sticky;
  1629. top: 56px; // navbar 高度
  1630. width: 100%;
  1631. z-index: 1010;
  1632. }
  1633. }
  1634. ul {
  1635. @media(max-width: 576px) {
  1636. justify-content: space-around;
  1637. background-color: #fff;
  1638. }
  1639. li {
  1640. margin: 0 0.8rem;
  1641. transition: all 300ms ease-in-out;
  1642. @media(max-width: 576px) {
  1643. margin: 0;
  1644. width: 25%;
  1645. max-width: 25%;
  1646. }
  1647. }
  1648. a {
  1649. padding: 0.5rem 2.5rem;
  1650. transition: all 300ms ease-in-out;
  1651. @media(max-width: 576px) {
  1652. padding: 1rem 0.5rem;
  1653. text-align: center;
  1654. font-size: 1.125rem;
  1655. }
  1656. &.active {
  1657. color: #EE7800;
  1658. border-bottom: 2px solid #EE7800;
  1659. transition: all 300ms ease-in-out;
  1660. @media(max-width: 576px) {
  1661. border-bottom: 3px solid #EE7800;
  1662. }
  1663. }
  1664. }
  1665. }
  1666. }
  1667. #nav-collapse {
  1668. display: none;
  1669. }
  1670. .nav-collapse-fixed {
  1671. position: fixed;
  1672. top: 66px; // navbar 高度
  1673. z-index: 1010;
  1674. width: 100%;
  1675. }
  1676. .nav-collapse {
  1677. padding: 1rem 0;
  1678. background-color: #FCFCFC;
  1679. li {
  1680. margin: 0 2rem;
  1681. }
  1682. a {
  1683. padding: 0.5rem 2.5rem;
  1684. &.active {
  1685. color: #EE7800;
  1686. border-bottom: 2px solid #EE7800;
  1687. }
  1688. }
  1689. }
  1690. // 設計師頁面--影音
  1691. .dVideo {
  1692. padding: 1rem 0;
  1693. &__now {
  1694. &__bgImg {
  1695. height: 500px;
  1696. @include bgImage();
  1697. display: flex;
  1698. justify-content: center;
  1699. align-items: center;
  1700. img {
  1701. width: 100px;
  1702. height: 100px;
  1703. }
  1704. }
  1705. &__subtitle {
  1706. color: #43484C;
  1707. font-size: 1.5rem;
  1708. font-weight: bold;
  1709. &--ellipse {
  1710. -webkit-box-orient: vertical;
  1711. -moz-box-orient: vertical;
  1712. box-orient: vertical;
  1713. -webkit-line-clamp: 1;
  1714. height: calc(24px * 1 *1.5);
  1715. overflow: hidden;
  1716. text-overflow: ellipsis;
  1717. display: -webkit-box;
  1718. }
  1719. }
  1720. }
  1721. &__stay {
  1722. &__bgImg {
  1723. height: 130px;
  1724. @include bgImage();
  1725. display: flex;
  1726. justify-content: center;
  1727. align-items: center;
  1728. img {
  1729. width: 45px;
  1730. height: 45px;
  1731. }
  1732. }
  1733. &__item {
  1734. min-height: 100%;
  1735. display: flex;
  1736. flex-direction: column;
  1737. justify-content:flex-start;
  1738. }
  1739. &__subtitle {
  1740. color: #727679;
  1741. font-weight: bold;
  1742. font-size: 1rem;
  1743. &--ellipse {
  1744. font-size: 1rem;
  1745. -webkit-box-orient: vertical;
  1746. -moz-box-orient: vertical;
  1747. box-orient: vertical;
  1748. -webkit-line-clamp: 2;
  1749. height: calc(16px * 2 *1.5);
  1750. overflow: hidden;
  1751. text-overflow: ellipsis;
  1752. display: -webkit-box;
  1753. transition: all 300ms ease-in-out;
  1754. }
  1755. }
  1756. &__tag {
  1757. display: flex;
  1758. flex-wrap: wrap;
  1759. margin: 0.3rem 0 0 0;
  1760. }
  1761. }
  1762. &__mainTitle {
  1763. color: #AAAAAA;
  1764. font-size: 2rem;
  1765. }
  1766. }
  1767. // 設計師頁面--關於
  1768. .dAbout {
  1769. @media(max-width: 576px) {
  1770. padding: 2rem 0;
  1771. }
  1772. &__item {
  1773. margin: 0 0 2rem;
  1774. &__title {
  1775. color: #AAAAAA;
  1776. font-size: 2rem;
  1777. transition: all 300ms ease-in-out;
  1778. @media(max-width: 576px) {
  1779. font-size: 1.125rem;
  1780. }
  1781. }
  1782. &__content {
  1783. color: #43484C;
  1784. }
  1785. }
  1786. }
  1787. // 設計師頁面滾動帶出設計師資訊小區塊
  1788. .hintInfo {
  1789. display: flex;
  1790. justify-content: center;
  1791. align-items: center;
  1792. background-color: #FFF;
  1793. padding: 0.5rem 1rem;
  1794. &--sticky {
  1795. @media(max-width: 576px) {
  1796. position: sticky;
  1797. top: 56px; // navbar 高度
  1798. width: 100%;
  1799. z-index: 1010;
  1800. }
  1801. }
  1802. &__name {
  1803. color: #43484C;
  1804. font-size: 0.9375rem;
  1805. font-weight: bold;
  1806. &--ellipse {
  1807. -webkit-box-orient: vertical;
  1808. -moz-box-orient: vertical;
  1809. box-orient: vertical;
  1810. -webkit-line-clamp: 1;
  1811. height: calc(15px * 1 *1.5);
  1812. overflow: hidden;
  1813. text-overflow: ellipsis;
  1814. display: -webkit-box;
  1815. transition: all 300ms ease-in-out;
  1816. }
  1817. span {
  1818. font-size: 0.9rem;
  1819. }
  1820. }
  1821. &__cmy {
  1822. font-size: 0.875rem;
  1823. &--ellipse {
  1824. -webkit-box-orient: vertical;
  1825. -moz-box-orient: vertical;
  1826. box-orient: vertical;
  1827. -webkit-line-clamp: 1;
  1828. height: calc(14px * 1 *1.5);
  1829. overflow: hidden;
  1830. text-overflow: ellipsis;
  1831. display: -webkit-box;
  1832. transition: all 300ms ease-in-out;
  1833. }
  1834. }
  1835. &__seo {
  1836. font-size: 1rem;
  1837. text-align: center;
  1838. padding: 1rem;
  1839. transition: all 300ms ease-in-out;
  1840. @media(max-width: 576px) {
  1841. font-size: 1.125rem;
  1842. padding: 0 0.5rem;
  1843. width: 100%;
  1844. margin: 0 auto;
  1845. }
  1846. }
  1847. }
  1848. .hintInfo_listNav {
  1849. &--sticky {
  1850. position: sticky;
  1851. top: 56px; // navbar 高度
  1852. width: 100%;
  1853. z-index: 1010;
  1854. }
  1855. }
  1856. // 瀑布流-設計師最新 masonry
  1857. .grid:after {
  1858. content: '';
  1859. display: block;
  1860. clear: both;
  1861. }
  1862. /* ---- .grid-item ---- */
  1863. .grid-sizer,
  1864. .grid-item {
  1865. width: calc(100% / 3 * 1);
  1866. @media(max-width: 576px) {
  1867. width: calc(100% / 2 * 1);
  1868. }
  1869. }
  1870. .grid-item {
  1871. float: left;
  1872. padding: 0 5px;
  1873. .cardList__items__content {
  1874. background: #FFF;
  1875. }
  1876. @media(max-width: 576px) {
  1877. &.cardList__items {
  1878. margin: 0 0 0.5rem;
  1879. }
  1880. .cardList__items__content {
  1881. padding: 0.3rem 0.3rem;
  1882. background: #FFF;
  1883. }
  1884. .cardList__items--title {
  1885. margin: 0 0 0 0;
  1886. }
  1887. .cardList__items--ellipse {
  1888. -webkit-box-orient: vertical;
  1889. -moz-box-orient: vertical;
  1890. box-orient: vertical;
  1891. -webkit-line-clamp: 1;
  1892. height: calc(16px * 1 *1.5);
  1893. overflow: hidden;
  1894. text-overflow: ellipsis;
  1895. display: -webkit-box;
  1896. transition: all 300ms ease-in-out;
  1897. }
  1898. p {
  1899. margin-bottom: 0.5rem;
  1900. }
  1901. a {
  1902. font-size: 0.75rem;
  1903. }
  1904. }
  1905. }
  1906. .grid-item img {
  1907. display: block;
  1908. max-width: 100%;
  1909. }
  1910. .freeCall {
  1911. width: 100%;
  1912. text-align: center;
  1913. background: linear-gradient(180deg, rgba(244,244,244,0.9) 0%, rgba(244,244,244,0.9) 100%);
  1914. &--fixed {
  1915. position: fixed;
  1916. bottom: 57px;
  1917. z-index: 1011;
  1918. }
  1919. }