Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Commit

Permalink
Merge pull request #161 from mys/master
Browse files Browse the repository at this point in the history
Remove sidebar, css inbox
  • Loading branch information
mys committed Jun 3, 2018
2 parents bb8be8d + f527878 commit e0bcd32
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 46 deletions.
32 changes: 6 additions & 26 deletions styles/resource/css/ingame/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ header .fixed {
menu {
grid-column: 2;
font-size: 14px;
margin: 0px;
z-index: 1;
}

Expand All @@ -82,10 +83,10 @@ menu li {
}

content {
grid-column: 3;
max-width: 700px;
grid-column: 3/5;
max-width: 950px;
min-height: 700px;
overflow: auto;
/* overflow: auto; */
padding: 16px;
}

Expand Down Expand Up @@ -257,11 +258,13 @@ textarea.tinymce{
.table519{
/* min-width:519px !important; */
/* width:519px !important */
max-width: 519px !important;
}

.table569{
/* min-width:569px !important; */
/* width:569px !important */
max-width: 569px !important;
}

.build_submit {
Expand Down Expand Up @@ -322,7 +325,6 @@ textarea.tinymce{
}

.planetImage{
/* width:50px; */
text-align: center;
flex-grow: 1;
}
Expand Down Expand Up @@ -642,28 +644,6 @@ table.tablesorter thead tr .headerSortDown {
/* MEDIA */

@media screen and (min-width: 700px) and (max-width: 959px) {
.wrapper {
grid-template-columns: 180px auto;
grid-template-rows: 100px 1fr auto;
}
top {
grid-column: 1/2;
}
logo {
grid-column: 1
}
header {
grid-column: 2/4;
}
menu {
grid-column: 1;
}
content {
grid-column: 2;
}
aside {
display: none;
}
.planetImage{
display: none;
}
Expand Down
6 changes: 0 additions & 6 deletions styles/templates/game/layout.full.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@
{block name="content"}{/block}
<table class="hack"></table>
</content>

<aside>
<div class="fixed">
{include file="main.side.tpl" nocache}
</div>
</aside>

<footer>
{foreach $cronjobs as $cronjob}<img src="cronjob.php?cronjobID={$cronjob}" alt="">{/foreach}
Expand Down
12 changes: 1 addition & 11 deletions styles/templates/game/main.header.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<meta http-equiv="refresh" content="{$gotoinsec};URL={$goto}">
{/if}
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!-- <link rel="stylesheet" type="text/css" href="./styles/resource/css/base/boilerplate.css?v={$REV}"> -->
<link rel="stylesheet" type="text/css" href="./styles/resource/css/base/boilerplate.css?v={$REV}">
<link rel="stylesheet" type="text/css" href="./styles/resource/css/ingame/main.css?v={$REV}">
<link rel="stylesheet" type="text/css" href="./styles/resource/css/base/jquery.css?v={$REV}">
<link rel="stylesheet" type="text/css" href="./styles/resource/css/base/jquery.fancybox.css?v={$REV}">
Expand Down Expand Up @@ -71,16 +71,6 @@
scrollTo = Math.max(a, b);
element.style.top = scrollTo + 'px';
}
// side
elementHeight = document.getElementsByTagName("aside")[0].getElementsByClassName("fixed")[0].clientHeight;
element = document.getElementsByTagName("aside")[0].getElementsByClassName("fixed")[0];
if (elementHeight > windowHeight - 100){
a = 100 - lastScroll;
b = windowHeight - elementHeight;
scrollTo = Math.max(a, b);
element.style.top = scrollTo + 'px';
}
});
$(function() {
{$execscript}
Expand Down
2 changes: 1 addition & 1 deletion styles/templates/game/page.messages.default.tpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{block name="title" prepend}{$LNG.lm_messages}{/block}
{block name="content"}
<table style="table-layout:fixed;">
<table>
<tr>
<th colspan="6">{$LNG.mg_overview}<span id="loading" style="display:none;"> ({$LNG.loading})</span></th>
</tr>
Expand Down
3 changes: 1 addition & 2 deletions styles/theme/nova/formate.css
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,7 @@ th a,.res_current{
}

.spyRaportContainerRow {
/* border-top:1px solid #DDD; */
height: 20px;
border-top:1px solid #DDD;
}
.spyRaportContainerHead + .spyRaportContainerRow {
border-top:0 none;
Expand Down

0 comments on commit e0bcd32

Please sign in to comment.