magic4
This commit is contained in:
25
static/Magic4/Button_Display/js/index.js
Normal file
25
static/Magic4/Button_Display/js/index.js
Normal file
@@ -0,0 +1,25 @@
|
||||
import FluentRevealEffect from "../lib/js/main";
|
||||
|
||||
// console.log(FluentRevealEffect)
|
||||
|
||||
FluentRevealEffect.applyEffect(".toolbar", {
|
||||
lightColor: "rgba(255,255,255,0.1)",
|
||||
gradientSize: 500
|
||||
});
|
||||
|
||||
FluentRevealEffect.applyEffect(".toolbar > .btn", {
|
||||
clickEffect: true
|
||||
});
|
||||
|
||||
FluentRevealEffect.applyEffect(".effect-group-container", {
|
||||
clickEffect: true,
|
||||
lightColor: "rgba(255,255,255,0.6)",
|
||||
gradientSize: 80,
|
||||
isContainer: true,
|
||||
children: {
|
||||
borderSelector: ".btn-border",
|
||||
elementSelector: ".btn",
|
||||
lightColor: "rgba(255,255,255,0.3)",
|
||||
gradientSize: 150
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user