2020-01-14 20:11:27 +00:00
|
|
|
@import (less) "picnic.min.css";
|
2019-11-11 21:58:34 +00:00
|
|
|
@import (less) "colors.less";
|
2019-11-05 21:18:20 +00:00
|
|
|
|
|
|
|
.translation-element-margin {
|
2019-11-13 22:22:26 +00:00
|
|
|
margin: 0 0.05em;
|
2019-11-11 21:58:34 +00:00
|
|
|
padding: 0;
|
2019-11-05 21:18:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.translation-button {
|
2019-11-11 21:58:34 +00:00
|
|
|
width: 1.5em;
|
|
|
|
height: 1.5em;
|
|
|
|
border: 1px solid #ccc;
|
2019-11-05 21:18:20 +00:00
|
|
|
}
|
|
|
|
|
2020-01-28 22:05:48 +00:00
|
|
|
.cluster-list-button {
|
|
|
|
padding: 0.2em;
|
|
|
|
margin-left: .2em;
|
|
|
|
background-color: #ddd;
|
|
|
|
color: @black;
|
|
|
|
background-color: @silver;
|
|
|
|
height: 1em;
|
|
|
|
width: 1em;
|
|
|
|
vertical-align: middle;
|
|
|
|
line-height: 0;
|
|
|
|
font-family: "Lucida Console", Monaco, monospace;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cluster-button-checked {
|
|
|
|
color: @silver;
|
|
|
|
background-color: @black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.example-clusters {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2019-11-11 21:58:34 +00:00
|
|
|
._hoverable {
|
|
|
|
&:hover {
|
|
|
|
background-color: @silver;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2019-11-05 21:18:20 +00:00
|
|
|
}
|
|
|
|
|
2019-12-27 17:48:21 +00:00
|
|
|
._in_brackets {
|
|
|
|
&:after {
|
|
|
|
content: ")";
|
|
|
|
}
|
|
|
|
&:before {
|
|
|
|
content: "(";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-11 21:58:34 +00:00
|
|
|
// do I need this @ lexonomy?
|
|
|
|
// .elm-div {
|
|
|
|
// clear: both;
|
|
|
|
// overflow: auto;
|
|
|
|
// margin-bottom: 1em;
|
|
|
|
// }
|
|
|
|
|
2019-11-05 21:18:20 +00:00
|
|
|
#entry {
|
2019-11-11 21:58:34 +00:00
|
|
|
#entry-header {
|
|
|
|
// DONE!
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 1em;
|
2019-11-05 21:18:20 +00:00
|
|
|
|
2019-11-11 21:58:34 +00:00
|
|
|
#headword {
|
2020-08-06 10:47:52 +00:00
|
|
|
font-size: 1.2em;
|
2020-01-26 16:46:12 +00:00
|
|
|
color: @darkred;
|
2019-11-11 21:58:34 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
#grammar {
|
2020-08-06 10:47:52 +00:00
|
|
|
color: @gray;
|
2019-11-11 21:58:34 +00:00
|
|
|
font-style: italic;
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
2019-12-27 17:48:21 +00:00
|
|
|
|
|
|
|
#measure:not(:empty) {
|
|
|
|
color: @gray;
|
|
|
|
margin-left: 0.5em;
|
|
|
|
|
|
|
|
._in_brackets();
|
|
|
|
}
|
2019-11-18 19:27:11 +00:00
|
|
|
}
|
2019-11-05 21:18:20 +00:00
|
|
|
|
2019-11-18 19:27:11 +00:00
|
|
|
#entry-buttons {
|
|
|
|
button {
|
|
|
|
display: block;
|
2019-11-05 21:18:20 +00:00
|
|
|
}
|
2019-11-11 21:58:34 +00:00
|
|
|
}
|
2019-11-05 21:18:20 +00:00
|
|
|
|
2019-11-11 21:58:34 +00:00
|
|
|
#sense-container {
|
2020-08-06 10:47:52 +00:00
|
|
|
border-top: 1px dotted #999999;
|
|
|
|
padding-top: 0.5em;
|
2019-11-11 21:58:34 +00:00
|
|
|
margin-top: 0.5em;
|
2019-11-05 21:18:20 +00:00
|
|
|
|
2019-11-11 21:58:34 +00:00
|
|
|
.sense-num {
|
|
|
|
float: left;
|
2019-11-20 23:28:49 +00:00
|
|
|
._hoverable();
|
2019-11-11 21:58:34 +00:00
|
|
|
}
|
2019-11-05 21:18:20 +00:00
|
|
|
|
2019-11-11 21:58:34 +00:00
|
|
|
.sense {
|
|
|
|
margin-left: 2em;
|
2019-11-15 21:24:54 +00:00
|
|
|
overflow: auto; // contain all elements, some sort of clear: both for me
|
2019-11-11 21:58:34 +00:00
|
|
|
|
|
|
|
.sense-definition {
|
|
|
|
//done!
|
|
|
|
margin-left: 0.4em;
|
|
|
|
|
|
|
|
._hoverable();
|
2019-12-27 17:48:21 +00:00
|
|
|
._in_brackets();
|
2019-11-11 21:58:34 +00:00
|
|
|
}
|
2019-11-05 21:18:20 +00:00
|
|
|
|
2019-11-11 23:34:52 +00:00
|
|
|
.sense-label-list {
|
2019-11-11 21:58:34 +00:00
|
|
|
// done!
|
|
|
|
color: @blue;
|
|
|
|
._hoverable();
|
2019-11-11 23:34:52 +00:00
|
|
|
|
|
|
|
.sense-label + .sense-label:before {
|
|
|
|
content: ", ";
|
2020-02-03 06:05:39 +00:00
|
|
|
color: @label-color;
|
2019-11-11 23:34:52 +00:00
|
|
|
}
|
2019-12-27 17:48:21 +00:00
|
|
|
|
|
|
|
&:empty:before {
|
|
|
|
content: "🍵";
|
|
|
|
}
|
2019-11-11 21:58:34 +00:00
|
|
|
}
|
2019-11-05 21:18:20 +00:00
|
|
|
|
2019-11-13 22:22:26 +00:00
|
|
|
.translation-div-cluster + .translation-div-cluster:before {
|
|
|
|
content: "; ";
|
|
|
|
}
|
|
|
|
|
|
|
|
.translation-div-cluster {
|
2019-11-11 21:58:34 +00:00
|
|
|
display: inline;
|
2019-11-05 21:18:20 +00:00
|
|
|
|
2019-11-13 22:22:26 +00:00
|
|
|
.translation-div + .translation-div:before {
|
|
|
|
content: ", ";
|
2019-11-11 21:58:34 +00:00
|
|
|
}
|
2019-11-05 21:18:20 +00:00
|
|
|
|
2019-11-13 22:22:26 +00:00
|
|
|
.translation-div {
|
2019-11-11 21:58:34 +00:00
|
|
|
display: inline;
|
2020-01-14 21:59:30 +00:00
|
|
|
._hoverable();
|
2019-11-05 21:18:20 +00:00
|
|
|
|
2019-11-13 22:22:26 +00:00
|
|
|
.translation-tags {
|
|
|
|
display: inline;
|
|
|
|
color: @green;
|
|
|
|
font-size: 0.6em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.translation-text {
|
|
|
|
display: inline;
|
2020-02-03 06:05:39 +00:00
|
|
|
color: @translation-color;
|
2019-11-13 22:22:26 +00:00
|
|
|
.translation-element-margin();
|
|
|
|
}
|
2019-11-15 21:24:54 +00:00
|
|
|
.translation-source {
|
|
|
|
vertical-align: super;
|
|
|
|
font-size: 0.7em;
|
|
|
|
}
|
2020-08-06 10:47:52 +00:00
|
|
|
|
2019-11-13 22:22:26 +00:00
|
|
|
}
|
2019-11-11 21:58:34 +00:00
|
|
|
|
2019-11-13 22:22:26 +00:00
|
|
|
.translation-add {
|
|
|
|
.translation-element-margin();
|
|
|
|
.translation-button();
|
|
|
|
}
|
2019-11-11 21:58:34 +00:00
|
|
|
}
|
2019-11-05 21:18:20 +00:00
|
|
|
}
|
|
|
|
|
2020-08-06 10:47:52 +00:00
|
|
|
.explanations:not(:empty) {
|
|
|
|
font-style: italic;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: '[';
|
|
|
|
}
|
|
|
|
&:after {
|
|
|
|
content: ']';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-11 21:58:34 +00:00
|
|
|
.example {
|
2020-01-02 13:22:59 +00:00
|
|
|
clear: left;
|
2020-01-24 00:49:33 +00:00
|
|
|
margin-left: 1em;
|
2020-08-06 10:47:52 +00:00
|
|
|
|
2019-11-11 21:58:34 +00:00
|
|
|
.example-dot, .example-rest {
|
|
|
|
float: left;
|
2020-01-26 22:48:56 +00:00
|
|
|
max-width: 90%;
|
2019-11-11 21:58:34 +00:00
|
|
|
}
|
2019-11-05 21:18:20 +00:00
|
|
|
|
2020-01-26 11:42:32 +00:00
|
|
|
.example-dot {
|
2019-11-11 21:58:34 +00:00
|
|
|
margin-right: 1em;
|
|
|
|
}
|
2019-11-15 21:24:54 +00:00
|
|
|
|
2020-02-01 21:14:18 +00:00
|
|
|
.example-translation-list {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2020-01-26 11:42:32 +00:00
|
|
|
.example-translation {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
|
2020-01-23 22:10:39 +00:00
|
|
|
.example-text {
|
2020-02-01 21:14:18 +00:00
|
|
|
float: left;
|
2020-01-23 21:51:15 +00:00
|
|
|
._hoverable();
|
2020-01-26 16:46:12 +00:00
|
|
|
|
|
|
|
.example-text-1 {
|
|
|
|
color: @black;
|
|
|
|
}
|
|
|
|
.example-text-2 {
|
2020-02-03 06:05:39 +00:00
|
|
|
color: @darkpink;
|
2020-01-26 16:46:12 +00:00
|
|
|
}
|
|
|
|
.example-text-3 {
|
2020-02-03 06:05:39 +00:00
|
|
|
color: @darkpink;
|
2020-01-26 16:46:12 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2020-01-23 21:51:15 +00:00
|
|
|
}
|
|
|
|
|
2020-01-24 00:49:33 +00:00
|
|
|
|
2020-01-02 13:22:59 +00:00
|
|
|
.example-rest {
|
|
|
|
border: 1px transparent solid;
|
2020-01-28 22:05:48 +00:00
|
|
|
width: 100%;
|
2020-01-02 13:22:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.example-chosen {
|
|
|
|
border: 1px @gray solid;
|
|
|
|
}
|
2019-11-05 21:18:20 +00:00
|
|
|
}
|
2020-02-03 05:35:52 +00:00
|
|
|
|
|
|
|
.comp-role {
|
2020-02-03 06:05:39 +00:00
|
|
|
color: @darkpink;
|
2020-02-03 05:35:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.comp-role-headword {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2019-11-11 21:58:34 +00:00
|
|
|
}
|
2019-11-05 21:18:20 +00:00
|
|
|
|
2020-02-03 06:05:39 +00:00
|
|
|
.add-button {
|
|
|
|
padding: 0 .5em;
|
|
|
|
margin: 0 0 0 0.3em;
|
|
|
|
background-color: @aqua;
|
|
|
|
color: @black;
|
|
|
|
}
|
2019-11-15 21:24:54 +00:00
|
|
|
}
|
|
|
|
|
2019-11-11 21:58:34 +00:00
|
|
|
// if span left of input it is just too high, this is a fix
|
|
|
|
.span-left-of-input {
|
2020-08-06 10:47:52 +00:00
|
|
|
margin-top: 0.3em;
|
2019-11-11 21:58:34 +00:00
|
|
|
}
|
2019-11-05 21:18:20 +00:00
|
|
|
|
2020-04-22 12:20:34 +00:00
|
|
|
|
|
|
|
.example-text {
|
|
|
|
.example-cluster, .example-logdice, .example-frequency {
|
|
|
|
vertical-align: super;
|
|
|
|
font-size: 0.7em;
|
|
|
|
margin-left: 0.1em;
|
|
|
|
margin-right: 0.1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.example-cluster {
|
|
|
|
color: @blue;
|
|
|
|
}
|
2020-08-06 10:47:52 +00:00
|
|
|
.example-logdice {
|
2020-04-22 12:20:34 +00:00
|
|
|
color: @gray;
|
|
|
|
}
|
|
|
|
.example-frequency {
|
|
|
|
color: @darkred;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-25 20:33:22 +00:00
|
|
|
.example-component {
|
|
|
|
.example-component-button {
|
|
|
|
padding-left: 0.3em;
|
|
|
|
padding-right: 0.3em;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
._hoverable();
|
|
|
|
}
|
|
|
|
|
|
|
|
.example-component-headword {
|
2020-01-26 12:40:17 +00:00
|
|
|
color: @orange;
|
2020-01-25 20:33:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.example-component-collocate {
|
2020-01-26 12:40:17 +00:00
|
|
|
color: @purple;
|
2020-01-25 20:33:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.example-component-other {
|
|
|
|
color: @olive;
|
|
|
|
}
|
|
|
|
|
|
|
|
.example-component-none {
|
|
|
|
color: @gray;
|
|
|
|
}
|
2020-08-06 10:47:52 +00:00
|
|
|
|
2020-06-11 16:47:09 +00:00
|
|
|
.example-component-no-space {
|
|
|
|
color: @silver;
|
|
|
|
}
|
2020-01-25 20:33:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2019-11-11 21:58:34 +00:00
|
|
|
// if modal on full screen, it gets too small
|
|
|
|
@media (min-width: 60em) {
|
|
|
|
.modal > article {
|
|
|
|
width: 40em;
|
|
|
|
}
|
2019-11-05 21:18:20 +00:00
|
|
|
}
|
|
|
|
|
2020-01-23 19:01:33 +00:00
|
|
|
.modal-delete {
|
|
|
|
float: right;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
2020-03-30 18:34:49 +00:00
|
|
|
.ske-list {
|
|
|
|
font-size: zmall;
|
|
|
|
background-color: rgba(0,0, 0, 0.01);
|
|
|
|
padding: 0.5em;
|
|
|
|
border: 2px solid gray;
|
2020-08-06 10:47:52 +00:00
|
|
|
margin: 1em;
|
2020-03-30 18:34:49 +00:00
|
|
|
|
|
|
|
.ske-line {
|
|
|
|
display: block;
|
|
|
|
margin-top: 0.2em;
|
2020-04-05 14:46:24 +00:00
|
|
|
|
|
|
|
.checkable {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.grey1 {
|
|
|
|
margin-left: 0.3em;
|
2020-08-06 10:47:52 +00:00
|
|
|
background-color: @silver;
|
2020-04-05 14:46:24 +00:00
|
|
|
color: @black;
|
|
|
|
}
|
|
|
|
.grey2 {
|
|
|
|
margin-left: 0.3em;
|
|
|
|
background-color: @black;
|
2020-08-06 10:47:52 +00:00
|
|
|
color: @silver;
|
2020-04-05 14:46:24 +00:00
|
|
|
}
|
2020-05-19 16:54:29 +00:00
|
|
|
|
|
|
|
.no-gf2-info {
|
|
|
|
color: @silver;
|
|
|
|
}
|
|
|
|
.bad-gf2-info {
|
|
|
|
color: @orange;
|
|
|
|
}
|
|
|
|
.good-gf2-info {
|
|
|
|
color: @black;
|
|
|
|
}
|
2020-03-30 18:34:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#ske-button {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// spinner
|
|
|
|
.loadingspinner {
|
|
|
|
pointer-events: none;
|
|
|
|
width: 4em;
|
|
|
|
height: 4em;
|
|
|
|
border: 0.5em solid transparent;
|
|
|
|
border-color: @white;
|
|
|
|
border-top-color: @blue;
|
|
|
|
border-radius: 50%;
|
|
|
|
animation: loadingspin 1s linear infinite;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes loadingspin {
|
|
|
|
100% {
|
|
|
|
transform: rotate(360deg)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-11 21:58:34 +00:00
|
|
|
// TODO:
|
|
|
|
// #log {
|
|
|
|
// overflow: scroll;
|
|
|
|
// border: 2px solid red;
|
|
|
|
// height: 10em;
|
2020-08-06 10:47:52 +00:00
|
|
|
//
|
2019-11-11 21:58:34 +00:00
|
|
|
// :nth-last-child(odd) {
|
|
|
|
// background-color: lightgray;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
2020-03-12 21:43:51 +00:00
|
|
|
span.translation-original span {
|
|
|
|
margin-right: 0.3em;
|
|
|
|
}
|
|
|
|
|
2019-11-11 21:58:34 +00:00
|
|
|
.popup-menu {
|
|
|
|
// DONE!
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
//better look with border
|
|
|
|
padding: 0 0.2em;
|
|
|
|
border: 1px solid @silver;
|
|
|
|
background-color: @white;
|
|
|
|
border-radius: 0.2em;
|
|
|
|
|
2019-11-20 22:24:16 +00:00
|
|
|
// by default shown
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
2019-11-11 21:58:34 +00:00
|
|
|
transition: visibility 0s, opacity 0.1s linear;
|
|
|
|
|
|
|
|
button {
|
|
|
|
margin-right: 0.1em; // space inbetween them
|
|
|
|
margin-left: 0.1em;
|
|
|
|
|
|
|
|
padding: 0.1em 0.5em; // a little smaller than usual button
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-30 18:34:49 +00:00
|
|
|
// --- I don't know how to properly fix this :(
|
|
|
|
.ske-right-button {
|
|
|
|
margin-top: 0;
|
|
|
|
height: 2.1em;
|
|
|
|
}
|
|
|
|
.ske-mid-input {
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
|
|
|
// ---
|
|
|
|
|
2019-11-11 21:58:34 +00:00
|
|
|
// remove me
|
|
|
|
.blk {
|
|
|
|
&:before {
|
|
|
|
content: '\a';
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
display: block;
|
2019-11-05 21:18:20 +00:00
|
|
|
}
|