fix bugs and remove deprecated css

This commit is contained in:
Dennis Eichhorn 2022-12-25 00:00:04 +01:00
parent eec003a476
commit 2dddeb12b3
3 changed files with 510 additions and 655 deletions

View File

@ -37,7 +37,7 @@ button, input[type="submit"], input[type="button"], label.button, a.button {
} }
} }
button.save, .button.save { button.save, .button.save, input[type="submit"].save {
color: rgba(0, 0, 0, 0.75); color: rgba(0, 0, 0, 0.75);
background: #8fff79; background: #8fff79;
@ -46,7 +46,7 @@ button.save, .button.save {
} }
} }
button.cancel, .button.cancel { button.cancel, .button.cancel, input[type="submit"].cancel {
background: #ee5649; background: #ee5649;
&:hover, &:focus { &:hover, &:focus {
@ -54,7 +54,7 @@ button.cancel, .button.cancel {
} }
} }
button.close, .button.close { button.close, .button.close, input[type="submit"].close {
color: rgba(0, 0, 0, 0.75); color: rgba(0, 0, 0, 0.75);
background: #fffc3e; background: #fffc3e;
@ -63,7 +63,7 @@ button.close, .button.close {
} }
} }
button.disabled, .button.disabled { button.disabled, .button.disabled, input[type="submit"].disabled {
color: rgba(0, 0, 0, 0.5); color: rgba(0, 0, 0, 0.5);
background: #e1e1e1; background: #e1e1e1;
cursor: not-allowed; cursor: not-allowed;

155
grid.scss
View File

@ -1,4 +1,5 @@
.container-fluid, .container { .container-fluid,
.container {
box-sizing: border-box; box-sizing: border-box;
} }
@ -20,7 +21,9 @@
margin-left: var(--gutter-compensation, -0.5rem); margin-left: var(--gutter-compensation, -0.5rem);
} }
.xs-col-table, .md-col-table, .lg-col-table { .xs-col-table,
.md-col-table,
.lg-col-table {
display: none; display: none;
} }
@ -56,90 +59,72 @@
.col-xs-11, .col-xs-11,
.col-xs-12 { .col-xs-12 {
box-sizing: border-box; box-sizing: border-box;
-ms-flex: 0 0 auto;
-webkit-box-flex: 0;
flex: 0 0 auto; flex: 0 0 auto;
padding-right: 1rem; padding-right: 1rem;
} }
.col-xs { .col-xs {
-webkit-flex-grow: 1;
-ms-flex-positive: 1;
-webkit-box-flex: 1;
flex-grow: 1; flex-grow: 1;
-ms-flex-preferred-size: 0;
flex-basis: 0; flex-basis: 0;
max-width: 100%; max-width: 100%;
} }
.col-xs-1 { .col-xs-1 {
-ms-flex-preferred-size: 8.333%;
flex-basis: 8.333%; flex-basis: 8.333%;
max-width: 8.333%; max-width: 8.333%;
} }
.col-xs-2 { .col-xs-2 {
-ms-flex-preferred-size: 16.667%;
flex-basis: 16.667%; flex-basis: 16.667%;
max-width: 16.667%; max-width: 16.667%;
} }
.col-xs-3 { .col-xs-3 {
-ms-flex-preferred-size: 25%;
flex-basis: 25%; flex-basis: 25%;
max-width: 25%; max-width: 25%;
} }
.col-xs-4 { .col-xs-4 {
-ms-flex-preferred-size: 33.333%;
flex-basis: 33.333%; flex-basis: 33.333%;
max-width: 33.333%; max-width: 33.333%;
} }
.col-xs-5 { .col-xs-5 {
-ms-flex-preferred-size: 41.667%;
flex-basis: 41.667%; flex-basis: 41.667%;
max-width: 41.667%; max-width: 41.667%;
} }
.col-xs-6 { .col-xs-6 {
-ms-flex-preferred-size: 50%;
flex-basis: 50%; flex-basis: 50%;
max-width: 50%; max-width: 50%;
} }
.col-xs-7 { .col-xs-7 {
-ms-flex-preferred-size: 58.333%;
flex-basis: 58.333%; flex-basis: 58.333%;
max-width: 58.333%; max-width: 58.333%;
} }
.col-xs-8 { .col-xs-8 {
-ms-flex-preferred-size: 66.667%;
flex-basis: 66.667%; flex-basis: 66.667%;
max-width: 66.667%; max-width: 66.667%;
} }
.col-xs-9 { .col-xs-9 {
-ms-flex-preferred-size: 75%;
flex-basis: 75%; flex-basis: 75%;
max-width: 75%; max-width: 75%;
} }
.col-xs-10 { .col-xs-10 {
-ms-flex-preferred-size: 83.333%;
flex-basis: 83.333%; flex-basis: 83.333%;
max-width: 83.333%; max-width: 83.333%;
} }
.col-xs-11 { .col-xs-11 {
-ms-flex-preferred-size: 91.667%;
flex-basis: 91.667%; flex-basis: 91.667%;
max-width: 91.667%; max-width: 91.667%;
} }
.col-xs-12 { .col-xs-12 {
-ms-flex-preferred-size: 100%;
flex-basis: 100%; flex-basis: 100%;
max-width: 100%; max-width: 100%;
} }
@ -189,64 +174,45 @@
} }
.start-xs { .start-xs {
-ms-flex-pack: start;
-webkit-box-pack: start;
justify-content: flex-start; justify-content: flex-start;
text-align: start; text-align: start;
} }
.center-xs { .center-xs {
-ms-flex-pack: center;
-webkit-box-pack: center;
justify-content: center; justify-content: center;
text-align: center; text-align: center;
} }
.end-xs { .end-xs {
-ms-flex-pack: end;
-webkit-box-pack: end;
justify-content: flex-end; justify-content: flex-end;
text-align: end; text-align: end;
} }
.top-xs { .top-xs {
-ms-flex-align: start;
-webkit-box-align: start;
align-items: flex-start; align-items: flex-start;
} }
.middle-xs { .middle-xs {
-ms-flex-align: center;
-webkit-box-align: center;
align-items: center; align-items: center;
} }
.bottom-xs { .bottom-xs {
-ms-flex-align: end;
-webkit-box-align: end;
align-items: flex-end; align-items: flex-end;
} }
.around-xs { .around-xs {
-ms-flex-pack: distribute;
justify-content: space-around; justify-content: space-around;
} }
.between-xs { .between-xs {
-ms-flex-pack: justify;
-webkit-box-pack: justify;
justify-content: space-between; justify-content: space-between;
} }
.first-xs { .first-xs {
-ms-flex-order: -1;
-webkit-box-ordinal-group: 0;
order: -1; order: -1;
} }
.last-xs { .last-xs {
-ms-flex-order: 1;
-webkit-box-ordinal-group: 2;
order: 1; order: 1;
} }
@ -273,90 +239,72 @@
.col-sm-11, .col-sm-11,
.col-sm-12 { .col-sm-12 {
box-sizing: border-box; box-sizing: border-box;
-ms-flex: 0 0 auto;
-webkit-box-flex: 0;
flex: 0 0 auto; flex: 0 0 auto;
padding-right: 1rem; padding-right: 1rem;
} }
.col-sm { .col-sm {
-webkit-flex-grow: 1;
-ms-flex-positive: 1;
-webkit-box-flex: 1;
flex-grow: 1; flex-grow: 1;
-ms-flex-preferred-size: 0;
flex-basis: 0; flex-basis: 0;
max-width: 100%; max-width: 100%;
} }
.col-sm-1 { .col-sm-1 {
-ms-flex-preferred-size: 8.333%;
flex-basis: 8.333%; flex-basis: 8.333%;
max-width: 8.333%; max-width: 8.333%;
} }
.col-sm-2 { .col-sm-2 {
-ms-flex-preferred-size: 16.667%;
flex-basis: 16.667%; flex-basis: 16.667%;
max-width: 16.667%; max-width: 16.667%;
} }
.col-sm-3 { .col-sm-3 {
-ms-flex-preferred-size: 25%;
flex-basis: 25%; flex-basis: 25%;
max-width: 25%; max-width: 25%;
} }
.col-sm-4 { .col-sm-4 {
-ms-flex-preferred-size: 33.333%;
flex-basis: 33.333%; flex-basis: 33.333%;
max-width: 33.333%; max-width: 33.333%;
} }
.col-sm-5 { .col-sm-5 {
-ms-flex-preferred-size: 41.667%;
flex-basis: 41.667%; flex-basis: 41.667%;
max-width: 41.667%; max-width: 41.667%;
} }
.col-sm-6 { .col-sm-6 {
-ms-flex-preferred-size: 50%;
flex-basis: 50%; flex-basis: 50%;
max-width: 50%; max-width: 50%;
} }
.col-sm-7 { .col-sm-7 {
-ms-flex-preferred-size: 58.333%;
flex-basis: 58.333%; flex-basis: 58.333%;
max-width: 58.333%; max-width: 58.333%;
} }
.col-sm-8 { .col-sm-8 {
-ms-flex-preferred-size: 66.667%;
flex-basis: 66.667%; flex-basis: 66.667%;
max-width: 66.667%; max-width: 66.667%;
} }
.col-sm-9 { .col-sm-9 {
-ms-flex-preferred-size: 75%;
flex-basis: 75%; flex-basis: 75%;
max-width: 75%; max-width: 75%;
} }
.col-sm-10 { .col-sm-10 {
-ms-flex-preferred-size: 83.333%;
flex-basis: 83.333%; flex-basis: 83.333%;
max-width: 83.333%; max-width: 83.333%;
} }
.col-sm-11 { .col-sm-11 {
-ms-flex-preferred-size: 91.667%;
flex-basis: 91.667%; flex-basis: 91.667%;
max-width: 91.667%; max-width: 91.667%;
} }
.col-sm-12 { .col-sm-12 {
-ms-flex-preferred-size: 100%;
flex-basis: 100%; flex-basis: 100%;
max-width: 100%; max-width: 100%;
} }
@ -406,64 +354,45 @@
} }
.start-sm { .start-sm {
-ms-flex-pack: start;
-webkit-box-pack: start;
justify-content: flex-start; justify-content: flex-start;
text-align: start; text-align: start;
} }
.center-sm { .center-sm {
-ms-flex-pack: center;
-webkit-box-pack: center;
justify-content: center; justify-content: center;
text-align: center; text-align: center;
} }
.end-sm { .end-sm {
-ms-flex-pack: end;
-webkit-box-pack: end;
justify-content: flex-end; justify-content: flex-end;
text-align: end; text-align: end;
} }
.top-sm { .top-sm {
-ms-flex-align: start;
-webkit-box-align: start;
align-items: flex-start; align-items: flex-start;
} }
.middle-sm { .middle-sm {
-ms-flex-align: center;
-webkit-box-align: center;
align-items: center; align-items: center;
} }
.bottom-sm { .bottom-sm {
-ms-flex-align: end;
-webkit-box-align: end;
align-items: flex-end; align-items: flex-end;
} }
.around-sm { .around-sm {
-ms-flex-pack: distribute;
justify-content: space-around; justify-content: space-around;
} }
.between-sm { .between-sm {
-ms-flex-pack: justify;
-webkit-box-pack: justify;
justify-content: space-between; justify-content: space-between;
} }
.first-sm { .first-sm {
-ms-flex-order: -1;
-webkit-box-ordinal-group: 0;
order: -1; order: -1;
} }
.last-sm { .last-sm {
-ms-flex-order: 1;
-webkit-box-ordinal-group: 2;
order: 1; order: 1;
} }
} }
@ -491,90 +420,72 @@
.col-md-11, .col-md-11,
.col-md-12 { .col-md-12 {
box-sizing: border-box; box-sizing: border-box;
-ms-flex: 0 0 auto;
-webkit-box-flex: 0;
flex: 0 0 auto; flex: 0 0 auto;
padding-right: 1rem; padding-right: 1rem;
} }
.col-md { .col-md {
-webkit-flex-grow: 1;
-ms-flex-positive: 1;
-webkit-box-flex: 1;
flex-grow: 1; flex-grow: 1;
-ms-flex-preferred-size: 0;
flex-basis: 0; flex-basis: 0;
max-width: 100%; max-width: 100%;
} }
.col-md-1 { .col-md-1 {
-ms-flex-preferred-size: 8.333%;
flex-basis: 8.333%; flex-basis: 8.333%;
max-width: 8.333%; max-width: 8.333%;
} }
.col-md-2 { .col-md-2 {
-ms-flex-preferred-size: 16.667%;
flex-basis: 16.667%; flex-basis: 16.667%;
max-width: 16.667%; max-width: 16.667%;
} }
.col-md-3 { .col-md-3 {
-ms-flex-preferred-size: 25%;
flex-basis: 25%; flex-basis: 25%;
max-width: 25%; max-width: 25%;
} }
.col-md-4 { .col-md-4 {
-ms-flex-preferred-size: 33.333%;
flex-basis: 33.333%; flex-basis: 33.333%;
max-width: 33.333%; max-width: 33.333%;
} }
.col-md-5 { .col-md-5 {
-ms-flex-preferred-size: 41.667%;
flex-basis: 41.667%; flex-basis: 41.667%;
max-width: 41.667%; max-width: 41.667%;
} }
.col-md-6 { .col-md-6 {
-ms-flex-preferred-size: 50%;
flex-basis: 50%; flex-basis: 50%;
max-width: 50%; max-width: 50%;
} }
.col-md-7 { .col-md-7 {
-ms-flex-preferred-size: 58.333%;
flex-basis: 58.333%; flex-basis: 58.333%;
max-width: 58.333%; max-width: 58.333%;
} }
.col-md-8 { .col-md-8 {
-ms-flex-preferred-size: 66.667%;
flex-basis: 66.667%; flex-basis: 66.667%;
max-width: 66.667%; max-width: 66.667%;
} }
.col-md-9 { .col-md-9 {
-ms-flex-preferred-size: 75%;
flex-basis: 75%; flex-basis: 75%;
max-width: 75%; max-width: 75%;
} }
.col-md-10 { .col-md-10 {
-ms-flex-preferred-size: 83.333%;
flex-basis: 83.333%; flex-basis: 83.333%;
max-width: 83.333%; max-width: 83.333%;
} }
.col-md-11 { .col-md-11 {
-ms-flex-preferred-size: 91.667%;
flex-basis: 91.667%; flex-basis: 91.667%;
max-width: 91.667%; max-width: 91.667%;
} }
.col-md-12 { .col-md-12 {
-ms-flex-preferred-size: 100%;
flex-basis: 100%; flex-basis: 100%;
max-width: 100%; max-width: 100%;
} }
@ -624,64 +535,45 @@
} }
.start-md { .start-md {
-ms-flex-pack: start;
-webkit-box-pack: start;
justify-content: flex-start; justify-content: flex-start;
text-align: start; text-align: start;
} }
.center-md { .center-md {
-ms-flex-pack: center;
-webkit-box-pack: center;
justify-content: center; justify-content: center;
text-align: center; text-align: center;
} }
.end-md { .end-md {
-ms-flex-pack: end;
-webkit-box-pack: end;
justify-content: flex-end; justify-content: flex-end;
text-align: end; text-align: end;
} }
.top-md { .top-md {
-ms-flex-align: start;
-webkit-box-align: start;
align-items: flex-start; align-items: flex-start;
} }
.middle-md { .middle-md {
-ms-flex-align: center;
-webkit-box-align: center;
align-items: center; align-items: center;
} }
.bottom-md { .bottom-md {
-ms-flex-align: end;
-webkit-box-align: end;
align-items: flex-end; align-items: flex-end;
} }
.around-md { .around-md {
-ms-flex-pack: distribute;
justify-content: space-around; justify-content: space-around;
} }
.between-md { .between-md {
-ms-flex-pack: justify;
-webkit-box-pack: justify;
justify-content: space-between; justify-content: space-between;
} }
.first-md { .first-md {
-ms-flex-order: -1;
-webkit-box-ordinal-group: 0;
order: -1; order: -1;
} }
.last-md { .last-md {
-ms-flex-order: 1;
-webkit-box-ordinal-group: 2;
order: 1; order: 1;
} }
} }
@ -709,90 +601,72 @@
.col-lg-11, .col-lg-11,
.col-lg-12 { .col-lg-12 {
box-sizing: border-box; box-sizing: border-box;
-ms-flex: 0 0 auto;
-webkit-box-flex: 0;
flex: 0 0 auto; flex: 0 0 auto;
padding-right: 1rem; padding-right: 1rem;
} }
.col-lg { .col-lg {
-webkit-flex-grow: 1;
-ms-flex-positive: 1;
-webkit-box-flex: 1;
flex-grow: 1; flex-grow: 1;
-ms-flex-preferred-size: 0;
flex-basis: 0; flex-basis: 0;
max-width: 100%; max-width: 100%;
} }
.col-lg-1 { .col-lg-1 {
-ms-flex-preferred-size: 8.333%;
flex-basis: 8.333%; flex-basis: 8.333%;
max-width: 8.333%; max-width: 8.333%;
} }
.col-lg-2 { .col-lg-2 {
-ms-flex-preferred-size: 16.667%;
flex-basis: 16.667%; flex-basis: 16.667%;
max-width: 16.667%; max-width: 16.667%;
} }
.col-lg-3 { .col-lg-3 {
-ms-flex-preferred-size: 25%;
flex-basis: 25%; flex-basis: 25%;
max-width: 25%; max-width: 25%;
} }
.col-lg-4 { .col-lg-4 {
-ms-flex-preferred-size: 33.333%;
flex-basis: 33.333%; flex-basis: 33.333%;
max-width: 33.333%; max-width: 33.333%;
} }
.col-lg-5 { .col-lg-5 {
-ms-flex-preferred-size: 41.667%;
flex-basis: 41.667%; flex-basis: 41.667%;
max-width: 41.667%; max-width: 41.667%;
} }
.col-lg-6 { .col-lg-6 {
-ms-flex-preferred-size: 50%;
flex-basis: 50%; flex-basis: 50%;
max-width: 50%; max-width: 50%;
} }
.col-lg-7 { .col-lg-7 {
-ms-flex-preferred-size: 58.333%;
flex-basis: 58.333%; flex-basis: 58.333%;
max-width: 58.333%; max-width: 58.333%;
} }
.col-lg-8 { .col-lg-8 {
-ms-flex-preferred-size: 66.667%;
flex-basis: 66.667%; flex-basis: 66.667%;
max-width: 66.667%; max-width: 66.667%;
} }
.col-lg-9 { .col-lg-9 {
-ms-flex-preferred-size: 75%;
flex-basis: 75%; flex-basis: 75%;
max-width: 75%; max-width: 75%;
} }
.col-lg-10 { .col-lg-10 {
-ms-flex-preferred-size: 83.333%;
flex-basis: 83.333%; flex-basis: 83.333%;
max-width: 83.333%; max-width: 83.333%;
} }
.col-lg-11 { .col-lg-11 {
-ms-flex-preferred-size: 91.667%;
flex-basis: 91.667%; flex-basis: 91.667%;
max-width: 91.667%; max-width: 91.667%;
} }
.col-lg-12 { .col-lg-12 {
-ms-flex-preferred-size: 100%;
flex-basis: 100%; flex-basis: 100%;
max-width: 100%; max-width: 100%;
} }
@ -842,64 +716,45 @@
} }
.start-lg { .start-lg {
-ms-flex-pack: start;
-webkit-box-pack: start;
justify-content: flex-start; justify-content: flex-start;
text-align: start; text-align: start;
} }
.center-lg { .center-lg {
-ms-flex-pack: center;
-webkit-box-pack: center;
justify-content: center; justify-content: center;
text-align: center; text-align: center;
} }
.end-lg { .end-lg {
-ms-flex-pack: end;
-webkit-box-pack: end;
justify-content: flex-end; justify-content: flex-end;
text-align: end; text-align: end;
} }
.top-lg { .top-lg {
-ms-flex-align: start;
-webkit-box-align: start;
align-items: flex-start; align-items: flex-start;
} }
.middle-lg { .middle-lg {
-ms-flex-align: center;
-webkit-box-align: center;
align-items: center; align-items: center;
} }
.bottom-lg { .bottom-lg {
-ms-flex-align: end;
-webkit-box-align: end;
align-items: flex-end; align-items: flex-end;
} }
.around-lg { .around-lg {
-ms-flex-pack: distribute;
justify-content: space-around; justify-content: space-around;
} }
.between-lg { .between-lg {
-ms-flex-pack: justify;
-webkit-box-pack: justify;
justify-content: space-between; justify-content: space-between;
} }
.first-lg { .first-lg {
-ms-flex-order: -1;
-webkit-box-ordinal-group: 0;
order: -1; order: -1;
} }
.last-lg { .last-lg {
-ms-flex-order: 1;
-webkit-box-ordinal-group: 2;
order: 1; order: 1;
} }
} }

