Skip to content

Instantly share code, notes, and snippets.

@l3dlp
Forked from pappu687/adminer.css
Last active May 29, 2016 19:01
Show Gist options
  • Select an option

  • Save l3dlp/ac53fbd74293f3e04c7f836b9a8efee7 to your computer and use it in GitHub Desktop.

Select an option

Save l3dlp/ac53fbd74293f3e04c7f836b9a8efee7 to your computer and use it in GitHub Desktop.
Another Adminer Theme
/*
Another Adminer Theme
by L3DLP (web@l3dlp.com)
Based on previous works :
* Mahbubur Rahman
https://gist.github.com/pappu687/5589922
* Lukáš Brandejs
https://raw.github.com/vrana/adminer/master/designs/ng9/adminer.css
*/
@import url(//fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,700,700italic,800,800italic);
* {
font: 14px/1.7 "Open Sans",Arial,Helvetica, sans-serif;
color:#888;
margin:0px;
padding:0px;
}
a,a:visited {
color:#2980b9;
text-decoration:none;
padding:3px 1px;
}
#content table thead span, #content table thead a {
font-weight:bold;
color:black;
}
#content table thead a:hover {
background:none;
text-decoration:underline;
color:black;
}
a:hover {
text-decoration:underline;
}
h1 {
font-size:1.9em;
font-weight:normal;
background:white;
color:#000;
border-bottom:0;
padding:20px;
margin:0px;
text-align:center;
}
#menu h1 {
padding:27px 0 7px;
background:none;
display:none;
}
h3 {
font-size:1.5em;
text-transform:uppercase;
font-weight:300;
background:transparent;
color:#999;
padding:40px 0 0;
margin:0;
border-bottom:1px solid #bbb;
}
h2 {
font-size:2.5em;
font-weight:300;
background:transparent;
color:#AAA;
padding:31px 0 34px;
margin:0;
}
fieldset {
padding:5px;
border:1px solid #DEDEDE;
}
input,select,textarea {
border:1px solid #e5e5e5;
margin:1px;
padding:3px;
}
input[type=submit] {
color:white;
background:#27ae60;
padding:4px 10px;
cursor:pointer;
border:0px solid;
}
input[type=submit]:hover{
background:#2c3e50;
}
input[type=checkbox]{
margin-right:5px;
}
input[type=image] {
border:1px solid #d0cdc4;
}
input[type=checkbox],input[type=radio]{
border:1px solid #e5e5e5;
padding:2px 5px;
}
code{
background:#f0ffe1;
border:1px dashed #d5f1b9;
padding:2px 4px;
font-family:"Monaco","Courier New";
}
code a:hover{background:transparent}
table{
margin:10px 0px;
border:1px solid #d0cdc4;
border-collapse:collapse;
}
tbody tr:hover td,tbody tr:hover th{
background:#edf4ff
}
thead th, thead td {
text-align:center;
vertical-align:middle;
font-weight:bold;
white-space:nowrap;
background:#ecf0f1;
color:#808080;
}
th,td{
border:1px solid #d0cdc4;
padding:3px 6px;
vertical-align:top;
}
th{
text-align:left;
}
th a {
font-weight:700 !important;
text-transform:uppercase;
padding-bottom:0px;
}
th {
background:white;
}
tr.odd td {
background:#fcfaf5;
}
#content tbody tr.checked td, tr.checked.odd td {
background:#fbe2e2;
color:red;
}
.hidden{
display:none
}
.error,.message{
padding:0px;
background:transparent;
font-weight:bold
}
.error{
color:#c00
}
.message{
color:#090
}
#content{
padding:5px 50px 50px;
overflow:auto;
position:fixed;
top:36px;
left:300px;
right:0;
bottom:0;
}
#content p {
clear:both;
}
#lang {
background:#ecf0f1;
color:#808080;
position:fixed;
bottom:0px;
left:0px;
width:258px;
padding:10px 21px;
z-index:1;
box-shadow: #fff 0 0 10px, #fff 0 0 20px;
}
p#dbs {
background:#ecf0f1;
color:#808080;
position:fixed;
top:0px;
left:0px;
width:258px;
padding:10px 21px;
z-index:1;
box-shadow: #fff 0 0 10px, #fff 0 0 20px;
color:#fff;
background:#34495e;
padding:4px 5px 7px 20px;
font-size:15px;
font-weight:300;
box-shadow: rgba(0,0,0,0.5) 0 0 5px;
}
#breadcrumb {
position:fixed;
top:0px;
left:300px;
right:0;
background:#34495e;
z-index:2;
color:#fff;
padding:4px 5px 7px 20px;
font-size:15px;
font-weight:300;
box-shadow: rgba(0,0,0,0.5) 0 0 5px;
}
#breadcrumb a{
color:#fff;
font-size:13px;
font-weight:bold;
text-transform:uppercase;
}
#menu {
background:#ecf0f1;
position:fixed;
top:0;
color:#FFF;
padding:45px 21px 70px 21px;
bottom:0px;
overflow:auto;
left:0px;
width:258px;
}
#menu p{
padding:3px 20px 2px;
}
#menu p.links {
padding:0;
text-transform:uppercase;
font-size:10px;
margin:27px 0 31px;
text-align:center;
}
p.links a {
text-transform:uppercase;
font-size:13px;
padding:2px 7px;
margin:0 5px 0 0;
line-height:30px;
background:#fff;
color:#2980b9 !important;
font-weight:bold;
text-decoration:none;
}
p.links a:hover {
text-transform:uppercase;
font-size:13px;
padding:2px 7px;
margin:0 5px 0 0;
line-height:30px;
background:#34495e;
color:#fff !important;
font-weight:bold;
text-decoration:none;
}
#tables a {
font-size:15px;
padding:2px 7px;
margin:0 0 0 5px;
line-height:24px;
display:inline-block;
max-width:144px;
overflow:hidden;
text-overflow:ellipsis;
}
#tables a.select {
text-transform:uppercase;
font-size:10px;
padding:1px 7px;
margin:2px 5px 0 -20px;
line-height:24px;
background:#fff;
}
#menu a{
color:#2980b9;
}
#schema .table {
padding:5px;
background:#fcfaf5;
border:1px solid #d0cdc4;
}
#schema .table b {
color:#006aeb;
font-weight:bold;
text-decoration:underline;
}
#schema .table b:hover {
color:white;
}
input[name=logout] {
color:#fce2e2;
background:#d73e3e;
}
input[name=drop] {
background-color:#c0392b;
}
input[name=logout]:hover {
background:#ea0202;
}
#logins a, #tables a {
background:none;
}
#logins a:hover, #tables a:hover {
}
#logout {
color:#FFF;
text-decoration:none;
}
#logout:hover {
color:red;
}
.js .column {
background:#ecf0f1;
}
#content table thead a.text:hover {
text-decoration:none;
}
#version, .version {
font-size:50%;
display:none;
}
#h1:hover {
color:white;
}
input[type=submit] {
font-size:13px;
font-weight:normal;
-moz-border-radius:2px;
-webkit-border-radius:2px;
border-radius:2px;
border:0px solid #469df5;
padding:3px 10px;
text-decoration:none;
background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #63b8ee), color-stop(100%, #468ccf) );
background:-moz-linear-gradient( center top, #63b8ee 5%, #468ccf 100% );
background:-ms-linear-gradient( top, #63b8ee 5%, #468ccf 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#63b8ee', endColorstr='#468ccf');
background-color:#63b8ee;
color:#ffffff;
display:inline-block;
text-shadow:1px 1px 0px #287ace;
-webkit-box-shadow:inset 0px 0px 0px 0px #cae3fc;
-moz-box-shadow:inset 0px 0px 0px 0px #cae3fc;
box-shadow:inset 0px 0px 0px 0px #cae3fc;
text-transform:uppercase;
font-weight:bold;
}
input[type=submit]:hover {
background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #4197ee), color-stop(100%, #79bbff) );
background:-moz-linear-gradient( center top, #4197ee 5%, #79bbff 100% );
background:-ms-linear-gradient( top, #4197ee 5%, #79bbff 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#4197ee', endColorstr='#79bbff');
background-color:#4197ee;
}
input[type=submit]:active {
position:relative;
top:1px;
}
p#dbs, div#lang {
text-align:center;
}
p#dbs span {
color:#fff !important;
}
p#dbs select {
width:122px !important;
}
div#lang select {
width:87px !important;
}
form#form {
display:block;
clear:both;
padding:20px 0 30px;
}
form fieldset {
width:30%;
float:left;
margin:20px 0 30px;
}
@l3dlp
Copy link
Author

l3dlp commented May 29, 2016

quick preview:
l3dlp-adminer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment