Hide scroll top link on node edition in narrow screens

This commit is contained in:
Manuel Cillero 2017-09-05 08:59:58 +02:00
parent 723e7c6955
commit 67b706b260
3 changed files with 10 additions and 5 deletions

View file

@ -77,13 +77,13 @@ body.elfinder {
font-size: 13px;
font-weight: bold;
color: #aaa;
/* position: relative;
left: -2px;
right: auto;
line-height: 18px;
max-width: 100%;
*/
*/
} /*
.breadcrumb a {
color: #444;
@ -143,7 +143,7 @@ body.elfinder {
h1.title {
color: #ff3300;
margin: -0.12em 0 0.2em;
}
}
@media (max-width: 399px), (min-width: 530px) and (max-width: 599px) { * MINW *
h1.title {
font-size: 1.8em;
@ -192,3 +192,8 @@ h1.title {
#scroll-top-link:hover {
background-color: #000;
}
@media (max-width: 767px) {
#scroll-top-link.edition {
display: none !important;
}
}

View file

@ -251,7 +251,7 @@ if ($site_name) print '<meta property="og:site_name" content="'. $site_name ."\"
<?php endif; ?>
<!-- ScrollUp button -->
<a href="#" id="scroll-top-link" class="icon-up-open"></a>
<a href="#" id="scroll-top-link" class="icon-up-open<?php if (arg(0) == 'node' && arg(2) == 'edit') print ' edition'; ?>"></a>
<footer id="socket"><div class="section">
<span class='copyright'><?php print date('Y') . ' &copy; ' . ($site_name ? check_plain($site_name) : 'SuiteDesk'); ?></span>

View file

@ -1,6 +1,6 @@
name = SuiteDesk Theme
description = SuiteDesk Theme Zen.
version = 0.2.54
version = 0.2.55
screenshot = screenshot.png