This commit is contained in:
2020-11-11 05:25:40 +01:00
parent d84d77e083
commit 576cd3619f
11 changed files with 320 additions and 287 deletions
+60 -54
View File
@@ -10,27 +10,27 @@ h1 {
}
section, div, footer {
display: flex;
flex-wrap: wrap;
align-items: center;
row-gap: 0.5rem;
align-items: center;
justify-content: center;
text-align: center;
column-gap: 0.3rem;
}
section, footer {
margin: 0.8rem auto;
margin: 0.8rem 0;
}
div {
margin: 0 auto;
display: flex;
flex-wrap: wrap;
row-gap: 0.5rem;
column-gap: 0.3rem;
margin: 0.5rem auto;
}
.grid {
border-spacing: 0;
border: 1px solid black;
border-radius: 6px;
margin: auto;
cursor: url(img/ink-pen.svg) 2 22, auto;
}
.grid td, tr {
padding: 0;
@@ -99,21 +99,26 @@ input::-webkit-inner-spin-button {
input::-webkit-calendar-picker-indicator {
display: none;
}
.grid input:enabled {
.grid input:enabled{
background: white;
color: darkblue;
cursor: inherit;
}
.grid input:disabled,
button:enabled,
.tools input+label {
.grid input.pencil,
.grid input::placeholder {
color: #666 !important;
font-size: 0.9rem !important;
text-align: bottom;
height: 2.2rem;
padding: 0.3rem 0 0 0;
}
.grid input:disabled {
color: white;
background: #6666ff;
}
.grid input.allowed:enabled {
cursor: copy;
}
.grid input:disabled,
.grid input.forbidden {
cursor: not-allowed;
cursor: not-allowed !important;
}
.grid input.forbidden:enabled {
background: #ffffaa;
@@ -126,76 +131,78 @@ button:enabled,
background: #6666ff;
}
.grid input.same-value:disabled,
button.same-value:enabled,
.tools button.same-value:enabled,
.tools input:enabled:checked+label {
color: #ffffaa !important;
background: #00b359 !important;
}
.grid input.pencil, input::placeholder {
color: #888 !important;
font-size: 1rem !important;
width: 2.5rem !important;
height: 2.5rem !important;
.grid input.one-candidate {
cursor: help !important;
}
.tools button,
.tools input+label {
color: white;
text-shadow: -1px -1px #5b6c9e;
background: #8ca6f2;
border: 2px outset #8ca6f2;
border-radius: 4px;
font-size: 1.3rem;
min-width:20px;
padding: 4px 5px 5px 5px;
margin: 0px 1px 1px 1px;
cursor: pointer;
}
.tools img {
display: block;
width: 24px;
height: 24px;
}
.tools input {
display:none;
}
button,
.tools input+label {
border: 2px outset #6666ff;
border-radius: 4px;
font-size: 1.3rem;
padding: 4px 9px 5px 9px;
margin: 0px 1px 1px 1px;
}
img {
width: 16px;
height: 16px;
}
button:enabled:hover,
.tools button:enabled:hover,
.tools input:enabled:hover+label {
border-width: 1px;
border-style: outset;
padding: 5px 9px 5px 10px;
padding: 5px 5px 5px 6px;
margin: 1px 1px 1px 2px;
}
.tools input:enabled:checked:hover+label {
border-width: 3px;
border-style: inset;
padding: 4px 6px 2px 9px;
padding: 4px 2px 2px 5px;
margin: 1px 1px 1px 2px;
}
.tools input:enabled:checked+label {
text-shadow: -1px -1px #005f2f;
border: 2px inset #00b359;
background: #00b359;
padding: 4px 8px 4px 9px;
padding: 4px 4px 4px 5px;
margin: 1px 1px 0px 2px;
}
button:enabled:active,
.tools button:enabled:active,
.tools input:enabled:active+label {
border-width: 4px !important;
border-style: inset !important;
padding: 4px 4px 0px 9px !important;
padding: 4px 0px 0px 5px !important;
margin: 0px 1px 0px 2px !important;
}
button:disabled,
.tools button:disabled,
.tools input:disabled+label {
color: #666;
text-shadow: -1px -1px #555;
color: #ccc;
background: darkgrey;
border: 1px outset darkgrey;
padding: 5px 10px 6px 10px;
padding: 5px 6px 6px 6px;
margin: 0px 1px 1px 1px;
cursor: not-allowed;
}
button.warning {
.tools button.warning {
background: #ff5050;
border-color: #ff5050;
}
a {
text-decoration: none;
}
.context-menu {
display: none;
z-index: 1000;
@@ -212,28 +219,27 @@ a {
padding: 0;
margin: 0;
}
.context-menu li {
padding: 6px 10px;
cursor: default;
list-style-type: none;
transition: all .3s ease;
user-select: none;
font-size: 1rem;
}
.context-menu li:hover {
background-color: #DEF;
}
.context-menu li.error {
color: #888
}
.context-menu li.error:hover {
background-color: #EEE;
}
a {
text-decoration: none;
}
.credits {
font-size: 0.8rem;
margin: 0;