mirror of
https://github.com/vrana/adminer.git
synced 2025-08-06 06:37:33 +02:00
Designs: Fix on mobile (fix #985)
This commit is contained in:
@@ -66,7 +66,7 @@ input.wayoff { left: -1000px; position: absolute; }
|
|||||||
.sqlarea { width: 98%; }
|
.sqlarea { width: 98%; }
|
||||||
.sql-footer { margin-bottom: 2.5em; }
|
.sql-footer { margin-bottom: 2.5em; }
|
||||||
.explain table { white-space: pre; }
|
.explain table { white-space: pre; }
|
||||||
.icon { width: 18px; height: 18px; background-color: navy; border: 0; vertical-align: middle; }
|
.icon { width: 18px; height: 18px; background: navy center no-repeat; border: 0; vertical-align: middle; }
|
||||||
.icon span { display: none; }
|
.icon span { display: none; }
|
||||||
.icon:hover { background-color: red; }
|
.icon:hover { background-color: red; }
|
||||||
.size { width: 7ex; }
|
.size { width: 7ex; }
|
||||||
@@ -118,9 +118,9 @@ input.wayoff { left: -1000px; position: absolute; }
|
|||||||
.pages { left: auto; }
|
.pages { left: auto; }
|
||||||
.js .logout { top: 1.667em; }
|
.js .logout { top: 1.667em; }
|
||||||
#menu { position: static; width: auto; min-width: 23em; background: var(--bg); border: 1px solid var(--fg); margin-top: 9px; box-shadow: 0 0 20px rgb(from var(--fg) r g b / .7); }
|
#menu { position: static; width: auto; min-width: 23em; 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; }
|
#content { margin-left: 10px !important; }
|
||||||
#lang { position: static; }
|
#lang { position: static; }
|
||||||
#breadcrumb { left: 48px; }
|
#breadcrumb { left: 48px !important; }
|
||||||
.js #foot { position: absolute; top: 2em; left: 0; }
|
.js #foot { position: absolute; top: 2em; left: 0; }
|
||||||
.js .foot { display: none; }
|
.js .foot { display: none; }
|
||||||
.js #menuopen { display: block; position: absolute; top: 3px; left: 6px; }
|
.js #menuopen { display: block; position: absolute; top: 3px; left: 6px; }
|
||||||
|
@@ -692,6 +692,7 @@ legend{
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
overflow-y: overlay;
|
overflow-y: overlay;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu p {
|
#menu p {
|
||||||
|
@@ -364,7 +364,7 @@ tbody tr:nth-child(n):hover th {
|
|||||||
}
|
}
|
||||||
.icon {
|
.icon {
|
||||||
width: 1.2em;
|
width: 1.2em;
|
||||||
background: #4c3957 center no-repeat;
|
background-color: #4c3957;
|
||||||
background-size: 66%;
|
background-size: 66%;
|
||||||
}
|
}
|
||||||
.icon-plus {
|
.icon-plus {
|
||||||
@@ -497,7 +497,7 @@ button,
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: #4c3957;
|
background-color: #4c3957;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
padding: 0.5em 0.8em 0.6em;
|
padding: 0.5em 0.8em 0.6em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -517,7 +517,7 @@ button:focus,
|
|||||||
.links a:link:focus,
|
.links a:link:focus,
|
||||||
.links a:visited:focus {
|
.links a:visited:focus {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: #ec5f12;
|
background-color: #ec5f12;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
input[type="submit"]:disabled,
|
input[type="submit"]:disabled,
|
||||||
|
@@ -726,6 +726,10 @@ legend{
|
|||||||
/* menu
|
/* menu
|
||||||
----------------------------------------------------------------------- */
|
----------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
#foot{
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
#menu{
|
#menu{
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
@@ -739,6 +743,7 @@ legend{
|
|||||||
top: 0;
|
top: 0;
|
||||||
overflow-y: overlay;
|
overflow-y: overlay;
|
||||||
overflow-y: auto; /* needed for firefox 2017-03-05 */
|
overflow-y: auto; /* needed for firefox 2017-03-05 */
|
||||||
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu p {
|
#menu p {
|
||||||
|
Reference in New Issue
Block a user