This commit is contained in:
2026-04-07 14:50:23 +09:00
commit b4e485502b
4778 changed files with 2017091 additions and 0 deletions

View File

@@ -0,0 +1,214 @@
/*========= stroll js start ========= */
'use strict';
$(document).ready(function() {
setTimeout(function(){
stroll.bind('.scroll-list');
$("#dynamic-list-four-button, #dynamic-list-four-close").on("click", function() {
$("#dynamic-list-four-slider-wrap").toggleClass("open");
});
$("#dynamic-list-five-button").on("click", function() {
$(this)
.toggleClass("open")
.find(".details")
.slideToggle();
});
$("#dynamic-list-six-button").on("click", function() {
$("#dynamic-list-six-list").toggleClass("open");
$(this)
.toggleClass("open")
.find(".details")
.slideToggle();
});
var a = $(".cards").height();
$(".cards").slimScroll({
height: a,
allowPageScroll: false,
color: '#000'
});
var a = $(".wave").height();
$(".wave").slimScroll({
height: a,
allowPageScroll: false,
color: '#000'
});
var a = $(".flip").height();
$(".flip").slimScroll({
height: a,
allowPageScroll: false,
color: '#000'
});
var a = $(".helix").height();
$(".helix").slimScroll({
height: a,
allowPageScroll: false,
color: '#000'
});
var a = $(".fan").height();
$(".fan").slimScroll({
height: a,
allowPageScroll: false,
color: '#000'
});
var a = $(".twirl").height();
$(".twirl").slimScroll({
height: a,
allowPageScroll: false,
color: '#000'
});
},350);
});
/*========= stroll js end ========= */
/*========= dynamic list js start ========= */
;
(function(window) {
var
// Is Modernizr defined on the global scope
Modernizr = typeof Modernizr !== "undefined" ? Modernizr : false,
// Always expect both kinds of event
buttonPressedEvent = 'touchstart click',
// List of all animation/transition properties
// with its animationEnd/transitionEnd event
animationEndEventNames = {
'WebkitAnimation': 'webkitAnimationEnd',
'OAnimation': 'oAnimationEnd',
'msAnimation': 'MSAnimationEnd',
'animation': 'animationend'
},
transitionEndEventNames = {
'WebkitTransition': 'webkitTransitionEnd',
'OTransition': 'oTransitionEnd',
'msTransition': 'MSTransitionEnd',
'transition': 'transitionend'
},
Effeckt = function() {
this.init();
};
// Current version.
Effeckt.version = '0.0.1';
// Initialization method
Effeckt.prototype.init = function() {
this.buttonPressedEvent = buttonPressedEvent;
//event trigger after animation/transition end.
this.transitionEndEventName = Modernizr ? transitionEndEventNames[Modernizr.prefixed('transition')] : getTransitionEndEventNames();
this.animationEndEventName = Modernizr ? animationEndEventNames[Modernizr.prefixed('animation')] : getAnimationEndEventNames();
this.transitionAnimationEndEvent = this.animationEndEventName + ' ' + this.transitionEndEventName;
};
Effeckt.prototype.getViewportHeight = function() {
var docElement = document.documentElement,
client = docElement['clientHeight'],
inner = window['innerHeight'];
if (client < inner)
return inner;
else
return client;
};
// Get all the properties for transition/animation end
function getTransitionEndEventNames() {
return _getEndEventNames(transitionEndEventNames);
}
function getAnimationEndEventNames() {
return _getEndEventNames(animationEndEventNames);
}
function _getEndEventNames(obj) {
var events = [];
for (var eventName in obj) {
events.push(obj[eventName]);
}
return events.join(' ');
}
// Creates a Effeckt object.
window.Effeckt = new Effeckt();
})(this);
var EffecktListItems = {
init: function() {
this.bindUIActions();
},
bindUIActions: function() {
var self = this;
$(".effeckt-list-wrap button.add").on(Effeckt.buttonPressedEvent, function() {
self.addListItem(this);
});
$(".effeckt-list-wrap button.remove").on(Effeckt.buttonPressedEvent, function() {
self.removeListItem(this);
});
$("button.remove").hide();
},
addListItem: function(el) {
var insertPoint = $(el).parent().find("li:nth-child(3)");
$(el).parent().find("button.remove").show();
$("<li />", {
'text': "new item",
'class': "new-item"
}).insertAfter(insertPoint);
},
removeListItem: function(el) {
var $parent = $(el).parent(),
self = this;
var elToRemove = $parent.find("li.new-item").last();
elToRemove.on(Effeckt.transitionAnimationEndEvent, function() {
elToRemove.off(Effeckt.transitionAnimationEndEvent);
elToRemove.remove();
});
elToRemove.toggleClass("remove-item new-item");
if (!$parent.find("li.new-item").length) {
$parent.find("button.remove").hide();
}
}
};
EffecktListItems.init();
/*========= dynamic list js end ========*/

