No header scrolling for all formats.
This commit is contained in:
parent
e1f5b3b27e
commit
899a56ff16
|
@ -60,9 +60,11 @@ echo '<td class="np_td_header_bar_logo_image"><a href="' . $CONFIG['default_cont
|
||||||
echo '<img src="' . $header_image . '" alt="Rocksolid Light"';
|
echo '<img src="' . $header_image . '" alt="Rocksolid Light"';
|
||||||
echo ' class="responsive_image"></a></td>';
|
echo ' class="responsive_image"></a></td>';
|
||||||
echo '<td class="header_page_title_top">';
|
echo '<td class="header_page_title_top">';
|
||||||
|
echo '<p class="header_page_title_top">';
|
||||||
echo $CONFIG['rslight_title'];
|
echo $CONFIG['rslight_title'];
|
||||||
echo '</td>';
|
echo '</p></td>';
|
||||||
echo '<td class="header_links_text">';
|
echo '<td class="header_links">';
|
||||||
|
echo '<div class="header_links_text">';
|
||||||
|
|
||||||
if (isset($user) && $user && check_unread_mail() == true) {
|
if (isset($user) && $user && check_unread_mail() == true) {
|
||||||
$unread = true;
|
$unread = true;
|
||||||
|
@ -79,20 +81,20 @@ foreach ($linklist as $link) {
|
||||||
}
|
}
|
||||||
if ($unread && (strpos($linkitem[1], 'spoolnews/mail.php') !== false)) {
|
if ($unread && (strpos($linkitem[1], 'spoolnews/mail.php') !== false)) {
|
||||||
echo '<strong>';
|
echo '<strong>';
|
||||||
echo '<a class="np_header_links" href="' . trim($linkitem[1]) . '">' . trim(strtoupper($linkitem[0])) . '</a> ';
|
echo '<a class="header_links_text" href="' . trim($linkitem[1]) . '">' . trim(strtoupper($linkitem[0])) . '</a> ';
|
||||||
echo '</strong>';
|
echo '</strong>';
|
||||||
} else {
|
} else {
|
||||||
echo '<a class="np_header_links" href="' . trim($linkitem[1]) . '">' . trim($linkitem[0]) . '</a> ';
|
echo '<a class="header_links_text" href="' . trim($linkitem[1]) . '">' . trim($linkitem[0]) . '</a> ';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo '<a class="np_header_links" href="../spoolnews/user.php">';
|
echo '<a class="header_links_text" href="../spoolnews/user.php">';
|
||||||
if (isset($user)) {
|
if (isset($user)) {
|
||||||
echo '(' . $_COOKIE['mail_name'] . ')';
|
echo '(' . $_COOKIE['mail_name'] . ')';
|
||||||
} else {
|
} else {
|
||||||
echo 'login';
|
echo 'login';
|
||||||
}
|
}
|
||||||
echo '</a>';
|
echo '</a>';
|
||||||
echo '</td></tr>';
|
echo '</div></td></tr>';
|
||||||
echo '</table>';
|
echo '</table>';
|
||||||
|
|
||||||
include($config_dir . '/fortunes.conf');
|
include($config_dir . '/fortunes.conf');
|
||||||
|
|
|
@ -258,7 +258,28 @@
|
||||||
background: var(--color-visited);
|
background: var(--color-visited);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* header bar logo image (td) */
|
||||||
|
.np_td_header_bar_logo_image {
|
||||||
|
width: 30%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header_page_title_top {
|
||||||
|
text-decoration: none;
|
||||||
|
color: var(--color-header-link) !important;
|
||||||
|
font-size: 1.3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header_top {
|
||||||
|
flex-grow: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header_links {
|
||||||
|
color: var(--color-header-link) !important;
|
||||||
|
}
|
||||||
|
|
||||||
.header_links_text {
|
.header_links_text {
|
||||||
|
color: var(--color-header-link) !important;
|
||||||
text-align: right
|
text-align: right
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -968,6 +989,17 @@ textarea.configuration {
|
||||||
/* Mobile Styles */
|
/* Mobile Styles */
|
||||||
@media only screen and (max-device-width: 480px) {
|
@media only screen and (max-device-width: 480px) {
|
||||||
body {
|
body {
|
||||||
|
/* disabling body scrolling */
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
margin: auto;
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-right: 10px;
|
||||||
color: var(--color-text);
|
color: var(--color-text);
|
||||||
background: var(--color-light);
|
background: var(--color-light);
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
@ -1011,6 +1043,23 @@ textarea.configuration {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header_page_title_top {
|
||||||
|
text-decoration: none;
|
||||||
|
color: var(--color-header-link) !important;
|
||||||
|
font-size: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header_links {
|
||||||
|
display: block;
|
||||||
|
color: var(--color-header-link) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header_links_text {
|
||||||
|
display: inline-block;
|
||||||
|
color: var(--color-header-link) !important;
|
||||||
|
text-align: right
|
||||||
|
}
|
||||||
|
|
||||||
.np_title {
|
.np_title {
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
@ -1028,6 +1077,17 @@ textarea.configuration {
|
||||||
/* Tablet Styles */
|
/* Tablet Styles */
|
||||||
@media only screen and (min-device-width: 481px) and (max-device-width: 820px) {
|
@media only screen and (min-device-width: 481px) and (max-device-width: 820px) {
|
||||||
body {
|
body {
|
||||||
|
/* disabling body scrolling */
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
margin: auto;
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-right: 10px;
|
||||||
color: var(--color-text);
|
color: var(--color-text);
|
||||||
background: var(--color-light);
|
background: var(--color-light);
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
@ -1068,10 +1128,6 @@ textarea.configuration {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.header_top {
|
|
||||||
flex-grow: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.scroll {
|
.scroll {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
@ -1888,17 +1944,6 @@ td.config_table_row_submit {
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* header bar logo image (td) */
|
|
||||||
.np_td_header_bar_logo_image {
|
|
||||||
width: 30%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header_page_title_top {
|
|
||||||
text-decoration: none;
|
|
||||||
color: var(--color-header-link) !important;
|
|
||||||
font-size: 1.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* display motd (fortunes) */
|
/* display motd (fortunes) */
|
||||||
.np_display_motd {
|
.np_display_motd {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
Loading…
Reference in New Issue