silphius/app/react/components/devtools.module.css

62 lines
1.1 KiB
CSS

.devtools {
background-color: #444444;
color: white;
font-size: 24px;
height: 100%;
overflow: hidden;
width: 100%;
}
.devtools form {
&, & * {
font-size: 100%;
}
label {
font-weight: bold;
:first-child {
margin-right: 4px;
}
}
input, select, option {
background-color: #333333;
color: #ffffff;
}
}
.devtools > :global(.react-tabs) {
display: flex;
flex-direction: column;
height: 100%;
> :global(.react-tabs__tab-list) {
margin-bottom: 0;
}
> :global(.react-tabs__tab-panel) {
overflow-y: auto;
}
:global(.react-tabs__tab) {
button {
background: transparent;
border: none;
border-radius: 1em;
cursor: pointer;
left: 0.25em;
padding: 0 0.125em;
position: relative;
visibility: hidden;
&:hover {
background-color: #ffffff33;
}
}
&:hover button {
visibility: visible;
}
}
:global(.react-tabs__tab--selected) {
background-color: #00000022;
color: #ffffff;
}
:global(.react-tabs__tab:focus:after) {
background-color: #00000044;
}
}