Event button style

main
Bob Mottram 2020-02-22 18:09:24 +00:00
parent 42676fdacc
commit b3c07bce00
2 changed files with 25 additions and 1 deletions

View File

@ -694,6 +694,18 @@ div.gallery img {
cursor: pointer;
margin: 5px;
}
.buttonevent {
border-radius: var(--button-corner-radius);
background-color: var(--button-background);
border: none;
color: var(--button-text);
text-align: center;
font-size: var(--font-size-header);
padding: var(--button-height-padding);
transition: all 0.5s;
cursor: pointer;
margin: 5px;
}
.button {
border-radius: var(--button-corner-radius);
background-color: var(--button-background);
@ -1011,6 +1023,18 @@ div.gallery img {
cursor: pointer;
margin: 5px;
}
.buttonevent {
border-radius: var(--button-corner-radius);
background-color: var(--button-background);
border: none;
color: var(--button-text);
text-align: center;
font-size: var(--font-size-button-mobile);
padding: var(--button-height-padding-mobile);
transition: all 0.5s;
cursor: pointer;
margin: 15px;
}
.button {
border-radius: var(--button-corner-radius);
background-color: var(--button-background);

View File

@ -2967,7 +2967,7 @@ def htmlTimeline(defaultTimeline: str, \
tlStr+= \
'<center><a href="'+actor+'/calendar?year='+ \
str(now.year)+'?month='+str(now.month)+ \
'?day='+str(now.day)+'"><button class="button">'+ \
'?day='+str(now.day)+'"><button class="buttonevent">'+ \
translate['Happening Today']+'</button></a></center>'
# page up arrow