BCB Bank static website
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

751 lignes
16 KiB

  1. @import '_colors';
  2. @import 'custom_fonts';
  3. .temp-intro {
  4. display: none;
  5. }
  6. .page-alert {
  7. position: fixed;
  8. width: 100%;
  9. height: 100vh;
  10. left: 0;
  11. top: 0;
  12. z-index: 6;
  13. display: flex;
  14. align-items: center;
  15. justify-content: center;
  16. background-color: rgba(white, 0.9);
  17. &.hide {
  18. display: none;
  19. }
  20. .content {
  21. width: 50%;
  22. max-height: 70%;
  23. overflow: auto;
  24. background-color: white;
  25. border-radius: 7px;
  26. padding: 10px 20px;
  27. box-shadow: 0px 0px 5px $dark_gray;
  28. @media screen and (max-width: 1023px) {
  29. width: 90%;
  30. max-height: 100%;
  31. }
  32. h2 {
  33. color: $blue;
  34. font-size: 22px;
  35. text-align: center;
  36. margin: 10px auto;
  37. }
  38. p {
  39. font-size: 16px;
  40. line-height: 2;
  41. letter-spacing: 0.5px;
  42. color: $dark_brown;
  43. }
  44. button {
  45. width: 100px;
  46. height: 40px;
  47. font-size: 14px;
  48. color: white;
  49. background-color: $blue;
  50. border: 0px;
  51. border-radius: 3px;
  52. display: block;
  53. margin: 10px auto;
  54. cursor: pointer;
  55. }
  56. }
  57. }
  58. section {
  59. h3 {
  60. font-size: $heading_size;
  61. font-family: 'Archivo Black', sans-serif;
  62. line-height: 1.2;
  63. color: $dark_brown;
  64. @media screen and (max-width: 1024px) {
  65. text-align: center;
  66. }
  67. mark {
  68. color: $blue;
  69. }
  70. }
  71. p {
  72. color: $dark_gray;
  73. font-size: $paragraph_size;
  74. letter-spacing: 0.8px;
  75. }
  76. figure {
  77. width: 50%;
  78. img {
  79. width: 100%;
  80. height: 100%;
  81. }
  82. }
  83. .description {
  84. width: 50%;
  85. align-self: center;
  86. @media screen and (max-width: 1024px) {
  87. width: 100%;
  88. }
  89. p {
  90. line-height: 1.8;
  91. }
  92. }
  93. }
  94. #home {
  95. box-shadow: 0 8px 20px -6px $gray;
  96. display: flex;
  97. height: 80vh;
  98. @media screen and (max-width: 1024px) {
  99. flex-direction: column;
  100. }
  101. p {
  102. padding: 30px 0;
  103. width: 75%;
  104. @media screen and (max-width: 1024px) {
  105. margin: 0 auto;
  106. }
  107. }
  108. figure {
  109. opacity: 1;
  110. transition: opacity 500ms ease;
  111. text-align: center;
  112. align-self: flex-end;
  113. @media screen and (max-width: 1024px) {
  114. width: 100%;
  115. margin-top: 30px;
  116. }
  117. &.hide {
  118. opacity: 0;
  119. }
  120. img {
  121. width: 90%;
  122. }
  123. }
  124. .description {
  125. overflow-x: hidden;
  126. button,
  127. p {
  128. position: relative;
  129. left: 0;
  130. opacity: 1;
  131. transition: left 500ms ease, opacity 500ms ease;
  132. }
  133. h3 {
  134. opacity: 1;
  135. left: 0;
  136. position: relative;
  137. transition: left 500ms ease, opacity 500ms ease;
  138. @media screen and (max-width: 1024px) {
  139. position: absolute;
  140. left: 50%;
  141. width: 100%;
  142. transform: translateX(-50%);
  143. }
  144. }
  145. p {
  146. transition-delay: 500ms;
  147. }
  148. button {
  149. transition-delay: 1000ms;
  150. }
  151. &.hide {
  152. button,
  153. h3,
  154. p {
  155. left: 10%;
  156. opacity: 0;
  157. }
  158. }
  159. }
  160. button {
  161. border: none;
  162. background-color: $blue;
  163. color: white;
  164. padding: 20px 30px;
  165. outline: none;
  166. font-size: $paragraph_size;
  167. cursor: pointer;
  168. @media screen and (max-width: 1024px) {
  169. display: block;
  170. margin: 0 auto 40px;
  171. }
  172. .fas {
  173. padding-left: 12px;
  174. font-size: 14px;
  175. position: relative;
  176. left: 0;
  177. transition: left 500ms ease;
  178. }
  179. &:hover {
  180. .fas {
  181. left: 10px;
  182. }
  183. }
  184. }
  185. }
  186. #about,
  187. #home {
  188. position: relative;
  189. @media screen and (max-width: 1024px) {
  190. padding-top: 100px;
  191. }
  192. h3 {
  193. @media screen and (max-width: 1024px) {
  194. position: absolute;
  195. top: 35px;
  196. left: 50%;
  197. transform: translateX(-50%);
  198. width: 100%;
  199. }
  200. }
  201. }
  202. #about {
  203. background-color: $lightest_gray;
  204. display: block;
  205. margin-bottom: 225px;
  206. @media screen and (max-width: 1024px) {
  207. margin-bottom: 50px;
  208. }
  209. .wrapper {
  210. width: 85%;
  211. margin: 0 auto;
  212. display: flex;
  213. justify-content: space-around;
  214. @media screen and (max-width: 1024px) {
  215. flex-direction: column-reverse;
  216. padding-bottom: 30px;
  217. }
  218. a {
  219. display: inline-block;
  220. margin: 10px 0;
  221. button {
  222. color: white;
  223. padding: 10px 15px;
  224. background-color: $blue;
  225. border: none;
  226. font-size: 16px;
  227. cursor: pointer;
  228. outline: none;
  229. transition: background-color 500ms ease;
  230. &:hover {
  231. background-color: $dark_brown;
  232. }
  233. }
  234. }
  235. }
  236. figure {
  237. width: 35%;
  238. position: relative;
  239. left: 6%;
  240. opacity: 0;
  241. transition: left 1000ms ease, opacity 1000ms ease;
  242. &.show {
  243. left: 0;
  244. opacity: 1;
  245. }
  246. @media screen and (max-width: 1024px) {
  247. width: 100%;
  248. display: block;
  249. margin: 0 auto;
  250. }
  251. img {
  252. transform: scale(1.3);
  253. top: 25%;
  254. position: relative;
  255. width: 100%;
  256. @media screen and (max-width: 1024px) {
  257. transform: scale(1);
  258. }
  259. }
  260. }
  261. .description {
  262. opacity: 0;
  263. transition: opacity 1000ms ease;
  264. width: 55%;
  265. @media screen and (max-width: 1024px) {
  266. width: 100%;
  267. }
  268. &.show {
  269. opacity: 1;
  270. }
  271. }
  272. p {
  273. padding: 14px 0;
  274. // &:nth-of-type(1) {
  275. // font-style: italic;
  276. // font-weight: bold;
  277. // color: black;
  278. // }
  279. }
  280. }
  281. #service {
  282. display: block;
  283. h3 {
  284. text-align: center;
  285. }
  286. p {
  287. width: 50%;
  288. margin: 0 auto;
  289. text-align: center;
  290. padding: 20px 0 40px;
  291. line-height: 1.8;
  292. @media screen and (max-width: 1024px) {
  293. width: 90%;
  294. }
  295. }
  296. .owl-service {
  297. width: 82%;
  298. margin: 30px auto 0;
  299. display: block;
  300. @media screen and (max-width: 1024px) {
  301. width: 100%;
  302. }
  303. li {
  304. list-style: none;
  305. background-color: $lightest_gray;
  306. width: 90%;
  307. margin: 0 auto;
  308. .inner-contents {
  309. padding-top: 20px;
  310. img {
  311. width: 60px;
  312. height: 60px;
  313. display: block;
  314. margin: 0 auto;
  315. padding-top: 20px;
  316. }
  317. p {
  318. width: 90%;
  319. margin: 0 auto;
  320. font-size: 14px;
  321. height: 20vh;
  322. }
  323. .title {
  324. text-align: center;
  325. padding-top: 20px;
  326. color: $dark_brown;
  327. font-size: $other_size;
  328. font-weight: bold;
  329. }
  330. }
  331. }
  332. }
  333. .service-carousel-btn {
  334. margin: 20px auto;
  335. text-align: center;
  336. padding: 20px 0;
  337. i {
  338. font-size: 16px;
  339. padding: 0 10px;
  340. color: $blue;
  341. cursor: pointer;
  342. }
  343. }
  344. }
  345. #branches {
  346. background-color: $lightest_gray;
  347. padding: 20px 0;
  348. h3 {
  349. text-align: center;
  350. padding: 20px 0;
  351. }
  352. p {
  353. text-align: center;
  354. width: 50%;
  355. margin: 0 auto;
  356. @media screen and (max-width: 1024px) {
  357. width: 90%;
  358. }
  359. }
  360. .owl-branches {
  361. width: 80%;
  362. margin: 0 auto;
  363. height: 55vh;
  364. @media screen and (max-width: 1024px) {
  365. width: 100%;
  366. }
  367. .owl-item-branches {
  368. width: 97%;
  369. background-color: white;
  370. margin: 50px 0;
  371. @media screen and (max-width: 1024px) {
  372. width: 90%;
  373. margin: 50px auto;
  374. }
  375. figure {
  376. width: 100%;
  377. height: 90%;
  378. img {
  379. width: 100%;
  380. height: 35vh;
  381. object-fit: cover;
  382. }
  383. }
  384. .description {
  385. margin: 0 20px;
  386. padding: 10px 0;
  387. width: 90%;
  388. height: 140px;
  389. overflow: hidden;
  390. .person-info,
  391. .person-name {
  392. font-size: $other_size;
  393. font-weight: bold;
  394. }
  395. .person-info {
  396. padding: 2px 0;
  397. color: $dark_gray;
  398. }
  399. .person-name {
  400. color: $blue;
  401. text-transform: uppercase;
  402. }
  403. }
  404. }
  405. }
  406. .branches-carousel-btn {
  407. text-align: center;
  408. padding-bottom: 30px;
  409. position: relative;
  410. z-index: 2;
  411. padding-top: 85px;
  412. i {
  413. padding: 10px;
  414. background-color: $light_gray;
  415. color: $brown;
  416. margin: 0 0 0 12px;
  417. cursor: pointer;
  418. @media screen and (max-width: 1024px) {
  419. margin: 50px 0 0 12px;
  420. }
  421. }
  422. }
  423. }
  424. #enquiry {
  425. background: linear-gradient($blue, $dark_blue);
  426. h3 {
  427. text-align: center;
  428. color: white;
  429. padding: 60px 0 30px;
  430. }
  431. p {
  432. width: 50%;
  433. margin: 0 auto;
  434. text-align: center;
  435. color: $white_shade;
  436. line-height: 1.8;
  437. @media screen and (max-width: 1024px) {
  438. width: 90%;
  439. }
  440. }
  441. form {
  442. fieldset {
  443. border: none;
  444. width: 35%;
  445. margin: 0 auto;
  446. padding: 30px 0;
  447. @media screen and (max-width: 1024px) {
  448. width: 90%;
  449. }
  450. input {
  451. background-color: transparent;
  452. border: 2px solid white;
  453. padding: 8px 18px;
  454. clear: both;
  455. width: 48%;
  456. margin: 10px 0;
  457. &:nth-child(even) {
  458. float: right;
  459. }
  460. }
  461. ::-webkit-input-placeholder {
  462. color: $white_shade;
  463. @media screen and (max-width: 1024px) {
  464. padding-left: 13px;
  465. }
  466. }
  467. ::-moz-placeholder {
  468. color: $white_shade;
  469. @media screen and (max-width: 1024px) {
  470. padding-left: 13px;
  471. }
  472. }
  473. :-ms-input-placeholder {
  474. color: $white_shade;
  475. @media screen and (max-width: 1024px) {
  476. padding-left: 13px;
  477. }
  478. }
  479. :-moz-placeholder {
  480. color: $white_shade;
  481. @media screen and (max-width: 1024px) {
  482. padding-left: 13px;
  483. }
  484. }
  485. textarea {
  486. background-color: transparent;
  487. border: 2px solid white;
  488. width: 100%;
  489. padding: 8px;
  490. font-family: open-sans;
  491. }
  492. button {
  493. display: block;
  494. margin: 20px auto;
  495. padding: 8px 18px;
  496. width: 40%;
  497. background-color: transparent;
  498. border: none;
  499. border: 2px solid white;
  500. color: white;
  501. font-size: $other_size;
  502. }
  503. }
  504. }
  505. }
  506. #contact {
  507. padding: 30px 0;
  508. h3 {
  509. text-align: center;
  510. padding: 10px 0 20px;
  511. }
  512. p {
  513. width: 50%;
  514. margin: 0 auto;
  515. text-align: center;
  516. line-height: 1.8;
  517. @media screen and (max-width: 1024px) {
  518. width: 90%;
  519. }
  520. }
  521. .inner-container {
  522. display: flex;
  523. width: 80%;
  524. margin: 40px auto;
  525. padding: 20px 0;
  526. justify-content: space-between;
  527. @media screen and (max-width: 1024px) {
  528. flex-direction: column;
  529. width: 90%;
  530. }
  531. figure {
  532. width: 60%;
  533. @media screen and (max-width: 1024px) {
  534. width: 100%;
  535. }
  536. }
  537. .description-container {
  538. width: 30%;
  539. @media screen and (max-width: 1024px) {
  540. width: 100%;
  541. }
  542. li {
  543. display: flex;
  544. justify-content: space-evenly;
  545. padding: 15px 0;
  546. &:last-child {
  547. a {
  548. color: $blue;
  549. }
  550. }
  551. address {
  552. font-size: $paragraph_size;
  553. color: $brown;
  554. font-family: open-sans;
  555. font-style: normal;
  556. line-height: 1.8;
  557. }
  558. label {
  559. color: $brown;
  560. font-weight: bold;
  561. font-size: $paragraph_size;
  562. }
  563. .contact-content,
  564. address {
  565. width: 70%;
  566. }
  567. .contact-content {
  568. display: flex;
  569. font-size: $paragraph_size;
  570. li {
  571. color: $brown;
  572. padding: 0 15px 0 0;
  573. i {
  574. font-size: 18px;
  575. }
  576. }
  577. }
  578. }
  579. }
  580. }
  581. }
  582. .toast {
  583. position: fixed;
  584. bottom: 0;
  585. right: 0;
  586. background-color: #403e41;
  587. z-index: 5;
  588. width: 300px;
  589. height: 400px;
  590. padding: 10px;
  591. transition: transform 500ms ease;
  592. overflow: auto;
  593. &.hide {
  594. transform: translateY(345px);
  595. .close-toast {
  596. transform: rotate(180deg);
  597. }
  598. }
  599. header {
  600. font-size: 16px;
  601. letter-spacing: 1px;
  602. font-weight: bold;
  603. padding: 10px 0;
  604. text-align: center;
  605. color: white;
  606. }
  607. .close-toast {
  608. position: absolute;
  609. top: 20px;
  610. left: 10px;
  611. color: white;
  612. font-size: 30px;
  613. cursor: pointer;
  614. display: flex;
  615. transition: tranform 500ms ease;
  616. img {
  617. width: 20px;
  618. height: 20px;
  619. }
  620. }
  621. ul {
  622. width: 80%;
  623. margin: 0 auto;
  624. li {
  625. color: white;
  626. text-decoration: underline;
  627. font-size: 14px;
  628. margin: 0 0 10px;
  629. &.highlight {
  630. animation: glow 1.5s infinite linear;
  631. font-weight: 600;
  632. font-size: 16px;
  633. }
  634. }
  635. }
  636. }
  637. @keyframes glow {
  638. 0% {
  639. color: white;
  640. }
  641. 50% {
  642. color: #28aae2;
  643. }
  644. 100% {
  645. color: white;
  646. }
  647. }