View File

@ -4290,24 +4290,24 @@ button, input[type="submit"], input[type="button"], label.button, a.button {
button i, input[type="submit"] i, input[type="button"] i, label.button i, a.button i { button i, input[type="submit"] i, input[type="button"] i, label.button i, a.button i {
margin: 0 .5rem 0 0; } margin: 0 .5rem 0 0; }
button.save, .button.save { button.save, .button.save, input[type="submit"].save {
color: rgba(0, 0, 0, 0.75); color: rgba(0, 0, 0, 0.75);
background: #8fff79; } background: #8fff79; }
button.save:hover, button.save:focus, .button.save:hover, .button.save:focus { button.save:hover, button.save:focus, .button.save:hover, .button.save:focus {
background: #a1ffa1; } background: #a1ffa1; }
button.cancel, .button.cancel { button.cancel, .button.cancel, input[type="submit"].cancel {
background: #ee5649; } background: #ee5649; }
button.cancel:hover, button.cancel:focus, .button.cancel:hover, .button.cancel:focus { button.cancel:hover, button.cancel:focus, .button.cancel:hover, .button.cancel:focus {
background: #ff7d79; } background: #ff7d79; }
button.close, .button.close { button.close, .button.close, input[type="submit"].close {
color: rgba(0, 0, 0, 0.75); color: rgba(0, 0, 0, 0.75);
background: #fffc3e; } background: #fffc3e; }
button.close:hover, button.close:focus, .button.close:hover, .button.close:focus { button.close:hover, button.close:focus, .button.close:hover, .button.close:focus {
background: #fffd7b; } background: #fffd7b; }
button.disabled, .button.disabled { button.disabled, .button.disabled, input[type="submit"].disabled {
color: rgba(0, 0, 0, 0.5); color: rgba(0, 0, 0, 0.5);
background: #e1e1e1; background: #e1e1e1;
cursor: not-allowed; } cursor: not-allowed; }