mirror of
https://github.com/vrana/adminer.git
synced 2025-08-16 03:24:01 +02:00
CSS: Move Logout on mobile (fix #979)
This commit is contained in:
@@ -75,7 +75,7 @@ input.wayoff { left: -1000px; position: absolute; }
|
||||
.footer > div { background: var(--bg); padding: 0 0 .5em; }
|
||||
.footer fieldset { margin-top: 0; }
|
||||
.links a { white-space: nowrap; margin-right: 20px; }
|
||||
.logout { margin-top: .5em; position: absolute; top: 0; right: 0; }
|
||||
.logout { position: fixed; top: .5em; right: 20px; }
|
||||
.loadmore { margin-left: 1ex; }
|
||||
/* .edit used in designs */
|
||||
#menu { position: absolute; margin: 10px 0 0; top: 2em; left: 0; width: 19em; }
|
||||
@@ -116,14 +116,15 @@ input.wayoff { left: -1000px; position: absolute; }
|
||||
|
||||
@media all and (max-width: 880px) {
|
||||
.pages { left: auto; }
|
||||
.logout { padding: 1em; top: 3em; }
|
||||
.logout { position: absolute; top: 1.667em; }
|
||||
#menu { width: auto; background: var(--bg); border: 1px solid var(--fg); margin-top: 9px; box-shadow: 0 0 20px rgb(from var(--fg) r g b / .7); }
|
||||
#content { margin-left: 10px; }
|
||||
#lang { position: static; }
|
||||
#breadcrumb { left: 48px; }
|
||||
.js .foot { display: none; }
|
||||
.js #menuopen { display: block; position: absolute; top: 3px; left: 6px; }
|
||||
.nojs .logout, .nojs #menu { position: static; }
|
||||
.nojs #menu { position: static; }
|
||||
.nojs .logout { position: static; padding: 1em; }
|
||||
.rtl .pages { right: auto; }
|
||||
.rtl #content { margin-right: 10px; }
|
||||
.rtl #breadcrumb { right: auto; }
|
||||
|
Reference in New Issue
Block a user