numverso, nuovo stile
This commit is contained in:
parent
71f84da39c
commit
7153f01be5
|
@ -31,6 +31,14 @@
|
|||
|
||||
}
|
||||
|
||||
.numverso {
|
||||
font-size: 12px;
|
||||
color: gray;
|
||||
font-family: -apple-system, BlinkMacSystemFont, “Helvetica Neue”,
|
||||
“Segoe UI”, “Roboto”, “Oxygen”, “Ubuntu”, “Cantarell”,
|
||||
“Fira Sans”, “Droid Sans”,
|
||||
sans-serif;
|
||||
}
|
||||
|
||||
/*
|
||||
Minimap
|
||||
|
|
|
@ -85,7 +85,7 @@ $(" .Ma, .Co, .Su, .Pa").each(function(idx, element) {
|
|||
$( " .Ma, .Co, .Su, .Pa " ).dblclick(function() {
|
||||
|
||||
sentenceId=$(this).attr('class').split(' ')[0].replace('$','')
|
||||
console.log(sentenceId)
|
||||
console.log(lisid)
|
||||
if (shownSentenceList.has(sentenceId)){
|
||||
resetSentenceStructure(sentenceId)
|
||||
shownSentenceList.delete(sentenceId)
|
||||
|
@ -106,8 +106,8 @@ $(" .Ma, .Co, .Su, .Pa").hover(function(idx, element) {
|
|||
sentenceId=$(this).attr('class').split(' ')[0].split('_')
|
||||
var tmplisid=sentenceId[0]+'_'+sentenceId[1]+'_'+sentenceId[3]
|
||||
lisid=tmplisid
|
||||
console.log('show '+tmplisid)
|
||||
$(this).trigger('drawSynt');
|
||||
//console.log('show '+tmplisid)
|
||||
//$(this).trigger('drawSynt');
|
||||
//$(this).trigger('drawSynt')
|
||||
});
|
||||
|
||||
|
@ -180,6 +180,13 @@ $(" .Ma, .Co, .Su, .Pa").hover(function(idx, element) {
|
|||
show: false
|
||||
|
||||
});
|
||||
ele.hover(function(idx, element) {
|
||||
|
||||
sentenceId=$(this).attr('class').split(' ')[0].split('_')
|
||||
var tmplisid=sentenceId[0]+'_'+sentenceId[1]+'_'+sentenceId[3]
|
||||
lisid=tmplisid
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
@ -569,8 +576,11 @@ $(" .Ma, .Co, .Su, .Pa").hover(function(idx, element) {
|
|||
function createDivVersoNew(cantica, num, canto) {
|
||||
|
||||
var elementoverso = $('<p />')
|
||||
|
||||
elementoverso.append(num + ". ")
|
||||
var spannum=$('<span />')
|
||||
spannum.append(num + ". ")
|
||||
spannum.attr('class', 'numverso text-muted')
|
||||
elementoverso.append(spannum)
|
||||
//elementoverso.append(num + ". ")
|
||||
elementoverso.attr("style", "line-height: 0.5em")
|
||||
|
||||
elementoverso.attr('class', 'f6 text-dark text-nowrap font-weight-lighter '+cantica+' '+canto)
|
||||
|
|
Loading…
Reference in New Issue