WIP 02: style adjustments to match eh22 styleguide

This commit is contained in:
kritzl 2025-02-20 22:03:16 +01:00
commit 0501598d41
Signed by: kritzl
SSH key fingerprint: SHA256:5BmINP9VjZWaUk5Z+2CTut1KFhwLtd0ZynMekKbtViM
75 changed files with 957 additions and 317 deletions

View file

@ -12,19 +12,21 @@
form div.no {
button {
margin-top: -.4rem;
padding-right: 0;
margin-right: -0.4rem;
padding: 0.2rem 0.4rem;
}
}
// "section editing button"
button {
display: flex;
align-items: center;
background-color: transparent;
color: transparent;
border-color: transparent;
&::after {
content: '';
float: right;
display: inline-block;
background: transparent url("svg.php?svg=pencil.svg&f=existing") center center no-repeat;
height: 1em;
@ -34,20 +36,20 @@
border-radius: @ini_default_border_radius;
margin-left: @small-spacing;
margin-top: -1px;
color: var(--color-foreground);
mask-size: contain;
mask-position: center;
mask-repeat: no-repeat;
background: currentColor !important;
mask-image: url('img/pencil.svg');
}
&:hover,
&:active,
&:focus {
//background-color: @ini_existing;
color: @ini_existing;
//border-color: @ini_existing;
&::after {
background-color: @ini_existing;
background-image: url("svg.php?svg=pencil.svg&f=background");
border-color: @ini_existing;
}
.fnActiveButton();
}
}
}