mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 22:49:31 -07:00
FEAT: OCTOBER UPDATE
This commit is contained in:
@@ -2,3 +2,4 @@
|
||||
@import './sidebar.css';
|
||||
@import './category.css';
|
||||
@import './landing.css';
|
||||
@import './transitions.css';
|
||||
|
||||
42
src/css/transitions.css
Normal file
42
src/css/transitions.css
Normal file
@@ -0,0 +1,42 @@
|
||||
.page-transition-fade {
|
||||
transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
.page-transition-fade-out {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.page-transition-fade-in {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sidebar-item {
|
||||
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.sidebar-item:hover {
|
||||
padding-left: 2px;
|
||||
}
|
||||
|
||||
.sidebar-item.transitioning {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.category-page.loading {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.skeleton-loader {
|
||||
animation: fadeIn 300ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user