Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
makura-2025
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Raj Shah
makura-2025
Commits
d2a378b6
Commit
d2a378b6
authored
May 30, 2025
by
Arjun Jhukal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated new tab
parent
6b49ca86
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
119 additions
and
1 deletions
+119
-1
style.css
assets/css/style.css
+0
-0
script.js
assets/js/script.js
+44
-1
_case-study-filter.scss
dev/sass/pages/case-study/_case-study-filter.scss
+42
-0
_case-study-list.scss
dev/sass/pages/case-study/_case-study-list.scss
+31
-0
style.scss
dev/sass/style.scss
+2
-0
case-study-listing.php
page-templates/case-study-listing.php
+0
-0
No files found.
assets/css/style.css
View file @
d2a378b6
This source diff could not be displayed because it is too large. You can
view the blob
instead.
assets/js/script.js
View file @
d2a378b6
...
@@ -210,7 +210,6 @@
...
@@ -210,7 +210,6 @@
/** GALLERY LIGHT BOX AND DYNAMIC SLIDER ENDS HERE */
/** GALLERY LIGHT BOX AND DYNAMIC SLIDER ENDS HERE */
/** CASE STUDY DETAIL */
/** CASE STUDY DETAIL */
$
(
function
()
{
$
(
function
()
{
// Handle click on TOC items
// Handle click on TOC items
$
(
".case-study-general .category-list a[data-target]"
).
on
(
"click"
,
function
(
e
)
{
$
(
".case-study-general .category-list a[data-target]"
).
on
(
"click"
,
function
(
e
)
{
...
@@ -263,4 +262,48 @@
...
@@ -263,4 +262,48 @@
}
}
});
});
})
})
/** CUSTOM FILTER */
$
(
function
()
{
$
(
".case-study-filter a"
).
on
(
"click"
,
function
(
e
)
{
e
.
preventDefault
();
$
(
".case-study-filter a"
).
removeClass
(
"active"
);
$
(
this
).
addClass
(
"active"
);
const
currentActive
=
$
(
this
).
data
(
"filter"
);
// e.g. "design", "dev", etc.
// Show all items first
$
(
".case-study-listing .row > div"
).
removeClass
(
"d-none"
);
if
(
currentActive
!==
""
)
{
$
(
".case-study-listing .row > div"
).
each
(
function
()
{
if
(
!
$
(
this
).
hasClass
(
currentActive
))
{
$
(
this
).
addClass
(
"d-none"
);
}
});
}
});
});
/** CASE STUDY LOAD MORE */
$
(
function
()
{
$
(
".load-hidden-item"
).
on
(
"click"
,
function
(
e
)
{
e
.
preventDefault
();
var
items
=
$
(
".case-study-listing .extra-item"
);
var
isVisible
=
items
.
is
(
":visible"
);
if
(
isVisible
)
{
items
.
slideUp
();
$
(
this
).
find
(
"span"
).
text
(
"Load More"
);
$
(
this
).
parent
().
removeClass
(
"show-less"
);
}
else
{
items
.
slideDown
();
$
(
this
).
find
(
"span"
).
text
(
"Show Less"
);
$
(
this
).
parent
().
addClass
(
"show-less"
);
}
})
})
})(
jQuery
);
})(
jQuery
);
dev/sass/pages/case-study/_case-study-filter.scss
0 → 100644
View file @
d2a378b6
.case-study-filter
{
ul
{
margin-bottom
:
0
;
gap
:
44px
;
border-top
:
1px
solid
rgba
(
255
,
255
,
255
,
0
.2
);
li
{
list-style-type
:
none
;
a
{
display
:
inline-block
;
color
:
var
(
--
white
);
padding
:
24px
0
;
position
:
relative
;
font-size
:
16px
;
line-height
:
24px
;
letter-spacing
:
-0
.4px
;
&
:
:
after
{
content
:
""
;
width
:
16px
;
height
:
16px
;
background-color
:
var
(
--
white
);
transform
:
translateX
(
-50%
)
rotate
(
45deg
);
position
:
absolute
;
top
:
calc
(
100%
-
8px
);
left
:
50%
;
opacity
:
0
;
}
&
.active
{
font-weight
:
600
;
&
:
:
after
{
opacity
:
1
;
}
}
}
}
}
}
\ No newline at end of file
dev/sass/pages/case-study/_case-study-list.scss
View file @
d2a378b6
...
@@ -48,8 +48,16 @@
...
@@ -48,8 +48,16 @@
h4
{
h4
{
margin-bottom
:
4px
;
margin-bottom
:
4px
;
&
.dec
{
svg
{
transform
:
rotate
(
180deg
);
}
}
}
}
}
}
}
}
&
:hover
{
&
:hover
{
...
@@ -75,10 +83,32 @@
...
@@ -75,10 +83,32 @@
.row
{
.row
{
--bs-gutter-y
:
24px
;
--bs-gutter-y
:
24px
;
}
}
.load-more-wrapper
{
margin-top
:
32px
;
&
.show-less
{
svg
{
transform
:
rotate
(
180deg
);
}
}
}
.extra-item
{
display
:
none
;
}
}
}
@media
(
min-width
:
992px
)
{
@media
(
min-width
:
992px
)
{
.case-study-listing
{
.case-study-listing
{
padding
:
64px
0
132px
;
padding
:
64px
0
132px
;
.load-more-wrapper
{
margin-top
:
48px
;
svg
{
margin-left
:
12px
;
}
}
}
}
}
}
\ No newline at end of file
dev/sass/style.scss
View file @
d2a378b6
...
@@ -70,4 +70,5 @@ $body-font: "Sora", sans-serif;
...
@@ -70,4 +70,5 @@ $body-font: "Sora", sans-serif;
@import
"pages/case-study/case-study-banner"
;
@import
"pages/case-study/case-study-banner"
;
@import
"pages/case-study/case-study-general"
;
@import
"pages/case-study/case-study-general"
;
@import
"pages/case-study/case-study-list"
;
@import
"pages/case-study/case-study-list"
;
@import
"pages/case-study/case-study-filter"
;
@import
"pages/milestone"
;
@import
"pages/milestone"
;
\ No newline at end of file
page-templates/case-study-listing.php
View file @
d2a378b6
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment