| Path : /proc/self/root/var/www/html/phkaynews-v2/resources/sass/ |
|
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
| Current File : //proc/self/root/var/www/html/phkaynews-v2/resources/sass/custom.scss |
.navbar {
// border-top : 1px solid $active;
// border-bottom : 1px solid $active;
z-index : 1500;
.nav-item {
.nav-link {
color : $light;
font-size: 1.2rem;
}
}
}
.navbar-brand {
.logo {
max-width: 45px;
}
}
@include media-breakpoint-up(lg){
.navbar-brand {
.logo {
max-width: 80px;
}
}
}
// Page 404
.my-loading {
width : 100%;
height : 100%;
position : fixed;
top : 0;
left : 0;
right : 0;
align-items : center;
justify-content : center;
color : var(--text-color);
background-color: var(--bg-color);
overflow : hidden;
z-index : 16000162;
}
.loader {
width : 5em;
height : 5em;
font-size : 10px;
box-sizing : border-box;
border-top : 0.3em solid hotpink;
border-radius: 50%;
position : relative;
animation : rotating 2s ease-in-out infinite;
--direction : 1;
}
.loader::before,
.loader::after {
content : '';
position : absolute;
width : inherit;
height : inherit;
border-radius: 50%;
box-sizing : border-box;
top : -0.2em;
}
.loader::before {
border-top: 0.3em solid dodgerblue;
transform : rotate(120deg);
}
.loader::after {
border-top: 0.3em solid gold;
transform : rotate(240deg);
}
.loader span {
position : absolute;
color : white;
width : inherit;
height : inherit;
text-align : center;
line-height: 5em;
font-family: sans-serif;
animation : rotating 2s linear infinite;
--direction: -1;
}
@keyframes rotating {
50% {
transform: rotate(calc(180deg * var(--direction)));
}
100% {
transform: rotate(calc(360deg * var(--direction)));
}
}
.cat-title {
$cat-bg : #{$active};
border-bottom: 2px solid $cat-bg;
.font-title {
position : relative;
background-color: $cat-bg;
color : $light;
padding : .6rem 1.5rem;
padding-bottom : .4rem;
&:before {
content : '';
position : absolute;
top : 0;
right : -15px;
width : 30px;
height : 100%;
background-color: $cat-bg;
clip-path : polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
}
}
.post-title {
font-size: 1rem;
}
.post-desc{
p{
font-size: 0.85rem;
}
}
.post-item {
background-color: $nav-bg;
transition : all 0.5s;
.card-body {
color : $dark;
transition: all 0.5s;
p {
font-size : 11px;
font-style : italic;
margin-bottom: 0;
}
&:hover {
color: $active;
}
}
.card-footer {
small {
font-size: 10px;
}
}
img {
transition: all .5s;
}
&:hover {
// border: 1px solid $active !important;
.card-body {
h5 {
color: $active;
}
p {
color: #000;
}
}
box-shadow: 0 0.5rem 1rem rgb(0, 0, 0, 15%);
img {
transform: scale(1.15);
}
}
}
.popular-post {
.popular-title {
background-color : $active;
padding : 0.5rem 0.25rem;
color : $light;
border-bottom : 1px solid $active;
margin-bottom : 5px;
background : linear-gradient(to right, #1fa2ff, #12d8fa, #a6ffcb);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
}
.related-post {
color : $dark;
transition: all 0.5s;
img {
transition: all .5s;
}
.font-title {
font-weight: 300 !important;
}
&:hover {
h6 {
color: $active;
}
box-shadow: 0 0.5rem 1rem rgb(0, 0, 0, 18%);
img {
transform: scale(1.15);
}
}
}
.article-desc {
max-width: 660px;
margin : auto;
img {
width : 100% !important;
height: 100% !important;
}
.ads-fixed{
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
width: 100%;
height: 100vh;
}
iframe {
width: 100% !important;
@extend .ratio;
}
p {
font-size : 1.2rem;
line-height: 1.8;
iframe {
width: 100% !important;
}
}
}
.header-top {
background: #fff;
.current-time {
iframe {
padding-top: 3px;
}
}
}
.header-footer {
background: #00000078;
}
.breaking {
.swiper {
width : 100%;
height: 30px;
}
.swiper-slide {
text-align : center;
font-size : 18px;
background : #fff;
display : flex;
justify-content: center;
align-items : center;
}
.swiper-slide img {
display : block;
width : 100%;
height : 100%;
object-fit: cover;
}
}
.popular-home {
color : #fff;
transition: all 0.5s;
}
.new-home {
@extend .breaking;
.swiper {
height: 100%;
}
}
.home-sport {
@extend .new-home;
.swiper {
height: auto;
}
}
.top-post{
.card-title{
height: 45px;
}
.desc{
height: 48px;
}
}
.home-page {
.card-footer {
background-color: transparent !important;
}
.owl-next {
position : absolute;
top : 0;
right : 0;
width : 30px;
height : 100%;
display : flex;
justify-content: center;
align-items : center;
font-size : 40px !important;
i {
background : rgba($color: $active, $alpha: 0.5) !important;
border-radius: 50px;
color : $light;
}
}
.owl-prev {
@extend .owl-next;
left: 0;
}
.owl-dots {
display: none;
}
// .owl-week {
// .owl-nav {
// position: absolute;
// display : flex;
// top : -50px;
// right : 0;
// }
// .owl-next {
// @extend .owl-next;
// position: relative;
// display : block;
// height : auto;
// i {
// background: transparent !important;
// color : white;
// }
// }
// }
.modal{
z-index: 1500;
}
}
.home-top {
background: $nav-bg;
transition: all 0.5s;
.card-title {
color : white;
transition: all 0.5s;
}
img {
transition: all 0.5s;
}
&:hover {
.card-title {
color: $cyan-500 !important;
}
img {
transform: scale(1.15);
}
}
p {
margin-bottom: 0 !important;
font-style : italic;
opacity: 0.75;
}
}
@include media-breakpoint-up(md) {
.home-top {
width: 100%;
}
}
.ratio{
border-radius: $thumbnail-border-radius;
border: 1px solid #ffaf0063;
}
.avatar{
width: 40px;
height: 40px;
border: 1px solid $thumbnail-border-color;
border-radius: 50px;
padding: 3px;
img{
padding: 0 !important;
}
}
.article-footer{
.avatar{
width: 70px;
height: 70px;
}
}
.bg-spin{
position: absolute;
left: 0;
top: 0;
background-color: rgba($color: #000000, $alpha: 0.2);
border-radius: 10px;
width: 100%;
height: 100%;
z-index: 2;
}
.item-spinner{
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
z-index: 3;
}
.cat-grid{
a{
color: white;
font-size: 14px;
transition: all 0.5s;
}
p{
font-style: italic;
font-size: 12px;
margin-bottom: 0;
opacity: 0.75;
}
span{
font-size: 11px;
}
.ratio{
.img-thumbnail{
transition: all 0.5s;
}
}
&:hover{
a{
color: $cyan-500;
}
.ratio{
.img-thumbnail{
transform: scale(1.15);
}
}
}
}
@include media-breakpoint-up(lg){
.cat-grid{
a{
font-size: 1.25rem;
}
p{
font-size: 0.95rem;
}
span{
font-size: 0.8rem;
}
}
}
.btn-scroll {
color : $light;
font-size : 25px;
display : none;
width : 40px;
height : 40px;
right : -60px;
bottom : 10px;
background-color: $warning;
border-radius : 50px;
z-index : 1000;
transition : all 1s;
&:hover {
background-color: $danger;
cursor : pointer;
transition : all 0.5s;
}
}
.top-post{
img{
border-radius: $thumbnail-border-radius $thumbnail-border-radius 0 0;
}
.top-cat{
top: 10px;
left: 10px;
z-index: 9;
}
.ratio{
border-radius: $thumbnail-border-radius $thumbnail-border-radius 0 0;
&:after{
position: absolute;
content: '';
width: 100%;
height: 100%;
top: 0;
left: 0;
// background: #000;
border-radius: $thumbnail-border-radius;
transition: all 0.5s;
}
}
.card-body{
background: rgba($color: $nav-bg, $alpha: 0.85);
// background: linear-gradient(to bottom, rgba($color: $nav-bg, $alpha: 0) 10%, rgba($color: $nav-bg, $alpha: 0.7) 90%);
border-radius: $thumbnail-border-radius;
p{
margin-bottom: 0;
font-style: italic;
opacity: 0.6;
}
}
.card-title,p{
color: white;
transition: all 0.5s;
}
&:hover{
.card-title{
color: $cyan-500;
}
.ratio{
&:after{
box-shadow: inset 0px 0px 14px 17px rgba(26,32,44,1);
}
}
}
}
.offcanvas-bottom{
height: auto !important;
max-width: 1000px;
margin: auto;
z-index: 1500;
}
.offcanvas-end{
max-height: 450px;
margin: auto;
max-width: 300px;
z-index: 1500;
}
.search-page{
.article-desc{
max-width: 800px;
}
.cat-grid{
a{
font-size: 1.2rem;
}
p{
font-size: 1rem;
}
span{
font-size: 11px;
}
}
}