View File

@@ -0,0 +1,248 @@
.card-list-img {
height: 75px;
width: 75px;
border-radius: 5px
}
.basic-list, .list-view-media {
margin-bottom: 30px
}
.basic-list li {
margin-top: 10px;
padding-bottom: 10px;
border-bottom: 1px solid #ccc
}
.basic-list li:last-child {
border: 0;
padding-bottom: 0
}
.basic-list.list-icons li, .basic-list.list-icons-img li {
margin-left: 50px;
position: relative
}
.list-icons i {
left: -64px;
top: 0;
bottom: -1px;
width: 64px;
padding: 8px 0;
float: left;
position: absolute
}
.basic-list p {
margin: 0
}
.list-icons-img img {
left: -60px;
top: 0;
bottom: -1px;
width: 40px;
position: absolute;
border-radius: 5px
}
.list-view li button {
margin-right: 10px;
margin-bottom: 10px
}
.list-view li .user-card {
margin-bottom: 20px
}
.list-view li:last-child .user-card {
margin-bottom: 0
}
.dynamic-row {
margin-bottom: 30px
}
.remove-item {
display: none
}
.scroll-list {
position: relative;
width: 100%;
height: 300px;
margin: 0;
padding: 0;
list-style: none;
-webkit-perspective: 400px;
-moz-perspective: 400px;
-ms-perspective: 400px;
-o-perspective: 400px;
perspective: 400px
}
.scroll-list li {
position: relative;
padding: 15px;
background: #eee;
color: #252525;
font-size: 18px;
z-inddynamic-list: 2;
-webkit-transform: translateZ(0px);
-moz-transform: translateZ(0px);
-ms-transform: translateZ(0px);
-o-transform: translateZ(0px);
transform: translateZ(0px)
}
.scroll-list h6 {
margin: 0
}
.scroll-list li:nth-child(even) {
background: #fff
}
.dynamic-row {
overflow: hidden
}
.dynamic-row li {
padding: 15px
}
.dynamic-list-one .new-item {
background: #0956ff;
color: #fff
}
.dynamic-list-two .new-item {
background: #0956ff;
color: #fff;
max-height: 0;
opacity: 0;
transform: scale(0);
animation: growHeight .2s ease forwards
}
@keyframes growHeight {
to {
max-height: 50px;
opacity: 1;
transform: scale(1)
}
}
.dynamic-list-three ul {
overflow: hidden
}
.dynamic-list-three .new-item {
background: #1abc9c;
color: #fff;
max-height: 0;
opacity: 0;
transform: translatdynamic-list(-300px);
animation: openSpace .2s ease forwards, moveIn .3s .2s ease forwards
}
@keyframes openSpace {
to {
max-height: 50px
}
}
@keyframes moveIn {
to {
opacity: 1;
transform: translatdynamic-list(0)
}
}
.hider {
overflow: hidden
}
.slider-wrap {
width: 200%;
position: relative;
transition: transform .5s linear
}
.slider-wrap.open {
transform: translatdynamic-list(-50.1%)
}
.dynamic-list-five .details {
display: none;
line-height: 1.4;
padding-bottom: 10px
}
#dynamic-list-five-button {
transition: background .2s ease
}
#dynamic-list-five-button.open {
background: #1abc9c;
color: #fff
}
#dynamic-list-five-button.open .title {
font-weight: bold
}
.dynamic-list-six .details {
display: none;
line-height: 1.4;
padding-bottom: 10px
}
#dynamic-list-six-button {
position: relative;
transition: transform .2s ease
}
#dynamic-list-five-button.open h6, #dynamic-list-six-button.open h6 {
color: #fff
}
#dynamic-list-six-button.open {
background: #1abc9c;
color: #fff;
padding: 50px;
transform: translateY(-60px) scale(2.8)
}
#dynamic-list-six-list {
transition: transform .2s ease
}
#dynamic-list-six-list.open {
transform: translateY(-40px) scale(0.4)
}
#dynamic-list-six-list.open .title {
font-weight: bold;
font-size: 120%
}
.close-button {
position: absolute;
top: 10px;
right: 50px;
font-weight: bold;
color: #fff;
font-size: 25px;
line-height: 1;
display: none
}
#dynamic-list-six-button.open .close-button {
display: block
}
.details p {
color: #fff
}