Various improvements:

* CSS cleaning
* disabling buttons during loading
* reset buttons on forms
This commit is contained in:
John Livingston
2024-06-11 15:05:20 +02:00
parent e84782f346
commit 75ac7a1052
3 changed files with 102 additions and 35 deletions

View File

@ -72,7 +72,10 @@ $small-view: 800px;
}
input[type="submit"],
input[type="reset"] {
input[type="reset"],
button[type="submit"],
button[type="reset"],
.peertube-plugin-livechat-configuration-actions button {
// Peertube rounded-line-height-1-5 mixins
line-height: $button-calc-line-height;
@ -86,7 +89,9 @@ $small-view: 800px;
font-size: $button-font-size;
}
input[type="submit"] {
input[type="submit"],
button[type="submit"],
.peertube-plugin-livechat-configuration-actions button {
// Peertube orange-button mixin
&,
&:active,
@ -108,7 +113,8 @@ $small-view: 800px;
}
}
input[type="reset"] {
input[type="reset"],
button[type="reset"] {
// Peertube grey-button mixin
background-color: var(--greyBackgroundColor);
color: var(--greyForegroundColor);