浏览代码

Board of directors 2020 update

master
kj1352 5 年前
父节点
当前提交
f46ea6b66c
共有 10 个文件被更改,包括 749 次插入717 次删除
  1. +28
    -0
      static/css/about.css
  2. +17
    -17
      static/css/home.css
  3. +0
    -5
      static/css/loans.css
  4. 二进制
      static/files/board_of_dir_2020.pdf
  5. +36
    -4
      static/scss/about.scss
  6. +660
    -681
      static/scss/home.scss
  7. +1
    -5
      static/scss/loans.scss
  8. +5
    -3
      templates/about.html
  9. +1
    -1
      templates/deposit.html
  10. +1
    -1
      templates/loans.html

+ 28
- 0
static/css/about.css 查看文件

@@ -90,6 +90,34 @@
font-family: archivo-black; font-family: archivo-black;
color: #403e41; color: #403e41;
} }
.about-content .scene-container {
overflow: hidden;
width: 37%;
background-color: #f0f0f0;
min-height: 50vh;
}
@media screen and (max-width: 1023px) {
.about-content .scene-container {
width: 100%;
}
}
.about-content object {
overflow-x: hidden;
display: none;
width: 100%;
height: 100%;
}
.about-content object.active {
display: block;
}
.about-content iframe {
display: none;
}
@media screen and (max-width: 1024px) {
.about-content iframe.active {
display: block;
}
}
.about-content figure { .about-content figure {
width: 37%; width: 37%;
align-self: center; align-self: center;


+ 17
- 17
static/css/home.css 查看文件

@@ -107,8 +107,8 @@ section .description p {
#home .description { #home .description {
overflow-x: hidden; overflow-x: hidden;
} }
#home .description p,
#home .description button {
#home .description button,
#home .description p {
position: relative; position: relative;
left: 0; left: 0;
opacity: 1; opacity: 1;
@@ -134,9 +134,9 @@ section .description p {
#home .description button { #home .description button {
transition-delay: 1000ms; transition-delay: 1000ms;
} }
#home .description.hide button,
#home .description.hide h3, #home .description.hide h3,
#home .description.hide p,
#home .description.hide button {
#home .description.hide p {
left: 10%; left: 10%;
opacity: 0; opacity: 0;
} }
@@ -152,8 +152,7 @@ section .description p {
@media screen and (max-width: 1024px) { @media screen and (max-width: 1024px) {
#home button { #home button {
display: block; display: block;
margin: 0 auto;
margin-bottom: 40px;
margin: 0 auto 40px;
} }
} }
#home button .fas { #home button .fas {
@@ -167,19 +166,19 @@ section .description p {
left: 10px; left: 10px;
} }


#home,
#about {
#about,
#home {
position: relative; position: relative;
} }
@media screen and (max-width: 1024px) { @media screen and (max-width: 1024px) {
#home,
#about {
#about,
#home {
padding-top: 100px; padding-top: 100px;
} }
} }
@media screen and (max-width: 1024px) { @media screen and (max-width: 1024px) {
#home h3,
#about h3 {
#about h3,
#home h3 {
position: absolute; position: absolute;
top: 35px; top: 35px;
left: 50%; left: 50%;
@@ -397,8 +396,8 @@ section .description p {
height: 140px; height: 140px;
overflow: hidden; overflow: hidden;
} }
#branches .owl-branches .owl-item-branches .description .person-name,
#branches .owl-branches .owl-item-branches .description .person-info {
#branches .owl-branches .owl-item-branches .description .person-info,
#branches .owl-branches .owl-item-branches .description .person-name {
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: bold;
} }
@@ -590,8 +589,8 @@ section .description p {
font-weight: bold; font-weight: bold;
font-size: 16px; font-size: 16px;
} }
#contact .inner-container .description-container li address,
#contact .inner-container .description-container li .contact-content {
#contact .inner-container .description-container li .contact-content,
#contact .inner-container .description-container li address {
width: 70%; width: 70%;
} }
#contact .inner-container .description-container li .contact-content { #contact .inner-container .description-container li .contact-content {
@@ -654,13 +653,14 @@ section .description p {
color: white; color: white;
text-decoration: underline; text-decoration: underline;
font-size: 14px; font-size: 14px;
margin: 0 0 10px 0;
margin: 0 0 10px;
} }
.toast ul li.highlight { .toast ul li.highlight {
animation: glow 1.5s infinite linear; animation: glow 1.5s infinite linear;
font-weight: 600; font-weight: 600;
font-size: 16px; font-size: 16px;
} }

@keyframes glow { @keyframes glow {
0% { 0% {
color: white; color: white;


+ 0
- 5
static/css/loans.css 查看文件

@@ -69,11 +69,6 @@
.service-content object.active { .service-content object.active {
display: block; display: block;
} }
@media screen and (max-width: 1024px) {
.service-content object.active {
display: none;
}
}
.service-content iframe { .service-content iframe {
display: none; display: none;
} }


二进制
static/files/board_of_dir_2020.pdf 查看文件


+ 36
- 4
static/scss/about.scss 查看文件

@@ -54,7 +54,7 @@
@media screen and (max-width: 1024px) { @media screen and (max-width: 1024px) {
width: 100%; width: 100%;
} }
p { p {
width: 100%; width: 100%;
} }
@@ -68,7 +68,39 @@
font-size: $heading_size; font-size: $heading_size;
font-family: archivo-black; font-family: archivo-black;
color: $dark_brown; color: $dark_brown;
}
}
}
}

.scene-container {
overflow: hidden;
width: 37%;
background-color: $lightest_gray;
min-height: 50vh;

@media screen and (max-width: 1023px) {
width: 100%;
}
}

object {
overflow-x: hidden;
display: none;
width: 100%;
height: 100%;

&.active {
display: block;
}
}

iframe {
display: none;

@media screen and (max-width: 1024px) {
&.active {
display: block;
}
} }
} }


@@ -172,7 +204,7 @@
margin: 20px auto; margin: 20px auto;
text-align: center; text-align: center;
padding: 20px 0; padding: 20px 0;
i { i {
font-size: 16px; font-size: 16px;
padding: 0 10px; padding: 0 10px;
@@ -180,4 +212,4 @@
cursor: pointer; cursor: pointer;
} }
} }
}
}

+ 660
- 681
static/scss/home.scss
文件差异内容过多而无法显示
查看文件


+ 1
- 5
static/scss/loans.scss 查看文件

@@ -48,10 +48,6 @@


&.active { &.active {
display: block; display: block;

@media screen and (max-width: 1024px) {
display: none;
}
} }
} }


@@ -87,4 +83,4 @@
} }
} }
} }
}
}

+ 5
- 3
templates/about.html 查看文件

@@ -11,9 +11,11 @@
</section> </section>
<section class="about-content"> <section class="about-content">
<div class="inner-container"> <div class="inner-container">
<figure>
<img src="{% static 'images/edits/founders.jpg' %}" alt="">
</figure>
<div class="scene-container">
<object data="{% static 'files/board_of_dir_2020.pdf' %}" type="application/pdf" style="width:100%; height:100%;" class="active" data-scene-target = "sales">
<embed src="{% static 'files/board_of_dir_2020.pdf' %}" type="application/pdf" />
</object>
</div>
<div class="description"> <div class="description">
<div class="heading"><mark>About</mark> BCB</div> <div class="heading"><mark>About</mark> BCB</div>
<h3>Brief History</h3> <h3>Brief History</h3>


+ 1
- 1
templates/deposit.html 查看文件

@@ -23,4 +23,4 @@


{% block scripts %} {% block scripts %}
<script src="{% static 'js/service.js' %}" ></script> <script src="{% static 'js/service.js' %}" ></script>
{% endblock scripts %}
{% endblock scripts %}

+ 1
- 1
templates/loans.html 查看文件

@@ -47,4 +47,4 @@


{% block scripts %} {% block scripts %}
<script src="{% static 'js/service.js' %}" ></script> <script src="{% static 'js/service.js' %}" ></script>
{% endblock scripts %}
{% endblock scripts %}

正在加载...
取消
保存