Some minor CSS improvements

- Removes unit if value is 0
- Uses shorthand notation where possible

Signed-off-by: Michael Rosenberger <mr@simpelwebservice.de>
This commit is contained in:
Michael Rosenberger
2018-11-22 23:38:54 +01:00
parent 3a3b35b2eb
commit b9e4adc634
7 changed files with 24 additions and 51 deletions

View File

@@ -232,10 +232,7 @@ footer img {
.login, .errorbox {
background-color: #fff;
margin: 9%;
margin-left: auto;
margin-right: auto;
margin-bottom: 12px;
margin: 9% auto 12px;
width: 500px;
box-shadow: rgba(0, 0, 0, 0.34902) 0 1px 3px 0;
}
@@ -555,7 +552,7 @@ table tfoot tr td {
height: 25px;
border-top: 1px solid #d1d5d8;
background-color: #f2f8fa;
padding-right: 0px;
padding-right: 0;
}
table td {
@@ -658,7 +655,6 @@ input[type="button"], input[type="submit"], input[type="reset"], input[type="fil
min-width: 80px;
height: 28px;
background-image: none;
border-width: 0;
}
.loginsec input[type="button"], .loginsec input[type="submit"],
@@ -701,7 +697,7 @@ input[class="nobutton"], input[type="reset"] {
input[type="file"] {
background-color: #FFFFFF;
padding-left: 0px;
padding-left: 0;
}
input[class="nobutton"]:hover, input[type="reset"]:hover {
@@ -853,10 +849,7 @@ select[multiple="multiple"] {
.preconfig {
text-align: left;
margin-top: 20px;
margin-bottom: 5px;
margin-right: 15px;
margin-left: 15px;
margin: 20px 15px 5px;
}
.preconfigitem {
@@ -1198,7 +1191,7 @@ table thead th.tablesorter-headerDesc {
/* PROGRESS */
.bar[aria-valuemax="100"][aria-valuemin="0"][aria-valuenow="0"] {
width: 0%;
width: 0;
}
.bar[aria-valuemax="100"][aria-valuemin="0"][aria-valuenow="1"] {