mirror of https://gitlab.com/bashrc2/epicyon
div class for mobile buttons
parent
7e6c39bad6
commit
626e55b953
|
@ -1309,12 +1309,13 @@ div.container {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
}
|
}
|
||||||
|
.frontPageMobileButtons{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
.buttonMobile {
|
.buttonMobile {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: none !important;
|
border: none !important;
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
padding: 0 0;
|
|
||||||
margin: 0 0;
|
|
||||||
}
|
}
|
||||||
.button {
|
.button {
|
||||||
border-radius: var(--button-corner-radius);
|
border-radius: var(--button-corner-radius);
|
||||||
|
@ -1945,6 +1946,9 @@ div.container {
|
||||||
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);
|
||||||
}
|
}
|
||||||
|
.frontPageMobileButtons{
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
.buttonMobile {
|
.buttonMobile {
|
||||||
border-radius: var(--button-corner-radius);
|
border-radius: var(--button-corner-radius);
|
||||||
background-color: var(--button-background);
|
background-color: var(--button-background);
|
||||||
|
|
|
@ -3408,7 +3408,7 @@ def htmlProfile(cssCache: {}, iconsAsButtons: bool,
|
||||||
iconsDir = getIconsDir(baseDir)
|
iconsDir = getIconsDir(baseDir)
|
||||||
if not authorized:
|
if not authorized:
|
||||||
# the links button to show left column links
|
# the links button to show left column links
|
||||||
loginButton = ' <div class="buttonMobile">\n'
|
loginButton = ' <div class="frontPageMobileButtons">\n'
|
||||||
loginButton += \
|
loginButton += \
|
||||||
' <a href="' + \
|
' <a href="' + \
|
||||||
'/users/news/newswiremobile' + \
|
'/users/news/newswiremobile' + \
|
||||||
|
|
Loading…
Reference in New Issue