|
body {
|
|
font-family: 'Open Sans', sans-serif;
|
|
min-width: 100vw;
|
|
|
|
}
|
|
|
|
#workspace {
|
|
display: flex;
|
|
flex-direction: row;
|
|
float: left;
|
|
width: 100vw;
|
|
transition: margin-left .5s;
|
|
margin: auto;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.task_type {
|
|
color: #f1f1f1;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
|
|
#demonstration_examples_view {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
width: 50%;
|
|
margin: 3px;
|
|
padding: 5px;
|
|
background-color: #d5d5d5;
|
|
}
|
|
|
|
#task_name {
|
|
display: inline-block;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
width: 60%;
|
|
max-width: 400px;
|
|
}
|
|
|
|
#load_task_control_btns {
|
|
background: white;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
#task_demo_header {
|
|
background: white;
|
|
}
|
|
|
|
#task_preview {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
.pair_preview {
|
|
display: flex;
|
|
flex-direction: row;
|
|
height: 250px;
|
|
padding: 5px;
|
|
|
|
border-bottom: solid 1px #a1a1a1;
|
|
}
|
|
|
|
.input_pair {
|
|
display: flex;
|
|
flex-direction: row;
|
|
width: 40%;
|
|
|
|
justify-content: center;
|
|
border-width: 1px;
|
|
border-style: dotted;
|
|
border: #111;
|
|
}
|
|
|
|
.arrow {
|
|
width: 10%;
|
|
height: 50px;
|
|
}
|
|
|
|
.output_pair {
|
|
display: flex;
|
|
flex-direction: row;
|
|
width: 40%;
|
|
|
|
justify-content: center;
|
|
border-width: 1px;
|
|
border-style: dotted;
|
|
border: #111;
|
|
}
|
|
|
|
#evaluation-input-view {
|
|
margin-top: 5px;
|
|
width: 30%;
|
|
background-color: #d5d5d5;
|
|
}
|
|
|
|
#evaluation_input {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-evenly;
|
|
}
|
|
|
|
|
|
#evaluation_view {
|
|
width: 40%;
|
|
margin: 3px;
|
|
padding: 3px;
|
|
background-color: #d5d5d5;
|
|
}
|
|
|
|
#edition_view {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
background-color: #d5d5d5;
|
|
padding: 5px;
|
|
}
|
|
|
|
#resize_control_btns {
|
|
width: 100%;
|
|
}
|
|
|
|
#editor_grid_control_btns {
|
|
padding: 5px;
|
|
background: white;
|
|
}
|
|
|
|
#submit_solution_btn {
|
|
color: white;
|
|
border-radius: 4px;
|
|
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
|
|
background: rgb(28, 184, 65);
|
|
}
|
|
|
|
#output_grid {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
margin: 10px;
|
|
padding: 5px;
|
|
}
|
|
|
|
#submit_solution_btn:active {
|
|
background: blue;
|
|
}
|
|
|
|
button:focus {outline:0;}
|
|
|
|
#layers {
|
|
display: flex;
|
|
display: none;
|
|
flex-direction: column;
|
|
width: 20%;
|
|
height: 100%;
|
|
margin: 3px;
|
|
margin-left: 3px;
|
|
padding: 5px;
|
|
background-color: #d5d5d5;
|
|
}
|
|
|
|
#layer_panel {
|
|
height: 95%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
|
|
|
|
.layer_preview {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
justify-content: center;
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100px;
|
|
padding: 3px;
|
|
background: #d5d5d5;
|
|
}
|
|
|
|
.layer_button {
|
|
display: none;
|
|
}
|
|
|
|
.layer_selector {
|
|
z-index: 0;
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 2px;
|
|
border: 1px solid black;
|
|
transform: translate(-12.5px, 0);
|
|
}
|
|
|
|
input[class="layer_button"]:checked + .layer_selector {
|
|
background-color: aliceblue;
|
|
opacity: 50%;
|
|
}
|
|
|
|
.tool_label {
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
|
|
.tool_switching {
|
|
display: none;
|
|
margin: 5px;
|
|
}
|
|
|
|
.tool_label {
|
|
border: 2px solid black;
|
|
padding: 3px;
|
|
}
|
|
|
|
#toolbar {
|
|
display: flex;
|
|
flex-direction: row;
|
|
float: left;
|
|
margin-left: 10px;
|
|
margin-top: 18px;
|
|
margin-bottom: 10px;
|
|
|
|
|
|
}
|
|
|
|
.horizontal_flip {
|
|
-webkit-transform: rotate(90deg);
|
|
-moz-transform: rotate(90deg);
|
|
-o-transform: rotate(90deg);
|
|
-ms-transform: rotate(90deg);
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
input[name="tool_switching"]:checked + label {
|
|
border: 2px solid black;
|
|
background-color: dimgray;
|
|
}
|
|
|
|
#symbol_picker {
|
|
float: left;
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
.symbol_preview {
|
|
width: 25px;
|
|
height: 25px;
|
|
float: left;
|
|
}
|
|
|
|
input, button {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
#resize_btn {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.text {
|
|
text-align: center;
|
|
background: white;
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
#modal_bg {
|
|
background-color: black;
|
|
width: 100%;
|
|
min-height: 10000px;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#modal {
|
|
margin: auto;
|
|
background-color: white;
|
|
text-align: center;
|
|
padding: 100px;
|
|
width: 500px;
|
|
margin-top: 100px;
|
|
}
|
|
|
|
#modal input {
|
|
|
|
margin: auto;
|
|
}
|
|
|
|
#modal button {
|
|
|
|
margin: auto;
|
|
}
|
|
|
|
.sidenav {
|
|
height: 100%;
|
|
width: 0;
|
|
position: fixed;
|
|
z-index: 1;
|
|
top: 0;
|
|
left: 0;
|
|
background-color: #111;
|
|
overflow: hidden;
|
|
padding-top: 60px;
|
|
transition: 0.5s;
|
|
}
|
|
|
|
.sidenav .closebtn {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 25px;
|
|
font-size: 36px;
|
|
margin-left: 50px;
|
|
}
|
|
|
|
.sidenav a {
|
|
padding: 8px 8px 8px 32px;
|
|
text-decoration: none;
|
|
font-size: 25px;
|
|
color: #818181;
|
|
display: block;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
#task_list a {
|
|
padding: 8px 8px 8px 32px;
|
|
text-decoration: none;
|
|
font-size: 25px;
|
|
color: #818181;
|
|
display: block;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.sidenav a:hover {
|
|
color: #f1f1f1;
|
|
}
|
|
|
|
#task_list a:hover {
|
|
color: #f1f1f1;
|
|
}
|
|
|
|
#task_list {
|
|
height: 100%;
|
|
width: 0;
|
|
z-index: 1;
|
|
top: 0;
|
|
left: 0;
|
|
background-color: #111;
|
|
overflow-x: hidden;
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
.tooltip {
|
|
visibility: hidden;
|
|
width: 120px;
|
|
background-color: black;
|
|
color: #fff;
|
|
text-align: center;
|
|
border-radius: 6px;
|
|
padding: 5px 0;
|
|
position: relative;
|
|
z-index: 1;
|
|
top: -5px;
|
|
}
|
|
|
|
#rotate:hover + #tooltip_rotate {
|
|
visibility: visible;
|
|
transition-delay: 1s;
|
|
}
|
|
|
|
#flip_horizontal:hover + #tooltip_flip_horizontal {
|
|
visibility: visible;
|
|
transition-delay: 1s;
|
|
}
|
|
|
|
#flip_vertical:hover + #tooltip_flip_vertical {
|
|
visibility: visible;
|
|
transition-delay: 1s;
|
|
}
|
|
|
|
button {
|
|
align-items: center;
|
|
background-color: #fff;
|
|
border: 1px solid #000;
|
|
|
|
box-sizing: border-box;
|
|
color: #000;
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
fill: #000;
|
|
font-family: Inter,sans-serif;
|
|
|
|
font-weight: 300;
|
|
|
|
justify-content: center;
|
|
letter-spacing: -.8px;
|
|
|
|
|
|
outline: 0;
|
|
|
|
text-align: center;
|
|
text-decoration: none;
|
|
transition: all .3s;
|
|
user-select: none;
|
|
-webkit-user-select: none;
|
|
touch-action: manipulation;
|
|
}
|
|
|
|
button {
|
|
color: #171e29;
|
|
}
|
|
|
|
button {
|
|
border-color: #171e29;
|
|
color: #171e29;
|
|
fill: #171e29;
|
|
}
|
|
|
|
#continue_modal {
|
|
position: fixed;
|
|
z-index: 1;
|
|
padding-top: 100px;
|
|
width: 100%;
|
|
visibility: hidden;
|
|
}
|
|
|
|
#continue_modal_content {
|
|
background-color: #fefefe;
|
|
margin: auto;
|
|
padding: 20px;
|
|
border: 1px solid #888;
|
|
width: 50%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.close {
|
|
color: #aaaaaa;
|
|
float: right;
|
|
font-size: 28px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#continue_buttons {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: right;
|
|
} |