request.scss 24 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415
  1. /* 裝修需求計算機 */
  2. /* request Start */
  3. .request-content {
  4. // display: none;
  5. background-color: #FAFAFA;
  6. .accordion-button:not(.collapsed) {
  7. font-weight: 500;
  8. color: #EE751B;
  9. background-color: #fff;
  10. &::after {
  11. filter: invert(68%) sepia(41%) saturate(6755%) hue-rotate(350deg) brightness(96%) contrast(93%);
  12. }
  13. }
  14. .accordion-button:focus {
  15. box-shadow: none;
  16. }
  17. .accordion-body {
  18. font-size: .8rem;
  19. line-height: 1.4rem;
  20. letter-spacing: 1px;
  21. font-weight: 500;
  22. }
  23. // 規格區塊
  24. .accordion.spec {
  25. h6 {
  26. padding-top: 1.5rem;
  27. margin-bottom: 1rem;
  28. border-top: 1px solid rgba(0, 0, 0, .125);
  29. &:first-child {
  30. padding-top: .5rem;
  31. border-top: none;
  32. }
  33. }
  34. }
  35. .ad-list {
  36. padding: 0 50px;
  37. @media (min-width: 767px) {
  38. position: fixed;
  39. bottom: 50px;
  40. }
  41. .img-item {
  42. display: flex;
  43. justify-content: center;
  44. max-width: 700px;
  45. margin: auto;
  46. @media (max-width: 1200px) {
  47. max-width: 400px;
  48. flex-direction: column;
  49. }
  50. a {
  51. padding-top: 15px;
  52. display: inline-block;
  53. border-top: 1px solid #fff;
  54. @media (max-width: 1200px) {
  55. border-top: none;
  56. }
  57. &:first-child {
  58. @media (max-width: 1200px) {
  59. border-top: 1px solid #fff;
  60. }
  61. }
  62. }
  63. }
  64. @media (max-width: 767px) {
  65. width: 100%;
  66. padding: 0;
  67. margin-top: 50px;
  68. }
  69. p {
  70. padding-bottom: 10px;
  71. text-align: center;
  72. @media (max-width: 767px) {
  73. padding-bottom: 15px;
  74. border-bottom: 1px solid #000;
  75. }
  76. }
  77. img {
  78. width: 100%;
  79. padding: 0 8px;
  80. box-shadow: 0px 3px 6px #00000029;
  81. @media (max-width: 767px) {
  82. padding: 0;
  83. }
  84. }
  85. }
  86. .main {
  87. position: relative;
  88. // width: 70%;
  89. // @media (max-width: 1400px) {
  90. // width: 60%;
  91. // }
  92. // @media (max-width: 1200px) {
  93. // width: 55%;
  94. // }
  95. // @media (max-width: 991px) {
  96. // width: 50%;
  97. // }
  98. // @media (max-width: 767px) {
  99. // width: 100%
  100. // }
  101. h2,
  102. h3 {
  103. font-weight: normal;
  104. }
  105. .info-block {
  106. height: 100%;
  107. padding: 100px 50px;
  108. display: flex;
  109. flex-direction: column;
  110. align-items: center;
  111. justify-content: space-between;
  112. position: absolute;
  113. left: 0;
  114. right: 0;
  115. z-index: 100;
  116. color: #fff;
  117. @media (max-width: 767px) {
  118. justify-content: center;
  119. }
  120. .headline {
  121. @media (min-width: 767px) {
  122. position: fixed;
  123. top: 100px;
  124. padding: 0 50px;
  125. }
  126. }
  127. h2 {
  128. font-size: 70px;
  129. font-weight: bold;
  130. @media (max-width: 1200px) {
  131. font-size: 38px;
  132. }
  133. @media (max-width: 575px) {
  134. font-size: 26px;
  135. line-height: 36px;
  136. }
  137. }
  138. h3 {
  139. font-size: 20px;
  140. margin-top: 30px;
  141. line-height: 30px;
  142. letter-spacing: 1px;
  143. @media (max-width: 767px) {
  144. font-size: 16px;
  145. }
  146. @media (max-width: 575px) {
  147. font-size: 14px;
  148. line-height: 24px;
  149. }
  150. }
  151. }
  152. .img-block {
  153. width: 70%;
  154. height: 100%;
  155. position: fixed;
  156. // position: relative;
  157. // display: inline-block;
  158. @media (max-width: 1400px) {
  159. width: 60%;
  160. }
  161. @media (max-width: 1200px) {
  162. width: 55%;
  163. }
  164. @media (max-width: 991px) {
  165. width: 50%;
  166. }
  167. @media (max-width: 767px) {
  168. width: 100%;
  169. position: unset;
  170. }
  171. /* 設置灰色遮罩 */
  172. &::before {
  173. content: "";
  174. position: absolute;
  175. top: 0;
  176. left: 0;
  177. width: 99.9%; // img-slider 33.3% x 3
  178. height: 100%;
  179. z-index: 1;
  180. background-color: rgba(0, 0, 0, 0.7);
  181. }
  182. .img-slider {
  183. width: 33.3%;
  184. height: 100vh;
  185. min-height: 100%;
  186. overflow: hidden;
  187. @media (max-width: 767px) {
  188. height: 50vh;
  189. }
  190. @media (max-width: 575px) {
  191. height: 40vh;
  192. }
  193. .img-slider-list {
  194. // height: 500px;
  195. position: relative;
  196. img {
  197. width: 100%;
  198. height: 330px;
  199. // height: 500px;
  200. object-fit: cover;
  201. @media (min-height: 1300px) {
  202. height: 38vh;
  203. }
  204. }
  205. }
  206. }
  207. }
  208. .logo {
  209. display: block;
  210. width: 100%;
  211. text-align: center;
  212. img {
  213. width: 100%;
  214. max-width: 300px;
  215. }
  216. }
  217. }
  218. .form-block {
  219. // width: 30%;
  220. padding: 2rem;
  221. margin-left: auto;
  222. border: none;
  223. background-color: #FAFAFA;
  224. @media (max-width: 1400px) {
  225. padding: 2rem 1rem;
  226. }
  227. // @media (max-width: 1200px) {
  228. // width: 45%;
  229. // }
  230. // @media (max-width: 991px) {
  231. // width: 50%;
  232. // padding: 2rem;
  233. // }
  234. // @media (max-width: 767px) {
  235. // width: 100%;
  236. // padding: 2rem 4rem;
  237. // }
  238. // @media (max-width: 575px) {
  239. // width: 100%;
  240. // padding: 2rem;
  241. // }
  242. .card {
  243. border: none;
  244. max-width: 365px;
  245. @media (max-width: 767px) {
  246. max-width: 435px;
  247. }
  248. .logo,
  249. .card-body {
  250. background-color: #FAFAFA;
  251. }
  252. // .logo {
  253. // display: flex;
  254. // justify-content: center;
  255. // img {
  256. // width: 100%;
  257. // max-width: 150px;
  258. // }
  259. // }
  260. }
  261. form {
  262. color: #34404B;
  263. ::placeholder {
  264. color: #d3d3d3;
  265. opacity: 1;
  266. /* Firefox */
  267. }
  268. .invalid-feedback {
  269. display: none;
  270. height: 0px;
  271. text-align: end;
  272. }
  273. .submit {
  274. padding: 10px;
  275. background-color: #EE751B;
  276. border: none;
  277. }
  278. .type-items {
  279. height: 70px;
  280. padding: 5px 10px;
  281. align-items: center;
  282. border: 1px solid #aaaaaa;
  283. border-radius: 5px;
  284. transition: all 0.3s;
  285. &:hover {
  286. border-color: #ee751b;
  287. }
  288. span {
  289. width: 100px;
  290. h4 {
  291. margin-bottom: 0;
  292. font-size: 18px;
  293. }
  294. p {
  295. margin-bottom: 0;
  296. font-size: 12px;
  297. color: #ee751b;
  298. }
  299. }
  300. small {
  301. max-width: 180px;
  302. display: inline-block;
  303. font-size: 12px;
  304. color: #959595;
  305. @media (max-width: 991px) {
  306. max-width: 150px;
  307. }
  308. @media (max-width: 767px) {
  309. max-width: 100%;
  310. }
  311. @media (max-width: 400px) {
  312. max-width: 140px;
  313. }
  314. }
  315. label,
  316. input {
  317. cursor: pointer;
  318. }
  319. input {
  320. margin: 0 5px;
  321. border: 2px solid white;
  322. box-shadow: 0 0 0 1px #EE751B;
  323. appearance: none;
  324. border-radius: 50%;
  325. width: 12px;
  326. height: 12px;
  327. background-color: #fff;
  328. transition: all ease-in 0.2s;
  329. @media (max-width: 991px) {
  330. width: 11px;
  331. height: 11px;
  332. }
  333. @media (max-width: 575px) {
  334. height: 10px;
  335. }
  336. }
  337. input:checked {
  338. background-color: #EE751B;
  339. }
  340. }
  341. .disclaimer {
  342. margin-top: 5px;
  343. font-size: 12px;
  344. text-align: center;
  345. a {
  346. color: #EE751B;
  347. text-decoration: underline;
  348. }
  349. }
  350. // 自訂 checkbox
  351. input[type="checkbox"] {
  352. position: relative;
  353. border-color: #000;
  354. cursor: pointer;
  355. &:focus {
  356. box-shadow: unset;
  357. }
  358. &:checked {
  359. background-color: white;
  360. &::before {
  361. content: "\2713"; // Unicode 編碼
  362. position: absolute;
  363. top: 50%;
  364. left: 50%;
  365. transform: translate(-50%, -50%);
  366. font-size: 14px;
  367. color: black;
  368. }
  369. }
  370. }
  371. }
  372. }
  373. // .square-footage {
  374. // position: relative;
  375. // p {
  376. // top: 40px;
  377. // right: 12px;
  378. // position: absolute;
  379. // }
  380. // }
  381. .loading-block {
  382. width: 100vw;
  383. height: 100vh;
  384. display: none;
  385. // display: flex;
  386. align-items: center;
  387. flex-direction: column;
  388. justify-content: center;
  389. background: #fff;
  390. position: fixed;
  391. top: 50%;
  392. left: 50%;
  393. transform: translate(-50%, -50%);
  394. z-index: 100;
  395. p {
  396. font-size: 16px;
  397. color: #EE751B;
  398. letter-spacing: 4.8px;
  399. }
  400. .spinner {
  401. /* Size and position */
  402. font-size: 100px;
  403. /* 1em */
  404. width: 1em;
  405. height: 1em;
  406. margin-bottom: 20px;
  407. position: relative;
  408. /* Styles */
  409. list-style: none;
  410. border-radius: 50%;
  411. border: 0.01em solid rgba(150, 150, 150, 0.2);
  412. /* Subtle white line circling the dots */
  413. li {
  414. width: 0.2em;
  415. height: 0.2em;
  416. position: absolute;
  417. border-radius: 50%;
  418. &:nth-child(1) {
  419. background: #EE751B;
  420. /* Blue */
  421. top: 0;
  422. left: 50%;
  423. margin-left: -0.1em;
  424. transform-origin: 50% 250%;
  425. animation: rota 1.13s linear infinite, opa 3.67s ease-in-out infinite alternate;
  426. }
  427. &:nth-child(2) {
  428. background: #FF505E;
  429. /* Red */
  430. top: 50%;
  431. right: 0;
  432. margin-top: -0.1em;
  433. transform-origin: -150% 50%;
  434. animation: rota 1.86s linear infinite, opa 4.29s ease-in-out infinite alternate;
  435. }
  436. &:nth-child(3) {
  437. background: #FFCD26;
  438. /* Yellow */
  439. bottom: 0;
  440. left: 50%;
  441. margin-left: -0.1em;
  442. transform-origin: 50% -150%;
  443. animation: rota 1.45s linear infinite, opa 5.12s ease-in-out infinite alternate;
  444. }
  445. &:nth-child(4) {
  446. background: #AAD647;
  447. /* Green */
  448. top: 50%;
  449. left: 0;
  450. margin-top: -0.1em;
  451. transform-origin: 250% 50%;
  452. animation: rota 1.72s linear infinite, opa 5.25s ease-in-out infinite alternate;
  453. }
  454. }
  455. }
  456. }
  457. @keyframes rota {
  458. to {
  459. transform: rotate(360deg);
  460. }
  461. }
  462. @keyframes opa {
  463. 12.0% {
  464. opacity: 0.8;
  465. }
  466. 19.5% {
  467. opacity: 0.88;
  468. }
  469. 37.2% {
  470. opacity: 0.64;
  471. }
  472. 40.5% {
  473. opacity: 0.52;
  474. }
  475. 52.7% {
  476. opacity: 0.69;
  477. }
  478. 60.2% {
  479. opacity: 0.6;
  480. }
  481. 66.6% {
  482. opacity: 0.52;
  483. }
  484. 70.0% {
  485. opacity: 0.63;
  486. }
  487. 79.9% {
  488. opacity: 0.6;
  489. }
  490. 84.2% {
  491. opacity: 0.75;
  492. }
  493. 91.0% {
  494. opacity: 0.87;
  495. }
  496. }
  497. }
  498. .request-content,
  499. .result-content {
  500. .logo {
  501. display: flex;
  502. justify-content: center;
  503. img {
  504. width: 100%;
  505. max-width: 150px;
  506. @media (max-width: 767px) {
  507. max-width: 110px;
  508. }
  509. }
  510. }
  511. }
  512. .result-content {
  513. // display: none;
  514. padding: 20px 0 50px;
  515. a {
  516. text-decoration: none;
  517. }
  518. p {
  519. margin-bottom: 0;
  520. }
  521. ul {
  522. list-style: none;
  523. padding: 0;
  524. }
  525. .logo {
  526. margin-bottom: 25px;
  527. }
  528. .line {
  529. position: relative;
  530. z-index: 100;
  531. padding: 25px 0;
  532. border-top: 1px solid #959595;
  533. border-bottom: 1px solid #959595;
  534. @media (max-width: 767px) {
  535. border-bottom: none;
  536. }
  537. }
  538. .bg-text {
  539. position: absolute;
  540. font-size: 20em;
  541. top: 20px;
  542. left: 0;
  543. color: #fff;
  544. @media (max-width: 767px) {
  545. display: none;
  546. }
  547. }
  548. .tab-list {
  549. margin: 0;
  550. padding: 0;
  551. // display: flex;
  552. display: none; // 只有全室裝修顯示
  553. justify-content: center;
  554. position: absolute;
  555. z-index: 1000;
  556. top: 15px;
  557. left: 0;
  558. right: 0;
  559. @media (max-width: 575px) {
  560. top: 10px;
  561. }
  562. li {
  563. margin: 0 20px;
  564. a {
  565. color: #959595;
  566. // color: #fff;
  567. }
  568. }
  569. #underline {
  570. position: absolute;
  571. bottom: -1px;
  572. left: 40px;
  573. width: 40px;
  574. height: 1px;
  575. z-index: 1000;
  576. background-color: #fff;
  577. transition: width 0.3s;
  578. }
  579. }
  580. .card-item {
  581. position: relative;
  582. width: 100%;
  583. height: 550px;
  584. background-image: url('../img/result-bg.png');
  585. background-size: auto;
  586. background-position: center;
  587. background-repeat: no-repeat;
  588. border-radius: 20px;
  589. @media (max-width: 991px) {
  590. height: 690px;
  591. }
  592. @media (max-width: 575px) {
  593. height: 800px;
  594. }
  595. &::before {
  596. content: "";
  597. position: absolute;
  598. top: 0;
  599. left: 0;
  600. width: 100%;
  601. height: 100%;
  602. border-radius: 20px;
  603. background-color: rgba(5, 13, 21, 0.8); // 遮罩
  604. backdrop-filter: blur(2px); // 模糊效果
  605. }
  606. .main-info {
  607. height: 80%;
  608. justify-content: center;
  609. @media (max-width: 991px) {
  610. align-items: center;
  611. flex-direction: column;
  612. }
  613. &.type {
  614. .chart-box {
  615. @media (max-width: 991px) {
  616. top: -28%;
  617. }
  618. }
  619. }
  620. &.type {
  621. .chart-text {
  622. @media (max-width: 991px) {
  623. top: 18.5%;
  624. }
  625. }
  626. }
  627. }
  628. .chart-box {
  629. position: absolute;
  630. z-index: 100;
  631. height: 100%;
  632. display: flex;
  633. align-items: center;
  634. justify-content: center;
  635. @media (max-width: 991px) {
  636. top: -30%;
  637. }
  638. #chart {
  639. width: 300px !important;
  640. @media (max-width: 991px) {
  641. width: 200px !important;
  642. }
  643. }
  644. }
  645. }
  646. .chart-text {
  647. position: absolute;
  648. z-index: 100;
  649. font-size: 42px;
  650. font-weight: 500;
  651. color: #fff;
  652. text-align: center;
  653. @media (max-width: 991px) {
  654. top: 17%;
  655. font-size: 30px;
  656. }
  657. &.range {
  658. display: none;
  659. @media (max-width: 991px) {
  660. top: 10%;
  661. }
  662. @media (max-width: 575px) {
  663. top: 11.5%;
  664. }
  665. .tilde {
  666. position: absolute;
  667. left: 50px;
  668. transform: rotate(90deg);
  669. @media (max-width: 767px) {
  670. left: 35px;
  671. }
  672. }
  673. }
  674. }
  675. .price-card {
  676. position: absolute;
  677. z-index: 100;
  678. color: #fff;
  679. @media (max-width: 991px) {
  680. top: 39%;
  681. left: 0;
  682. right: 0;
  683. display: flex;
  684. flex-direction: column;
  685. align-items: center;
  686. }
  687. @media (max-width: 575px) {
  688. padding: 0 15px;
  689. }
  690. ul {
  691. width: 250px;
  692. max-width: 100%;
  693. margin-bottom: 0;
  694. padding: 15px 0 25px;
  695. display: flex;
  696. flex-direction: column;
  697. align-items: center;
  698. font-size: 20px;
  699. border-radius: 10px;
  700. border: 1px solid #fff;
  701. @media (max-width: 991px) {
  702. // max-width: 480px;
  703. width: 100%;
  704. padding: 10px 0;
  705. display: flex;
  706. flex-wrap: wrap;
  707. flex-direction: row;
  708. justify-content: space-evenly;
  709. }
  710. @media (max-width: 575px) {
  711. max-width: 450px;
  712. width: 95%;
  713. margin: auto;
  714. font-size: 14px;
  715. }
  716. li {
  717. span {
  718. width: 90px;
  719. display: inline-block;
  720. text-align: center;
  721. border-bottom: 1px solid #fff;
  722. font-size: 28px;
  723. font-weight: 500;
  724. @media (max-width: 575px) {
  725. width: 70px;
  726. font-size: 20px;
  727. }
  728. }
  729. }
  730. }
  731. small {
  732. margin-top: 20px;
  733. display: block;
  734. color: #B7B7B7;
  735. text-align: center;
  736. @media (max-width: 991px) {
  737. margin-top: 10px;
  738. }
  739. @media (max-width: 767px) {
  740. width: 90%;
  741. text-align: end;
  742. }
  743. }
  744. .main {
  745. @media (max-width: 991px) {
  746. max-width: 480px;
  747. }
  748. @media (max-width: 575px) {
  749. max-width: 430px;
  750. }
  751. }
  752. .partial {
  753. width: 280px;
  754. display: none;
  755. @media (max-width: 991px) {
  756. /* Grid */
  757. width: 600px;
  758. max-width: 100%;
  759. grid-template-columns: repeat(auto-fit, minmax(220px, max-content));
  760. padding: initial;
  761. }
  762. @media (max-width: 767px) {
  763. width: 500px;
  764. grid-template-columns: repeat(auto-fit, minmax(180px, max-content));
  765. font-size: 16px;
  766. }
  767. @media (max-width: 575px) {
  768. width: 350px;
  769. grid-template-columns: repeat(auto-fit, minmax(300px, max-content));
  770. font-size: 14px;
  771. }
  772. li {
  773. display: flex;
  774. align-items: end;
  775. justify-content: center;
  776. @media (max-width: 991px) {
  777. padding: 0px 10px 10px;
  778. }
  779. span {
  780. margin: 0 5px;
  781. width: 120px;
  782. @media (max-width: 767px) {
  783. width: 100px;
  784. font-size: 24px;
  785. }
  786. }
  787. p {
  788. width: 80px;
  789. text-align: center;
  790. }
  791. }
  792. }
  793. }
  794. .info-item {
  795. display: flex;
  796. flex-direction: column;
  797. align-items: center;
  798. justify-content: space-around;
  799. h3 {
  800. font-size: 24px;
  801. line-height: 32px;
  802. text-align: center;
  803. @media (max-width: 1200px) {
  804. font-size: 20px;
  805. }
  806. }
  807. h4 {
  808. font-size: 16px;
  809. font-weight: 300;
  810. color: #34404B;
  811. @media (max-width: 1200px) {
  812. font-size: 15px;
  813. }
  814. }
  815. &,
  816. img {
  817. @media (max-width: 991px) {
  818. margin-top: 25px;
  819. }
  820. }
  821. img {
  822. width: 100%;
  823. height: 450px;
  824. max-width: 330px;
  825. object-fit: cover;
  826. border-radius: 0 0 50% 0;
  827. }
  828. .img-block {
  829. position: relative;
  830. a {
  831. display: block;
  832. position: absolute;
  833. bottom: 0;
  834. right: 0;
  835. z-index: 1000;
  836. img {
  837. width: 150px;
  838. height: 150px;
  839. }
  840. .btn {
  841. position: relative;
  842. z-index: 100;
  843. transition: all .3s;
  844. &:hover {
  845. opacity: .9;
  846. }
  847. }
  848. .text {
  849. width: 140px;
  850. height: 140px;
  851. position: absolute;
  852. left: 5px;
  853. top: 2px;
  854. animation: rotate 15s linear infinite;
  855. }
  856. .bg {
  857. position: absolute;
  858. left: 0px;
  859. top: -3px;
  860. z-index: -1;
  861. }
  862. @keyframes rotate {
  863. from {
  864. transform: rotate(0deg);
  865. }
  866. to {
  867. transform: rotate(360deg);
  868. }
  869. }
  870. }
  871. }
  872. }
  873. .info-card {
  874. width: 93%;
  875. margin: 30px;
  876. position: absolute;
  877. bottom: 0;
  878. background: #fff;
  879. border-radius: 10px;
  880. @media (max-width: 767px) {
  881. margin: 20px;
  882. }
  883. @media (max-width: 575px) {
  884. padding: 0 20px;
  885. }
  886. .row {
  887. padding: 20px 0;
  888. @media (max-width: 991px) {
  889. padding: 0 0 15px;
  890. justify-content: center;
  891. }
  892. div:first-child {
  893. @media (max-width: 991px) {
  894. width: 400px;
  895. }
  896. }
  897. ul {
  898. margin: 0;
  899. padding: 0;
  900. @media (max-width: 991px) {
  901. width: 100%;
  902. display: flex;
  903. justify-content: space-between;
  904. }
  905. li {
  906. font-weight: 500;
  907. }
  908. }
  909. .caption {
  910. display: flex;
  911. align-items: center;
  912. justify-content: space-around;
  913. @media (max-width: 1200px) {
  914. flex-direction: column;
  915. }
  916. @media (max-width: 991px) {
  917. width: 400px;
  918. flex-direction: row;
  919. justify-content: space-between;
  920. }
  921. h3 {
  922. font-size: 18px;
  923. color: #34404B;
  924. margin-bottom: 0;
  925. }
  926. small {
  927. font-size: 14px;
  928. color: #EE751B;
  929. }
  930. p {
  931. max-width: 220px;
  932. font-size: 14px;
  933. color: #959595;
  934. // 超過三行省略
  935. overflow: hidden;
  936. text-overflow: ellipsis;
  937. display: -webkit-box;
  938. -webkit-line-clamp: 2;
  939. -webkit-box-orient: vertical;
  940. }
  941. section {
  942. @media (max-width: 575px) {
  943. width: 100%;
  944. }
  945. }
  946. }
  947. .border-end {
  948. @media (max-width: 991px) {
  949. padding: 10px;
  950. border-right: none !important;
  951. border-bottom: 2px solid #dddddd;
  952. }
  953. }
  954. .reset-btn {
  955. width: 100%;
  956. height: 100%;
  957. border: none;
  958. border-radius: 10px;
  959. background-color: #B7B7B7;
  960. color: #fff;
  961. transition: all .3s;
  962. @media (max-width: 991px) {
  963. width: 180px;
  964. height: 50px;
  965. margin: 15px auto 0;
  966. }
  967. &:hover {
  968. background-color: #959595;
  969. }
  970. }
  971. }
  972. }
  973. .style-list {
  974. @media (max-width: 767px) {
  975. border-top: 1px solid #959595;
  976. }
  977. p {
  978. padding: 20px;
  979. margin-bottom: 0;
  980. font-size: 20px;
  981. font-weight: 500;
  982. color: #34404B;
  983. text-align: center;
  984. }
  985. a {
  986. display: block;
  987. position: relative;
  988. overflow: hidden;
  989. border-radius: 10px;
  990. &:hover {
  991. img {
  992. transform: scale(1.1);
  993. }
  994. }
  995. p {
  996. padding: 5px;
  997. position: absolute;
  998. bottom: 0;
  999. left: 0;
  1000. right: 0;
  1001. font-size: 18px;
  1002. background: rgba(255, 255, 255, 0.75);
  1003. }
  1004. img {
  1005. width: 100%;
  1006. height: 180px;
  1007. object-fit: cover;
  1008. border-radius: 10px;
  1009. transition: all .5s;
  1010. box-shadow: 2px 2px 6px rgba(0, 0, 0, .2);
  1011. @media (max-width: 575px) {
  1012. height: 120px;
  1013. }
  1014. }
  1015. }
  1016. }
  1017. }
  1018. /* request End */
  1019. .column-list {
  1020. a {
  1021. text-decoration: none;
  1022. }
  1023. button {
  1024. width: 100%;
  1025. display: flex;
  1026. justify-content: center;
  1027. border: none;
  1028. background-color: transparent;
  1029. }
  1030. .bg-img {
  1031. width: 100%;
  1032. height: 15vw;
  1033. object-fit: cover;
  1034. // background-repeat: no-repeat;
  1035. // background-size: cover;
  1036. // background-position: center;
  1037. // position: relative;
  1038. @media (max-width: 991px) {
  1039. height: 30vw;
  1040. width: 50vw;
  1041. }
  1042. @media (max-width: 767px) {
  1043. width: 100%;
  1044. }
  1045. @media (max-width: 575px) {
  1046. height: 35vw;
  1047. width: 85vw;
  1048. }
  1049. }
  1050. .card-title {
  1051. font-size: 1.125rem;
  1052. font-weight: 600;
  1053. color: #727679;
  1054. letter-spacing: 1px;
  1055. line-height: 1.5;
  1056. text-align: left;
  1057. }
  1058. .card-body {
  1059. display: flex;
  1060. flex-direction: column;
  1061. justify-content: space-between;
  1062. }
  1063. .badge-list {
  1064. display: flex;
  1065. flex-wrap: wrap;
  1066. p {
  1067. margin: 4px 7px 4px 0;
  1068. padding: 3px 6px;
  1069. font-size: 12px;
  1070. font-weight: 500;
  1071. border: 1px solid #ee751b;
  1072. border-radius: 5px;
  1073. color: #ee751b;
  1074. }
  1075. // .badge {
  1076. // margin: 3px 3px 3px 0;
  1077. // padding: 5px 10px;
  1078. // font-weight: 500;
  1079. // background-color: #ee751b;
  1080. // }
  1081. }
  1082. }
  1083. #columnModal {
  1084. .modal-title {
  1085. color: #34404b;
  1086. font-size: 1.5rem;
  1087. font-weight: 700;
  1088. margin-bottom: .5rem;
  1089. }
  1090. .cover-img {
  1091. max-width: 80%;
  1092. @media (max-width:991px) {
  1093. max-width: 100%;
  1094. }
  1095. }
  1096. .content {
  1097. h1,
  1098. h2 {
  1099. margin: 2rem 0;
  1100. font-size: 24px;
  1101. color: #993300;
  1102. line-height: 1.5;
  1103. }
  1104. h2 {
  1105. display: flex;
  1106. @media (max-width:991px) {
  1107. font-size: 20px;
  1108. }
  1109. }
  1110. h3 {
  1111. font-size: 20px;
  1112. }
  1113. p {
  1114. color: #727679;
  1115. line-height: 2;
  1116. }
  1117. ul {
  1118. padding: 0;
  1119. margin: 3rem 0;
  1120. list-style: none;
  1121. li {
  1122. margin-bottom: 10px;
  1123. &:last-child {
  1124. margin-bottom: 0;
  1125. }
  1126. }
  1127. }
  1128. }
  1129. a {
  1130. font-size: 1rem;
  1131. text-decoration: none;
  1132. color: #3366ff;
  1133. }
  1134. }
  1135. #rightSidebar {
  1136. position: sticky;
  1137. }
  1138. .text-primary {
  1139. color: #ee751b !important;
  1140. }
  1141. .main-title {
  1142. padding: 20px 40px;
  1143. margin: 40px 22px 0;
  1144. background-image: url("../img/banner-05.png");
  1145. background-color: rgba(0, 0, 0, 0.6);
  1146. background-blend-mode: multiply;
  1147. background-size: cover;
  1148. background-position: center center;
  1149. color: #fff;
  1150. @media (max-width: 767px) {
  1151. margin: 5px 30px 0;
  1152. }
  1153. h2,
  1154. h3 {
  1155. line-height: 1.5;
  1156. letter-spacing: 1px;
  1157. }
  1158. h3 {
  1159. margin-top: 1rem;
  1160. font-size: 1.25rem;
  1161. }
  1162. }
  1163. .btn-outline-primary {
  1164. color: #ee751b;
  1165. background-color: transparent;
  1166. border-color: #ee751b;
  1167. &:hover {
  1168. color: #fff;
  1169. border-color: #ee751b;
  1170. background-color: #ee751b;
  1171. }
  1172. }