Commit 4526d53e by Anoop

updates

parent 7f5122e4
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -1022,6 +1022,7 @@
<h2 class="accordion-header">
<span class="icon"></span>
UPSC results
<span class="right-arrow"></span>
</h2>
<div class="accordion-content">
<div class="accordion-body">
......@@ -1049,6 +1050,7 @@
<h2 class="accordion-header">
<span class="icon"></span>
UPSC cut off
<span class="right-arrow"></span>
</h2>
<div class="accordion-content">
<div class="accordion-body">
......@@ -1065,6 +1067,7 @@
<h2 class="accordion-header">
<span class="icon"></span>
UPSC calendar
<span class="right-arrow"></span>
</h2>
<div class="accordion-content">
<div class="accordion-body">
......@@ -1081,6 +1084,7 @@
<h2 class="accordion-header">
<span class="icon"></span>
UPSC preparation
<span class="right-arrow"></span>
</h2>
<div class="accordion-content">
<div class="accordion-body">
......@@ -1563,16 +1567,16 @@
$("body").css("overflow", "auto")
})
// Accordion
$(".accordion .accordion-item:first-child").find(".accordion-header").addClass("active");
$(".accordion .accordion-item:first-child").find(".accordion-content").show()
// Accordion
$(".accordion .accordion-item:first-child").find(".accordion-header").addClass("active");
$(".accordion .accordion-item:first-child").find(".accordion-content").show();
$(".accordion-header").click(function () {
$(this).toggleClass("active")
$(this).siblings(".accordion-content").slideToggle(200)
$(this).parents(".accordion-item").siblings(".accordion-item").find(".accordion-content").slideUp(200);
$(this).parents(".accordion-item").siblings(".accordion-item").find(".accordion-header").removeClass("active")
})
$(".accordion-header .right-arrow").click(function () {
$(this).parent().toggleClass("active");
$(this).parent().siblings(".accordion-content").slideToggle(200);
$(this).parents(".accordion-item").siblings(".accordion-item").find(".accordion-content").slideUp(200);
$(this).parents(".accordion-item").siblings(".accordion-item").find(".accordion-header").removeClass("active");
})
</script>
</body>
......
......@@ -2498,9 +2498,11 @@
slidesPerView: 4,
centeredSlides: false,
spaceBetween: 30,
grabCursor: false,
grabCursor: true,
spaceBetween: 0,
mousewheelControl: false,
mousewheelControl: true,
mousewheel:true,
freeMode:true,
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
......@@ -2517,12 +2519,9 @@
}
}
}
window.addEventListener('load',function(){
swiperHandler();
})
window.addEventListener('resize',function(){
swiperHandler();
})
// addEventListenerMuili
window.addEventListener('load resize', swiperHandler());
// window.addEventListener(,swiperHandler());
......
......@@ -4,9 +4,8 @@ $secondary: #2d81f7;
$border-radius: 10px;
$color_random: 60;
$box-shadow: 0px 16px 32px 0px rgba(233, 238, 242, 0.4);
$margin_spacing:80px;
$margin_spacing_mobile:50px;
$margin_spacing: 80px;
$margin_spacing_mobile: 50px;
.page-child * {
font-family: AvertaStd, -apple-system, BlinkMacSystemFont, sans-serif !important;
......@@ -272,6 +271,16 @@ $margin_spacing_mobile:50px;
font-family: opinion-font !important;
}
.fc_main {
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 0;
color: #7a8b94;
font-weight: 600;
}
.elKdvL:hover {
color: var(--colors-green);
}
......@@ -281,6 +290,29 @@ $margin_spacing_mobile:50px;
list-style: none !important;
}
}
.cNcRhs {
color: var(--color-text-primary);
line-height: 150%;
font-size: 12px;
font-weight: normal;
transition: color 200ms ease-in-out 0s;
}
.rILQH svg {
opacity: 0.75;
}
.cVqrRO {
font-weight: 600;
font-size: 12px;
line-height: 150%;
margin: 0px;
color: #7A8B94;
}
.femLcl{
line-height: 18.4px;
}
.cNcRhs:hover {
color: $primary;
}
}
.hero {
......@@ -292,7 +324,7 @@ $margin_spacing_mobile:50px;
margin-top: 40px;
margin-bottom: $margin_spacing;
box-shadow: 0px 16px 32px rgba(233, 238, 242, 0.4);
@include md{
@include md {
margin-bottom: $margin_spacing_mobile;
}
a {
......@@ -1493,18 +1525,19 @@ $margin_spacing_mobile:50px;
}
}
&.option_two{
a.download{
border: 2px solid #3C4852;
&.option_two {
a.download {
border: 2px solid #3c4852;
background: url(../../../assets/images/arrow_download.svg) no-repeat center center;
background-size: 50%;
// transform: rotate(-90deg);
&::before, &::after{
&::before,
&::after {
display: none;
}
}
.icon{
.icon {
background: url(../../../assets/images/pdf_icon.svg) no-repeat center center;
font-size: 0;
}
......@@ -1581,19 +1614,20 @@ $margin_spacing_mobile:50px;
center center;
margin-right: 15px;
}
&::after {
.right-arrow {
@extend %beforeIcon;
height: 14px;
width: 16px;
height: 44px;
width: 46px;
transform: rotate(90deg);
top: 51px;
right: 51px;
top: 40px;
right: 20px;
transition: all ease 0.3s;
background-size: 19%;
}
&.active {
padding-bottom: 0;
// transition: all ease .3s;
&::after {
.right-arrow {
transform: rotate(270deg);
transition: all ease 0.3s;
}
......@@ -1661,7 +1695,6 @@ $margin_spacing_mobile:50px;
min-height: 40px;
}
body{
body {
background: #fcfcfc;
}
\ 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