forked from wdw21/songbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ch.css
66 lines (60 loc) · 1.38 KB
/
ch.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
span.cho {
display: inline-block;
position: relative;
left: 0px;
width:0px;
top: -2.9ex;
margin-top: 3ex;
overflow-wrap: normal;
hyphens: none;
}
:host-context(song-row[important_over="true"]) span.cho {
width: revert;
}
:host-context(song-row[important_over="true"]) span.cho span.ch {
font-weight: 900; /*bold is like 700*/
font-size: x-small;
}
:host-context(song-row[important_over="never"]) span.cho span.ch {
/*font-weight: 900; !*bold is like 700*!*/
/*font-size: x-small;*/
color: lightgray;
}
:host-context(song-row[type="instr"]) span.cho span.ch {
/*font-weight: 900; !*bold is like 700*!*/
/*font-size: x-small;*/
display: none; /*that's gets overriden by the javascript per element code*/
visibility: hidden;
}
span.cho span.ch {
display: inline-block;
position: absolute;
left: 0px;
font-size: xx-small;
/*//width:30px;*/
font-weight: lighter;
overflow-wrap: normal;
hyphens: none;
user-select: all;
cursor: grab;
width: fit-content;
overflow-wrap: normal;
font-weight: lighter;
background: rgba(255,255,255,0.5);;
white-space:nowrap;
font-family: Arial;
}
span.cho input.ch {
width: 6em;
font-size: xx-small;
display: inline-block;
position: absolute;
left: 0px;
top: -0.12em;
font-weight: bold;
overflow-wrap: normal;
hyphens: none;
z-index: 5;
background-color: rgba(255,255,0,0.5);
border-width: 0px;
}