Mobile button class

merge-requests/8/head
Bob Mottram 2020-10-26 14:42:34 +00:00
parent b49f684de7
commit f471c29397
2 changed files with 6 additions and 6 deletions

View File

@ -1884,7 +1884,7 @@ aside .toggle-inside li {
cursor: pointer;
margin: 15px;
}
.buttonMobile {
.button {
border-radius: var(--button-corner-radius);
background-color: var(--button-background);
color: var(--button-text);
@ -1902,7 +1902,7 @@ aside .toggle-inside li {
border-left: var(--tab-border-width) solid var(--tab-border-color);
border-right: var(--tab-border-width) solid var(--tab-border-color);
}
.button {
.buttonMobile {
border-radius: var(--button-corner-radius);
background-color: var(--button-background);
color: var(--button-text);

View File

@ -6150,7 +6150,7 @@ def getTimelineButtonHeader(defaultTimeline: str,
# the newswire button to show right column links
if not iconsAsButtons:
tlStr += \
' <a class="imageAnchorMobile" href="' + \
' <a class="imageAnchorMobile" href="' + \
usersPath + '/newswiremobile">' + \
'<img loading="lazy" src="/' + iconsDir + \
'/newswire.png" title="' + translate['News'] + \
@ -6158,7 +6158,7 @@ def getTimelineButtonHeader(defaultTimeline: str,
'" class="timelineicon"/></a>\n'
else:
tlStr += \
' <a class="buttonMobile" href="' + \
' <a href="' + \
usersPath + '/newswiremobile' + \
'"><button class="buttonMobile">' + \
'<span>' + translate['Newswire'] + \
@ -6167,7 +6167,7 @@ def getTimelineButtonHeader(defaultTimeline: str,
# the links button to show left column links
if not iconsAsButtons:
tlStr += \
' <a class="imageAnchorMobile" href="' + \
' <a class="imageAnchorMobile" href="' + \
usersPath + '/linksmobile">' + \
'<img loading="lazy" src="/' + iconsDir + \
'/links.png" title="' + translate['Edit Links'] + \
@ -6175,7 +6175,7 @@ def getTimelineButtonHeader(defaultTimeline: str,
'" class="timelineicon"/></a>\n'
else:
tlStr += \
' <a class="buttonMobile" href="' + \
' <a href="' + \
usersPath + '/linksmobile' + \
'"><button class="buttonMobile">' + \
'<span>' + translate['Links'] + \