Commit 6b6ec4fe authored by Chi Bui's avatar Chi Bui 👀

edit themes

parent 10023cb0
.se-block {
margin-bottom: 35px;
}
.user-logged {
margin: 10px;
}
.user-logged a {
color: white;
}
.user-logged a:hover {
color: white;
text-decoration: underline;
}
.login-form__submit {
padding-top: 10px;
}
.form-submit {
padding: 8px 16px;
background: #008c3e;
color: white;
border-radius: 0;
line-height: 1;
}
.user-register-form .form-actions .form-submit {
width: 100%;
}
.login-form__submit .form-submit {
width: 100%;
}
.be-comment-block {
margin-bottom: 50px !important;
border: 1px solid #edeff2;
border-radius: 2px;
/* padding: 50px 70px; */
border: 1px solid #ffffff;
}
.comments-title {
font-size: 18px;
color: #212529;
margin-bottom: 15px;
}
.be-img-comment {
width: 60px;
height: 60px;
float: left;
margin-bottom: 15px;
}
.be-ava-comment {
width: 60px;
height: 60px;
border-radius: 50%;
}
.be-comment-content {
margin-left: 80px;
}
.be-comment-content span {
display: inline-block;
width: 49%;
margin-bottom: 15px;
}
.be-comment-name {
font-size: 13px;
}
.be-comment-content a {
color: #383b43;
}
.be-comment-content span {
display: inline-block;
width: 49%;
margin-bottom: 15px;
}
.be-comment-time {
text-align: right;
}
.be-comment-time {
font-size: 13px;
color: #b4b7c1;
}
.field--name-comment-body p {
font-size: 16px;
line-height: 18px;
color: #212529;
display: block;
background: #f6f6f7;
border: 1px solid #edeff2;
padding: 15px 20px 20px 20px;
}
.text-formatted .d-flex {
margin-bottom: -26px;
}
.social-center {
margin: auto;
width: 50%;
padding: 0px 10px;
}
.block-socialauthlogin-2 {
padding-top: 15px;
}
.footer__brand .text-uppercase a {
font-size: 24px;
color: white;
font-weight: 600;
}
.footer__location,
.footer__license {
margin-top: 20px;
}
@media (max-width: 991px) {
.footer__license {
padding-top: 40px;
}
}
.text-white a {
color: #fff;
}
\ No newline at end of file
/* Custom style for drupal */ /* custom CSS */
.form-item{ .form-item{
margin-top: 0; margin-top: 0;
...@@ -6,3 +6,7 @@ ...@@ -6,3 +6,7 @@
.new-detail__comment #edit-actions{ .new-detail__comment #edit-actions{
text-align: right; text-align: right;
} }
ul.inline li{
padding: 0 10px 0 0 !important;
}
.a0{display: inline-block;margin: 12px 28px;}
.a1{color: #008c3e; font-style:italic; margin-top: 30px }
.a1a{color: white; font-style:italic;font-weight: bold; padding-top: 10px; }
.a2{color: #8dc63f; font-size: 12px; font-style:italic}
body{
font-family: Roboto !important
}
.heada{display: flex;}
.navbar{
width: 100%;
background:#008c3e;
padding: 0;
height: 45px;
}
.nav-item{
padding-top: 3px;
padding-bottom:4px;
padding-right:3px
}
.nav-item:hover{
background: #8dc63f;
}
.nav-item a{
color: white !important;
font-size:14px
}
.navbar-brand{
color: white;
}
.a12{
color: white;
margin-top:9px;
}
.a13{
padding-left:172px
}
.a123{
color: white;
font-size: 15px;
margin-top:9px;
}
.b1{ margin-top: 12px; margin-right: 8px; margin-left: 207px}
.b2{ margin: 12px; text-align: center; }
.headline{ display: flex;font-size: 12px;
padding-top: 15px;
padding-bottom: 13px;}
.headline div{
color: red;
padding-right: 15px;
letter-spacing: 3px
}
.c1{margin-top: 3px; margin-right:2px; color:#8dc63f}
.c2{
padding-right: 23px;
}
.d{
display: flex
}
.d1{
height: 35px;
width: 32px;
background: #8dc63f;
color: white;
}
.d2{
height: 35px;
width: 186px;
background: #008c3e;
color: white;
font-size: 14px;
padding-top:7px
}
.ke{
width: 100%;
border-bottom: 3px #008c3e solid;
}
.e0{font-size: 20px;letter-spacing: 0px;font-weight: bold;margin-top: 7px;}
.e2{font-size: 16px;}
.e1{color: gray;font-size: 13px;}
.e4{display: flex;padding-bottom: 20px;}
.trai{
width: 130px;
}
.phai{
width: 360px;
margin-left: 21px;
}
.phai1{
color: gray;
font-size: 13px
}
.phai2{
font-size:14px;
margin-bottom: 9px;
font-weight: bold;
}
p {
margin-top: 0;
margin-bottom: 3px;
}
.e5{padding-bottom: 35px}
.e{ border-bottom: 1px rgb(206, 199, 199) dashed;}
.g1{
color: #8dc63f;
font-size: 18px;
font-weight: bold
}
.g2{
font-size: 14px
}
.ee{
padding-top: 15px; padding-bottom: 15px;
border-bottom: 1px rgb(206, 199, 199) dashed;
}
.g4{
display: flex;
padding-top:60px
}
.g4a{
height: 35px;
width: 35px;
background: #bbbbbb;
color: white;
}
.g4b{
height: 35px;
width: 236px;
background: #909090;
color: white;
font-size: 14px;
padding-top:7px;
margin-bottom: 12px;
}
.g5{display: flex}
.g5a{
margin-top: 20px;
padding: 3px 12px;
margin-bottom:30px;
background-color: #909090;
color: white;
padding-top: 3px;
font-size:20px;
font-weight:bold;
}
.g5b{
margin-top: 20px;
margin-bottom:10px;
margin-left: 10px;
font-size:13px;
font-weight:bold;
}
.g6{
padding-top: 10px;
}
.g6a{
padding-bottom: 22px;
}
.footer{
left: 0;
bottom: 0;
width: 100%;
background-color: #008c3e;
color: white;
text-align: center;
border-bottom: 5px #8dc63f solid;
height: 75px;
}
.footer .container .row .col-xl-4,.col-xl-5{ font-size: 12px; padding-top: 15px}
.footer .container .row .col-xl-4 p{
color: #8dc63f
}
\ No newline at end of file
@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";
} }
.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;
object-fit: cover; -o-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; background: #008c3e;
font-weight: 600; font-weight: 600;
} }
.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: 300px; 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%;
object-fit: cover; -o-object-fit: cover;
object-fit: cover;
} }
.hot-news .hot-news__brand-time .description { .hot-news .hot-news__brand-time .description {
padding-bottom: 7px; padding-bottom: 7px;
padding-top: 15px; padding-top: 15px;
} }
.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;
object-fit: cover; -o-object-fit: cover;
object-fit: cover;
} }
.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;
object-fit: cover; -o-object-fit: cover;
width: 100%; object-fit: cover;
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;
object-fit: cover; -o-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%;
object-fit: cover; -o-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;
color: white; font-weight: 600;
font-weight: 600; }
.footer .footer__brand h4 a {
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 {
font-size: 12px; margin-top: 20px;
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 {
font-size: 12px; margin-top: 20px;
color: white; font-size: 12px;
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 {
width: 100%;
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;
object-fit: cover; -o-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;
object-fit: cover; -o-object-fit: cover;
margin: 25px 0; object-fit: cover;
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 {
color: #e5e5e5; z-index: 50;
font-size: 30px; color: #e5e5e5;
font-weight: bold; font-size: 30px;
position: absolute; font-weight: bold;
top: 50%; position: absolute;
transform: translate(0, -50%); top: 50%;
cursor: pointer; transform: translate(0, -50%);
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 {
width: 100%; height: 0;
border-bottom: 2px #008c3e solid; width: 100%;
margin-top: -2px; border-bottom: 2px #008c3e solid;
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 {
max-width: 100%;
width: 100%;
} }
.header-nav { .header-nav {
margin-top: 10px; 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;
} }
\ No newline at end of file
.media-comment {
display: flex;
align-items: flex-start;
margin-bottom: 30px;
}
.media-comment img {
border-radius: 50%;
height: 60px;
width: 60px;
flex: 0 0 60px;
-o-object-fit: cover;
object-fit: cover;
margin-right: 15px;
}
.media-comment .media-comment-body {
position: relative;
display: inline-block;
padding: 16px;
background-color: #f9fafb;
border-radius: 10px;
padding-right: 30px;
font-size: 14px;
}
.media-comment .media-comment-name {
font-size: 16px;
}
.media-comment .media-comment-name a {
color: #008c3e;
}
.media-comment .media-comment-data-person {
margin-bottom: 6px;
display: flex;
align-items: center;
}
.media-comment .media-content {
flex: 1;
}
.media-comment .media-content .media-comment-body {
width: 100%;
}
...@@ -409,8 +409,10 @@ img { ...@@ -409,8 +409,10 @@ img {
margin: 15px 0; margin: 15px 0;
h4 { h4 {
font-size: 24px; font-size: 24px;
color: white;
font-weight: 600; font-weight: 600;
a {
color: white;
}
} }
p { p {
font-size: 12px; font-size: 12px;
...@@ -419,6 +421,7 @@ img { ...@@ -419,6 +421,7 @@ img {
} }
& &__license { & &__license {
margin-top: 20px;
font-size: 12px; font-size: 12px;
div { div {
color: white; color: white;
...@@ -429,6 +432,8 @@ img { ...@@ -429,6 +432,8 @@ img {
} }
& &__location { & &__location {
margin-top: 20px;
font-size: 12px; font-size: 12px;
color: white; color: white;
i { i {
...@@ -458,6 +463,10 @@ img { ...@@ -458,6 +463,10 @@ img {
.sliders-news { .sliders-news {
& &-item { & &-item {
margin-bottom: 20px; margin-bottom: 20px;
a {
width: 100%;
display: block;
}
img { img {
width: 100%; width: 100%;
height: 150px; height: 150px;
...@@ -566,6 +575,7 @@ img { ...@@ -566,6 +575,7 @@ img {
// Common class // Common class
.custom-slick { .custom-slick {
.btn-control { .btn-control {
z-index: 50;
color: #e5e5e5; color: #e5e5e5;
font-size: 30px; font-size: 30px;
font-weight: bold; font-weight: bold;
...@@ -613,6 +623,7 @@ img { ...@@ -613,6 +623,7 @@ img {
} }
.line { .line {
height: 0;
width: 100%; width: 100%;
border-bottom: 2px #008c3e solid; border-bottom: 2px #008c3e solid;
margin-top: -2px; margin-top: -2px;
...@@ -639,6 +650,10 @@ a { ...@@ -639,6 +650,10 @@ a {
} }
} }
.slider-container {
max-width: 100%;
width: 100%;
}
.header-nav { .header-nav {
margin-top: 10px; margin-top: 10px;
} }
...@@ -655,7 +670,7 @@ a { ...@@ -655,7 +670,7 @@ a {
line-height: 1; line-height: 1;
} }
} }
.highlight{ .highlight {
color: #008c3e; color: #008c3e;
cursor: pointer; cursor: pointer;
} }
...@@ -684,7 +699,7 @@ a { ...@@ -684,7 +699,7 @@ a {
box-shadow: none !important; box-shadow: none !important;
line-height: 1; line-height: 1;
} }
.form-group{ .form-group {
margin-bottom: 20px; margin-bottom: 20px;
} }
.btn-close { .btn-close {
...@@ -709,37 +724,76 @@ a { ...@@ -709,37 +724,76 @@ a {
} }
} }
.header-account__social { .header-account__social {
margin-top: 25px ; margin-top: 25px;
margin-bottom: 35px; margin-bottom: 35px;
&-item{ &-item {
cursor: pointer; cursor: pointer;
padding: 6px 15px; padding: 6px 15px;
color: white; color: white;
i{ i {
font-size: 13px; font-size: 13px;
margin-right: 8px; margin-right: 8px;
} }
&.fb{ &.fb {
background: #4267b2; background: #4267b2;
} }
&.gg{ &.gg {
background: #db4437; background: #db4437;
} }
} }
} }
.notification{ .notification {
font-size: 13px; font-size: 13px;
} }
.btn-submit{ .btn-submit {
padding: 8px 16px; padding: 8px 16px;
background: #008c3e; background: #008c3e;
color: white; color: white;
width: 100%; width: 100%;
} }
.btn{ .btn {
border-radius: 0; border-radius: 0;
line-height: 1; line-height: 1;
} }
}
}
.media-comment {
display: flex;
align-items: flex-start;
margin-bottom: 30px;
img {
border-radius: 50%;
height: 60px;
width: 60px;
flex: 0 0 60px;
object-fit: cover;
margin-right: 15px;
}
& &-body {
position: relative;
display: inline-block;
padding: 16px;
background-color: #f9fafb;
border-radius: 10px;
padding-right: 30px;
font-size: 14px;
}
& &-name{
font-size: 16px;
a{
color: #008c3e;
}
}
& &-data-person {
margin-bottom: 6px;
display: flex;
align-items: center;
}
.media-content{
flex: 1;
.media-comment-body{
width: 100%;
}
} }
} }
...@@ -8,7 +8,6 @@ global-styling: ...@@ -8,7 +8,6 @@ global-styling:
assets/css/font/fontawesome/css/all.css: {} assets/css/font/fontawesome/css/all.css: {}
assets/css/index.css: {} assets/css/index.css: {}
assets/css/style.css: {} assets/css/style.css: {}
assets/css/custom.css: {}
//fonts.googleapis.com/css?family=Roboto: {} //fonts.googleapis.com/css?family=Roboto: {}
js: js:
assets/js/lib/bootstrap.js: {} assets/js/lib/bootstrap.js: {}
......
{#
/**
* @file
* Theme override for comments.
*
* Available variables:
* - author: Comment author. Can be a link or plain text.
* - content: The content-related items for the comment display. Use
* {{ content }} to print them all, or print a subset such as
* {{ content.field_example }}. Use the following code to temporarily suppress
* the printing of a given child element:
* @code
* {{ content|without('field_example') }}
* @endcode
* - created: Formatted date and time for when the comment was created.
* Preprocess functions can reformat it by calling DateFormatter::format()
* with the desired parameters on the 'comment.created' variable.
* - changed: Formatted date and time for when the comment was last changed.
* Preprocess functions can reformat it by calling DateFormatter::format()
* with the desired parameters on the 'comment.changed' variable.
* - permalink: Comment permalink.
* - submitted: Submission information created from author and created
* during template_preprocess_comment().
* - user_picture: The comment author's profile picture.
* - status: Comment status. Possible values are:
* unpublished, published, or preview.
* - title: Comment title, linked to the comment.
* - attributes: HTML attributes for the containing element.
* The attributes.class may contain one or more of the following classes:
* - comment: The current template type; e.g., 'theming hook'.
* - by-anonymous: Comment by an unregistered user.
* - by-{entity-type}-author: Comment by the author of the parent entity,
* eg. by-node-author.
* - preview: When previewing a new or edited comment.
* The following applies only to viewers who are registered users:
* - unpublished: An unpublished comment visible only to administrators.
* - title_prefix: Additional output populated by modules, intended to be
* displayed in front of the main title tag that appears in the template.
* - title_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
* - content_attributes: List of classes for the styling of the comment content.
* - title_attributes: Same as attributes, except applied to the main title
* tag that appears in the template.
* - threaded: A flag indicating whether the comments are threaded or not.
*
* These variables are provided to give context about the parent comment (if
* any):
* - parent_comment: Full parent comment entity (if any).
* - parent_author: Equivalent to author for the parent comment.
* - parent_created: Equivalent to created for the parent comment.
* - parent_changed: Equivalent to changed for the parent comment.
* - parent_title: Equivalent to title for the parent comment.
* - parent_permalink: Equivalent to permalink for the parent comment.
* - parent: A text string of parent comment submission information created from
* 'parent_author' and 'parent_created' during template_preprocess_comment().
* This information is presented to help screen readers follow lengthy
* discussion threads. You can hide this from sighted users using the class
* visually-hidden.
*
* These two variables are provided for context:
* - comment: Full comment object.
* - entity: Entity the comments are attached to.
*
* @see template_preprocess_comment()
*/
#}
<!-- /review-box -->
<div class="media-comment">
<!-- user_picture -->
<img src="{{ file_url(comment.getOwner.user_picture.entity.fileuri) }}" alt="sgmt" class="avatar-content">
<div class="media-content">
<div class="media-comment-body">
<div class="media-comment-data-person justify-content-between">
<div class="media-comment-name mr-2">
{{ author }}
</div>
<span class="text-muted"> {{comment.created.value|date('d/m/Y')}}</span></div>
<div class="media-comment-text">{{content}}</div>
</div>
</div>
</div>
{{ comments }}
{% if comment_form %}
<div class="comments-post">
<div class="container">
<div class="post-comment">
<h4{{ content_attributes }}>{{ 'Post Comment'|t }}</h4>
{{ comment_form }}
</div>
</div>
</div>
{% endif %}
{#
/**
* @file
* Default theme override for comment fields.
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - label_hidden: Whether to show the field label or not.
* - title_attributes: HTML attributes for the title.
* - label: The label for the field.
* - title_prefix: Additional output populated by modules, intended to be
* displayed in front of the main title tag that appears in the template.
* - title_suffix: Additional title output populated by modules, intended to
* be displayed after the main title tag that appears in the template.
* - comments: List of comments rendered through comment.html.twig.
* - content_attributes: HTML attributes for the form title.
* - comment_form: The 'Add new comment' form.
* - comment_display_mode: Is the comments are threaded.
* - comment_type: The comment type bundle ID for the comment field.
* - entity_type: The entity type to which the field belongs.
* - field_name: The name of the field.
* - field_type: The type of the field.
* - label_display: The display settings for the label.
*
* @see template_preprocess_field()
* @see comment_preprocess_field()
*/
#}
{{ comments }}
{% if comment_form %}
<div class="comments-post">
{{ comment_form }}
</div>
{% endif %}
<div class="new-detail__comment">
<form{{ attributes.addClass('form-group mb-0') }}>
{{ children }}
</form>
</div>
<div class="container"> <div class="row">
<h2 class="mt-5 mb-3">Bài viết liên quan</h2> <div class="col-lg-9 col-12">
<section class="sliders-news type-3 custom-slick"> <div class="container">
{% for row in rows %} <h2 class=" mb-3">Bài viết liên quan</h2>
<div class="sliders-news-item"> <section class="sliders-news type-3 custom-slick mb-5">
{% set photo = file_url(row['content']['#row']._entity.field_image.entity.fileuri) %} {% for row in rows %}
<a href="/node/{{row.content['#row']._entity.nid[0].value}}"> <div class="sliders-news-item">
<img src="{{photo}}" alt="{{ row['content']['#row']._entity.field_image.alt}}"></a> {% set photo = file_url(row['content']['#row']._entity.field_image.entity.fileuri) %}
<div class="sliders-news-item__title"> <a href="/node/{{row.content['#row']._entity.nid[0].value}}">
<a href="/node/{{row.content['#row']._entity.nid[0].value}}">{{row.content['#row']._entity.title[0].value}} <img src="{{photo}}" alt="{{ row['content']['#row']._entity.field_image.alt}}"></a>
</a> <div class="sliders-news-item__title">
<a href="/node/{{row.content['#row']._entity.nid[0].value}}">{{row.content['#row']._entity.title[0].value}}
</a>
</div>
<div class="d-flex icon align-items-center">
<i class="fas fa-clock"></i>
<span class="mr-3">&ensp;{{ row['content']['#row']._entity.created[0].value|date('d/m/Y') }}</span>
<i class="fas fa-comments"></i>
<span>&ensp;{{row.content['#row']._entity.comment.comment_count}}</span>
</div>
</div> </div>
<div class="d-flex icon align-items-center"> {% endfor %}
<i class="fas fa-clock"></i> </section>
<span class="mr-3">&ensp;{{ row['content']['#row']._entity.created[0].value|date('d/m/Y') }}</span> </div>
<i class="fas fa-comments"></i>
<span>&ensp;{{row.content['#row']._entity.comment.comment_count}}</span> </div>
</div> </div>
</div>
{% endfor %}
</section>
</div>
\ No newline at end of file
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