Commit f72a8917 authored by Chi Bui's avatar Chi Bui 👀

update table themes

parent 283d913e
...@@ -10,3 +10,14 @@ ...@@ -10,3 +10,14 @@
ul.inline li{ ul.inline li{
padding: 0 10px 0 0 !important; padding: 0 10px 0 0 !important;
} }
.text-white a {
color: white;
}
@media (min-width: 768px) {
.ctn-720{
max-width: calc(100vw) !important;
width: 100%
}
}
@font-face { @font-face {
font-family: "Roboto"; font-family: "Roboto";
src: url("../font/roboto/Roboto-Regular.ttf") format("truetype"); src: url("../font/roboto/Roboto-Regular.ttf") format("truetype");
} }
body { body {
font-family: "Roboto"; font-family: "Roboto";
}
@media (max-width: 991px) {
.container {
max-width: 100%;
padding-left: 30px;
padding-right: 30px;
}
}
@media (max-width: 767px) {
.container {
max-width: 100%;
padding-left: 20px;
padding-right: 20px;
}
} }
.header-top { .header-top {
padding: 10px 0; padding: 10px 0;
} }
.header-top .header-top__logo { .header-top .header-top__logo {
color: #008c3e; color: #008c3e;
text-transform: uppercase; text-transform: uppercase;
font-weight: 700; font-weight: 700;
font-size: 23px; font-size: 23px;
} }
.header-top p { .header-top p {
margin-bottom: 0; margin-bottom: 0;
} }
.header-top .header-top__description { .header-top .header-top__description {
color: #8dc63f; color: #8dc63f;
font-size: 12px; font-size: 12px;
font-style: italic; font-style: italic;
} }
.header-top .img-fluid { .header-top .img-fluid {
height: 110px; height: 110px;
width: auto; width: auto;
-o-object-fit: cover; -o-object-fit: cover;
object-fit: cover; object-fit: cover;
} }
@media (max-width: 991px) { @media (max-width: 991px) {
.header-top { .header-top {
padding: 20px 0; padding: 20px 0;
} }
} }
.header-nav { .header-nav {
background: #008c3e; margin-top: 10px;
font-weight: 600; background: #008c3e;
font-weight: 600;
}
@media (max-width: 991px) {
.header-nav {
margin-top: 0;
}
} }
.header-nav .menu { .header-nav .menu {
color: white; color: white;
} }
.header-nav .menupleft { .header-nav .menupleft {
padding-left: 172px; padding-left: 172px;
} }
.header-nav .lastmenu { .header-nav .lastmenu {
color: white; color: white;
font-size: 15px; font-size: 15px;
} }
.header-nav .navbar { .header-nav .navbar {
width: 100%; width: 100%;
padding: 0; padding: 0;
height: 45px; height: 45px;
} }
.header-nav .navbar .nav-item { .header-nav .navbar .nav-item {
height: 45px; height: 45px;
} }
.header-nav .navbar .nav-link { .header-nav .navbar .nav-link {
padding: 12px 6px; padding: 12px 6px;
} }
.header-nav .navbar-toggler { .header-nav .navbar-toggler {
z-index: 500; z-index: 500;
position: relative; position: relative;
} }
.header-nav .nav-item:hover { .header-nav .nav-item:hover {
background: #8dc63f; background: #8dc63f;
} }
.header-nav .nav-item a { .header-nav .nav-item a {
color: white !important; color: white !important;
font-size: 14px; font-size: 14px;
} }
.header-nav .navbar-brand { .header-nav .navbar-brand {
color: white; color: white;
} }
.header-nav .hidden { .header-nav .hidden {
display: none !important; display: none !important;
} }
.header-nav .search-popup { .header-nav .search-popup {
position: absolute; position: absolute;
bottom: -45px; bottom: -45px;
right: -10px; right: -10px;
z-index: 50; z-index: 50;
} }
.header-nav .search-popup input { .header-nav .search-popup input {
border-radius: 0; border-radius: 0;
width: 250px; width: 250px;
outline: none !important; outline: none !important;
box-shadow: none !important; box-shadow: none !important;
border-color: #ced4da !important; border-color: #ced4da !important;
} }
.header-nav .search-popup::after, .header-nav .search-popup::after, .header-nav .search-popup::before {
.header-nav .search-popup::before { content: "";
content: ""; position: absolute;
position: absolute; width: 0;
width: 0; height: 0;
height: 0; top: -18px;
top: -18px; border-style: solid;
border-style: solid;
} }
.header-nav .search-popup::after { .header-nav .search-popup::after {
right: 10px; right: 10px;
border-color: transparent transparent white transparent; border-color: transparent transparent white transparent;
border-width: 9px; border-width: 9px;
top: -17px; top: -17px;
z-index: 5; z-index: 5;
} }
.header-nav .search-popup::before { .header-nav .search-popup::before {
right: 10px; right: 10px;
border-color: transparent transparent #ced4da transparent; border-color: transparent transparent #ced4da transparent;
border-width: 9px; border-width: 9px;
} }
@media (max-width: 991px) { @media (max-width: 991px) {
.header-nav { .header-nav {
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: 100%;
} }
.header-nav .navbar { .header-nav .navbar {
height: auto; height: auto;
padding: 10px 0px; padding: 10px 0px;
} }
.header-nav .navbar h5 { .header-nav .navbar h5 {
line-height: 30px; line-height: 30px;
} }
} }
.headline { .headline {
font-size: 12px; font-size: 12px;
padding-top: 15px; padding-top: 15px;
padding-bottom: 13px; padding-bottom: 13px;
} }
.headline h6 { .headline h6 {
color: #f26522; color: #f26522;
} }
.headline i { .headline i {
margin: 3px 3px 0 10px; margin: 3px 3px 0 10px;
} }
.headline span { .headline span {
cursor: pointer; cursor: pointer;
} }
.title { .title {
margin: 30px 0; margin: 30px 0;
} }
.title .title-img { .title .title-img {
color: white; color: white;
z-index: 1; z-index: 1;
} }
.title .title-img img { .title .title-img img {
height: 34px; height: 34px;
width: auto; width: auto;
z-index: 10; z-index: 10;
} }
.title .title-text { .title .title-text {
height: 34px; height: 34px;
padding-left: 20px; padding-left: 20px;
padding-right: 20px; padding-right: 20px;
background: #008c3e; background: #008c3e;
color: white; color: white;
font-size: 14px; font-size: 14px;
padding-top: 7px; padding-top: 7px;
margin-left: -6px; margin-left: -6px;
margin-bottom: -2px; margin-bottom: -2px;
} }
@media (max-width: 991px) { @media (max-width: 991px) {
.title { .title {
margin: 20px 0; margin: 20px 0;
} }
} }
img { img {
max-width: 100%; max-width: 100%;
} }
.hot-news { .hot-news {
padding-bottom: 20px; padding-bottom: 20px;
} }
.hot-news h5 { .hot-news h5 {
font-size: 20px; font-size: 20px;
color: #8dc63f; color: #8dc63f;
font-weight: bold; font-weight: bold;
margin-top: 20px; margin-top: 20px;
} }
.hot-news p { .hot-news p {
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: bold;
margin-bottom: 5px; margin-bottom: 5px;
} }
.hot-news i { .hot-news i {
margin-right: 5px; margin-right: 5px;
color: #999999; color: #999999;
font-size: 13px; font-size: 13px;
} }
.hot-news .hot-news__brand img { .hot-news .hot-news__brand img {
height: 320px; height: 320px;
width: 100%; width: 100%;
-o-object-fit: cover; -o-object-fit: cover;
object-fit: cover; object-fit: cover;
} }
.hot-news .hot-news__brand-time .description { .hot-news .hot-news__brand-time .description {
padding-bottom: 7px; margin-bottom: 7px;
padding-top: 15px; margin-top: 15px;
}
.hot-news .hot-news__brand .description {
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
} }
.hot-news .hot-news__time .description { .hot-news .hot-news__time .description {
padding-bottom: 7px; padding-bottom: 7px;
padding-top: 15px; padding-top: 15px;
} }
.hot-news .hot-news__list-item { .hot-news .hot-news__list-item {
padding-bottom: 10px; padding-bottom: 10px;
border-bottom: 1px #cec7c7 dashed; border-bottom: 1px #cec7c7 dashed;
margin-bottom: 10px; margin-bottom: 10px;
} }
.hot-news .hot-news__list-item p { .hot-news .hot-news__list-item p {
margin-bottom: 1px; margin-bottom: 1px;
font-weight: bold; font-weight: bold;
font-size: 14px; font-size: 14px;
} }
.hot-news .hot-news__list-item:nth-last-child(1) { .hot-news .hot-news__list-item:nth-last-child(1) {
border-bottom: none; border-bottom: none;
} }
.hot-news .brand-news { .hot-news .brand-news {
padding-bottom: 30px; padding-bottom: 30px;
} }
.focus-news .focus-news__img { .focus-news .focus-news__img {
margin-right: 10px; margin-right: 10px;
flex: 0 0 120px; flex: 0 0 120px;
} }
.focus-news .focus-news__img img { .focus-news .focus-news__img img {
width: 120px; width: 120px;
height: 75px; height: 75px;
-o-object-fit: cover; -o-object-fit: cover;
object-fit: cover; object-fit: cover;
}
@media (max-width: 991px) {
.focus-news .focus-news__img {
flex: 0 0 100px;
}
.focus-news .focus-news__img img {
width: 100px;
height: 60px;
}
} }
.focus-news .focus-news__content { .focus-news .focus-news__content {
font-size: 13px; font-size: 13px;
} }
.focus-news .focus-news__content .icon { .focus-news .focus-news__content .icon {
color: #999999; color: #999999;
margin-bottom: 0; margin-bottom: 0;
} }
.focus-news .focus-news__content-title { .focus-news .focus-news__content-title {
display: -webkit-box; display: -webkit-box;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
.focus-news .focus-news-item { .focus-news .focus-news-item {
margin-bottom: 20px; margin-bottom: 20px;
} }
.focus-news .focus-news__typesecond { .focus-news .focus-news__typesecond {
margin-bottom: 50px; margin-bottom: 50px;
} }
.focus-news .focus-news__typesecond-item { .focus-news .focus-news__typesecond-item {
margin-top: 10px; margin-top: 10px;
padding: 20px 0; padding: 20px 0;
border-bottom: 1px #cec7c7 dashed; border-bottom: 1px #cec7c7 dashed;
} }
.focus-news .focus-news__typesecond-item:nth-last-child(1) { .focus-news .focus-news__typesecond-item:nth-last-child(1) {
border-bottom: 0; border-bottom: 0;
} }
.focus-news .focus-news__typesecond img { .focus-news .focus-news__typesecond img {
height: 155px; height: 155px;
-o-object-fit: cover; -o-object-fit: cover;
object-fit: cover; object-fit: cover;
width: 100%; width: 100%;
} }
.focus-news .focus-news__typesecond-title { .focus-news .focus-news__typesecond-title {
font-size: 20px; font-size: 20px;
color: #008c3e; color: #008c3e;
} }
.focus-news .focus-news__typesecond .icon { .focus-news .focus-news__typesecond .icon {
margin: 10px 0; margin: 10px 0;
} }
.focus-news .focus-news__typesecond p { .focus-news .focus-news__typesecond p {
font-weight: 600; font-weight: 600;
display: -webkit-box; display: -webkit-box;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
.hot-news-focus .hot-news-focus-title { .hot-news-focus .hot-news-focus-title {
margin-bottom: 12px; margin-bottom: 12px;
} }
.hot-news-focus .hot-news-focus-title .icon { .hot-news-focus .hot-news-focus-title .icon {
height: 35px; height: 35px;
width: 35px; width: 35px;
background: #bbbbbb; background: #bbbbbb;
color: white; color: white;
} }
.hot-news-focus .hot-news-focus-title .text-center { .hot-news-focus .hot-news-focus-title .text-center {
height: 35px; height: 35px;
width: 236px; width: 236px;
background: #909090; background: #909090;
color: white; color: white;
font-size: 14px; font-size: 14px;
padding-top: 7px; padding-top: 7px;
} }
.hot-news-focus .hot-news-focus-item { .hot-news-focus .hot-news-focus-item {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
border-bottom: 1px #cec7c7 dashed; border-bottom: 1px #cec7c7 dashed;
padding: 18px 0; padding: 18px 0;
} }
.hot-news-focus .hot-news-focus-item-number { .hot-news-focus .hot-news-focus-item-number {
padding: 3px 12px; padding: 3px 12px;
background-color: #909090; background-color: #909090;
color: white; color: white;
padding-top: 3px; padding-top: 3px;
font-size: 20px; font-size: 20px;
font-weight: bold; font-weight: bold;
margin-right: 20px; margin-right: 20px;
margin-top: 5px; margin-top: 5px;
} }
.hot-news-focus .hot-news-focus-item:nth-last-child(1) { .hot-news-focus .hot-news-focus-item:nth-last-child(1) {
border-bottom: 0; border-bottom: 0;
} }
.hot-news-focus .hot-news-focus-item:nth-child(1) { .hot-news-focus .hot-news-focus-item:nth-child(1) {
padding-top: 0; padding-top: 0;
} }
.impressive-item { .impressive-item {
padding: 30px; padding: 30px;
background: #f5f5f5; background: #f5f5f5;
margin-bottom: 25px; margin-bottom: 25px;
border: 1px #dddddd solid; border: 1px #dddddd solid;
height: 225px; height: 225px;
position: relative; position: relative;
} }
.impressive-item__content { .impressive-item__content {
display: -webkit-box; display: -webkit-box;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
-webkit-line-clamp: 5; -webkit-line-clamp: 5;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
.impressive-item__charater { .impressive-item__charater {
bottom: 30px; bottom: 30px;
right: 30px; right: 30px;
position: absolute; position: absolute;
} }
.enviroment-images { .enviroment-images {
position: relative; position: relative;
} }
.enviroment-images img { .enviroment-images img {
width: 100%; width: 100%;
height: 150px; height: 150px;
-o-object-fit: cover; -o-object-fit: cover;
object-fit: cover; object-fit: cover;
} }
@media (max-width: 767px) { @media (max-width: 767px) {
.enviroment-images img { .enviroment-images img {
height: 250px; height: 250px;
margin-bottom: 20px; margin-bottom: 20px;
} }
} }
.ambassador .ambassador__list-item { .ambassador .ambassador__list-item {
margin-bottom: 20px; margin-bottom: 20px;
} }
.ambassador .ambassador__list .address { .ambassador .ambassador__list .address {
color: #999999; color: #999999;
} }
.ambassador .ambassador__list img { .ambassador .ambassador__list img {
height: 225px; height: 225px;
width: 100%; width: 100%;
-o-object-fit: cover; -o-object-fit: cover;
object-fit: cover; object-fit: cover;
} }
@media (max-width: 991px) { @media (max-width: 991px) {
.ambassador .ambassador__list img { .ambassador .ambassador__list img {
height: 180px; height: 180px;
} }
} }
.ambassador .btn-control { .ambassador .btn-control {
color: #e5e5e5; color: #e5e5e5;
font-size: 30px; font-size: 30px;
font-weight: bold; font-weight: bold;
position: absolute; position: absolute;
top: 50%; top: 50%;
transform: translate(0, -50%); transform: translate(0, -50%);
cursor: pointer; cursor: pointer;
} }
@media (max-width: 767px) { @media (max-width: 767px) {
.ambassador .btn-control { .ambassador .btn-control {
display: none !important; display: none !important;
} }
} }
.ambassador .btn-prev { .ambassador .btn-prev {
left: -30px; left: -30px;
} }
.ambassador .btn-next { .ambassador .btn-next {
right: -30px; right: -30px;
} }
.ambassador .slick-slide { .ambassador .slick-slide {
margin: 0 8px; margin: 0 8px;
} }
.ambassador .slick-list { .ambassador .slick-list {
margin: 0 -8px; margin: 0 -8px;
} }
.footer { .footer {
height: 75px; height: 75px;
background-color: #008c3e; background-color: #008c3e;
} }
.footer .footer__brand { .footer .footer__brand {
margin: 15px 0; margin: 15px 0;
} }
.footer .footer__brand h4 { .footer .footer__brand h4 {
font-size: 24px; font-size: 24px;
font-weight: 600; font-weight: 600;
} }
.footer .footer__brand h4 a { .footer .footer__brand h4 a {
color: white; color: white;
} }
.footer .footer__brand p { .footer .footer__brand p {
font-size: 12px; font-size: 12px;
color: #94ca4b; color: #94ca4b;
} }
.footer .footer__license { .footer .footer__license {
margin-top: 20px; margin-top: 20px;
font-size: 12px; font-size: 12px;
} }
.footer .footer__license div { .footer .footer__license div {
color: white; color: white;
} }
.footer .footer__license span { .footer .footer__license span {
color: #94ca4b; color: #94ca4b;
} }
.footer .footer__location { .footer .footer__location {
margin-top: 20px; margin-top: 20px;
font-size: 12px; font-size: 12px;
color: white; color: white;
} }
.footer .footer__location i { .footer .footer__location i {
margin-left: 10px; margin-left: 10px;
margin-right: 5px; margin-right: 5px;
} }
.footer .footer__location .address i { .footer .footer__location .address i {
margin-left: 0; margin-left: 0;
} }
@media (max-width: 991px) { @media (max-width: 991px) {
.footer { .footer {
height: auto; height: auto;
} }
.footer .footer__brand, .footer .footer__brand,
.footer .footer__location, .footer .footer__location,
.footer .footer__license { .footer .footer__license {
text-align: center; text-align: center;
} }
.footer .footer__location { .footer .footer__location {
display: block; display: block;
font-size: 12px; font-size: 12px;
margin-bottom: 15px; margin-bottom: 15px;
} }
} }
.sliders-news .sliders-news-item { .sliders-news .sliders-news-item {
margin-bottom: 20px; margin-bottom: 20px;
} }
.sliders-news .sliders-news-item a { .sliders-news .sliders-news-item a {
width: 100%; width: 100%;
display: block; display: block;
} }
.sliders-news .sliders-news-item img { .sliders-news .sliders-news-item img {
width: 100%; width: 100%;
height: 150px; height: 150px;
max-width: 270px; max-width: 270px;
-o-object-fit: cover; -o-object-fit: cover;
object-fit: cover; object-fit: cover;
} }
.sliders-news .sliders-news-item__title { .sliders-news .sliders-news-item__title {
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: bold;
margin: 10px 0 5px; margin: 10px 0 5px;
} }
@media (max-width: 767px) { @media (max-width: 767px) {
.sliders-news .sliders-news-item img { .sliders-news .sliders-news-item img {
height: 245px; height: 245px;
max-width: none; max-width: none;
} }
} }
.sliders-news .btn-control { .sliders-news .btn-control {
top: 30% !important; top: 30% !important;
} }
.new-detail { .new-detail {
margin-bottom: 50px; margin-bottom: 50px;
} }
.new-detail .new-detail__header { .new-detail .new-detail__header {
font-size: 30px; font-size: 30px;
color: #008c3e; color: #008c3e;
line-height: 1.2; line-height: 1.2;
margin-bottom: 10px; margin-bottom: 10px;
} }
.new-detail .new-detail__content img { .new-detail .new-detail__content img {
width: 100%; width: 100%;
height: auto; height: auto;
max-height: 400px; max-height: 400px;
-o-object-fit: cover; -o-object-fit: cover;
object-fit: cover; object-fit: cover;
margin: 25px 0; margin: 25px 0;
} }
.new-detail .new-detail__content p { .new-detail .new-detail__content p {
margin: 0; margin: 0;
} }
.new-detail .new-detail__content h1 { .new-detail .new-detail__content h1 {
font-size: 30px; font-size: 30px;
} }
.new-detail .new-detail__content h2 { .new-detail .new-detail__content h2 {
font-size: 26px; font-size: 26px;
} }
.new-detail .new-detail__content h3 { .new-detail .new-detail__content h3 {
font-size: 22px; font-size: 22px;
} }
.new-detail .new-detail__content h4 { .new-detail .new-detail__content h4 {
font-size: 20px; font-size: 20px;
} }
.new-detail .new-detail__content h5 { .new-detail .new-detail__content h5 {
font-size: 18px; font-size: 18px;
} }
.new-detail .new-detail__content h6 { .new-detail .new-detail__content h6 {
font-size: 16px; font-size: 16px;
} }
.new-detail .new-detail__tag { .new-detail .new-detail__tag {
border-top: 1px #cec7c7 dashed; border-top: 1px #cec7c7 dashed;
padding: 15px 0 25px; padding: 15px 0 25px;
margin-top: 20px; margin-top: 20px;
} }
.new-detail .new-detail__tag a, .new-detail .new-detail__tag a,
.new-detail .new-detail__tag span { .new-detail .new-detail__tag span {
color: #999999; color: #999999;
} }
.new-detail .new-detail__social { .new-detail .new-detail__social {
margin-bottom: 25px; margin-bottom: 25px;
} }
.new-detail .new-detail__social-item { .new-detail .new-detail__social-item {
padding: 8px 12px; padding: 8px 12px;
border-radius: 5px; border-radius: 5px;
background: #4267b2; background: #4267b2;
color: white; color: white;
margin-right: 10px; margin-right: 10px;
} }
.new-detail .new-detail__social-item i { .new-detail .new-detail__social-item i {
margin-right: 5px; margin-right: 5px;
} }
.new-detail .new-detail__social-item.red { .new-detail .new-detail__social-item.red {
background: #db4437; background: #db4437;
} }
.new-detail .new-detail__comment { .new-detail .new-detail__comment {
padding: 25px; padding: 25px;
background: #f5f5f5; background: #f5f5f5;
} }
.new-detail .new-detail__comment label, .new-detail .new-detail__comment label,
.new-detail .new-detail__comment a { .new-detail .new-detail__comment a {
color: #666666; color: #666666;
} }
.new-detail .new-detail__comment .btn { .new-detail .new-detail__comment .btn {
margin-top: 20px; margin-top: 20px;
background: #008c3e; background: #008c3e;
color: white; color: white;
} }
.custom-slick .btn-control { .custom-slick .btn-control {
z-index: 50; z-index: 50;
color: #e5e5e5; color: #e5e5e5;
font-size: 30px; font-size: 30px;
font-weight: bold; font-weight: bold;
position: absolute; position: absolute;
top: 50%; top: 50%;
transform: translate(0, -50%); transform: translate(0, -50%);
cursor: pointer; cursor: pointer;
} }
@media (max-width: 767px) { @media (max-width: 767px) {
.custom-slick .btn-control { .custom-slick .btn-control {
display: none !important; display: none !important;
} }
} }
.custom-slick .btn-prev { .custom-slick .btn-prev {
left: -30px; left: -30px;
} }
.custom-slick .btn-next { .custom-slick .btn-next {
right: -30px; right: -30px;
} }
.custom-slick .slick-slide { .custom-slick .slick-slide {
margin: 0 8px; margin: 0 8px;
} }
.custom-slick .slick-list { .custom-slick .slick-list {
margin: 0 -8px; margin: 0 -8px;
} }
#scrollToTop { #scrollToTop {
position: absolute; position: absolute;
bottom: 20px; bottom: 20px;
right: 20px; right: 20px;
height: 35px; height: 35px;
width: 35px; width: 35px;
border-radius: 4px; border-radius: 4px;
display: table; display: table;
text-align: center; text-align: center;
background: #bfe2cf; background: #bfe2cf;
cursor: pointer; cursor: pointer;
} }
#scrollToTop:hover { #scrollToTop:hover {
background: #008c3e; background: #008c3e;
} }
#scrollToTop i { #scrollToTop i {
color: white; color: white;
font-size: 20px; font-size: 20px;
vertical-align: middle; vertical-align: middle;
padding-top: 8px; padding-top: 8px;
} }
.line { .line {
height: 0; height: 0;
width: 100%; width: 100%;
border-bottom: 2px #008c3e solid; border-bottom: 2px #008c3e solid;
margin-top: -2px; margin-top: -2px;
} }
.flex-1 { .flex-1 {
flex: 1; flex: 1;
} }
.icon { .icon {
line-height: 1; line-height: 1;
color: #999999; color: #999999;
font-size: 13px; font-size: 13px;
font-weight: 600; font-weight: 600;
} }
.icon i { .icon i {
margin-right: 5px; margin-right: 5px;
} }
a { a {
color: #000; color: #000;
} }
a:hover { a:hover {
color: #008c3e; color: #008c3e;
text-decoration: none; text-decoration: none;
} }
.slider-container { .slider-container {
max-width: 100%; max-width: 100%;
width: 100%; width: 100%;
}
.header-nav {
margin-top: 10px;
} }
.header-account { .header-account {
width: 100%; width: 100%;
background: #008c3e; background: #008c3e;
} }
.header-account .navbar-nav .btn { .header-account .navbar-nav .btn {
color: #008c3e; color: #008c3e;
background: white; background: white;
margin: 5px 0px 5px 10px; margin: 5px 0px 5px 10px;
padding: 6px 8px; padding: 6px 8px;
line-height: 1; line-height: 1;
} }
.header-account .highlight { .header-account .highlight {
color: #008c3e; color: #008c3e;
cursor: pointer; cursor: pointer;
} }
.header-account .modal .modal-content { .header-account .modal .modal-content {
padding: 60px; padding: 60px;
width: 100%; width: 100%;
max-width: 370px; max-width: 370px;
margin: 0 auto; margin: 0 auto;
} }
.header-account .modal .modal-body { .header-account .modal .modal-body {
padding: 0; padding: 0;
position: unset; position: unset;
} }
.header-account .modal h5 { .header-account .modal h5 {
font-weight: 600px; font-weight: 600px;
margin-bottom: 30px; margin-bottom: 30px;
color: #008c3e; color: #008c3e;
font-size: 30px; font-size: 30px;
text-align: center; text-align: center;
} }
.header-account .modal .form-control { .header-account .modal .form-control {
border-radius: 0; border-radius: 0;
padding: 8px 20px; padding: 8px 20px;
outline: none !important; outline: none !important;
box-shadow: none !important; box-shadow: none !important;
line-height: 1; line-height: 1;
} }
.header-account .modal .form-group { .header-account .modal .form-group {
margin-bottom: 20px; margin-bottom: 20px;
} }
.header-account .modal .btn-close { .header-account .modal .btn-close {
position: absolute; position: absolute;
top: 10px; top: 10px;
right: 10px; right: 10px;
font-weight: bold; font-weight: bold;
color: #db4437; color: #db4437;
font-size: 18px; font-size: 18px;
} }
.header-account .modal .security .form-control { .header-account .modal .security .form-control {
width: 100px; width: 100px;
} }
.header-account .modal .security .code { .header-account .modal .security .code {
border: 1px solid #ced4da; border: 1px solid #ced4da;
padding: 8px 20px; padding: 8px 20px;
} }
.header-account .modal .security .btn { .header-account .modal .security .btn {
color: #008c3e; color: #008c3e;
border: 1px solid #ced4da; border: 1px solid #ced4da;
} }
.header-account .modal .header-account__social { .header-account .modal .header-account__social {
margin-top: 25px; margin-top: 25px;
margin-bottom: 35px; margin-bottom: 35px;
} }
.header-account .modal .header-account__social-item { .header-account .modal .header-account__social-item {
cursor: pointer; cursor: pointer;
padding: 6px 15px; padding: 6px 15px;
color: white; color: white;
} }
.header-account .modal .header-account__social-item i { .header-account .modal .header-account__social-item i {
font-size: 13px; font-size: 13px;
margin-right: 8px; margin-right: 8px;
} }
.header-account .modal .header-account__social-item.fb { .header-account .modal .header-account__social-item.fb {
background: #4267b2; background: #4267b2;
} }
.header-account .modal .header-account__social-item.gg { .header-account .modal .header-account__social-item.gg {
background: #db4437; background: #db4437;
} }
.header-account .modal .notification { .header-account .modal .notification {
font-size: 13px; font-size: 13px;
} }
.header-account .modal .btn-submit { .header-account .modal .btn-submit {
padding: 8px 16px; padding: 8px 16px;
background: #008c3e; background: #008c3e;
color: white; color: white;
width: 100%; width: 100%;
} }
.header-account .modal .btn { .header-account .modal .btn {
border-radius: 0; border-radius: 0;
line-height: 1; line-height: 1;
} }
.media-comment { .media-comment {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
margin-bottom: 30px; margin-bottom: 30px;
} }
.media-comment img { .media-comment img {
border-radius: 50%; border-radius: 50%;
height: 60px; height: 60px;
width: 60px; width: 60px;
flex: 0 0 60px; flex: 0 0 60px;
-o-object-fit: cover; -o-object-fit: cover;
object-fit: cover; object-fit: cover;
margin-right: 15px; margin-right: 15px;
} }
.media-comment .media-comment-body { .media-comment .media-comment-body {
position: relative; position: relative;
display: inline-block; display: inline-block;
padding: 16px; padding: 16px;
background-color: #f9fafb; background-color: #f9fafb;
border-radius: 10px; border-radius: 10px;
padding-right: 30px; padding-right: 30px;
font-size: 14px; font-size: 14px;
} }
.media-comment .media-comment-name { .media-comment .media-comment-name {
font-size: 16px; font-size: 16px;
} }
.media-comment .media-comment-name a { .media-comment .media-comment-name a {
color: #008c3e; color: #008c3e;
} }
.media-comment .media-comment-data-person { .media-comment .media-comment-data-person {
margin-bottom: 6px; margin-bottom: 6px;
display: flex; display: flex;
align-items: center; align-items: center;
} }
.media-comment .media-content { .media-comment .media-content {
flex: 1; flex: 1;
} }
.media-comment .media-content .media-comment-body { .media-comment .media-content .media-comment-body {
width: 100%; width: 100%;
}
.social-center {
margin: auto;
width: 50%;
} }
.user-register-form .form-actions .btn-submit,
.user-login-form .login-form__submit .btn-submit {
padding: 8px 16px;
background: #008c3e;
color: white;
width: 100%;
border-radius: 0;
line-height: 1;
}
.text-white a {
color: white;
}
\ No newline at end of file
(function($, Drupal) { (function($, Drupal) {
if ($(window).width() > 991) { if ($(window).width() > 768) {
$(".enviroment-images__list").slick({ $(".enviroment-images__list").slick({
slidesToShow: 4, slidesToShow: 4,
dots: false, dots: false,
...@@ -45,4 +45,4 @@ ...@@ -45,4 +45,4 @@
location.href = url; location.href = url;
} }
}); });
})(window.jQuery, window.Drupal); })(window.jQuery, window.Drupal);
\ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="header-account"> <div class="header-account">
<div class="container"> <div class="container">
{% if not logged_in %} {% if not logged_in %}
<ul class="navbar-nav flex-row align-items-center justify-content-end h-100"> <ul class="navbar-nav d-none d-lg-flex flex-row align-items-center justify-content-end h-100">
<li class="nav-item"> <li class="nav-item">
<div class="btn btn-signIn" data-toggle="modal" data-target="#signIn">Sign in</div> <div class="btn btn-signIn" data-toggle="modal" data-target="#signIn">Sign in</div>
</li> </li>
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
{% endif %} {% endif %}
<!-- end header --> <!-- end header -->
</div> </div>
</div> </div>
</div> </div>
</section> </section>
...@@ -108,6 +108,7 @@ ...@@ -108,6 +108,7 @@
<section class="focus-news"> <section class="focus-news">
<div class="row"> <div class="row">
<div class="col-12 col-lg-9"> <div class="col-12 col-lg-9">
<!-- content_second --> <!-- content_second -->
{% if page.content_second %} {% if page.content_second %}
...@@ -135,14 +136,14 @@ ...@@ -135,14 +136,14 @@
<section class="hot-news"> <section class="hot-news">
<div class="row"> <div class="row">
<div class="col-lg-9 col-12"> <div class="col-lg-9 col-md-8 col-12">
<!-- content_four --> <!-- content_four -->
{% if page.content_four %} {% if page.content_four %}
{{page.content_four}} {{page.content_four}}
{% endif %} {% endif %}
<!-- end content_four --> <!-- end content_four -->
</div> </div>
<div class="col-lg-3 col-12"> <div class="col-lg-3 col-md-4 col-12">
<!-- sidebar_right_four --> <!-- sidebar_right_four -->
{% if page.sidebar_right_four %} {% if page.sidebar_right_four %}
{{page.sidebar_right_four}} {{page.sidebar_right_four}}
...@@ -228,4 +229,4 @@ ...@@ -228,4 +229,4 @@
</div> </div>
</div> </div>
</div> </div>
</footer> </footer>
\ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="header-account"> <div class="header-account">
<div class="container"> <div class="container">
{% if not logged_in %} {% if not logged_in %}
<ul class="navbar-nav flex-row align-items-center justify-content-end h-100"> <ul class="navbar-nav flex-row d-none d-lg-flex align-items-center justify-content-end h-100">
<li class="nav-item"> <li class="nav-item">
<div class="btn btn-signIn" data-toggle="modal" data-target="#signIn">Sign in</div> <div class="btn btn-signIn" data-toggle="modal" data-target="#signIn">Sign in</div>
</li> </li>
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
<!-- end top_main_content --> <!-- end top_main_content -->
</div> </div>
<div class="row"> <div class="row">
<div class="col-12 col-lg-9"> <div class="col-12 col-md-8 col-lg-9">
<!-- main_content --> <!-- main_content -->
{% if page.main_content %} {% if page.main_content %}
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
<!-- end main_content --> <!-- end main_content -->
</div> </div>
<div class="col-lg-3 col-12"> <div class="col-lg-3 col-md-4 col-12">
<!-- sidebar_right_second --> <!-- sidebar_right_second -->
{% if page.sidebar_right_second %} {% if page.sidebar_right_second %}
{{page.sidebar_right_second}} {{page.sidebar_right_second}}
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
*/ */
#} #}
{% if breadcrumb %} {% if breadcrumb %}
<div class="headline d-none d-lg-flex align-items-center"> <div class="headline d-none d-md-flex align-items-center">
{% for item in breadcrumb %} {% for item in breadcrumb %}
{% if loop.index == 1 %} {% if loop.index == 1 %}
{% if item.url %} {% if item.url %}
......
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* @ingroup templates * @ingroup templates
*/ */
#} #}
<nav class="navbar navbar-expand-md "> <nav class="navbar navbar-expand-lg ">
<h5 class="d-lg-none text-uppercase text-white mb-0 flex-1"><a href="{{ url('<front>') }}">{{ site_name }} <h5 class="d-lg-none text-uppercase text-white mb-0 flex-1"><a href="{{ url('<front>') }}">{{ site_name }}
</a></h5> </a></h5>
...@@ -57,4 +57,4 @@ ...@@ -57,4 +57,4 @@
</li> </li>
</ul> </ul>
</div> </div>
</nav> </nav>
\ No newline at end of file
<div class="hot-news__imgs"> <div class="hot-news__imgs d-lg-block d-none">
{% for row in rows %} {% for row in rows %}
{% set photo = file_url(row['content']['#row']._entity.field_image.entity.fileuri) %} {% set photo = file_url(row['content']['#row']._entity.field_image.entity.fileuri) %}
<a href="{{row.content['#row']._entity.field_url[0].value}}"><img src="{{photo}}" class="mb-2 w-100" alt="{{ row['content']['#row']._entity.field_image.alt}}"></a> <a href="{{row.content['#row']._entity.field_url[0].value}}"><img src="{{photo}}" class="mb-2 w-100" alt="{{ row['content']['#row']._entity.field_image.alt}}"></a>
{% endfor %} {% endfor %}
</div> </div>
\ No newline at end of file
<div class="title"> <div class="d-lg-block d-lg-none">
<div class="d-flex"> <div class="title">
<div class="title-img"><img src="/themes/custom/sgmt/assets/images/icon/lacay.png" alt=""></div> <div class="d-flex">
<div class="title-text">Sứ giả môi trường</div> <div class="title-img"><img src="/themes/custom/sgmt/assets/images/icon/lacay.png" alt=""></div>
</div> <div class="title-text">Sứ giả môi trường</div>
<div class="line"></div> </div>
<div class="line"></div>
</div>
<div class="ambassador__list">
{% for row in rows %}
<div class="ambassador__list-item">
{% set photo = file_url(row['content']['#row']._entity.field_image.entity.fileuri) %}
<a href="/node/{{row.content['#row']._entity.nid[0].value}}"><img src="{{photo}}" class="img-fluid" alt="{{photo}}" class="img-fluid" alt="{{ row['content']['#row']._entity.field_image.alt}}"></a>
<div class="text-center mt-2">
<div class="name font-weight-bold text-uppercase"><a href="/node/{{row.content['#row']._entity.nid[0].value}}">{{row.content['#row']._entity.title[0].value}}</a></div>
<span class="address">{{row.content['#row']._entity.field_address.0.administrative_area}}</span>
</div>
</div>
{% endfor %}
</div>
</div> </div>
<div class="ambassador__list">
{% for row in rows %}
<div class="ambassador__list-item">
{% set photo = file_url(row['content']['#row']._entity.field_image.entity.fileuri) %}
<a href="/node/{{row.content['#row']._entity.nid[0].value}}"><img src="{{photo}}" class="img-fluid" alt="{{photo}}" class="img-fluid" alt="{{ row['content']['#row']._entity.field_image.alt}}"></a>
<div class="text-center mt-2">
<div class="name font-weight-bold text-uppercase"><a href="/node/{{row.content['#row']._entity.nid[0].value}}">{{row.content['#row']._entity.title[0].value}}</a></div>
<span class="address">{{row.content['#row']._entity.field_address.0.administrative_area}}</span>
</div>
</div>
{% endfor %}
</div>
\ No newline at end of file
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</div> </div>
<div class="row"> <div class="row">
{% for row in rows %} {% for row in rows %}
<div class="col-lg-6 col-12"> <div class="col-lg-6 col-md-4 col-12">
<div class="focus-news-item d-flex"> <div class="focus-news-item d-flex">
<div class="focus-news__img"> <div class="focus-news__img">
{% set photo = file_url(row['content']['#row']._entity.field_image.entity.fileuri) %} {% set photo = file_url(row['content']['#row']._entity.field_image.entity.fileuri) %}
...@@ -23,4 +23,4 @@ ...@@ -23,4 +23,4 @@
</div> </div>
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
\ No newline at end of file
<div class="title"> <div class="title">
<div class="d-flex"> <div class="d-flex">
<div class="title-img"><img src="/themes/custom/sgmt/assets/images/icon/lacay.png" alt=""></div> <div class="title-img"><img src="/themes/custom/sgmt/assets/images/icon/lacay.png" alt=""></div>
<div class="title-text">Vi phạm ô nhiễm môi trường</div> <div class="title-text">Vi phạm ô nhiễm môi trường</div>
</div> </div>
<div class="line"></div> <div class="line"></div>
</div> </div>
<div class="row"> <div class="row">
{% for row in rows %} {% for row in rows %}
{% if loop.index == 1 %} {% if loop.index == 1 %}
<div class="col-lg-7 col-12 "> <div class="col-lg-7 col-12 ">
<div class="hot-news__brand"> <div class="hot-news__brand">
{% set photo = file_url(row['content']['#row']._entity.field_image.entity.fileuri) %} {% set photo = file_url(row['content']['#row']._entity.field_image.entity.fileuri) %}
<a href="/node/{{row.content['#row']._entity.nid[0].value}}"><img src="{{photo}}" class="img-fluid" alt="{{photo}}" class="img-fluid" alt="{{ row['content']['#row']._entity.field_image.alt}}"> <a href="/node/{{row.content['#row']._entity.nid[0].value}}"><img src="{{photo}}" class="img-fluid" alt="{{ row['content']['#row']._entity.field_image.alt}}">
<h5>{{row.content['#row']._entity.title[0].value}} <h5>{{row.content['#row']._entity.title[0].value}}
</h5></a> </h5>
<div class="hot-news__brand-time"> </a>
<i class="fas fa-clock icon1">&ensp;{{ row['content']['#row']._entity.created[0].value|date('d/m/Y') }}</i> &ensp;&ensp;&ensp; <div class="hot-news__brand-time">
<i class="fas fa-comments icon1">&ensp;{{row.content['#row']._entity.comment.comment_count}}</i> <i class="fas fa-clock icon1">&ensp;{{ row['content']['#row']._entity.created[0].value|date('d/m/Y') }}</i>
<p class="description"> &ensp;&ensp;&ensp;
{% set text = row.content['#row']._entity.body[0].value|render|striptags %} <i class="fas fa-comments icon1">&ensp;{{row.content['#row']._entity.comment.comment_count}}</i>
{{ text|length > 400 ? text|slice(0, 400)|raw ~ '...' : text|raw }} <p class="description">
</p> {% set text = row.content['#row']._entity.body[0].value | render | striptags %}
</div> {{ text|length > 400 ? text|slice(0, 400)|raw ~ '...' : text|raw }}
</div> </p>
</div> </div>
<div class="col-lg-5 col-12"> </div>
<div class="focus-news"> </div>
<div class="col-lg-5 col-12">
<div class="focus-news">
{% endif %} {% endif %}
{% if loop.index != 7 and loop.index != 1 %} {% if loop.index != 7 and loop.index != 1 %}
<div class="focus-news-item d-flex"> <div class="focus-news-item d-flex">
<div class="focus-news__img"> <div class="focus-news__img">
{% set photo = file_url(row['content']['#row']._entity.field_image.entity.fileuri) %} {% set photo = file_url(row['content']['#row']._entity.field_image.entity.fileuri) %}
<a href="/node/{{row.content['#row']._entity.nid[0].value}}"><img src="{{photo}}" class="img-fluid" alt="{{photo}}" class="img-fluid" alt="{{ row['content']['#row']._entity.field_image.alt}}"></a> <a href="/node/{{row.content['#row']._entity.nid[0].value}}"><img src="{{photo}}" class="img-fluid" alt="{{ row['content']['#row']._entity.field_image.alt}}"></a>
</div> </div>
<div class="focus-news__content"> <div class="focus-news__content">
<div class="font-weight-bold focus-news__content-title mb-2"><a href="node/{{row.content['#row']._entity.nid[0].value}}">{{row.content['#row']._entity.title[0].value}}</a></div> <div class="font-weight-bold focus-news__content-title mb-2">
<p class="d-flex icon"> <a href="node/{{row.content['#row']._entity.nid[0].value}}">{{row.content['#row']._entity.title[0].value}}</a>
<i class="fas fa-clock">&ensp;{{ row['content']['#row']._entity.created[0].value|date('d/m/Y') }}</i> &ensp;&ensp; </div>
<i class="fas fa-comments">&ensp;{{row.content['#row']._entity.comment.comment_count}}</i> <p class="d-flex icon">
</p> <i class="fas fa-clock">&ensp;{{ row['content']['#row']._entity.created[0].value|date('d/m/Y') }}</i>
</div> &ensp;&ensp;
<i class="fas fa-comments">&ensp;{{row.content['#row']._entity.comment.comment_count}}</i>
</p>
</div> </div>
</div>
{% endif %} {% endif %}
{% if loop.index == 7 %} {% if loop.index == 7 %}
<div class="focus-news-item d-flex"> <div class="focus-news-item d-flex">
<div class="focus-news__img"> <div class="focus-news__img">
{% set photo = file_url(row['content']['#row']._entity.field_image.entity.fileuri) %} {% set photo = file_url(row['content']['#row']._entity.field_image.entity.fileuri) %}
<a href="/node/{{row.content['#row']._entity.nid[0].value}}"><img src="{{photo}}" class="img-fluid" alt="{{photo}}" class="img-fluid" alt="{{ row['content']['#row']._entity.field_image.alt}}"></a> <a href="/node/{{row.content['#row']._entity.nid[0].value}}"><img src="{{photo}}" class="img-fluid" alt="{{ row['content']['#row']._entity.field_image.alt}}"></a>
</div>
<div class="focus-news__content">
<div class="font-weight-bold focus-news__content-title mb-2"><a href="node/{{row.content['#row']._entity.nid[0].value}}">{{row.content['#row']._entity.title[0].value}}</a></div>
<p class="d-flex icon">
<i class="fas fa-clock">&ensp;{{ row['content']['#row']._entity.created[0].value|date('d/m/Y') }}</i> &ensp;&ensp;
<i class="fas fa-comments">&ensp;{{row.content['#row']._entity.comment.comment_count}}</i>
</p>
</div>
</div>
</div> </div>
<div class="focus-news__content">
<div class="font-weight-bold focus-news__content-title mb-2">
<a href="node/{{row.content['#row']._entity.nid[0].value}}">{{row.content['#row']._entity.title[0].value}}</a>
</div>
<p class="d-flex icon">
<i class="fas fa-clock">&ensp;{{ row['content']['#row']._entity.created[0].value|date('d/m/Y') }}</i>
&ensp;&ensp;
<i class="fas fa-comments">&ensp;{{row.content['#row']._entity.comment.comment_count}}</i>
</p>
</div> </div>
{% endif %} </div>
{% endfor %} </div>
</div> </div>
\ No newline at end of file {% endif %}
{% endfor %}
</div>
<div class="row"> <div class="row">
{% for row in rows %} {% for row in rows %}
{% if loop.index == 1 %} {% if loop.index == 1 %}
<div class="col-lg-8 col-12"> <div class="col-lg-8 col-md-6 col-12">
<div class="hot-news__brand"> <div class="hot-news__brand">
{% set photo = file_url(row['content']['#row']._entity.field_image.entity.fileuri) %} {% set photo = file_url(row['content']['#row']._entity.field_image.entity.fileuri) %}
<a href="/node/{{row.content['#row']._entity.nid[0].value}}"><img src="{{photo}}" class="img-fluid" alt="{{ row['content']['#row']._entity.field_image.alt}}"> <a href="/node/{{row.content['#row']._entity.nid[0].value}}"><img src="{{photo}}" class="img-fluid" alt="{{ row['content']['#row']._entity.field_image.alt}}">
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="col-lg-4 col-12"> <div class="col-lg-4 col-md-6 col-12">
<div class="hot-news__list"> <div class="hot-news__list">
{% endif %} {% endif %}
{% if loop.index != 7 and loop.index != 1 %} {% if loop.index != 7 and loop.index != 1 %}
...@@ -37,4 +37,4 @@ ...@@ -37,4 +37,4 @@
</div> </div>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</div> </div>
\ No newline at end of file
<div class="row"> <div class="row">
<div class="col-lg-9 col-12"> <div class="col-lg-9 col-md-8 col-12">
<div class="container"> <div class="container ctn-720">
<h2 class=" mb-3">Bài viết liên quan</h2> <h2 class=" mb-3">Bài viết liên quan</h2>
<section class="sliders-news type-3 custom-slick mb-5"> <section class="sliders-news type-3 custom-slick mb-5">
{% for row in rows %} {% for row in rows %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment