Skip to content

Commit

Permalink
Combine version-state styles into main element-editor-header definition
Browse files Browse the repository at this point in the history
  • Loading branch information
robbieaverill committed Sep 6, 2018
1 parent 5759b40 commit 9f2431e
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions client/src/components/ElementEditor/Header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}

0 comments on commit 9f2431e

Please sign in to comment.