-
Notifications
You must be signed in to change notification settings - Fork 4
/
adminer.css
84 lines (69 loc) · 1.52 KB
/
adminer.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/* places sql textarea on top */
#content {
display: flex;
flex-direction: column;
}
#content > h2 {
order: -2;
}
#content > form#form {
order: -1;
}
#content table {
display: inline-block;
}
/* removes search in all tables */
#content > h3#tables-views + form > fieldset:first-child {
display: none;
}
/* table select link replace with book icon */
#tables a.select:before {
content: "\1F4D6";
visibility: visible;
word-spacing: normal;
letter-spacing: normal;
}
#tables a.select {
visibility: hidden;
word-spacing: -999px;
letter-spacing: -999px;
}
#tables a.select:hover {
text-decoration: none;
}
/* menu styles */
#menu {
position: fixed;
padding: 0px;
background-color: white;
}
#tables {
overflow-y: scroll !important;
height: 70vh;
resize: horizontal;
}
/*
TODO
make menu resizable in width using
#menu {
width: initial;
}
*/
/* production alert */
@document domain("your-production-domain.com") { /* https://developer.mozilla.org/en-US/docs/Web/CSS/@document */
#menu a[href="https://www.adminer.org/"]:after {
content: "PRODUCTION";
text-transform: uppercase;
display: block;
width: 274px;
background-color: tomato;
font-size: 30px;
font-style: initial;
text-align: center;
font-weight: bold;
color: black;
position: fixed;
top: 0px;
left: 0px;
}
}