chore(system): defaults for controls base styles

This commit is contained in:
moklick
2023-09-18 16:10:51 +02:00
parent 39a696afcb
commit 1695b2828f
2 changed files with 17 additions and 13 deletions
+17
View File
@@ -297,3 +297,20 @@
);
}
}
.xy-flow__controls {
&-button {
display: flex;
justify-content: center;
align-items: center;
height: 26px;
width: 26px;
padding: 4px;
svg {
width: 100%;
max-width: 12px;
max-height: 12px;
}
}
}
-13
View File
@@ -100,15 +100,8 @@
var(--controls-button-border-color, var(--controls-button-border-color-default))
);
color: var(--controls-button-color-props, var(--controls-button-color, var(--controls-button-color-default)));
box-sizing: content-box;
display: flex;
justify-content: center;
align-items: center;
width: 16px;
height: 16px;
cursor: pointer;
user-select: none;
padding: 5px;
&:hover {
background: var(
@@ -121,12 +114,6 @@
);
}
svg {
width: 100%;
max-width: 12px;
max-height: 12px;
}
&:disabled {
pointer-events: none;