jsketcher/modules/ui/components/Toolbar.less
2022-11-10 16:35:28 +00:00

64 lines
875 B
Text

@import "../styles/theme.less";
.root {
background-color: hsl(203, 5%, 29%);
padding: 3px;
border-radius: 5px;
display: flex;
&.flat {
border-radius: 0;
}
align-content: center;
}
.vertical {
flex-direction: column;
}
.button {
border-radius: 5px;
text-align: center;
white-space: nowrap;
font-size: 10px;
padding: 1px 1px;
margin: 2px 1px;
color: rgb(248, 238, 238);
pointer-events: auto;
&:hover {
cursor: pointer;
background-color: #333;
color: #fff;
}
&.disabled {
color: rgb(113, 111, 111);
}
&.disabled:hover {
color: #aaa;
background-color: #888;
}
}
.small > * {
font-size: 16px;
padding: 5px 2px;
}
.medium > * {
font-size: 20px;
padding: 6px 3px;
}
.splitter {
align-self: stretch;
width: 1px;
background-color: #a0a0a0;
margin: 0 2px;
}
.group {
display: flex;
}