From ae859d3ea723d9987e3bad97b9505b7b0f72a008 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Wed, 2 Nov 2016 16:15:44 +0100 Subject: [PATCH] Minor style tweaks to file form widgets --- src/styles/_utils.sass | 2 +- src/styles/base.sass | 24 +++++++++++++++++------- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/src/styles/_utils.sass b/src/styles/_utils.sass index 70edf1be..bf880303 100644 --- a/src/styles/_utils.sass +++ b/src/styles/_utils.sass @@ -57,7 +57,7 @@ color: $mixin-color border-color: $mixin-color - &:active, &:focus + &:active outline: none border-color: $mixin-color background-color: $mixin-color diff --git a/src/styles/base.sass b/src/styles/base.sass index be111ae6..9f21da6b 100644 --- a/src/styles/base.sass +++ b/src/styles/base.sass @@ -775,23 +775,32 @@ label, label.control-label margin-bottom: 10px padding: 10px - display: flex - flex-direction: column - align-items: center + +clearfix .form-group margin-bottom: 0 !important // override bs width: 100% - &:not(:first-child) - border-top: thin solid $color-background-dark - padding-top: 10px - input.form-control background-color: white !important padding: 0 10px !important border: thin solid $color-background-dark !important + div[class$="slug"] + width: 50% + float: left + display: flex + align-items: center + + label + margin-right: 10px + + .fieldlist-action-button + @include button-rounded($color-success, 3px) + margin: 0 0 0 10px + padding: 5px 10px + text-transform: initial + .form-upload-file width: 100% margin-bottom: 10px @@ -830,6 +839,7 @@ label, label.control-label margin: 0 0 10px 0 width: 100% display: flex + flex-wrap: wrap li display: inline-block