mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 05:50:35 +03:00
File structure cleanup
This commit is contained in:
parent
bffd372b3f
commit
4ae81799c3
@ -1,5 +1,14 @@
|
||||
// ------------------------------------------------------------
|
||||
// Animations
|
||||
//
|
||||
// Fade in
|
||||
// Keyframe animations used through Ghost
|
||||
//
|
||||
// * Define animations
|
||||
// * Classed to use these animations
|
||||
// ------------------------------------------------------------
|
||||
|
||||
//
|
||||
// Define animations
|
||||
// --------------------------------------------------
|
||||
|
||||
@keyframes fade-in {
|
||||
@ -10,10 +19,6 @@
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
.fade-in {
|
||||
animation: fade-in 0.2s;
|
||||
animation-fill-mode: forwards;
|
||||
}
|
||||
|
||||
@keyframes fade-in-snap {
|
||||
to {
|
||||
@ -21,10 +26,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Fade in scale up
|
||||
// --------------------------------------------------
|
||||
@keyframes fade-in-scale {
|
||||
from {
|
||||
transform: scale(0.8);
|
||||
@ -35,15 +36,6 @@
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
.fade-in-scale {
|
||||
animation: fade-in-scale 0.2s;
|
||||
animation-fill-mode: forwards;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Fade out
|
||||
// --------------------------------------------------
|
||||
|
||||
@keyframes fade-out {
|
||||
from {
|
||||
@ -53,15 +45,6 @@
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
.fade-out {
|
||||
animation: fade-out 0.5s;
|
||||
animation-fill-mode: forwards;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Fade out inset box shadow for content page keyboard focus
|
||||
// --------------------------------------------------
|
||||
|
||||
@keyframes keyboard-focus-style-fade-out {
|
||||
from {
|
||||
@ -70,4 +53,24 @@
|
||||
to {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Classed to use these animations
|
||||
// --------------------------------------------------
|
||||
|
||||
.fade-in {
|
||||
animation: fade-in 0.2s;
|
||||
animation-fill-mode: forwards;
|
||||
}
|
||||
|
||||
.fade-in-scale {
|
||||
animation: fade-in-scale 0.2s;
|
||||
animation-fill-mode: forwards;
|
||||
}
|
||||
|
||||
.fade-out {
|
||||
animation: fade-out 0.5s;
|
||||
animation-fill-mode: forwards;
|
||||
}
|
@ -1,25 +1,25 @@
|
||||
//
|
||||
// Helpers: Sass Utilities
|
||||
// Modules: Mixins, variables, and utilities
|
||||
// --------------------------------------------------
|
||||
|
||||
@import "helpers/variables";
|
||||
@import "helpers/mixins";
|
||||
@import "helpers/icons";
|
||||
@import "helpers/animations";
|
||||
@import "modules/variables";
|
||||
@import "modules/mixins";
|
||||
@import "modules/icons";
|
||||
@import "modules/animations";
|
||||
|
||||
|
||||
//
|
||||
// Libraries: Code by Other Homies
|
||||
// Libraries: Code by other Homies
|
||||
// --------------------------------------------------
|
||||
|
||||
@import "../../../../bower_components/normalize-scss/_normalize"; // via Bower
|
||||
@import "lib/nprogress";
|
||||
@import "lib/codemirror";
|
||||
@import "lib/nanoscroller";
|
||||
@import "vendor/nprogress";
|
||||
@import "vendor/codemirror";
|
||||
@import "vendor/nanoscroller";
|
||||
|
||||
|
||||
//
|
||||
// Patterns: Groups of Styles
|
||||
// Patterns: Groups of styles
|
||||
// --------------------------------------------------
|
||||
|
||||
@import "patterns/global";
|
||||
|
Loading…
Reference in New Issue
Block a user