Skip to content

Instantly share code, notes, and snippets.

@isra00
Created May 20, 2014 15:06
Show Gist options
  • Save isra00/4a046e5c31681d34b1b7 to your computer and use it in GitHub Desktop.
Save isra00/4a046e5c31681d34b1b7 to your computer and use it in GitHub Desktop.
"Flat" theme for Adminer (tiny mod for default CSS)
/**
* "Flat" theme for Adminer by Israel Viana.
*
* Distributed under the terms of the BSD License.
*
* Color palette from https://kuler.adobe.com/Copy-of-Flat-UI-color-theme-3785174/
* Navy: 2c3e50
* Red: e74c3c
* Gray: ecf0f1
* Light blue: 3498db
* Blue: 2980b9
*/
/*
* Basic tags
*/
a {
color: #2980b9;
}
a:visited {
color: #3498db
}
a:link:hover, a:visited:hover {
color: #e74c3c;
}
h1 {
border-bottom: 1px solid #e74c3c;
background: #ecf0f1;
}
h2 {
border-bottom: 1px solid #e74c3c;
background: #ecf0f1;
}
/*
* Tables
*/
table {
border-top: 0;
border-left: 1px solid silver;
}
td, th {
border-right: 1px solid silver;
border-bottom: 1px solid silver;
padding: .3em .5em;
}
thead th, thead td {
background: #3498db;
color: white;
border-right: 1px solid white;
border-bottom: 1px solid white;
padding: .3em .5em;
}
thead th a, thead td a {
color: #eee;
}
.js .checkable .checked td, .js .checkable .checked th {
background: rgba(52, 152, 219, .3);
}
/*
* Common sections
*/
#breadcrumb a {
color: #e74c3c;
}
#logout {
font-weight: bold;
}
/*
* Elements
*/
sup {
padding: 3px 7px;
background: #3498db;
color: white;
border-radius: 2em;
}
code.jush-sql {
display: block;
padding: .4em .7em;
line-height: 1.5em;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment