mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-19 04:07:33 +08:00
Window introduced
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
@use "style.scss";
|
||||
@use "ueb-link.scss";
|
||||
@use "ueb-node.scss";
|
||||
@use "ueb-pin.scss";
|
||||
@use "ueb-link.scss";
|
||||
@use "ueb-type-color.scss";
|
||||
@use "ueb-window.scss";
|
||||
25
scss/ueb-window.scss
Normal file
25
scss/ueb-window.scss
Normal file
@@ -0,0 +1,25 @@
|
||||
@use "style.scss";
|
||||
|
||||
ueb-window {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
transform: translateX(calc(var(--ueb-position-x) * 1px)) translateY(calc(var(--ueb-position-y) * 1px));
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.ueb-window-top {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
padding: 4px 8px;
|
||||
height: 30px;
|
||||
background: #1a1a1a;
|
||||
}
|
||||
|
||||
.ueb-window-close {
|
||||
padding: 8px;
|
||||
height: 12px;
|
||||
width: 12px;
|
||||
}
|
||||
Reference in New Issue
Block a user