_main.scss 24 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171
  1. // ++++ 變數設定 ++++
  2. $main-ft: 'Microsoft JhengHei', Helvetica, Noto Sans TC, Roboto, Arial, sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  3. $main-font-color: #727679;
  4. $title-color: #43484C;
  5. $main-deco-color: #EE7800;
  6. $btn-color: rgba(238, 120, 0, 0.7);
  7. $btn-hover-color: rgba(238, 120, 0, 1);
  8. // ++++ Mixin ++++
  9. @mixin roundCorner {
  10. border-radius: 0.1875rem;
  11. }
  12. @mixin bgImage {
  13. background-repeat: no-repeat;
  14. background-position: center center;
  15. }
  16. // ++++ 共用css ++++
  17. *,
  18. *::before,
  19. *::after {
  20. box-sizing: border-box;
  21. }
  22. a {
  23. color: $main-font-color;
  24. font-family: $main-ft;
  25. font-size: 1rem;
  26. &:hover, &:active {
  27. text-decoration: none;
  28. }
  29. }
  30. body {
  31. background-color: #F6F6F6;
  32. position: relative;
  33. }
  34. ul {
  35. padding-inline-start: 0;
  36. }
  37. .shadow-decoQuery {
  38. box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  39. }
  40. .border-divider {
  41. border-left: 1px solid #EFEFEF;
  42. }
  43. .btn:focus {
  44. &:focus {
  45. outline: 0;
  46. box-shadow: none;
  47. }
  48. }
  49. .avatar {
  50. width: 100px;
  51. height: 100px;
  52. border-radius: 50%;
  53. background-size: cover;
  54. @include bgImage();
  55. cursor: pointer;
  56. transition: all 300ms ease-in-out;
  57. &--xl {
  58. width: 150px;
  59. height: 150px;
  60. transition: all 300ms ease-in-out;
  61. @media screen and(max-width: 576px) {
  62. width: 100px;
  63. height: 100px;
  64. }
  65. }
  66. }
  67. .caseBgImage {
  68. height: 232px;
  69. background-size: cover;
  70. @include bgImage();
  71. transition: all 300ms ease-in-out;
  72. @media screen and(max-width: 576px) {
  73. height: 110px;
  74. }
  75. }
  76. :focus {
  77. outline: transparent auto 0 !important;
  78. border: none !important;
  79. }
  80. input {
  81. &:focus {
  82. outline: transparent auto 0 !important;
  83. border: none !important;
  84. }
  85. }
  86. .focus-status {
  87. &:focus {
  88. border-color: transparent;
  89. box-shadow: none;
  90. -webkit-appearance: none !important;
  91. -moz-appearance: none !important;
  92. appearance: none !important;
  93. }
  94. }
  95. //switcher
  96. .swicher {
  97. display: flex;
  98. justify-content: center;
  99. height: 52px;
  100. border-radius: 30px;
  101. position: relative;
  102. background: #AAA;
  103. color: #FFF;
  104. &__block {
  105. width: 100%;
  106. height: 100%;
  107. display: flex;
  108. justify-content: center;
  109. align-items: center;
  110. border-radius: 30px;
  111. }
  112. &__items {
  113. cursor: pointer;
  114. width: calc(100%/3);
  115. height: 100%;
  116. text-align: center;
  117. align-items: center;
  118. display: flex;
  119. justify-content: center;
  120. border-radius: 30px;
  121. a {
  122. color: #FFF;
  123. }
  124. &.active {
  125. height: 103%;
  126. color: #EE7800;
  127. border: 1px solid #FFF;
  128. background-color: #FFF;
  129. border-radius: 30px;
  130. font-weight: bold;
  131. box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  132. a {
  133. color: $main-deco-color;
  134. }
  135. }
  136. }
  137. }
  138. // <!--[[[[[[[[[[[[[[[[[ nav ]]]]]]]]]]]]]]]]] -->
  139. nav {
  140. .nav-wrapper {
  141. display: flex;
  142. justify-content: center;
  143. padding: .45rem 0;
  144. }
  145. img {
  146. width: 120px;
  147. height: 50px;
  148. }
  149. // .arrow {
  150. // color: $bg-color;
  151. // padding:0 0 0 1.2rem;
  152. // }
  153. }
  154. .fixed {
  155. position: fixed;
  156. top: 0;
  157. right: 0;
  158. left: 0;
  159. z-index: 1030;
  160. background-color: #FFF;
  161. }
  162. // <!--[[[[[[[[[[[[[[[[[ title ]]]]]]]]]]]]]]]]] -->
  163. .title {
  164. margin-top: 30px;
  165. transition: all 300ms ease-in-out;
  166. @media screen and(max-width: 576px) {
  167. margin-top: 55px;
  168. }
  169. &__block {
  170. text-align: center;
  171. .h1 {
  172. color: $title-color;
  173. font-size: 2rem;
  174. font-weight: bold;
  175. padding: 1rem 0;
  176. line-height: 1.2;
  177. margin: 0;
  178. }
  179. .small {
  180. font-size: 1rem;
  181. color: #AAA;
  182. }
  183. }
  184. }
  185. // <!--[[[[[[[[[[[[[[[[[ 搜尋 ]]]]]]]]]]]]]]]]] -->
  186. .search {
  187. position: relative;
  188. .icon {
  189. position: absolute;
  190. top: 20%;
  191. right: 1%;
  192. transition: all 300ms ease-in-out;
  193. @media screen and(max-width: 576px) {
  194. right: 3%;
  195. }
  196. }
  197. img {
  198. width: 27px;
  199. height: 27px;
  200. }
  201. }
  202. .form-control {
  203. padding: 1.575rem 0.75rem;
  204. border: none;
  205. border-radius: 0.1875rem;
  206. &:focus {
  207. color: #495057;
  208. background-color: #fff;
  209. border: none !important;
  210. outline: 0;
  211. box-shadow: none;
  212. }
  213. }
  214. /*webkit瀏覽器專用*/
  215. .search ::-webkit-input-placeholder {
  216. color: #D4D4D4;
  217. }
  218. /*Firefox 4-18瀏覽器專用*/
  219. .search input::-moz-placeholder {
  220. color: #D4D4D4;
  221. }
  222. /*Firefox 19+瀏覽器專用*/
  223. .search input::-moz-placeholder {
  224. color: #D4D4D4;
  225. }
  226. /*IE10瀏覽器專用*/
  227. .search:-ms-input-placeholder {
  228. color: #D4D4D4;
  229. }
  230. // [[[[[[[[[[[[[[[[[ 縣市、區、街道 ]]]]]]]]]]]]]]]]]
  231. .topicSubitems {
  232. width: 100%;
  233. background-color: #FFF;
  234. text-align: center;
  235. @include roundCorner();
  236. box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  237. a {
  238. color: #909090;
  239. padding: 1.2rem 0;
  240. display: inline-block;
  241. font-size: 1rem;
  242. }
  243. &:hover {
  244. cursor: pointer;
  245. box-shadow: none;
  246. a {
  247. color: #909090;
  248. }
  249. }
  250. &:visited,
  251. &:active,
  252. &.active {
  253. box-shadow: none;
  254. a {
  255. color: #909090;
  256. }
  257. }
  258. }
  259. // [[[[[[[[[[[[[[[[[ 縣市選擇--4欄 ]]]]]]]]]]]]]]]]]
  260. .county {
  261. display: flex;
  262. justify-content: start;
  263. flex-wrap: wrap;
  264. a {
  265. color: #909090;
  266. padding: 1.2rem 0;
  267. display: inline-block;
  268. font-size: 1rem;
  269. }
  270. &__items {
  271. width: 23%;
  272. text-align: center;
  273. margin-right: 2%;
  274. background-color: #FFF;
  275. @include roundCorner();
  276. box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  277. &:hover {
  278. cursor: pointer;
  279. box-shadow: none;
  280. a {
  281. color: #909090;
  282. }
  283. }
  284. &:visited,
  285. &:active,
  286. &.active {
  287. box-shadow: none;
  288. a {
  289. color: #909090;
  290. }
  291. }
  292. }
  293. }
  294. // [[[[[[[[[[[[[[[[[ 各鄉鎮市區--3欄 ]]]]]]]]]]]]]]]]]
  295. .district {
  296. display: flex;
  297. justify-content: start;
  298. flex-wrap: wrap;
  299. a {
  300. color: #909090;
  301. padding: 1.2rem 0;
  302. display: inline-block;
  303. font-size: 1rem;
  304. }
  305. &__items {
  306. width: 31.3333%;
  307. text-align: center;
  308. margin-right: 2%;
  309. margin-bottom:.5rem;
  310. background-color: #FFF;
  311. @include roundCorner();
  312. box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  313. &:hover {
  314. cursor: pointer;
  315. box-shadow: none;
  316. a {
  317. color: #909090;
  318. }
  319. }
  320. &:visited,
  321. &:active,
  322. &.active {
  323. box-shadow: none;
  324. a {
  325. color: #909090;
  326. }
  327. }
  328. }
  329. }
  330. // [[[[[[[[[[[[[[[[[ 各街道--2欄 ]]]]]]]]]]]]]]]]]
  331. .street {
  332. display: flex;
  333. justify-content: start;
  334. flex-wrap: wrap;
  335. a {
  336. color: #909090;
  337. padding: 1.2rem 0;
  338. display: inline-block;
  339. font-size: 1rem;
  340. }
  341. &__items {
  342. width: 48%;
  343. margin-right: 2%;
  344. margin-bottom:.5rem;
  345. text-align: center;
  346. background-color: #FFF;
  347. @include roundCorner();
  348. box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  349. &:hover {
  350. cursor: pointer;
  351. box-shadow: none;
  352. a {
  353. color: #909090;
  354. }
  355. }
  356. &:visited,
  357. &:active,
  358. &.active {
  359. box-shadow: none;
  360. a {
  361. color: #909090;
  362. }
  363. }
  364. }
  365. }
  366. // [[[[[[[[[[[[[[[[[ 各縣市筆數 ]]]]]]]]]]]]]]]]]
  367. .countiesNum {
  368. width: 100%;
  369. text-align: center;
  370. border-bottom: 1px solid #43484C;
  371. a {
  372. color: #43484C;
  373. padding: 1.2rem 0;
  374. display: inline-block;
  375. font-family: $main-ft;
  376. }
  377. }
  378. .countiesNumCity {
  379. width: 48%;
  380. text-align: center;
  381. line-height: 2;
  382. color: #43484C;
  383. &__items {
  384. display: flex;
  385. margin: 0 1rem;
  386. padding: .3rem 0;
  387. border-bottom: 1px solid #dbdbdb;
  388. font-family: $main-ft;
  389. &__lf {
  390. width: 50%;
  391. }
  392. }
  393. }
  394. .countiesNumLine {
  395. width: 2%;
  396. justify-content: center;
  397. align-items: center;
  398. padding: .8rem .2rem;
  399. .line {
  400. height: 100%;
  401. border-left: 1px solid #dbdbdb;
  402. }
  403. }
  404. // <!--[[[[[[[[[[[[[[[[[ 選擇縣市、區域、路段後的結果 ]]]]]]]]]]]]]]]]] -->
  405. .list{
  406. &__title {
  407. h4 {
  408. color: $title-color;
  409. font-weight: bold;
  410. min-height: 56px;
  411. transition: all 300ms ease-in-out;
  412. @media screen and(max-width: 576px) {
  413. font-size: 1.125rem;
  414. margin-bottom: 0;
  415. }
  416. }
  417. &__approve {
  418. color: $main-deco-color;
  419. font-size: 0.95rem;
  420. font-weight: bold;
  421. transition: all 300ms ease-in-out;
  422. @media screen and(max-width: 576px) {
  423. font-size: 0.95rem;
  424. }
  425. }
  426. }
  427. &__img {
  428. margin: 0 0 0 3rem;
  429. transition: all 300ms ease-in-out;
  430. @media screen and(max-width: 576px) {
  431. margin: 0 0 0 1rem;
  432. }
  433. }
  434. &__context {
  435. color: $main-font-color;
  436. font-size: 0.875rem;
  437. a {
  438. &:hover {
  439. color: $main-font-color;
  440. }
  441. }
  442. }
  443. &__tel {
  444. color: $title-color;
  445. font-size: 1.125rem;
  446. font-weight: 600;
  447. transition: all 300ms ease-in-out;
  448. @media screen and(max-width: 576px) {
  449. font-size: 0.875rem;
  450. text-align: left;
  451. }
  452. &--empty {
  453. min-height: 70px;
  454. visibility: visible;
  455. transition: all 300ms ease-in-out;
  456. @media screen and(max-width: 576px) {
  457. min-height: 35px;
  458. }
  459. }
  460. a {
  461. color: $main-deco-color;
  462. font-size: 1.5rem;
  463. font-weight: bold;
  464. line-height: 1.2;
  465. transition: all 300ms ease-in-out;
  466. @media screen and(max-width: 576px) {
  467. font-size: 1.125rem;
  468. }
  469. }
  470. }
  471. &__btn {
  472. a {
  473. color: $btn-color;
  474. font-size: 1rem;
  475. font-weight: 600;
  476. border: 1px solid $btn-color;
  477. border-radius: 8px;
  478. padding: 0.8rem 0.75rem;
  479. background-color: #FFF;
  480. transition: all 300ms ease-in-out;
  481. &:hover {
  482. color: $btn-hover-color;
  483. border: 1px solid $btn-hover-color;
  484. }
  485. &:focus {
  486. border: 1px solid $btn-color !important;
  487. }
  488. }
  489. }
  490. &__btn2 {
  491. a {
  492. color: #B0B0B0;
  493. font-size: 1rem;
  494. font-weight: 600;
  495. border: 1px solid #B0B0B0;
  496. border-radius: 8px;
  497. padding: 0.8rem 0.75rem;
  498. transition: all 300ms ease-in-out;
  499. &:hover {
  500. color: $btn-hover-color;
  501. border: 1px solid $btn-hover-color;
  502. }
  503. &:focus {
  504. border: 1px solid $btn-color !important;
  505. }
  506. }
  507. }
  508. }
  509. .fa-xl {
  510. @media screen and(max-width: 576px) {
  511. font-size: 1em;
  512. }
  513. }
  514. //Swiper
  515. .swiper-button-prev:after{
  516. content:'' !important;
  517. width: 23px;
  518. height: 40px;
  519. background: url("../images/icon/btn-prev.png") no-repeat ;
  520. background-position: center;
  521. display: inline-block;
  522. }
  523. .swiper-button-next:after{
  524. content:'' !important;
  525. width: 23px;
  526. height: 40px;
  527. background: url("../images/icon/btn-next.png") no-repeat ;
  528. background-position: center;
  529. display: inline-block;
  530. }
  531. @media screen and(max-width: 576px) {
  532. .swiper-wrapper, .swiper-slide {
  533. height: 110px !important;
  534. }
  535. }
  536. // <!--[[[[[[[[[[[[[[[[[ Pagination ]]]]]]]]]]]]]]]]] -->
  537. .pagination{
  538. display: flex;
  539. padding-left: 0;
  540. list-style: none;
  541. border-radius: 0.25rem;
  542. .page-item {
  543. &.active {
  544. .page-link {
  545. color: #fff;
  546. background-color: $main-deco-color;
  547. border-color: #dee2e6;
  548. }
  549. }
  550. }
  551. .page-link{
  552. font-family: $main-ft;
  553. position: relative;
  554. display: block;
  555. padding: 0.5rem 0.75rem;
  556. margin-left: -1px;
  557. line-height: 1.25;
  558. color: #727679;
  559. background-color: #fff;
  560. border: 1px solid #FFF;
  561. &:hover {
  562. z-index: 2;
  563. color: #fff;
  564. text-decoration: none;
  565. background-color: #EE7800;
  566. border-color: #dee2e6;
  567. }
  568. }
  569. .page-link-arrow{
  570. position: relative;
  571. display: block;
  572. padding: 0.5rem 0.75rem;
  573. line-height: 1.25;
  574. color: #727679;
  575. background-color: #fff;
  576. border: 1px solid #fff;
  577. &:hover{
  578. text-decoration: none;
  579. }
  580. }
  581. .page-arrow {
  582. padding: 0.5rem 0;
  583. }
  584. }
  585. // <!--[[[[[[[[[[[[[[[[[ 公司搜尋結果(左區塊、右地圖)]]]]]]]]]]]]]]]]] -->
  586. .cyResult {
  587. &__context {
  588. h4 {
  589. color: $title-color;
  590. font-weight: bold;
  591. transition: all 300ms ease-in-out;
  592. @media screen and(max-width: 576px) {
  593. font-size: 1.125rem;
  594. }
  595. }
  596. }
  597. ul {
  598. color: $main-font-color;
  599. font-size: 0.875rem;
  600. span {
  601. color: $title-color;
  602. font-weight: bold;
  603. transition: all 300ms ease-in-out;
  604. @media screen and(max-width: 576px) {
  605. font-weight: normal;
  606. }
  607. }
  608. }
  609. &__more {
  610. padding: 2rem 1rem;
  611. cursor: pointer;
  612. text-align: center;
  613. color: #D4D4D4;
  614. transition: all 300ms ease-in-out;
  615. @media screen and(max-width: 576px) {
  616. padding: 1rem 0;
  617. text-align: left;
  618. font-size: 0.875rem;
  619. }
  620. &.is-hidden {
  621. display: none;
  622. }
  623. }
  624. &__otherInfo {
  625. margin: 0 0 1.5rem 0;
  626. display: none;
  627. &.is-open {
  628. display: block;
  629. }
  630. }
  631. &__img {
  632. margin: 0 0 0 1.5rem;
  633. transition: all 300ms ease-in-out;
  634. @media screen and(max-width: 576px) {
  635. margin: 0 0 0 0.5rem;
  636. }
  637. }
  638. &__collection {
  639. display: flex;
  640. justify-content: space-between;
  641. align-items: center;
  642. text-align: center;
  643. cursor: pointer;
  644. width: 100%;
  645. &__bgImg {
  646. height: 150px;
  647. background-repeat: no-repeat;
  648. background-size: cover;
  649. background-position: center center;
  650. width: 48%;
  651. transition: all 300ms ease-in-out;
  652. @media screen and(max-width: 576px) {
  653. height: 110px;
  654. }
  655. }
  656. }
  657. }
  658. .cyCard {
  659. display: flex;
  660. margin: 1.5rem 0 0 0;
  661. transition: all 300ms ease-in-out;
  662. @media screen and(max-width: 576px) {
  663. margin: 0 0 1.5rem 0;
  664. }
  665. &__leader {
  666. width: 35%;
  667. max-width: 35%;
  668. transition: all 300ms ease-in-out;
  669. @media screen and(max-width: 576px) {
  670. width: 40%;
  671. max-width: 40%;
  672. }
  673. h6 {
  674. color: $title-color;
  675. font-size: 1.125rem;
  676. font-weight: bold;
  677. margin: 0;
  678. }
  679. > div {
  680. color: $main-font-color;
  681. font-size: 0.875rem;
  682. }
  683. &--3col {
  684. width: 30%;
  685. max-width: 25%;
  686. transition: all 300ms ease-in-out;
  687. @media screen and(max-width: 576px) {
  688. width: 40%;
  689. max-width: 40%;
  690. padding: 0 1rem 0 0;
  691. }
  692. }
  693. }
  694. &__info {
  695. width: 65%;
  696. max-width: 65%;
  697. padding: 0 0 0 1rem;
  698. border-left: 1px solid #EFEFEF;
  699. transition: all 300ms ease-in-out;
  700. @media screen and(max-width: 576px) {
  701. width: 60%;
  702. max-width: 60%;
  703. }
  704. &--3col {
  705. width: 45%;
  706. max-width: 40%;
  707. transition: all 300ms ease-in-out;
  708. @media screen and(max-width: 576px) {
  709. width: 60%;
  710. max-width: 60%;
  711. font-size: 0.875rem;
  712. }
  713. }
  714. > div {
  715. color: $main-deco-color;
  716. font-weight: bold;
  717. transition: all 300ms ease-in-out;
  718. @media screen and(max-width: 576px) {
  719. font-size: 0.875rem;
  720. }
  721. }
  722. }
  723. &__name {
  724. color: $main-deco-color;
  725. font-weight: bold;
  726. padding: 0 0 0 1rem;
  727. border-left: 1px solid #EFEFEF;
  728. &--3col {
  729. width: 100%;
  730. max-width: 100%;
  731. border-left: none;
  732. transition: all 300ms ease-in-out;
  733. @media screen and(max-width: 576px) {
  734. padding: 0;
  735. font-size: 0.875rem;
  736. }
  737. }
  738. }
  739. ul {
  740. color: $main-font-color;
  741. font-size: 0.875rem;
  742. span {
  743. color: $title-color;
  744. font-weight: bold;
  745. }
  746. }
  747. a {
  748. color: $main-deco-color;
  749. &:hover {
  750. color: inherit;
  751. }
  752. }
  753. }
  754. .cyBtn {
  755. @media screen and(max-width: 576px) {
  756. width: 94%;
  757. position: fixed;
  758. z-index: 1025;
  759. bottom: 0;
  760. background: linear-gradient(180deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.75) 100%);
  761. padding: 1rem 2.55rem;
  762. }
  763. a {
  764. color: $btn-color;
  765. font-size: 1rem;
  766. font-weight: 600;
  767. border: 1px solid $btn-color;
  768. border-radius: 8px;
  769. padding: 0.8rem 0.75rem;
  770. background-color: #FFF;
  771. transition: all 300ms ease-in-out;
  772. &:hover {
  773. color: $btn-hover-color;
  774. border: 1px solid $btn-hover-color;
  775. }
  776. }
  777. }
  778. .map {
  779. iframe {
  780. height: 670px;
  781. transition: all 300ms ease-in-out;
  782. @media screen and(max-width: 576px) {
  783. height: 340px;
  784. }
  785. }
  786. }
  787. // <!--[[[[[[[[[[[[[[[[[ 表單 ]]]]]]]]]]]]]]]]] -->
  788. .lsForm {
  789. &__item {
  790. &:not(:first-child) {
  791. margin: 1.5rem 0 0 0;
  792. }
  793. }
  794. select {
  795. color: #909090;
  796. height: unset;
  797. padding: 0.825rem 0.75rem;
  798. &.form-control:focus {
  799. color: #909090;
  800. }
  801. }
  802. }
  803. /*webkit瀏覽器專用*/
  804. .lsForm__item ::-webkit-input-placeholder {
  805. color: #909090;
  806. font-size: 1rem;
  807. }
  808. /*Firefox 4-18瀏覽器專用*/
  809. .lsForm__item input::-moz-placeholder {
  810. color: #909090;
  811. font-size: 1rem;
  812. }
  813. /*Firefox 19+瀏覽器專用*/
  814. .lsForm__item input::-moz-placeholder {
  815. color: #909090;
  816. font-size: 1rem;
  817. }
  818. /*IE10瀏覽器專用*/
  819. .lsForm__item:-ms-input-placeholder {
  820. color: #909090;
  821. font-size: 1rem;
  822. }
  823. .pretty-select {
  824. /*移除箭頭樣式*/
  825. appearance:none;
  826. -moz-appearance:none;
  827. -webkit-appearance:none;
  828. /*改變右邊箭頭樣式*/
  829. background: url("../../images/icon/form-arrow.png") right 10px center transparent;
  830. background-repeat: no-repeat;
  831. background-size: 20px 20px;
  832. background-color:#FFF;
  833. }
  834. .error {
  835. text-align: right;
  836. color: #dc3545 ;
  837. font-size: 80%;
  838. }
  839. // <!--[[[[[[[[[[[[[[[[[ 上傳 Logo 與個案 ]]]]]]]]]]]]]]]]] -->
  840. .uploadLogo {
  841. &__note {
  842. text-align: center;
  843. color: $main-font-color;
  844. font-size: 0.875rem;
  845. }
  846. &__msg {
  847. color: #B0B0B0;
  848. text-align: center;
  849. border: 1px solid #B0B0B0;
  850. border-radius: 8px;
  851. padding: 0.775rem 0.75rem;
  852. }
  853. }
  854. .caseUploadBgImg {
  855. width: 100%;
  856. display: flex;
  857. justify-content: space-between;
  858. align-items: center;
  859. cursor: pointer;
  860. > div {
  861. width: 48%;
  862. }
  863. &__bgImg {
  864. height: 180px;
  865. background-repeat: no-repeat;
  866. background-size: cover;
  867. background-position: center center;
  868. width: 100%;
  869. transition: all 300ms ease-in-out;
  870. @media screen and(max-width: 576px) {
  871. height: 110px;
  872. }
  873. }
  874. }
  875. .progress {
  876. height: 0.5rem;
  877. .progress-bar {
  878. width: 0%;
  879. background-color: $main-deco-color;
  880. }
  881. }
  882. .progress-transition {
  883. transition: width 6s ease-in-out;
  884. }
  885. // <!--[[[[[[[[[[[[[[[[[ 免責聲明與隱私使用政策 ]]]]]]]]]]]]]]]]] -->
  886. .agreeForm {
  887. &__btn {
  888. padding: 0 1.2rem;
  889. a {
  890. color: $btn-color;
  891. font-size: 1rem;
  892. font-weight: 600;
  893. border: 1px solid $btn-color;
  894. border-radius: 8px;
  895. padding: 0.8rem 0.75rem;
  896. background-color: #FFF;
  897. transition: all 300ms ease-in-out;
  898. &:hover {
  899. color: $btn-hover-color;
  900. border: 1px solid $btn-hover-color;
  901. }
  902. }
  903. }
  904. }
  905. .custom-checkbox {
  906. font-size: 0.875rem;
  907. text-align: center;
  908. .custom-control-label {
  909. line-height: 1.7;
  910. }
  911. a {
  912. color: $main-deco-color;
  913. font-size: 100%;
  914. }
  915. }
  916. .custom-control-input:checked~.custom-control-label::before {
  917. color: #fff;
  918. border-color: #DE945C;
  919. background-color: #DE945C;
  920. }
  921. // Modal
  922. .modal-body {
  923. text-align: center;
  924. color: $main-font-color;
  925. h4 {
  926. font-weight: bold;
  927. transition: all 300ms ease-in-out;
  928. @media screen and(max-width: 576px) {
  929. font-size: 1.125rem;
  930. }
  931. }
  932. p {
  933. font-size: 0.875rem;
  934. }
  935. .modal-fail-btn {
  936. display: flex;
  937. justify-content: space-around;
  938. a {
  939. width: 45%;
  940. font-size: 1rem;
  941. }
  942. .btn-back {
  943. color: #FFF;
  944. background-color: #AAAAAA;
  945. }
  946. .btn-restart {
  947. color: $main-deco-color;
  948. border: 1px solid $main-deco-color;
  949. }
  950. }
  951. .modal-btn {
  952. padding: 0 2.5rem;
  953. a {
  954. color: $btn-color;
  955. font-size: 1rem;
  956. font-weight: 600;
  957. border: 1px solid $btn-color;
  958. border-radius: 8px;
  959. padding: 0.45rem 0.75rem;
  960. background-color: #FFF;
  961. transition: all 300ms ease-in-out;
  962. &:hover {
  963. color: $btn-hover-color;
  964. border: 1px solid $btn-hover-color;
  965. }
  966. }
  967. }
  968. }
  969. // <!--[[[[[[[[[[[[[[[[[ footer ]]]]]]]]]]]]]]]]] -->
  970. .footer {
  971. font-size: 0.9rem;
  972. color: $main-font-color;
  973. background-color: #eee;
  974. text-align: center;
  975. display: flex;
  976. justify-content: center;
  977. position: relative;
  978. transition: all 300ms ease-in-out;
  979. @media screen and(max-width: 576px) {
  980. &--mb {
  981. margin-bottom: 5rem;
  982. }
  983. }
  984. &__block {
  985. padding: 2rem 1rem;
  986. transition: all 300ms ease-in-out;
  987. @media screen and(max-width: 576px) {
  988. // padding: 1rem 1rem 1.9rem 1rem;
  989. padding: 2rem 1rem;
  990. }
  991. }
  992. a {
  993. font-size: 0.9rem;
  994. transition: all 300ms ease-in-out;
  995. @media screen and(max-width: 576px) {
  996. font-size: 0.8rem;
  997. }
  998. &:hover {
  999. color: $main-font-color;
  1000. }
  1001. }
  1002. }
  1003. .gotop-btn-wrapper {
  1004. display: block;
  1005. position: fixed;
  1006. right: 20px;
  1007. bottom: 40px;
  1008. cursor: pointer;
  1009. z-index: 1026;
  1010. transition: all 300ms ease-in-out;
  1011. @media screen and(max-width: 576px) {
  1012. bottom: 75px;
  1013. }
  1014. .gotop-btn {
  1015. width: 50px;
  1016. height: 50px;
  1017. box-shadow: 1px 3px 13px -2px rgba(0, 0, 0, 0.35);
  1018. opacity: 1;
  1019. display: none;
  1020. &:hover,
  1021. &:active,
  1022. &:focus {
  1023. box-shadow: 5px 3px 1px -3px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  1024. }
  1025. }
  1026. }
  1027. [v-cloak] {
  1028. display: none;
  1029. }