Skip to content

Instantly share code, notes, and snippets.

@tyurderi
Last active October 1, 2018 14:54
Show Gist options
  • Save tyurderi/00169097ae0c38426ac542e88bd70bf2 to your computer and use it in GitHub Desktop.
Save tyurderi/00169097ae0c38426ac542e88bd70bf2 to your computer and use it in GitHub Desktop.
Better adminer style
* {
box-sizing: border-box;
}
fieldset {
border-color: #ccc;
}
fieldset legend {
font-size: 12px;
}
p.count {
font-size: 12px;
}
#menu {
width: 20em;
}
#menu > h1 {
padding: 10px;
}
#menu p#dbs span {
font-size: 12px;
}
#menu p#dbs select {
display: block;
padding: 5px;
width: 100%;
outline: 0 none;
}
#menu p#dbs select:focus {
border-color: #3498db;
}
#menu p.links a {
font-size: 12px;
}
#menu p#tables {
font-size: 12px;
}
#menu p#tables div a.select-text {
display: none;
}
#menu p.jsonly {
padding: 10px;
}
#menu p.jsonly input {
width: 100%;
padding: 5px;
outline: 0 none;
border: 1px solid #ccc;
}
#menu p.jsonly input:focus {
border-color: #3498db;
}
a {
color: #3498db;
}
a:visited {
color: #196090;
}
#content {
margin-left: 20.5em;
padding: 10px 0;
}
#content p#breadcrumb {
left: 20.5em;
margin: 0;
top: 5px;
}
#content > h2 {
margin: 0;
padding: 10px;
}
#content p.links a {
font-size: 12px;
}
p.logout {
margin: 5px;
}
div#lang {
margin: 10px;
padding: 0;
line-height: 100%;
}
::-webkit-scrollbar {
width: 5px;
height: 5px;
}
::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.1);
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
background: rgba(0, 0, 0, 0.25);
}
@blue: #3498db;
* {
box-sizing: border-box;
}
fieldset {
border-color: #ccc;
legend {
font-size: 12px;
}
}
p.count {
font-size: 12px;
}
#menu {
width: 20em;
> h1 {
padding: 10px;
}
p#dbs {
span {
font-size: 12px;
}
select {
display: block;
padding: 5px;
width: 100%;
outline: 0 none;
&:focus {
border-color: @blue;
}
}
}
p.links {
a {
font-size: 12px;
}
}
p#tables {
font-size: 12px;
div {
a.select-text {
display: none;
}
}
}
p.jsonly {
padding: 10px;
input {
width: 100%;
padding: 5px;
outline: 0 none;
border: 1px solid #ccc;
&:focus {
border-color: @blue;
}
}
}
}
a {
color: @blue;
&:visited {
color: darken(@blue, 20);
}
}
#content {
margin-left: 20.5em;
padding: 10px 0;
p#breadcrumb {
left: 20.5em;
margin: 0;
top: 5px;
}
> h2 {
margin: 0;
padding: 10px;
}
p.links {
a {
font-size: 12px;
}
}
}
p.logout {
margin: 5px;
}
div#lang {
margin: 10px;
padding: 0;
line-height: 100%;
}
::-webkit-scrollbar {
width: 5px;
height: 5px;
}
::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.1);
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
background: rgba(0, 0, 0, 0.25);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment