mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
separate scratch from chill entrypoint, and move it into a specific module
This commit is contained in:
parent
0a0895584c
commit
6bcdbaf668
@ -21,9 +21,6 @@ global.chill = chill;
|
|||||||
/*
|
/*
|
||||||
* load requirements in chill entrypoint
|
* load requirements in chill entrypoint
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require('./sass/scratch.scss');
|
|
||||||
|
|
||||||
require('./css/chillmain.css');
|
require('./css/chillmain.css');
|
||||||
require('./css/pikaday.css');
|
require('./css/pikaday.css');
|
||||||
|
|
||||||
|
@ -1,42 +1,42 @@
|
|||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
|
|
||||||
/// Outputs the spec and prefixed versions of the `::selection` pseudo-element.
|
/// Outputs the spec and prefixed versions of the `::selection` pseudo-element.
|
||||||
///
|
///
|
||||||
/// @param {Bool} $current-selector [false]
|
/// @param {Bool} $current-selector [false]
|
||||||
/// If set to `true`, it takes the current element into consideration.
|
/// If set to `true`, it takes the current element into consideration.
|
||||||
///
|
///
|
||||||
/// @example scss - Usage
|
/// @example scss - Usage
|
||||||
/// .element {
|
/// .element {
|
||||||
/// @include selection(true) {
|
/// @include selection(true) {
|
||||||
/// background-color: #ffbb52;
|
/// background-color: #ffbb52;
|
||||||
/// }
|
/// }
|
||||||
/// }
|
/// }
|
||||||
///
|
///
|
||||||
/// @example css - CSS Output
|
/// @example css - CSS Output
|
||||||
/// .element::-moz-selection {
|
/// .element::-moz-selection {
|
||||||
/// background-color: #ffbb52;
|
/// background-color: #ffbb52;
|
||||||
/// }
|
/// }
|
||||||
///
|
///
|
||||||
/// .element::selection {
|
/// .element::selection {
|
||||||
/// background-color: #ffbb52;
|
/// background-color: #ffbb52;
|
||||||
/// }
|
/// }
|
||||||
|
|
||||||
@mixin selection($current-selector: false) {
|
@mixin selection($current-selector: false) {
|
||||||
@if $current-selector {
|
@if $current-selector {
|
||||||
&::-moz-selection {
|
&::-moz-selection {
|
||||||
@content;
|
@content;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::selection {
|
&::selection {
|
||||||
@content;
|
@content;
|
||||||
}
|
}
|
||||||
} @else {
|
} @else {
|
||||||
::-moz-selection {
|
::-moz-selection {
|
||||||
@content;
|
@content;
|
||||||
}
|
}
|
||||||
|
|
||||||
::selection {
|
::selection {
|
||||||
@content;
|
@content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user