Add Units

This commit is contained in:
2023-07-06 18:34:16 +02:00
parent 6f415dfb62
commit a4745c9cb8
21 changed files with 285 additions and 15 deletions

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" id="icon" viewBox="0 0 24 24"><path d="M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19M8,9H16V19H8V9M15.5,4L14.5,3H9.5L8.5,4H5V6H19V4H15.5Z" /></svg>

After

Width:  |  Height:  |  Size: 189 B

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" id="icon" viewBox="0 0 24 24"><path d="M4,9H9V4H15V9H20V15H15V20H9V15H4V9M11,13V18H13V13H18V11H13V6H11V11H6V13H11Z" /></svg>

After

Width:  |  Height:  |  Size: 165 B

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" id="icon" viewBox="0 0 24 24"><path d="M12,3A4,4 0 0,1 16,7C16,7.73 15.81,8.41 15.46,9H18C18.95,9 19.75,9.67 19.95,10.56C21.96,18.57 22,18.78 22,19A2,2 0 0,1 20,21H4A2,2 0 0,1 2,19C2,18.78 2.04,18.57 4.05,10.56C4.25,9.67 5.05,9 6,9H8.54C8.19,8.41 8,7.73 8,7A4,4 0 0,1 12,3M12,5A2,2 0 0,0 10,7A2,2 0 0,0 12,9A2,2 0 0,0 14,7A2,2 0 0,0 12,5M6,11V19H8V16.5L9,17.5V19H11V17L9,15L11,13V11H9V12.5L8,13.5V11H6M15,11C13.89,11 13,11.89 13,13V17C13,18.11 13.89,19 15,19H18V14H16V17H15V13H18V11H15Z" /></svg>

After

Width:  |  Height:  |  Size: 537 B

View File

@@ -102,13 +102,17 @@ input:read-only:hover {
.nav-menu .left > * {
float: left;
}
/* TODO: inactive tab color #d0d0d0 or #c7c7c7 */
.nav-menu .tab {
border: none;
border-bottom: solid 0.2rem #a0a0a0;
border-radius: 0;
font-size: 0.9rem;
margin: 0 0.8rem;
padding: 0.5rem 0.8rem;
}
.nav-menu .tab:hover {
border-bottom: solid 0.2rem #009ade;
}
.nav-menu .tab.active {
border-bottom: solid 0.2rem;
color: #009ade;
@@ -276,20 +280,23 @@ table.items tbody tr:hover {
background-color: #f3f3f3;
}
table.items th,
table.items td:not(:first-child):not(.actions) {
table.items td {
padding: 0 0.8rem;
text-align: center;
}
table.items td {
border-top: 1px solid #dddddd;
}
table.items td:first-child {
padding: 0;
text-align: left;
}
table.items a {
color: black;
cursor: pointer;
display: block;
font-weight: normal;
line-height: 2.5rem;
line-height: 2.2rem;
padding: 0 0.8rem;
text-decoration: none;
}
@@ -318,11 +325,15 @@ table.items svg {
vertical-align: middle;
width: 1.2rem;
}
table.items td.number {
text-align: right;
}
table.items td.actions {
padding-left: 0.8rem;
padding: 0 0 0 0.8rem;
text-align: right;
}
table.items button {
font-weight: normal;
margin-right: 0.25rem;
padding: 0.25rem;
}
@@ -335,3 +346,8 @@ table.items select:focus-within,
table.items select:focus-visible {
color: black;
}
.contextual {
float: right;
margin-top: 1rem;
}