Menu update + removing inline CSS

This commit is contained in:
D3visionNL 2022-11-24 11:54:59 +01:00
parent 4755517a02
commit 4951ebe5ac
4 changed files with 18 additions and 7 deletions

View File

@ -14,20 +14,23 @@
}
.sidebar-menu-item {
margin: 5px;
margin-right: 10px;
padding: 10px;
margin: 5px 0px 5px -20px;
padding: 10px 0px 10px 35px;
background-color: var(--dark-blue);
color: var(--text-primary);
border-radius: 6px;
text-decoration: none;
font-weight: bold;
border-radius: 0;
border-color: var(--color-primary);
width: calc(100% + 40px);
}
.sidebar-menu-item.active {
opacity: .75;
border-right: solid 3px var(--color-primary);
width: calc(100% + 15px);
border-radius: 0;
box-shadow: 0px 0px 12px #00000070;
transition: ease-in-out 0.05s;
font-size: 1.61rem;
}
.active {
background-color: var(--light-blue);

View File

@ -18,6 +18,11 @@
--font-family-mono: monaco, "Consolas", "Lucida Console", monospace;
}
a:hover:not(.button){
opacity: 1 !important;
color: #C4C4C4;
}
details[open] summary ~ * {
animation: sweep .15s ease-in-out;
}
@ -68,7 +73,7 @@ body{
}
.pageTitle{
margin: 0;
margin: 4px;
}
.flex {

View File

@ -50,3 +50,6 @@ li input {
.tree > li:first-child:before {
display: none;
}
.tree input{
width: 60px;
}

View File

@ -8,7 +8,7 @@ import { Table, TableListEntry } from "../components/Table";
const Permission = ({name, value}) => {
return <li className="flex is-vertical-align">
<label>{name}</label>
<input max={10} min={0} type='number' style={{maxWidth: '60px'}} defaultValue={value}></input>
<input max={10} min={0} type='number' defaultValue={value}></input>
</li>;
};