Skip to content

Commit

Permalink
Merge pull request #11268 from Zdobnov/refactor/avoid-css-duplication
Browse files Browse the repository at this point in the history
refactor: viewer.css refactored, duplications removed
  • Loading branch information
timvandermeij authored Oct 22, 2019
2 parents d7f651a + fea102b commit 7aca15d
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions web/viewer.css
Original file line number Diff line number Diff line change
Expand Up @@ -1027,12 +1027,12 @@ html[dir='rtl'] .verticalToolbarSeparator {
.toolbarField {
padding: 3px 6px;
margin: 4px 0 4px 0;
border: 1px solid transparent;
border-radius: 2px;
background-color: hsla(0,0%,100%,.09);
background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
background-clip: padding-box;
border: 1px solid hsla(0,0%,0%,.35);
border-width: 1px;
border-style: solid;
border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
box-shadow: 0 1px 0 hsla(0,0%,0%,.05) inset,
0 1px 0 hsla(0,0%,100%,.05);
Expand Down Expand Up @@ -1379,11 +1379,6 @@ html[dir='rtl'] .outlineItemToggler::before {
background-color: #474747; /* fallback */
background-image: url(images/texture.png),
linear-gradient(hsla(0,0%,32%,.99), hsla(0,0%,27%,.95));
box-shadow: inset 1px 0 0 hsla(0,0%,100%,.08),
inset 0 1px 1px hsla(0,0%,0%,.15),
inset 0 -1px 0 hsla(0,0%,100%,.05),
0 1px 0 hsla(0,0%,0%,.15),
0 1px 1px hsla(0,0%,0%,.1);
border: 1px solid hsla(0,0%,0%,.5);
border-radius: 4px;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
Expand Down

0 comments on commit 7aca15d

Please sign in to comment.