Skip to content
Snippets Groups Projects
Commit e6c795a7 authored by Tillmann Dönicke's avatar Tillmann Dönicke
Browse files

Merge branch '20-make-notetext-nicer' into 'master'

Resolve "Make notetext nicer"

Closes #20

See merge request !11
parents 3e06c88c d9f148d8
No related branches found
No related tags found
1 merge request!11Resolve "Make notetext nicer"
...@@ -295,28 +295,40 @@ hr.metamark-line.doubleLine { ...@@ -295,28 +295,40 @@ hr.metamark-line.doubleLine {
/*----- Kommentare als tooltip -----*/ /*----- Kommentare als tooltip -----*/
div:has(> .philology.section) {
overflow: hidden;
}
.note { .note {
position: relative; display: block;
display: inline-block; position: relative;
border-bottom: 1px dotted black;
} }
.note .notetext { .note .notetext {
visibility: hidden; &::-webkit-scrollbar {
width: 120px; display: none; /* Safari and Chrome */
background-color: black; }
color: #fff; -moz-border-radius: 3px;
text-align: center; -ms-overflow-style: none; /* Internet Explorer 10+ */
border-radius: 6px; -webkit-border-radius: 3px;
padding: 5px 0; background-color: var(--sub-blue);
border-radius: 3px;
/* Position the note */ color: white;
position: absolute; font-size: small;
z-index: 1; max-height: 33vh;
overflow: scroll;
padding: 5px 0;
position: absolute;
scrollbar-width: none; /* Firefox */
text-align: left;
visibility: hidden;
width: max(8vw, 80px);
word-wrap: break-word;
z-index: 1;
} }
.note:hover .notetext { .note:hover .notetext {
visibility: visible; visibility: visible;
} }
/*----------------------------------{ ITEMS: WORDS }--------------------------------*/ /*----------------------------------{ ITEMS: WORDS }--------------------------------*/
...@@ -329,9 +341,9 @@ hr.metamark-line.doubleLine { ...@@ -329,9 +341,9 @@ hr.metamark-line.doubleLine {
/*::::::::::::::::::::::::::::::::::{ TEI: Transcriptional }::::::::::::::::::::::::::::::::*/ /*::::::::::::::::::::::::::::::::::{ TEI: Transcriptional }::::::::::::::::::::::::::::::::*/
.g[data-cert="uncertain"]:after { .g[data-cert="uncertain"]:after {
content: "?"; content: "?";
font-size: small; font-size: small;
vertical-align: super; vertical-align: super;
} }
.surface .tei::before, .surface .tei::before,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment