about.scss 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899
  1. // 關於我頁面
  2. * {
  3. margin: 0;
  4. padding: 0;
  5. box-sizing: border-box;
  6. font-family: 微軟正黑體;
  7. }
  8. $desktop: 1025px;
  9. $table: 1024px;
  10. $moblie: 767px;
  11. $Font-color: #fff;
  12. $title-color: #646464;
  13. $bgcolor: #f4fffc;
  14. $navbgcolor: #a9d0c5;
  15. body {
  16. position: relative;
  17. // background: url(../img/about/banner/banner.webp), linear-gradient(180deg, transparent 1%, #363636 1%);
  18. // background-size: 120vw;
  19. // background-repeat: no-repeat;
  20. background: #363636;
  21. @media screen and(max-width:$moblie) {
  22. background: #363636;
  23. }
  24. .arrow {
  25. position: fixed;
  26. right: 30px;
  27. top: 600px;
  28. width: 45px;
  29. height: 40px;
  30. z-index: 10;
  31. @media screen and(max-width:$moblie) {
  32. top: 500px;
  33. }
  34. a {
  35. margin: 30px 0px;
  36. }
  37. .icon {
  38. @media screen and(max-width:$moblie) {
  39. display: none;
  40. }
  41. }
  42. &:hover {
  43. box-shadow: 1px 3px 13px -2px rgba(0, 0, 0, 0.35);
  44. }
  45. }
  46. }
  47. #Navigation {
  48. background: rgba(112, 112, 112, 0.5);
  49. height: 4.5vw;
  50. width: 100vw !important;
  51. position: fixed;
  52. z-index: 10;
  53. @media screen and(max-width:$table) {
  54. height: 8vw;
  55. }
  56. @media screen and(max-width:$moblie) {
  57. height: 15vw;
  58. position: fixed;
  59. z-index: 5;
  60. background: rgba(0, 0, 0, 0.8);
  61. }
  62. #nav {
  63. width: 100vw;
  64. margin: 0 auto;
  65. }
  66. // rwd要注意高度
  67. #logo {
  68. padding-top: 0.5vw;
  69. @media screen and(max-width:$moblie) {
  70. padding-top: 0;
  71. }
  72. img {
  73. width: 120px;
  74. }
  75. }
  76. #link {
  77. text-align: right;
  78. padding: 1.5vw 3vw;
  79. @media screen and(max-width:$table) {
  80. padding-top: 2vw;
  81. }
  82. @media screen and(max-width:$moblie) {
  83. display: none;
  84. }
  85. a {
  86. text-decoration: none;
  87. color: $Font-color;
  88. letter-spacing: 1px;
  89. font-size: 0.9rem;
  90. font-weight: 600;
  91. cursor: pointer;
  92. padding: 5px;
  93. position: relative;
  94. img {
  95. object-fit: cover;
  96. }
  97. }
  98. }
  99. #menu-btn1 {
  100. position: absolute;
  101. right: 1vw;
  102. top: 1vw;
  103. width: 18vw;
  104. z-index: 6;
  105. @media screen and(min-width:$desktop) {
  106. display: none;
  107. }
  108. @media screen and(min-width:768px) {
  109. display: none;
  110. }
  111. }
  112. }
  113. #Navigation2 {
  114. background: rgba(112, 112, 112, 0.75);
  115. height: 4.5vw;
  116. width: 100vw !important;
  117. position: fixed;
  118. bottom: 0px;
  119. z-index: 10;
  120. @media screen and(min-width:$desktop) {
  121. display: none;
  122. }
  123. @media screen and(max-width:$table) {
  124. height: 8vw;
  125. }
  126. @media screen and(max-width:$moblie) {
  127. height: 15vw;
  128. position: fixed;
  129. z-index: 5;
  130. background: rgba(0, 0, 0, 0.8);
  131. }
  132. #nav {
  133. width: 90vw;
  134. margin: 0 auto;
  135. display: grid;
  136. grid-template-columns: repeat(5, 1fr);
  137. text-align: center;
  138. a {
  139. text-decoration: none;
  140. color: $Font-color;
  141. letter-spacing: 1px;
  142. font-size: 0.9rem;
  143. font-weight: 600;
  144. cursor: pointer;
  145. position: relative;
  146. img {
  147. margin: 10px auto;
  148. object-fit: cover;
  149. }
  150. }
  151. }
  152. // rwd要注意高度
  153. }
  154. #banner {
  155. position: relative;
  156. .banner-filter {
  157. position: absolute;
  158. z-index:-1;
  159. .bannerfilter{
  160. width: 100vw;
  161. object-fit: cover;
  162. height: 50vw;
  163. animation-delay:0.1s;
  164. @media screen and(max-width:$moblie) {
  165. height: 80vh;
  166. }
  167. }
  168. }
  169. #about-title {
  170. position: absolute;
  171. right: 50px;
  172. top: 100px;
  173. @media screen and(max-width:$moblie) {
  174. display: none;
  175. }
  176. }
  177. #bannerdes-img {
  178. position: absolute;
  179. z-index: -2;
  180. opacity: 1;
  181. .banner-img {
  182. width: 100vw;
  183. height: 50vw;
  184. object-fit: cover;
  185. @media screen and(max-width:$moblie) {
  186. height: 80vh;
  187. }
  188. }
  189. }
  190. @media screen and(max-width:$moblie) {
  191. // background-image: url(../img/about/banner/banner-m2.png);
  192. background-size: 110vw;
  193. background-repeat: no-repeat;
  194. }
  195. #banner-container {
  196. padding-top: 15vw;
  197. width: 90vw;
  198. @media screen and(max-width:$moblie) {
  199. width: 95vw;
  200. }
  201. .banner-des-about {
  202. @media screen and(max-width:$moblie) {
  203. display: none;
  204. }
  205. .banner-1{
  206. .btn{
  207. color:#fff;
  208. width: 60px;
  209. height: 40px;
  210. box-shadow:none;
  211. :focus{
  212. outline: 0 !important;
  213. box-shadow:none;
  214. }
  215. img{
  216. width: 24px;
  217. object-fit: cover;
  218. filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
  219. }
  220. }
  221. }
  222. .banner-2 {
  223. img {
  224. @media screen and(max-width:$moblie) {
  225. display: none;
  226. }
  227. }
  228. }
  229. .banner-3 {
  230. img {
  231. margin-bottom: -52px;
  232. }
  233. }
  234. }
  235. .banner-m {
  236. @media screen and(min-width:$desktop) {
  237. display: none;
  238. }
  239. .bannerm-1 {
  240. .btn{
  241. color:#fff;
  242. width: 60px;
  243. height: 40px;
  244. box-shadow:none;
  245. :focus{
  246. outline: 0 !important;
  247. box-shadow:none;
  248. }
  249. img{
  250. width: 24px;
  251. object-fit: cover;
  252. filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
  253. }
  254. }
  255. @media screen and(max-width:$moblie) {
  256. margin: 0;
  257. }
  258. background: rgba(141, 194, 31, 0.8);
  259. .banner1-1 {
  260. font-size: 18px;
  261. }
  262. }
  263. }
  264. ul {
  265. position: static;
  266. border-top-right-radius:30px;
  267. border-bottom-right-radius:30px;
  268. text-align: center;
  269. background: rgba(141, 194, 31, 0.8);
  270. @media screen and(min-width:$desktop) {
  271. margin-left: 8px;
  272. margin-bottom: 10px;
  273. }
  274. @media screen and(max-width:$moblie) {
  275. margin-top: 5vw;
  276. width: 100vw;
  277. }
  278. .nav-item {
  279. padding: 10px;
  280. @media screen and(max-width:$moblie) {
  281. padding: 6px;
  282. }
  283. .nav-item2 {
  284. position: relative;
  285. &:after {
  286. content: url(../img/about/sec01/item-arrow.png);
  287. display: block;
  288. width: 80%;
  289. height: 8px;
  290. position: absolute;
  291. left: 12%;
  292. bottom: 0;
  293. transition: all 0.3s;
  294. opacity: 0;
  295. }
  296. // &:active:after,
  297. // &:focus:after{
  298. // opacity: 1;
  299. // }
  300. .after-nav {
  301. opacity: 1;
  302. }
  303. &:focus:after {
  304. width: 80%;
  305. opacity: 1;
  306. }
  307. }
  308. }
  309. }
  310. // 公司簡介
  311. .tab-content {
  312. .sec01{
  313. // 公司簡介
  314. .condition {
  315. padding:4vw 24px;
  316. font-size: 16px;
  317. padding-bottom: 10vw;
  318. @media screen and(max-width:$moblie) {
  319. padding:10vw 18px;
  320. padding-bottom: 15vw;
  321. }
  322. }
  323. .idea {
  324. padding:4vw 24px;
  325. font-size: 16px;
  326. padding-bottom: 10vw;
  327. background-size: contain;
  328. background-repeat: no-repeat;
  329. background-blend-mode: overlay;
  330. @media screen and(max-width:$moblie) {
  331. padding:10vw 18px;
  332. padding-bottom: 15vw;
  333. }
  334. }
  335. .contact {
  336. padding-bottom: 10vw;
  337. padding:4vw 24px;
  338. font-size: 16px;
  339. background-size: contain;
  340. background-repeat: no-repeat;
  341. background-blend-mode: overlay;
  342. word-break: break-all;
  343. @media screen and(max-width:$moblie) {
  344. padding:10vw 5px;
  345. padding-bottom: 15vw;
  346. }
  347. a {
  348. text-decoration: none;
  349. color: #fff;
  350. }
  351. table{
  352. th{
  353. width: 100px;
  354. padding: .4rem .1rem;
  355. @media screen and(max-width:350px) {
  356. width: 35%;
  357. }
  358. }
  359. td{
  360. padding: .4rem .1rem;
  361. }
  362. }
  363. }
  364. }
  365. // 個案賞析
  366. .sec02,
  367. .sec04 {
  368. .col-lg-4 {
  369. position: relative;
  370. background: rgb(128, 171, 41);
  371. transition: 0.3s ease-in-out;
  372. cursor: pointer;
  373. .sec02-p-m {
  374. color: #fff;
  375. text-align: center;
  376. font-size: 14px;
  377. transition: 0.3s;
  378. transition: 0.3s ease-in-out;
  379. @media screen and(min-width:$desktop) {
  380. width: 100%;
  381. position: absolute;
  382. top: 35%;
  383. left: 0px;
  384. font-size: 18px;
  385. opacity: 0;
  386. }
  387. }
  388. &:hover {
  389. .play1 {
  390. opacity: 1;
  391. }
  392. .sec02-p-m,
  393. .sec03-p-m {
  394. opacity: 1;
  395. }
  396. img {
  397. opacity: 0.2;
  398. @media screen and(max-width:$moblie) {
  399. opacity: 1;
  400. }
  401. }
  402. }
  403. @media screen and(max-width:$moblie) {
  404. background: none;
  405. }
  406. img {
  407. object-fit: cover;
  408. width: 100% !important;
  409. height: 17vw ;
  410. opacity: 1;
  411. transition: 0.3s ease-in-out;
  412. @media screen and(max-width:$moblie) {
  413. height: 50vw;
  414. }
  415. }
  416. .sec03-img-m {
  417. text-align: center;
  418. width: 100%;
  419. position: absolute;
  420. top: 100px;
  421. }
  422. .sec03-img-m1 {
  423. text-align: center;
  424. width: 100%;
  425. position: absolute;
  426. @media screen and(max-width:$moblie) {
  427. top: 80px;
  428. }
  429. .play1 {
  430. width: 50px !important;
  431. height: 50px !important;
  432. @media screen and(max-width:$moblie) {
  433. display: none;
  434. }
  435. }
  436. }
  437. }
  438. }
  439. .sec03 {
  440. .col-lg-4 {
  441. position: relative;
  442. background: rgb(128, 171, 41);
  443. transition: 0.3s ease-in-out;
  444. cursor: pointer;
  445. .sec03-p-m {
  446. color: #fff;
  447. text-align: center;
  448. font-size: 14px;
  449. transition: 0.3s;
  450. transition: 0.3s ease-in-out;
  451. @media screen and(min-width:$desktop) {
  452. width: 100%;
  453. position: absolute;
  454. top: 100px;
  455. left: 0px;
  456. font-size: 16px;
  457. opacity: 0;
  458. }
  459. }
  460. .sec03-p-m {
  461. @media screen and(min-width:$desktop) {
  462. position: absolute;
  463. top: 30%;
  464. left: 0px;
  465. background-size: contain;
  466. opacity: 0;
  467. }
  468. }
  469. &:hover {
  470. .play1 {
  471. opacity: 1;
  472. }
  473. .sec02-p-m,
  474. .sec03-p-m {
  475. opacity: 1;
  476. }
  477. img {
  478. opacity: 0.2;
  479. @media screen and(max-width:$moblie) {
  480. opacity: 1;
  481. }
  482. }
  483. }
  484. @media screen and(max-width:$moblie) {
  485. background: none;
  486. }
  487. img {
  488. object-fit: cover;
  489. width: 100% !important;
  490. height: 17vw;
  491. opacity: 1;
  492. transition: 0.3s ease-in-out;
  493. @media screen and(max-width:$moblie) {
  494. height: 50vw;
  495. }
  496. }
  497. .sec03-img-m {
  498. text-align: center;
  499. width: 100%;
  500. position: absolute;
  501. top: 100px;
  502. }
  503. .sec03-img-m1 {
  504. text-align: center;
  505. width: 100%;
  506. position: absolute;
  507. @media screen and(max-width:$moblie) {
  508. top: 80px;
  509. }
  510. .play1 {
  511. width: 50px !important;
  512. height: 50px !important;
  513. }
  514. }
  515. }
  516. .sec03-1 {
  517. .sec05-row {
  518. background: rgba(0, 0, 0, 0.8);
  519. text-align: center;
  520. height: 600px;
  521. @media screen and(max-width:$moblie) {
  522. height: 300px;
  523. }
  524. p {
  525. letter-spacing: 5px;
  526. }
  527. }
  528. }
  529. }
  530. .sec04 {
  531. .col-lg-4 {
  532. position: relative;
  533. background: rgb(128, 171, 41);
  534. transition: 0.3s ease-in-out;
  535. cursor: pointer;
  536. .sec04-p-m {
  537. color: #fff;
  538. text-align: center;
  539. font-size: 14px;
  540. transition: 0.3s;
  541. transition: 0.3s ease-in-out;
  542. @media screen and(min-width:$desktop) {
  543. width: 100%;
  544. position: absolute;
  545. top: 50px;
  546. left: 0px;
  547. font-size: 18px;
  548. opacity: 0;
  549. }
  550. }
  551. &:hover {
  552. .play1 {
  553. opacity: 1;
  554. }
  555. .sec04-p-m {
  556. opacity: 1;
  557. }
  558. img {
  559. opacity: 0.2;
  560. @media screen and(max-width:$moblie) {
  561. opacity: 1;
  562. }
  563. }
  564. }
  565. @media screen and(max-width:$moblie) {
  566. background: none;
  567. }
  568. img {
  569. object-fit: cover;
  570. width: 100% !important;
  571. height: 16.5vw ;
  572. opacity: 1;
  573. transition: 0.3s ease-in-out;
  574. @media screen and(max-width:$moblie) {
  575. height: 50vw;
  576. }
  577. }
  578. .sec03-img-m {
  579. text-align: center;
  580. width: 100%;
  581. position: absolute;
  582. top: 100px;
  583. }
  584. .sec03-img-m1 {
  585. text-align: center;
  586. width: 100%;
  587. position: absolute;
  588. @media screen and(max-width:$moblie) {
  589. top: 80px;
  590. }
  591. .play1 {
  592. width: 50px !important;
  593. height: 50px !important;
  594. }
  595. }
  596. }
  597. .sec04-1 {
  598. .sec05-row {
  599. background: rgba(0, 0, 0, 0.8);
  600. text-align: center;
  601. width: 100% !important;
  602. height: 600px;
  603. @media screen and(max-width:$moblie) {
  604. height: 300px;
  605. }
  606. p {
  607. letter-spacing: 5px;
  608. }
  609. }
  610. }
  611. }
  612. }
  613. }
  614. }
  615. // 頁尾 footer
  616. #footer {
  617. background: #363636;
  618. text-align: center;
  619. width: 80vw;
  620. margin: 0 auto !important;
  621. padding-top: 2vw;
  622. padding:1vw;
  623. @media screen and(max-width:$moblie) {
  624. width: 95vw;
  625. padding: 30vw 5vw;
  626. }
  627. a {
  628. text-decoration: none;
  629. color: #fff;
  630. }
  631. p {
  632. color: #fff;
  633. }
  634. }
  635. #modal-dialog{
  636. width: 90vw;
  637. .modal-content{
  638. width: 80vw;
  639. @media screen and(max-width:$moblie) {
  640. width: 90vw;
  641. }
  642. }
  643. }
  644. #light-box{
  645. #form-lightbox{
  646. width: 70vw;
  647. margin: 0 auto;
  648. @media screen and(max-width:$moblie) {
  649. width: 80vw;
  650. }
  651. .form-title {
  652. margin: 0 auto;
  653. color: #5c5248;
  654. h1 {
  655. text-align: center;
  656. font-size: 32px;
  657. font-weight: 900;
  658. @media screen and(max-width:$moblie) {
  659. font-size: 24px;
  660. }
  661. @media screen and(max-width:350px) {
  662. font-size: 20px;
  663. }
  664. span{
  665. font-size:38px;
  666. @media screen and(max-width:$moblie) {
  667. font-size:28px;
  668. }
  669. @media screen and(max-width:350px) {
  670. font-size: 24px;
  671. }
  672. }
  673. }
  674. }
  675. .contact-text {
  676. margin: 0 auto;
  677. .text-p {
  678. font-size: 16px;
  679. font-weight: 600;
  680. @media screen and(max-width:350px) {
  681. font-size: 14px;
  682. }
  683. }
  684. }
  685. .contact-form1{
  686. margin: 0 auto;
  687. #contact-form {
  688. margin-top: 10px;
  689. .col-lg-2{
  690. .divider{
  691. position: relative;
  692. width: 1px;
  693. height:100%;
  694. border-left: 1px solid rgba(0,0,0,0.12);
  695. }
  696. }
  697. #loc,
  698. #type,
  699. #modal,
  700. #budget,
  701. #square,
  702. #style,
  703. #datepicker,
  704. #email,
  705. #name,
  706. #phone,
  707. #gender {
  708. width: 100%;
  709. height: 50px;
  710. margin: 10px 0;
  711. padding-left: 10px;
  712. border: 1px solid rgba(0, 0, 0, 0.3);
  713. padding: 10px 15px;
  714. font-size: 16px;
  715. border-radius: 3px;
  716. appearance: none;
  717. background: url(../img/icondown.webp) 95% 50% no-repeat scroll transparent;
  718. background-size: 10px 10px;
  719. background-color: #fff;
  720. }
  721. #form-left {
  722. margin: 0 auto;
  723. #rooms,
  724. #livingroom,
  725. #bathroom {
  726. width: 28.8%;
  727. border: 1px solid rgba(0, 0, 0, 0.3);
  728. height: 50px;
  729. margin: 15px 0;
  730. padding-right: 50px;
  731. padding: 10px 15px;
  732. font-size: 16px;
  733. border-radius: 3px;
  734. appearance: none;
  735. background: url(../img/icondown.webp) 85% 50% no-repeat scroll transparent;
  736. background-size: 10px 10px;
  737. background-color: #fff;
  738. @media screen and(max-width:$moblie) {
  739. width: 31%;
  740. }
  741. }
  742. #square,
  743. #datepicker {
  744. background: none;
  745. background-color: #fff;
  746. }
  747. }
  748. #form-right {
  749. margin: 0 auto;
  750. hr{
  751. @media screen and(min-width:$desktop) {
  752. display: none;
  753. }
  754. }
  755. }
  756. #fb-button {
  757. margin-top: 12px;
  758. width: 100%;
  759. height: 50px;
  760. border: 1px solid #3b5998;
  761. text-align: right;
  762. padding-right: 60px;
  763. background-size: 32px 32px;
  764. border-radius: 3px;
  765. background-color: #fff;
  766. transition: 0.3s;
  767. position: relative;
  768. @media screen and(max-width:$moblie) {
  769. margin: 10px 0;
  770. }
  771. p {
  772. position: absolute;
  773. top:1vw;
  774. left:12vw;
  775. color: #626262;
  776. @media screen and(max-width:$moblie) {
  777. left:32vw;
  778. top:3vw;
  779. }
  780. }
  781. #line {
  782. position: absolute;
  783. color: #9b9b9b;
  784. opacity: 0.8;;
  785. left:8vw;
  786. top:-0.1vw;
  787. @media screen and(max-width:$moblie) {
  788. left:20vw;
  789. }
  790. }
  791. img {
  792. position: absolute;
  793. left: 50px;
  794. top: 10px;
  795. width: 32px;
  796. height: 32px;
  797. @media screen and(max-width:$moblie) {
  798. left: 20px;
  799. }
  800. filter: invert(29%) sepia(70%) saturate(712%) hue-rotate(186deg) brightness(89%) contrast(81%);
  801. }
  802. &:hover {
  803. background-color: #2a4f91;
  804. color: #fff;
  805. img {
  806. filter: invert(100%) sepia(100%) saturate(19%) hue-rotate(334deg) brightness(106%) contrast(106%);
  807. }
  808. p {
  809. color: #fff;
  810. }
  811. #line {
  812. color: #fff;
  813. }
  814. }
  815. }
  816. a {
  817. text-decoration: none;
  818. color: #ee751b;
  819. font-weight: 900;
  820. }
  821. #email,
  822. #name,
  823. #phone {
  824. background: none;
  825. background-color: #fff;
  826. }
  827. }
  828. }
  829. .btn {
  830. margin: 50px auto;
  831. border: none;
  832. padding: 15px;
  833. background: #edbc96;
  834. color: #4b515e;
  835. font-size: 20px;
  836. width: 400px;
  837. border-radius: 10px;
  838. @media screen and(max-width:$moblie) {
  839. width: 100%;
  840. }
  841. &:hover {
  842. color: #fff;
  843. background-color: #745c54;
  844. }
  845. }
  846. .form-btn {
  847. text-align: center;
  848. position: relative;
  849. width: 70vw;
  850. margin: 0 auto;
  851. @media screen and(max-width:$moblie) {
  852. width: 80vw;
  853. margin: 0 auto;
  854. }
  855. #phone1 {
  856. position: absolute;
  857. left: 500px;
  858. }
  859. }
  860. }
  861. }