.wikilabels-workspace {
  position: relative;
  min-height: 5em;
  margin-top: 1em;
  padding: 1ex 1em;
  background: #fff;
  box-shadow: 0em 0em 1em rgba(0,0,0,.5);
  display: none;
}
.wikilabels-workspace.fullscreen {
  position: absolute;
  z-index: 9999;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  padding: 2em;
  margin-top: 0em;
  overflow: auto;
}

.wikilabels-workspace > .menu,
.wikilabels-workspace > .wikilabels-menu {
  text-align: right;
  margin-bottom: .5em;
}
html[dir="rtl"] .wikilabels-workspace > .menu,
html[dir="rtl"] .wikilabels-workspace > .wikilabels-menu {
  text-align: left;
}

.wikilabels-workspace > .menu > .fullscreen .oo-ui-labelElement-label,
.wikilabels-workspace > .wikilabels-menu > .fullscreen .oo-ui-labelElement-label {
  line-height: .9em;
}

.wikilabels-workspace .task-list {
  background: #eaecf0;
  padding: 1ex 1em;
}
.wikilabels-workspace .task-list > .header {
  width: 6em;
  float: left;
  text-align: right;
  padding: .25em .5em;
  font-weight: bold;
}
html[dir="rtl"] .wikilabels-workspace .task-list > .header {
  float: right;
  text-align: left;
}

.wikilabels-workspace .task-list > .tasks {
  margin-left: 8em;
  background: #f8f9fa;
  border: 1px solid silver;
}
html[dir="rtl"] .wikilabels-workspace .task-list > .tasks {
  margin-left: 0em;
  margin-right: 8em;
}

.wikilabels-workspace .task-list > .tasks > .table {
  width: 100%;
  height: 2.5em;
}
.wikilabels-workspace .task-list > .tasks .task {
  position: relative;
}
.wikilabels-workspace .task-list > .tasks .task > .label {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  border: 1px solid #777;
  background: #eaecf0;
  cursor: pointer;
}
.wikilabels-workspace .task-list > .tasks .task > .label.completed {
  background: #00af89;
}
.wikilabels-workspace .task-list > .tasks .task > .label.abandoned {
  background: #d33;
}
.wikilabels-workspace .task-list > .tasks .task.selected > .label {
  border: 2px solid #000;
}
