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

View File

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