UI for adding rows and columns.

This commit is contained in:
Mal
2020-02-09 00:29:46 +01:00
parent de3c73a508
commit d43cd56d65
14 changed files with 317 additions and 12 deletions

View File

@@ -131,6 +131,26 @@ body {
cursor: pointer;
}
#widget-insert-rows {
position: relative;
width: 96px;
height: 96px;
border: 1px solid black;
}
#widget-insert-rows-button {
width: 100%;
cursor: pointer;
}
#widget-insert-rows-input {
position: absolute;
width: 80%;
bottom: 0;
left: 0;
right: 0;
}
.field, .button-tile {
border: 0;
padding: 0;
@@ -159,6 +179,60 @@ body {
opacity: 0.5;
}
.dialog {
display: flex;
justify-content: center;
align-items: center;
background-color: rgba(0, 0, 0, 0.25);
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
z-index: 200;
}
.dialog-box {
width: 500px;
background-color: #cccccc;
color: black;
padding: 20px;
box-shadow: 0 0 20px black;
}
.dialog-message {
text-align: center;
color: black;
margin-bottom: 20px;
}
.dialog-button-area {
display: flex;
justify-content: space-evenly;
width: 100%;
}
.dialog-label {
width: 100%;
}
.dialog-input-area {
width: 100%;
}
.dialog-input {
width: 100%;
margin-bottom: 20px;
}
.dialog-button {
padding: 5px 20px;
background-color: grey;
font-weight: bold;
color: white;
cursor: pointer;
}
/*
tr:hover > td > .selection {
opacity: 0.5;