From 9f2431e7893f993f9ae7291f9294e7a79a688fe4 Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Thu, 6 Sep 2018 10:54:44 +0200 Subject: [PATCH] Combine version-state styles into main element-editor-header definition --- .../src/components/ElementEditor/Header.scss | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/client/src/components/ElementEditor/Header.scss b/client/src/components/ElementEditor/Header.scss index 456b1d56..9c644b03 100644 --- a/client/src/components/ElementEditor/Header.scss +++ b/client/src/components/ElementEditor/Header.scss @@ -50,26 +50,26 @@ &__version-state { box-shadow: $gallery-item-shadow; } -} -// Draft/modified state icons copied from asset-admin - see GalleryItem.scss -.element-editor-header__version-state { - border: 1px solid $state-draft; - border-radius: 100%; - bottom: 6px; - box-shadow: 0 0 1px .5px $white; - display: block; - height: 8px; - left: 22px; - position: relative; - width: 8px; - z-index: 1; + // Draft/modified state icons copied from asset-admin - see GalleryItem.scss + &__version-state { + border: 1px solid $state-draft; + border-radius: 100%; + bottom: 6px; + box-shadow: 0 0 1px .5px $white; + display: block; + height: 8px; + left: 22px; + position: relative; + width: 8px; + z-index: 1; - &--draft { - background-color: $state-draft-bg; - } + &--draft { + background-color: $state-draft-bg; + } - &--modified { - background-color: $state-modified-bg; + &--modified { + background-color: $state-modified-bg; + } } }