mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-17 10:17:29 +08:00
Various fixes
This commit is contained in:
@@ -41,7 +41,7 @@ ueb-blueprint {
|
||||
|
||||
.ueb-viewport-body {
|
||||
position : relative;
|
||||
height : 30rem;
|
||||
height : var(--ueb-height, 30rem);
|
||||
overflow : hidden;
|
||||
scrollbar-width: 0;
|
||||
}
|
||||
|
||||
@@ -34,12 +34,12 @@ ueb-blueprint[data-drag-scrolling="false"][data-selecting="false"] ueb-node {
|
||||
padding : 1px;
|
||||
box-shadow : inset 0 0 2px 0 black;
|
||||
border-radius: var(--ueb-node-radius);
|
||||
background : rgba(0, 0, 0, 0.7);
|
||||
background : rgba(10, 10, 10, 0.8);
|
||||
overflow : hidden;
|
||||
}
|
||||
|
||||
.ueb-node-header {
|
||||
padding : 0.2em 0.7em;
|
||||
padding : 0.3em 0.7em;
|
||||
box-shadow : inset 0 1px 2px 0 #313631, inset 0 2px 0 0 #92c381;
|
||||
border-radius: var(--ueb-node-radius) var(--ueb-node-radius) 0 0;
|
||||
background : linear-gradient(170deg, #5f815a 0%, #5f815a 50%, transparent 100%);
|
||||
@@ -56,7 +56,7 @@ ueb-blueprint[data-drag-scrolling="false"][data-selecting="false"] ueb-node {
|
||||
|
||||
.ueb-node-body {
|
||||
display : flex;
|
||||
padding : 3px 0;
|
||||
padding : 1px 0;
|
||||
color : white;
|
||||
font-weight: 100;
|
||||
white-space: nowrap;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
ueb-pin {
|
||||
display: block;
|
||||
margin : 5px 0;
|
||||
margin : 6px 0;
|
||||
padding: 2px 2px;
|
||||
|
||||
&>* {
|
||||
@@ -30,8 +30,8 @@ ueb-blueprint[data-drag-scrolling="false"][data-selecting="false"] ueb-pin:hover
|
||||
.ueb-pin-icon-value {
|
||||
display : inline-block;
|
||||
position : relative;
|
||||
width : 0.85em;
|
||||
height : 0.85em;
|
||||
width : 1em;
|
||||
height : 1em;
|
||||
vertical-align: baseline;
|
||||
margin : 0 0.4em -1px 0.1em;
|
||||
}
|
||||
@@ -78,19 +78,39 @@ ueb-pin.ueb-pin-fill .ueb-pin-icon-value::before {
|
||||
margin-left : 3px;
|
||||
border : 1px solid #a0a0a0;
|
||||
border-radius: 3px;
|
||||
padding : 1px 4px;
|
||||
min-width : 10px;
|
||||
max-width : 400px;
|
||||
max-height : 14em;
|
||||
background : none;
|
||||
padding : 1px 0 0 3px;
|
||||
color : #c0c0c0;
|
||||
cursor : text;
|
||||
overflow : auto;
|
||||
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
background: #505250;
|
||||
&:focus,
|
||||
&:focus-within {
|
||||
background: #ffffff46;
|
||||
outline : none;
|
||||
}
|
||||
}
|
||||
|
||||
.ueb-pin-input-content {
|
||||
display : block;
|
||||
outline : none;
|
||||
border : none;
|
||||
margin : 0 3px 1px 0;
|
||||
padding : 0;
|
||||
min-width : 10px;
|
||||
max-width : 400px;
|
||||
max-height: 16em;
|
||||
background: none;
|
||||
cursor : text;
|
||||
overflow : auto;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width : 10px;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background : #575757;
|
||||
border-radius: 10px;
|
||||
margin : 4px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user