2019-11-11 21:58:34 +00:00
|
|
|
@import (less) "picnic.css";
|
|
|
|
@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
|
|
|
}
|
|
|
|
|
2019-11-11 21:58:34 +00:00
|
|
|
._hoverable {
|
|
|
|
&:hover {
|
|
|
|
background-color: @silver;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2019-11-05 21:18:20 +00:00
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
font-size: 1.2em;
|
2019-11-13 22:22:26 +00:00
|
|
|
color: @red;
|
2019-11-11 21:58:34 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
#grammar {
|
|
|
|
color: @gray;
|
|
|
|
font-style: italic;
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
2019-11-05 21:18:20 +00:00
|
|
|
|
2019-11-11 21:58:34 +00:00
|
|
|
#comment {
|
|
|
|
border-radius: 0em;
|
|
|
|
float: right;
|
2019-11-05 21:18:20 +00:00
|
|
|
|
2019-11-11 21:58:34 +00:00
|
|
|
&:before {
|
|
|
|
content: "Opomba: "
|
|
|
|
}
|
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 {
|
|
|
|
border-top: 1px dotted #999999;
|
|
|
|
padding-top: 0.5em;
|
|
|
|
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-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();
|
|
|
|
&:after {
|
|
|
|
content: ")";
|
2019-11-05 21:18:20 +00:00
|
|
|
}
|
2019-11-11 21:58:34 +00:00
|
|
|
&:before {
|
|
|
|
content: "(";
|
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 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: ", ";
|
|
|
|
}
|
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;
|
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;
|
|
|
|
color: @maroon;
|
|
|
|
.translation-element-margin();
|
|
|
|
}
|
2019-11-15 21:24:54 +00:00
|
|
|
.translation-source {
|
|
|
|
vertical-align: super;
|
|
|
|
font-size: 0.7em;
|
|
|
|
}
|
|
|
|
.translation-explanation:not(:empty) {
|
|
|
|
font-style: italic;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: '[';
|
|
|
|
}
|
|
|
|
&:after {
|
|
|
|
content: ']';
|
|
|
|
}
|
|
|
|
}
|
2019-11-13 22:22:26 +00:00
|
|
|
|
|
|
|
._hoverable();
|
|
|
|
}
|
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
|
|
|
}
|
|
|
|
|
2019-11-11 21:58:34 +00:00
|
|
|
.example {
|
|
|
|
.example-dot, .example-rest {
|
|
|
|
float: left;
|
|
|
|
}
|
2019-11-05 21:18:20 +00:00
|
|
|
|
2019-11-11 21:58:34 +00:00
|
|
|
.example-arrow, .example-dot {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
2019-11-15 21:24:54 +00:00
|
|
|
|
|
|
|
.example-text {
|
|
|
|
._hoverable();
|
|
|
|
}
|
2019-11-16 13:18:37 +00:00
|
|
|
|
|
|
|
.example-translation-list {
|
|
|
|
._hoverable();
|
|
|
|
}
|
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-15 21:24:54 +00:00
|
|
|
.add-button {
|
|
|
|
padding: 0 .5em;
|
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
margin-top: 0.3em;
|
|
|
|
}
|
2019-11-05 21:18:20 +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
|
|
|
}
|
|
|
|
|
2019-11-11 21:58:34 +00:00
|
|
|
// TODO:
|
|
|
|
// #log {
|
|
|
|
// overflow: scroll;
|
|
|
|
// border: 2px solid red;
|
|
|
|
// height: 10em;
|
|
|
|
//
|
|
|
|
// :nth-last-child(odd) {
|
|
|
|
// background-color: lightgray;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
|
|
|
.popup-menu {
|
|
|
|
// DONE!
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
//better look with border
|
|
|
|
padding: 0 0.2em;
|
|
|
|
border: 1px solid @silver;
|
|
|
|
background-color: @white;
|
|
|
|
border-radius: 0.2em;
|
|
|
|
|
|
|
|
// by default hidden
|
|
|
|
visibility: hidden;
|
|
|
|
opacity: 0;
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// remove me
|
|
|
|
.blk {
|
|
|
|
&:before {
|
|
|
|
content: '\a';
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
display: block;
|
2019-11-05 21:18:20 +00:00
|
|
|
}
|