Update table presentation.
This commit is contained in:
parent
8353836c87
commit
ea733b8f47
@ -17,24 +17,33 @@ main>table.list th{
|
|||||||
border-bottom:1px solid #404040;
|
border-bottom:1px solid #404040;
|
||||||
}
|
}
|
||||||
main>table.list td{
|
main>table.list td{
|
||||||
|
width:1px;
|
||||||
height:100%;
|
height:100%;
|
||||||
padding:0 1rem 0 1rem;
|
padding:0 2rem 0 2rem;
|
||||||
|
|
||||||
text-align:center;
|
text-align:center;
|
||||||
|
|
||||||
white-space: nowrap;
|
white-space:nowrap;
|
||||||
|
|
||||||
background-color:#303030;
|
background-color:#303030;
|
||||||
color:#f0f0f0;
|
color:#f0f0f0;
|
||||||
|
border-right: 1px solid #383838;
|
||||||
}
|
}
|
||||||
main>table.list td:last-child{
|
main>table.list td:last-child{
|
||||||
display:flex;
|
display:flex;
|
||||||
flex-flow:row nowrap;
|
flex-flow:row nowrap;
|
||||||
align-items:flex-start;
|
align-items:flex-start;
|
||||||
justify-content:flex-end;
|
justify-content:flex-end;
|
||||||
width: 100%;
|
width:auto;
|
||||||
|
|
||||||
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
main>table.list.session td:nth-child(1){ width:10rem; }
|
||||||
|
main>table.list.session td:nth-child(2){ width:10rem; }
|
||||||
|
|
||||||
|
main>table.list.challenge td:nth-child(2){ width:10rem; }
|
||||||
|
|
||||||
main>table.list td:last-child>button{
|
main>table.list td:last-child>button{
|
||||||
display:block;
|
display:block;
|
||||||
position:relative;
|
position:relative;
|
||||||
|
@ -208,7 +208,7 @@ const SCENES = {
|
|||||||
|
|
||||||
let table = document.createElement("table");
|
let table = document.createElement("table");
|
||||||
table.setAttribute("id", "content");
|
table.setAttribute("id", "content");
|
||||||
table.setAttribute("class", "list");
|
table.setAttribute("class", "list session");
|
||||||
MAIN.appendChild(table);
|
MAIN.appendChild(table);
|
||||||
|
|
||||||
SCENE.refresh();
|
SCENE.refresh();
|
||||||
@ -259,7 +259,7 @@ const SCENES = {
|
|||||||
|
|
||||||
let table = document.createElement("table");
|
let table = document.createElement("table");
|
||||||
table.setAttribute("id", "content");
|
table.setAttribute("id", "content");
|
||||||
table.setAttribute("class", "list");
|
table.setAttribute("class", "list session");
|
||||||
MAIN.appendChild(table);
|
MAIN.appendChild(table);
|
||||||
|
|
||||||
SCENE.refresh();
|
SCENE.refresh();
|
||||||
@ -364,7 +364,7 @@ const SCENES = {
|
|||||||
|
|
||||||
let table = document.createElement("table");
|
let table = document.createElement("table");
|
||||||
table.setAttribute("id", "content");
|
table.setAttribute("id", "content");
|
||||||
table.setAttribute("class", "list");
|
table.setAttribute("class", "list session");
|
||||||
MAIN.appendChild(table);
|
MAIN.appendChild(table);
|
||||||
|
|
||||||
SCENE.refresh();
|
SCENE.refresh();
|
||||||
@ -413,7 +413,7 @@ const SCENES = {
|
|||||||
|
|
||||||
let table = document.createElement("table");
|
let table = document.createElement("table");
|
||||||
table.setAttribute("id", "content");
|
table.setAttribute("id", "content");
|
||||||
table.setAttribute("class", "list");
|
table.setAttribute("class", "list session");
|
||||||
MAIN.appendChild(table);
|
MAIN.appendChild(table);
|
||||||
|
|
||||||
SCENE.refresh();
|
SCENE.refresh();
|
||||||
@ -656,7 +656,7 @@ const SCENES = {
|
|||||||
|
|
||||||
let table = document.createElement("table");
|
let table = document.createElement("table");
|
||||||
table.setAttribute("id", "content");
|
table.setAttribute("id", "content");
|
||||||
table.setAttribute("class", "list");
|
table.setAttribute("class", "list challenge");
|
||||||
MAIN.appendChild(table);
|
MAIN.appendChild(table);
|
||||||
|
|
||||||
SCENE.refresh();
|
SCENE.refresh();
|
||||||
@ -734,7 +734,7 @@ const SCENES = {
|
|||||||
|
|
||||||
let table = document.createElement("table");
|
let table = document.createElement("table");
|
||||||
table.setAttribute("id", "content");
|
table.setAttribute("id", "content");
|
||||||
table.setAttribute("class", "list");
|
table.setAttribute("class", "list challenge");
|
||||||
MAIN.appendChild(table);
|
MAIN.appendChild(table);
|
||||||
|
|
||||||
SCENE.refresh();
|
SCENE.refresh();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user