Skip to content

Commit

Permalink
Improve styling
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-fleck-at committed Nov 6, 2023
1 parent d4fd38f commit 8a20893
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
21 changes: 21 additions & 0 deletions examples/workflow-standalone/css/diagram.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,24 @@ polygon.sprotty-node {
.sprotty-node.selected {
stroke: rgb(87, 87, 214);
}

.bordered-projection-bar {
border-color: #a1a1a1;
}

.sprotty-viewport {
border-width: 1px;
border-color: #555555;
}

.sprotty-projection-bar.horizontal.bordered-projection-bar {
height: 15px;
}

.sprotty-projection-bar.vertical.bordered-projection-bar {
width: 15px;
}

.projection-scroll-bar {
background-color: #555555;
}
5 changes: 2 additions & 3 deletions packages/client/css/toast.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@
********************************************************************************/
.toast {
position: absolute;
bottom: 1rem;
width: 100%;
bottom: 48px; /* same as top of toolbar by default */
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-column-gap: 1rem;
margin: 0 1rem;
left: 40px; /* same as right of toolbar by default */
}

.toast-column-left {
Expand Down

0 comments on commit 8a20893

Please sign in to comment.