mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-09 18:02:50 +01:00
66 lines
No EOL
1,007 B
Text
66 lines
No EOL
1,007 B
Text
@import "~ui/styles/theme.less";
|
|
@import "~ui/styles/mixins.less";
|
|
|
|
@focus-color: #0065dc;
|
|
@focus-color-secondary: rgba(3, 102, 214, .3);
|
|
@separator: 15px;
|
|
|
|
.root {
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
&.vertical {
|
|
flex-direction: column;
|
|
button {
|
|
margin: 2px 4px;
|
|
}
|
|
.separator {
|
|
height: @separator;
|
|
}
|
|
}
|
|
|
|
|
|
&.horizontal {
|
|
button {
|
|
margin: 4px 2px;
|
|
}
|
|
.separator {
|
|
width: @separator;
|
|
}
|
|
}
|
|
|
|
button {
|
|
|
|
background: #606060;
|
|
border: 1px solid #606060;
|
|
outline: none;
|
|
&:focus {
|
|
border-color: @focus-color;
|
|
box-shadow: 0 0 0 2px @focus-color-secondary;
|
|
outline: none;
|
|
}
|
|
.button-behavior(@color-neutral);
|
|
|
|
padding: 1px;
|
|
flex-basis: 36px;
|
|
display: flex;
|
|
}
|
|
|
|
svg {
|
|
width: 34px;
|
|
height: 34px;
|
|
}
|
|
|
|
&.compact svg {
|
|
width: 28px;
|
|
height: 28px;
|
|
transform: scale(0.9);
|
|
}
|
|
|
|
:global(.action-kind-Common) {
|
|
svg {
|
|
transform: scale(0.7);
|
|
}
|
|
}
|
|
} |