Skip to content

Commit c22909f

Browse files
hide home menu button when using panels
1 parent f392993 commit c22909f

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

css/main.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ body {
2020
font-family: "Roboto", Ariel, sans-serif;
2121
}
2222

23+
.noselect {
24+
-webkit-touch-callout: none;
25+
-webkit-user-select: none;
26+
-khtml-user-select: none;
27+
-moz-user-select: none;
28+
-ms-user-select: none;
29+
user-select: none;
30+
}
31+
2332
.rfloat {
2433
float: right;
2534
}
@@ -622,6 +631,12 @@ header .search form input[type='submit'] {
622631
display: none;
623632
}
624633

634+
@media only screen and (min-width: 900px) {
635+
.nav .home {
636+
display: none;
637+
}
638+
}
639+
625640
@media only screen and (max-width: 600px) {
626641
#app_name {
627642
left: 150px;

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<input type='submit' value="S" />
4242
</form>
4343
</div>
44-
<ol class="nav">
44+
<ol class="nav noselect">
4545
<li class="home"><i class="icon-habhub"></i></li>
4646
<li class="chasecar" style="display: none"><i class="icon-car"></i></li>
4747
<li class="settings"><i class="icon-settings"></i></li>

0 commit comments

Comments
 (0)