feat: Separate style for drag example
This commit is contained in:
parent
2e2091a179
commit
2c61450238
3 changed files with 21 additions and 20 deletions
18
source/style/modules/ui/_drag_module.scss
Normal file
18
source/style/modules/ui/_drag_module.scss
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
.body_drag {
|
||||
height: 100vh;
|
||||
// padding: $space_basic;
|
||||
}
|
||||
|
||||
#space {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
background-color: $color-dark;
|
||||
}
|
||||
|
||||
#addFrame {
|
||||
@extend .io_button;
|
||||
position: fixed;
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
margin: 0;
|
||||
}
|
||||
|
|
@ -5,11 +5,6 @@ $module_top_height: 32px;
|
|||
padding: $module_top_height + $space_basic $space_basic $space_basic;
|
||||
}
|
||||
|
||||
.body_drag {
|
||||
height: 100vh;
|
||||
// padding: $space_basic;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: grid;
|
||||
height: 100%;
|
||||
|
|
@ -29,7 +24,8 @@ $module_top_height: 32px;
|
|||
}
|
||||
}
|
||||
|
||||
.menu, #top {
|
||||
.menu,
|
||||
#top {
|
||||
nav ul {
|
||||
margin: 0;
|
||||
}
|
||||
|
|
@ -113,17 +109,3 @@ $module_top_height: 32px;
|
|||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
#space {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
background-color: $color-dark;
|
||||
}
|
||||
|
||||
#addFrame {
|
||||
@extend .io_button;
|
||||
position: fixed;
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
margin: 0;
|
||||
}
|
||||
|
|
@ -3,3 +3,4 @@
|
|||
|
||||
@import "modules/ui/new_module";
|
||||
@import "modules/ui/settings_module";
|
||||
@import "modules/ui/drag_module";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue