mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-22 08:06:01 +00:00
afe6139f75
This PR does some rudimentary cleanup / reorganizing to the `studio-frontend` project. ### Changes * Refactored `studio-frontend` to use the `<sts-canvas-provider/>` and `<sts-viewer/>` components from `studio-web` * Added some CSS layout utilities for positioning overlayed UI elements * Extracted `<sts-toolbar/>` and `<sts-toolbar-group/>` to their own components * Extracted `<sts-transform-toolbar/>` to its own component
23 lines
263 B
SCSS
23 lines
263 B
SCSS
:host {
|
|
display: flex;
|
|
gap: 2px;
|
|
}
|
|
|
|
::slotted(*) {
|
|
border-radius: 0;
|
|
}
|
|
|
|
::slotted(:first-child) {
|
|
border: {
|
|
top-left-radius: 8px;
|
|
bottom-left-radius: 8px;
|
|
}
|
|
}
|
|
|
|
::slotted(:last-child) {
|
|
border: {
|
|
top-right-radius: 8px;
|
|
bottom-right-radius: 8px;
|
|
}
|
|
}
|