JS cleanup, performance improvements

This commit is contained in:
ElPumpo
2018-10-31 15:58:36 +01:00
parent 0f75f9182d
commit 922f0c17a7
4 changed files with 101 additions and 102 deletions
+29 -29
View File
@@ -1,52 +1,52 @@
@font-face {
font-family: bankgothic;
src: url('../fonts/bankgothic.ttf');
font-family: bankgothic;
src: url('../fonts/bankgothic.ttf');
}
@font-face {
font-family: pcdown;
src: url('../fonts/pdown.ttf');
font-family: pcdown;
src: url('../fonts/pdown.ttf');
}
.menu {
font-family: bankgothic;
position : absolute;
left : 50%;
top : 50%;
transform : translate(-50%, -50%);
box-shadow : 0px 0px 50px 0px #000;
overflow-y : auto;
max-height : 90%;
font-family: bankgothic;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
box-shadow: 0px 0px 50px 0px #000;
overflow-y: auto;
max-height: 90%;
}
.menu button {
font-family: bankgothic;
font-family: bankgothic;
}
.menu > table {
border : 1px transparent;
border-spacing : 0;
min-width : 400px;
background-color: #FFF;
.menu>table {
border: 1px transparent;
border-spacing: 0;
min-width: 400px;
background-color: #FFF;
}
.menu > table > thead {
background-color: #506be6;
text-align : center;
height : 40px;
line-height : 40px;
color : #fff;
.menu>table>thead {
background-color: #506be6;
text-align: center;
height: 40px;
line-height: 40px;
color: #fff;
}
.menu td {
text-align: center;
padding : 8px;
text-align: center;
padding: 8px;
}
.menu tbody tr:nth-child(even) {
background: #CCC
background: #CCC
}
.menu tbody tr:nth-child(odd) {
background: #FFF
}
background: #FFF
}