From 92ab2699ba28e8c223b838e00fd2999d81ec7f7e Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 24 May 2016 09:55:14 -0400 Subject: [PATCH] added some styling to allow mdl buttons to be stacked in ACP --- public/less/admin/admin.less | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) 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 {