Skip to content

Node.js based forum software built for the modern web

added some styling to allow mdl buttons to be stacked in ACP

Julian Lam92ab2699ba28
diff --git a/public/less/admin/admin.less b/public/less/admin/admin.less
index e733d8d9bd..3af3ded05d 100644
--- a/public/less/admin/admin.less
+++ b/public/less/admin/admin.less
@@ -50,12 +50,30 @@
color: @link-color;
}
+ // .floating-button can either be a container or the button itself
.floating-button {
- background: @brand-primary !important;
position: fixed;
right: 30px;
bottom: 30px;
z-index: 1;
+ max-width: 56px;
+
+ button {
+ &.primary {
+ background: @brand-primary !important;
+ }
+
+ &.success {
+ background: @brand-success !important;
+ }
+
+ &:not(:last-child) {
+ margin-bottom: 2rem;
+ }
+ }
+ }
+ button.floating-button {
+ background: @brand-primary !important;
}
.user-img {