rv_web2.scss 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453
  1. // <!-- -------------common----------------->
  2. $main-color: #727679;
  3. .radarBox {
  4. width: 50%;
  5. margin: 0;
  6. transition: all 300ms ease-in-out;
  7. @media(max-width: 576px) {
  8. width: 100%;
  9. background-color: #FFF;
  10. box-shadow: 0 1px 10px #cecece;
  11. }
  12. canvas {
  13. transform: unset;
  14. transition: all 300ms ease-in-out;
  15. @media(max-width: 576px) {
  16. transform: scale(0.85);
  17. margin-left: auto;
  18. margin-right: auto;
  19. }
  20. }
  21. }
  22. .text-underline {
  23. text-decoration: underline;
  24. }
  25. .swiper-button-next, .swiper-button-prev {
  26. &:focus {
  27. outline: none !important;
  28. display: none;
  29. }
  30. }
  31. // <!-- ---------------------建案(左:雷達圖/右:簡介+社群媒體分享)------------------------->
  32. .intro {
  33. padding: 1.5rem 0;
  34. &__section {
  35. padding: 1rem;
  36. transition: all 300ms ease-in-out;
  37. @media(max-width: 576px) {
  38. padding: 0;
  39. }
  40. }
  41. &__section__info {
  42. padding: 1rem;
  43. color: $main-color;
  44. position: relative;
  45. transition: all 300ms ease-in-out;
  46. @media(max-width: 576px) {
  47. padding: 0.5rem 0.7rem;
  48. }
  49. }
  50. &__infoItems {
  51. padding: 1rem 0 0 0;
  52. line-height: 1.5;
  53. min-width: 87%;
  54. transition: all 300ms ease-in-out;
  55. @media(max-width: 1199px) {
  56. padding: 0 0 1.5rem 1rem;
  57. }
  58. @media(max-width: 992px) {
  59. padding: 0 0 1.5rem 0;
  60. max-width: 100%;
  61. }
  62. @media(max-width: 576px) {
  63. padding: 0;
  64. line-height: 2;
  65. }
  66. }
  67. &__infoItems__list {
  68. display: flex;
  69. &--lf {
  70. flex-basis: 13%;
  71. flex-grow: 0;
  72. max-width: 13%;
  73. display: flex;
  74. justify-content: flex-end;
  75. align-items: start;
  76. transition: all 300ms ease-in-out;
  77. @media(max-width: 1199px) {
  78. flex-basis: 20%;
  79. }
  80. @media(max-width: 992px) {
  81. flex-basis: 30%;
  82. max-width: 30%;
  83. }
  84. @media(max-width: 576px) {
  85. flex-basis: 25%;
  86. max-width: 25%;
  87. }
  88. @media(max-width: 321px) {
  89. flex-basis: 30%;
  90. max-width: 30%;
  91. }
  92. }
  93. &--rt {
  94. flex-basis: 87%;
  95. flex-grow: 0;
  96. max-width: 87%;
  97. justify-content: start;
  98. word-break: break-all;
  99. @media(max-width: 576px) {
  100. flex-basis: 70%;
  101. max-width: 70%;
  102. }
  103. }
  104. .small {
  105. color: #AAA;
  106. }
  107. a {
  108. &:hover {
  109. color: #727679;
  110. }
  111. }
  112. }
  113. .marked-dollar {
  114. position: absolute;
  115. right: 15px;
  116. top: 15px;
  117. }
  118. .marked {
  119. font-size: 2.5rem;
  120. font-weight: bold;
  121. color: #FF0000;
  122. line-height: 0.9;
  123. margin: 0 0.5rem 0 0;
  124. transition: all 300ms ease-in-out;
  125. @media(max-width: 1199px) {
  126. font-size: 2.5rem;
  127. }
  128. @media(max-width: 992px) {
  129. font-size: 1.5rem;
  130. }
  131. @media(max-width: 576px) {
  132. font-size: 1.5rem;
  133. color: #FF0000;
  134. line-height: 1.2;
  135. }
  136. }
  137. &__section__contact {
  138. padding: 0.5rem;
  139. width: 50%;
  140. transition: all 300ms ease-in-out;
  141. @media(max-width: 576px) {
  142. padding: 1rem;
  143. width: 100%;
  144. }
  145. .contactTitle-wrapper {
  146. line-height: 1.2;
  147. }
  148. .contactTitle {
  149. color: #727679;
  150. font-size: 1.125rem;
  151. font-weight: normal;
  152. transition: all 300ms ease-in-out;
  153. @media(max-width: 576px) {
  154. font-size: 1.125rem;
  155. font-weight: bold;
  156. }
  157. }
  158. a {
  159. color: #EE751B;
  160. font-size: 1.5rem;
  161. font-weight: bold;
  162. padding: 0;
  163. transition: all 300ms ease-in-out;
  164. @media(max-width: 1199px) {
  165. font-size: 1.1rem;
  166. }
  167. @media(max-width: 576px) {
  168. padding: 0.5rem 0;
  169. font-size: 1.5rem;
  170. }
  171. }
  172. .btn {
  173. padding: 0.9rem 2rem;
  174. transition: all 300ms ease-in-out;
  175. @media(max-width: 1199px) {
  176. padding: 0.5rem 1rem;
  177. }
  178. @media(max-width: 992px) {
  179. padding: 0.5rem;
  180. }
  181. }
  182. }
  183. }
  184. .introShort {
  185. &__above {
  186. display: flex;
  187. justify-content: space-between;
  188. align-items: center;
  189. }
  190. &__vr {
  191. top: 15px;
  192. right: 15px;
  193. text-align: center;
  194. color: #EE751B;
  195. border: 1px solid #EE751B;
  196. border-radius: 0.25rem;
  197. line-height: 1.1;
  198. transform: scale(0.9);
  199. padding: 0.5rem 0.8rem;
  200. transition: all 300ms ease-in-out;
  201. @media(max-width: 576px) {
  202. top: 16px;
  203. right: 15px;
  204. padding: 0;
  205. line-height: 1.2;
  206. }
  207. &:hover {
  208. cursor: pointer;
  209. }
  210. &__big {
  211. font-size: 265%;
  212. font-weight: bold;
  213. transition: all 300ms ease-in-out;
  214. @media(max-width: 576px) {
  215. font-size: 170%;
  216. }
  217. }
  218. &__text {
  219. &::before {
  220. content: '全景預覽';
  221. display: inline-block;
  222. transform: scale(0.8);
  223. @media(max-width: 576px) {
  224. transform: scale(0.75);
  225. }
  226. }
  227. }
  228. }
  229. &__price {
  230. top: 15px;
  231. right: 15px;
  232. text-align: center;
  233. color: #EE751B;
  234. border: 1px solid #EE751B;
  235. border-radius: 0.25rem;
  236. background: #ee7518;
  237. color: #FFF;
  238. line-height: 1.1;
  239. transform: scale(0.9);
  240. padding: 0.5rem;
  241. transition: all 300ms ease-in-out;
  242. @media(max-width: 576px) {
  243. top: 16px;
  244. right: 15px;
  245. padding: 0;
  246. line-height: 1.2;
  247. }
  248. &:hover {
  249. cursor: pointer;
  250. }
  251. &__big {
  252. font-size: 265%;
  253. font-weight: bold;
  254. transform: scale(0.75);
  255. transition: all 300ms ease-in-out;
  256. @media(max-width: 576px) {
  257. font-size: 170%;
  258. transform: unset;
  259. }
  260. }
  261. &__text {
  262. &::before {
  263. content: '實價登錄';
  264. display: inline-block;
  265. transform: scale(0.8);
  266. @media(max-width: 576px) {
  267. transform: scale(0.75);
  268. }
  269. }
  270. }
  271. }
  272. &__content {
  273. margin: 1rem 0 0;
  274. color: #727679;
  275. }
  276. }
  277. // <!-- --------------------------------建案-影片----------------------------------->
  278. .buildVideo {
  279. &__bgImg {
  280. height: 406px;
  281. background-repeat: no-repeat;
  282. background-size: cover;
  283. background-position: center;
  284. position: relative;
  285. transition: all 300ms ease-in-out;
  286. @media(max-width: 576px) {
  287. height: 250px;
  288. }
  289. }
  290. &__play {
  291. position: absolute;
  292. top: 43%;
  293. left: 47%;
  294. width: 55px;
  295. transition: all 300ms ease-in-out;
  296. @media(max-width: 576px) {
  297. top: 35%;
  298. left: 40%;
  299. width: 85px;
  300. height: 85px;
  301. }
  302. }
  303. &__link {
  304. position: relative;
  305. display: flex;
  306. justify-content: center;
  307. align-items: center;
  308. max-width: 1310px;
  309. margin: 0 auto;
  310. background: #fff;
  311. min-height: 750px;
  312. transition: all 300ms ease-in-out;
  313. @media(max-width: 576px) {
  314. min-height: unset;
  315. }
  316. }
  317. &__img {
  318. max-height: 650px;
  319. }
  320. picture {
  321. img {
  322. position: absolute;
  323. top: 45%;
  324. left: 45.5%;
  325. width: 110px;
  326. height: 110px;
  327. }
  328. }
  329. .swiper-button-prev:after {
  330. content: '';
  331. width: 23px;
  332. height: 40px;
  333. background: url("../../images/rv_web/arrow-left.png") no-repeat;
  334. background-position: center;
  335. display: inline-block;
  336. }
  337. .swiper-button-next:after {
  338. content: '';
  339. width: 23px;
  340. height: 40px;
  341. background: url("../../images/rv_web/arrow-right.png") no-repeat;
  342. background-position: center;
  343. display: inline-block;
  344. }
  345. }
  346. // <!-- ---------------------------------專欄(PC-2欄、mb-單欄)----------------------------------->
  347. .buildSlider {
  348. &__bgImg {
  349. height: 406px;
  350. background-repeat: no-repeat;
  351. background-size: 100% 100%;
  352. background-position: center;
  353. }
  354. &__title {
  355. margin: 0.5rem 0;
  356. color: #43484C;
  357. font-size: 1.125rem;
  358. &--ellipse {
  359. -webkit-box-orient: vertical;
  360. -moz-box-orient: vertical;
  361. box-orient: vertical;
  362. -webkit-line-clamp: 2;
  363. height: calc(18px * 2 *1.5);
  364. overflow: hidden;
  365. text-overflow: ellipsis;
  366. display: -webkit-box;
  367. }
  368. }
  369. }
  370. // <!-- -------------------推薦建案---------------------->
  371. .likeSee {
  372. &__tag {
  373. &--item {
  374. font-size: 1.125rem;
  375. font-weight: bold;
  376. transition: all 300ms ease-in-out;
  377. @media(max-width: 576px) {
  378. font-size: 1rem;
  379. }
  380. }
  381. }
  382. a {
  383. &:hover {
  384. color: #727679;
  385. }
  386. }
  387. }
  388. .card {
  389. .card-link {
  390. position: relative;
  391. picture img {
  392. position: absolute;
  393. top: 45%;
  394. left: 45%;
  395. width: 46px;
  396. height: 46px;
  397. transition: all 300ms ease-in-out;
  398. @media(max-width: 576px) {
  399. top: 39%;
  400. left: 39%;
  401. width: 40px;
  402. height: 40px;
  403. }
  404. }
  405. }
  406. }