css: remove unseless button properties (#77608)
gitea/gadjo/pipeline/head This commit looks good Details

This commit is contained in:
Thomas Jund 2023-05-11 15:40:42 +02:00 committed by Thomas Jund
parent b35baa7c0e
commit df45a9aca9
1 changed files with 1 additions and 3 deletions

View File

@ -94,8 +94,6 @@ a.button {
display: inline-block;
padding: 5px 15px;
cursor: pointer;
border: 0px solid #aaa;
transition: all 200ms ease;
vertical-align: baseline;
border-radius: 3px;
font-weight: bold;
@ -103,6 +101,7 @@ a.button {
text-align: center;
border: 1px solid $button-color;
color: $button-color;
transition: border-color 0.2s ease, box-shadow 0.2s linear;
&[aria-pressed=true], &:hover {
border-color: darken($button-color, 20%);
background: $button-color;
@ -126,7 +125,6 @@ a.button {
outline-offset: $button-focus-outline-offset;
}
}
transition: border-color 0.2s ease, box-shadow 0.2s linear;
}
a.button, a.pk-button, button, input[type=submit], div.buttons input, div.buttons a.cancel {