mirror of
https://github.com/crater-invoice/crater.git
synced 2025-12-17 10:52:55 -05:00
init crater
This commit is contained in:
3
resources/assets/sass/components/base/base-loader/animation/_functions.scss
vendored
Normal file
3
resources/assets/sass/components/base/base-loader/animation/_functions.scss
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
@function delay($interval, $count, $index) {
|
||||
@return ($index * $interval) - ($interval * $count);
|
||||
}
|
||||
25
resources/assets/sass/components/base/base-loader/animation/_mixins.scss
vendored
Normal file
25
resources/assets/sass/components/base/base-loader/animation/_mixins.scss
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
@mixin global-bg() {
|
||||
background-color: $primary-color;
|
||||
}
|
||||
|
||||
@mixin global-animation() {
|
||||
animation-fill-mode: both;
|
||||
}
|
||||
|
||||
@mixin balls() {
|
||||
@include global-bg();
|
||||
|
||||
width: $ball-size;
|
||||
height: $ball-size;
|
||||
border-radius: 100%;
|
||||
margin: $margin;
|
||||
}
|
||||
|
||||
@mixin lines() {
|
||||
@include global-bg();
|
||||
|
||||
width: $line-width;
|
||||
height: $line-height;
|
||||
border-radius: 2px;
|
||||
margin: $margin;
|
||||
}
|
||||
6
resources/assets/sass/components/base/base-loader/animation/_variables.scss
vendored
Normal file
6
resources/assets/sass/components/base/base-loader/animation/_variables.scss
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
$primary-color: $crater-theme--light !default;
|
||||
$ball-size: 15px !default;
|
||||
$margin: 2px !default;
|
||||
$line-height: 35px !default;
|
||||
$line-width: 4px !default;
|
||||
|
||||
Reference in New Issue
Block a user