mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-02 16:08:31 +00:00
Add-Ons Loader System (#606)
Implements an Add-on Loader so that other add-ons, such as the FFZ Add-on Pack, can be loaded directly by FFZ without requiring the user to install multiple extensions into their browser.
This commit is contained in:
parent
d9f252ee4e
commit
a305d03b2c
20 changed files with 716 additions and 11 deletions
|
@ -7,6 +7,7 @@
|
|||
@import "./widgets/menu-tree.scss";
|
||||
@import "./widgets/profile-selector.scss";
|
||||
@import "./widgets/badge-visibility.scss";
|
||||
@import "./widgets/add-ons.scss";
|
||||
|
||||
@import "./widgets/color-picker.scss";
|
||||
|
||||
|
@ -229,4 +230,29 @@
|
|||
background-color: rgba(255,255,255,0.05);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin button-colors($color, $text, $shadow) {
|
||||
&:hover, &:focus {
|
||||
background: $color !important;
|
||||
border-color: $color !important;
|
||||
color: $text !important;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 $shadow $color !important;
|
||||
}
|
||||
}
|
||||
|
||||
.ffz--pill-enabled {
|
||||
background-color: #007600 !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.ffz--button-enable {
|
||||
@include button-colors(#007600, #fff, 6px);
|
||||
}
|
||||
|
||||
.ffz--button-disable {
|
||||
@include button-colors(#bd0f0f, #fff, 6px);
|
||||
}
|
5
styles/widgets/add-ons.scss
Normal file
5
styles/widgets/add-ons.scss
Normal file
|
@ -0,0 +1,5 @@
|
|||
.ffz--add-on-info {
|
||||
.ffz-logo-section {
|
||||
max-width: 8rem;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue