├── adminer-plugins
└── .gitkeep
├── .gitignore
├── public
├── assets
│ ├── fonts
│ │ ├── FontAwesome.otf
│ │ ├── fontawesome-webfont.eot
│ │ ├── fontawesome-webfont.ttf
│ │ ├── fontawesome-webfont.woff
│ │ └── fontawesome-webfont.woff2
│ ├── scripts.min.js
│ ├── scripts.js
│ ├── styles.min.css
│ └── styles.css
└── index.php
├── Dockerfile
├── .editorconfig
├── docker-compose.yml
├── adminer-plugins.php
├── compile.php
├── php-server.ini
├── README.md
├── composer.json
└── src
└── AdminerBootstrapLike.php
/adminer-plugins/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .idea
2 | plugins
3 | !plugins/.gitkeep
4 | vendor
5 | adminer.php
6 | composer.lock
7 |
--------------------------------------------------------------------------------
/public/assets/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/natanfelles/adminer-bootstrap-like/master/public/assets/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/public/assets/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/natanfelles/adminer-bootstrap-like/master/public/assets/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/public/assets/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/natanfelles/adminer-bootstrap-like/master/public/assets/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/public/assets/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/natanfelles/adminer-bootstrap-like/master/public/assets/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/public/assets/fonts/fontawesome-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/natanfelles/adminer-bootstrap-like/master/public/assets/fonts/fontawesome-webfont.woff2
--------------------------------------------------------------------------------
/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM natanfelles/php-base
2 | COPY . /var/www
3 | WORKDIR /var/www
4 | RUN composer install --no-dev
5 | CMD ["php", "-S", "[::]:8080", "-t", "/var/www/public"]
6 | EXPOSE 8080
7 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | end_of_line = lf
6 | indent_size = 4
7 | indent_style = space
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
11 | [*.{md,rst}]
12 | trim_trailing_whitespace = false
13 |
14 | [*.yml]
15 | indent_size = 2
16 |
--------------------------------------------------------------------------------
/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: "3"
2 | services:
3 | adminer:
4 | image: natanfelles/adminer
5 | ports:
6 | - 8080:8080
7 | depends_on:
8 | - mariadb
9 | mariadb:
10 | image: mariadb
11 | restart: always
12 | environment:
13 | MYSQL_ROOT_PASSWORD: password
14 | MYSQL_DATABASE: tests
15 | MYSQL_USER: root
16 | MYSQL_PASSWORD: password
17 |
--------------------------------------------------------------------------------
/adminer-plugins.php:
--------------------------------------------------------------------------------
1 |
6 | * @link https://github.com/natanfelles/adminer-bootstrap-like
7 | * @link https://www.adminer.org/plugins/#use
8 | * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
9 | * @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or
10 | * other)
11 | */
12 | // ini_set('display_errors', 1);
13 | // ini_set('display_statup_errors', 1);
14 |
15 | require __DIR__ . '/../vendor/autoload.php';
16 |
17 | require __DIR__ . '/../adminer.php';
18 |
--------------------------------------------------------------------------------
/compile.php:
--------------------------------------------------------------------------------
1 | =5.6",
27 | "vrana/adminer": "~5.4.0",
28 | "vrana/jush": "dev-main#19fef25342407d2ad696f27ac7f195025c71b89b",
29 | "vrana/phpshrink": "dev-main#b3d92cdf76aacfde22732a9132669d5ab55e7310"
30 | },
31 | "require-dev": {
32 | "ergebnis/composer-normalize": "^2.45"
33 | },
34 | "minimum-stability": "dev",
35 | "prefer-stable": true,
36 | "autoload": {
37 | "classmap": [
38 | "src/AdminerBootstrapLike.php",
39 | "adminer-plugins/"
40 | ]
41 | },
42 | "config": {
43 | "allow-plugins": {
44 | "ergebnis/composer-normalize": true
45 | }
46 | },
47 | "scripts": {
48 | "post-install-cmd": [
49 | "php compile.php",
50 | "composer dump-autoload --optimize"
51 | ],
52 | "post-update-cmd": [
53 | "php compile.php",
54 | "composer dump-autoload --optimize"
55 | ]
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/src/AdminerBootstrapLike.php:
--------------------------------------------------------------------------------
1 |
6 | * @link https://github.com/natanfelles/adminer-bootstrap-like
7 | * @link https://www.adminer.org/plugins/#use
8 | * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
9 | * @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or
10 | * other)
11 | */
12 |
13 | /**
14 | * Adminer interface inspired by the Bootstrap Framework with Font-Awesome icons
15 | */
16 | class AdminerBootstrapLike extends Adminer\Plugin
17 | {
18 | protected $dev = false;
19 |
20 | /**
21 | * Class constructor
22 | *
23 | * @param boolean $dev Set TRUE to development mode
24 | */
25 | public function __construct($dev = false)
26 | {
27 | $this->dev = $dev;
28 | }
29 |
30 | public function head($dark = null)
31 | {
32 | ?>
33 |
34 |
36 |
38 |
39 |
46 |
47 |
48 | loginForm(); ?>
49 |
50 |
51 | Adminer'
58 | . '';
59 | }
60 | }
61 |
--------------------------------------------------------------------------------
/public/assets/scripts.min.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Adminer Bootstrap-Like Design
3 | *
4 | * @author Natan Felles, https://natanfelles.github.io
5 | * @link https://github.com/natanfelles/adminer-bootstrap-like
6 | * @link https://www.adminer.org/plugins/#use
7 | * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
8 | * @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
9 | */
10 | (function(a){a.addEventListener("load",function(){b.init()},false);var b={init:function(){b.h1=document.querySelector("#menu h1");b.logins=document.getElementById("logins");b.dbs=document.getElementById("dbs");b.links=document.querySelector("#menu .links");b.tables=document.getElementById("tables");b.menuMessage=document.querySelector("#menu .message");b.breadcrumb=document.getElementById("breadcrumb");b.lang=document.getElementById("lang");b.logout=document.getElementById("logout");b.content=document.getElementById("content");b.pages=document.getElementsByClassName("pages")[0];b.menu=document.getElementById("menu");b.breadcrumb.innerHTML=''+b.breadcrumb.innerHTML;b.setPositions();b.setTables();b.setToggle();b.setScroller()},setScroller:function(){var c=document.getElementById("scroller");var d=c.querySelectorAll("a");function e(){if(a.innerHeight200){c[d].innerHTML=c[d].innerHTML.substring(0,28)+"..."}}if(c[d].classList.contains("active")){c[d].parentNode.classList+="active"}}var e=document.querySelector("#tables .active");if(e){b.tables.scrollTop=e.offsetTop}},setToggle:function(){var c=document.getElementById("toggle");var d=false;if(document.body.classList.contains("rtl")){d=true}function e(h){var i=document.getElementById("menu");var g=document.getElementById("content");var j=document.getElementById("breadcrumb");var f=document.querySelector(".footer p");if(h==="closed"){i.style.display="none";if(d){g.style.marginRight=0}else{g.style.marginLeft=0}if(j){if(d){j.style.paddingRight="40px"}else{j.style.paddingLeft="40px"}}if(f){if(d){f.style.right=0}else{f.style.left=0}}localStorage.setItem("menu","closed")}else{i.style.display="block";if(d){g.style.marginRight="266px"}else{g.style.marginLeft="266px"}if(j){if(d){j.style.paddingRight="306px"}else{j.style.paddingLeft="306px"}}if(f){if(d){f.style.right="266px"}else{f.style.left="266px"}}localStorage.setItem("menu","open")}}e(localStorage.getItem("menu"));c.addEventListener("click",function(){var f=localStorage.getItem("menu")==="open"?"closed":"open";e(f)})}}})(window);
--------------------------------------------------------------------------------
/public/assets/scripts.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Adminer Bootstrap-Like Design
3 | *
4 | * @author Natan Felles, https://natanfelles.github.io
5 | * @link https://github.com/natanfelles/adminer-bootstrap-like
6 | * @link https://www.adminer.org/plugins/#use
7 | * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
8 | * @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
9 | */
10 | (function (window) {
11 | window.addEventListener('load', function () {
12 | adminerDesign.init();
13 | }, false);
14 | var adminerDesign = {
15 | init: function () {
16 | adminerDesign.h1 = document.querySelector('#menu h1');
17 | adminerDesign.logins = document.getElementById('logins');
18 | adminerDesign.dbs = document.getElementById('dbs');
19 | adminerDesign.links = document.querySelector('#menu .links');
20 | adminerDesign.tables = document.getElementById('tables');
21 | adminerDesign.menuMessage = document.querySelector('#menu .message');
22 | adminerDesign.breadcrumb = document.getElementById('breadcrumb');
23 | adminerDesign.lang = document.getElementById('lang');
24 | adminerDesign.logout = document.getElementById('logout');
25 | adminerDesign.content = document.getElementById('content');
26 | adminerDesign.pages = document.getElementsByClassName('pages')[0];
27 | adminerDesign.menu = document.getElementById('menu');
28 | adminerDesign.breadcrumb.innerHTML = ''
29 | + adminerDesign.breadcrumb.innerHTML;
30 | adminerDesign.setPositions();
31 | adminerDesign.setTables();
32 | adminerDesign.setToggle();
33 | adminerDesign.setScroller();
34 | },
35 | setScroller: function () {
36 | var scroller = document.getElementById('scroller');
37 | var links = scroller.querySelectorAll('a');
38 |
39 | function display() {
40 | if (window.innerHeight < window.innerHeight + document.documentElement.scrollTop) {
41 | scroller.style.display = 'block';
42 | } else {
43 | scroller.style.display = 'none';
44 | }
45 | }
46 |
47 | display();
48 | // react on scroll event to toggle scroller visibilty
49 | window.addEventListener('scroll', display);
50 | links[0].addEventListener('click', function (e) {
51 | e.preventDefault();
52 | window.scroll(0, 0);
53 | document.body.scrollTop = 0;
54 | });
55 | links[1].addEventListener('click', function (e) {
56 | e.preventDefault();
57 | window.scroll(0, document.body.scrollHeight);
58 | });
59 | },
60 | setPositions: function () {
61 | var is_rtl = false;
62 | if (document.body.classList.contains('rtl')) {
63 | //console.log('rtl');
64 | is_rtl = true;
65 | }
66 | if (adminerDesign.logins) {
67 | adminerDesign.logins.style.top = adminerDesign.h1.offsetHeight - 1 + 'px';
68 | }
69 | if (adminerDesign.dbs) {
70 | adminerDesign.dbs.style.top = adminerDesign.h1.offsetHeight + 'px';
71 | }
72 | if (adminerDesign.links) {
73 | adminerDesign.links.style.top = adminerDesign.h1.offsetHeight + adminerDesign.dbs.offsetHeight + 'px';
74 | }
75 | if (adminerDesign.tables) {
76 | adminerDesign.tables.style.top = adminerDesign.h1.offsetHeight + adminerDesign.dbs.offsetHeight + adminerDesign.links.offsetHeight - 1 + 'px';
77 | }
78 | if (adminerDesign.menuMessage) {
79 | adminerDesign.menuMessage.style.top = adminerDesign.h1.offsetHeight + adminerDesign.dbs.offsetHeight + adminerDesign.links.offsetHeight + 'px';
80 | }
81 | if (adminerDesign.lang && adminerDesign.logout) {
82 | var width = document.querySelector('.logout').clientWidth + 20;
83 | if (is_rtl) {
84 | adminerDesign.lang.style.left = width + 'px';
85 | } else {
86 | adminerDesign.lang.style.right = width + 'px';
87 | }
88 | }
89 | // console.log(this.content);
90 | // console.log(window.getComputedStyle(this.content, null).getPropertyValue('padding-top'));
91 | adminerDesign.content.style.minHeight = window.innerHeight -
92 | window.getComputedStyle(adminerDesign.content, null).getPropertyValue('padding-top').replace('px', '') -
93 | window.getComputedStyle(adminerDesign.content, null).getPropertyValue('padding-bottom').replace('px', '') -
94 | window.getComputedStyle(adminerDesign.content, null).getPropertyValue('margin-top').replace('px', '') -
95 | window.getComputedStyle(adminerDesign.content, null).getPropertyValue('margin-bottom').replace('px', '') +
96 | 'px';
97 | },
98 | setTables: function () {
99 | if (!adminerDesign.tables) {
100 | return;
101 | }
102 | adminerDesign.tables.style.height = window.innerHeight - adminerDesign.tables.offsetTop + 'px';
103 | var a = document.querySelectorAll('#tables li a');
104 | for (var i = 0; i < a.length; i++) {
105 | if (a[i].classList.contains('structure')) {
106 | a[i].title = a[i].title + ' - ' + a[i].innerHTML;
107 | a[i].parentNode.addEventListener('click', function () {
108 | window.location = this.children[1].href;
109 | });
110 | if (a[i].offsetWidth > 200) {
111 | a[i].innerHTML = a[i].innerHTML.substring(0, 28) + '...';
112 | }
113 | }
114 | if (a[i].classList.contains('active')) {
115 | // console.log('active');
116 | a[i].parentNode.classList += 'active';
117 | }
118 | }
119 | var active = document.querySelector('#tables .active');
120 | if (active) {
121 | adminerDesign.tables.scrollTop = active.offsetTop;
122 | }
123 | },
124 | setToggle: function () {
125 | var toggle = document.getElementById('toggle');
126 | var is_rtl = false;
127 | if (document.body.classList.contains('rtl')) {
128 | //console.log('rtl');
129 | is_rtl = true;
130 | }
131 |
132 | function toggleMenu(state) {
133 | var menu = document.getElementById('menu');
134 | var content = document.getElementById('content');
135 | var breadcrumb = document.getElementById('breadcrumb');
136 | var pages = document.querySelector('.footer p');
137 | if (state === 'closed') {
138 | menu.style.display = 'none';
139 | if (is_rtl) {
140 | content.style.marginRight = 0;
141 | } else {
142 | content.style.marginLeft = 0;
143 | }
144 | if (breadcrumb) {
145 | if (is_rtl) {
146 | breadcrumb.style.paddingRight = '40px';
147 | } else {
148 | breadcrumb.style.paddingLeft = '40px';
149 | }
150 | }
151 | if (pages) {
152 | if (is_rtl) {
153 | pages.style.right = 0;
154 | } else {
155 | pages.style.left = 0;
156 | }
157 | }
158 | localStorage.setItem('menu', 'closed');
159 | } else {
160 | menu.style.display = 'block';
161 | if (is_rtl) {
162 | content.style.marginRight = '266px';
163 | } else {
164 | content.style.marginLeft = '266px';
165 | }
166 | if (breadcrumb) {
167 | if (is_rtl) {
168 | breadcrumb.style.paddingRight = '306px';
169 | } else {
170 | breadcrumb.style.paddingLeft = '306px';
171 | }
172 | }
173 | if (pages) {
174 | if (is_rtl) {
175 | pages.style.right = '266px';
176 | } else {
177 | pages.style.left = '266px';
178 | }
179 | }
180 | localStorage.setItem('menu', 'open');
181 | }
182 | }
183 |
184 | toggleMenu(localStorage.getItem('menu'));
185 | toggle.addEventListener('click', function () {
186 | var state = localStorage.getItem('menu') === 'open' ? 'closed' : 'open';
187 | toggleMenu(state);
188 | });
189 | },
190 | };
191 | })(window);
192 |
--------------------------------------------------------------------------------
/public/assets/styles.min.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Adminer Bootstrap-Like Design
3 | *
4 | * @author Natan Felles, https://natanfelles.github.io
5 | * @link https://github.com/natanfelles/adminer-bootstrap-like
6 | * @link https://www.adminer.org/plugins/#use
7 | * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
8 | * @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
9 | */body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background:#fff;margin:0}a,a:visited{color:#337ab7;text-decoration:none}a:link:hover,a:visited:hover{color:#23527c;text-decoration:underline}a.text:hover{text-decoration:none}a.jush-help:hover{color:inherit}h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:#333;margin-top:10px;margin-bottom:10px;padding:0}h1,h2,.rtl h2,h3{margin-top:20px;background:#fff;border:0}h1{font-size:36px}h2{font-size:30px;padding-left:20px;margin-bottom:14px}.rtl h2{margin:20px 0 14px 0;padding-left:0;padding-right:20px}h3{font-size:24px}h4{font-size:18px}h5{font-size:14px}h6{font-size:12px}form{margin:0}td table{width:100%;margin:0}table{margin:1em 20px 0 0;border-collapse:collapse;font-size:inherit;border-top-width:1px}table,td,th{border-color:#ddd}.rtl table{margin:1em 0 0 20px}td,th{padding:8px;line-height:1.42857143;border:1px solid #ddd}th{background:transparent;text-align:left;font-weight:bold}thead th{text-align:left;padding:8px}thead td,thead th{background:transparent;border-bottom:2px solid #ddd;border-right:1px solid #ddd;font-weight:bold;color:#333}thead th a{color:#337ab7}#login-form{padding:15px;margin:10px 5px 10px 0;background:#fff;border:1px solid #ddd;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.05);max-width:400px}#login-form table{width:100%}#login-form table,#login-form th,#login-form td{border:0;background:#fff}#login-form input,#login-form select{box-sizing:border-box;width:100%}#login-form input[type=checkbox]{box-sizing:unset;width:auto}#login-form label{display:inline-block;margin-top:20px}fieldset{display:inline;vertical-align:top;padding:15px;margin:10px 5px 10px 0;background:#fff;border:1px solid #ddd;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.05);min-height:80px}legend{padding:10px 15px;background:#f5f5f5;border:1px solid #ddd;border-radius:3px 3px 0 0;width:100%;margin:0 -16px}fieldset input,fieldset select{margin-right:5px}fieldset div input:last-child{margin-right:0}p,.rtl p{margin:10px 0}img{vertical-align:middle;border:0}td img{max-width:200px;max-height:200px}code,pre{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:1em}code{padding:2px 4px;font-size:90%;color:#333;background:transparent;border-radius:4px}code.jush-sql{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}tbody tr:hover td,tbody tr:hover th,.odds tbody tr:nth-child(2n){background:#f5f5f5}pre{margin:1em 0 0;overflow:auto}pre,textarea{font:100%/1.25 monospace}input,select,textarea,pre.sqlarea,.links a{background:#fff;border:1px solid #ccc;border-radius:4px;color:#555;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;resize:none;padding:6px 12px}pre.sqlarea{border:1px solid #ccc !important;padding:6px 12px !important;resize:vertical !important;box-sizing:border-box;width:100%}input:focus,select:focus,textarea:focus,pre.sqlarea:focus{border-color:#66afe9;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}pre.sqlarea:focus{border-color:#66afe9 !important}input[type=submit],.links a{cursor:pointer;box-shadow:none}input[type=submit]:hover,.links a:hover,.links a.active{background:#e6e6e6;border-color:#adadad}input[type=submit]:focus,.links a:focus,.links a.active{border-color:#8c8c8c}input[type=submit]:active,.links a:active,.links a.active{background-image:none;outline:0;box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}#login-form input[type=submit],input[value=Save]{color:#fff;background-color:#337ab7;border-color:#2e6da4}#login-form input[type=submit]:hover,input[value=Save]:hover{background-color:#286090;border-color:#204d74}#login-form input[type=submit]:focus,input[value=Save]:focus{border-color:#122b40}input[name=delete],input[name=drop]{color:#fff;background-color:#d9534f;border-color:#d43f3a}input[name=delete]:hover,input[name=drop]:hover{background-color:#c9302c;border-color:#761c19}input[name=delete]:focus,input[name=drop]:focus{border-color:#ac2925}input[type=file]{border:0;padding:0;box-shadow:none}input[type=image]{vertical-align:middle}input.default{box-shadow:none}input.required,input.maxlength{border-color:#843534;box-shadow:inset 0 1px 1px #0000001a,0 0 6px #ce8483}input.wayoff{left:-1000px;position:absolute}.block{display:block}#version,.version{color:silver;font-size:14px}#version{color:#c9302c}:target{color:inherit;background:transparent}.js .hidden,.nojs .jsonly{display:none}.js .column{background:#fff;padding:0;margin:-36px 0 0 -62px;border:1px solid #66afe9;border-radius:2px;z-index:10}.js .column a{display:inline-block;padding:0;width:30px;height:30px;overflow:hidden;vertical-align:middle}.js .column a:before{position:relative;display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:30px;height:30px;line-height:30px;font-size:14px;text-align:center;vertical-align:-3px}.js .column a:hover:before{background:#d9edf7}.js .column a[href*='&select=']:before{content:"\f063"}.js .column a[href='#fieldset-search']:before{content:"\f002"}.nowrap td,.nowrap th,td.nowrap,p.nowrap{white-space:pre}.wrap td{white-space:normal}.error,.rtl .error,.message,.rtl .message{margin:0 20px 0 0;padding:15px;border:1px solid;border-radius:4px}.error{color:#a94442;background:#f2dede;border-color:#ebccd1}.error a,.error a:hover{font-weight:bold;color:#843534}.error b{background:transparent;font-weight:normal}.message{color:#3c763d;background:#dff0d8;border-color:#d6e9c6}.message a,.message a:hover{font-weight:bold;color:#2b542c}.error code a:hover,.message code a:hover{color:#23527c}.char{color:#007f00}.date{color:#7f007f}.enum{color:#007f7f}.binary{color:red}.odd td,.odd th{background:#f9f9f9}.js .checkable .checked td,.js .checkable .checked th{background:#d9edf7;color:#333}.js .checkable .checked:hover td,.js .checkable .checked:hover th{background:#d9edf7}.js .checkable .checked a{color:#337ab7}.time{color:silver;font-size:70%;float:right}.function{text-align:right}.number{text-align:right}.datetime{text-align:right}.type{width:15ex;width:auto \9}.options select{width:20ex;width:auto \9}.view{font-style:italic}.active{font-weight:bold}.sqlarea{width:98%}.icon{width:18px;height:18px;background-color:#337ab7;border:1px solid #2e6da4;filter:none}.icon:hover{background-color:#286090;border-color:#204d74}.size{min-width:100px}.help{cursor:help}.footer p:first-child{position:fixed;bottom:0;left:266px;padding:8px;background:#f5f5f5;border:1px solid #ddd;width:100%;margin:0}.footer{border-image:none;border:1px solid #ddd;bottom:0;background:#fff;margin:23px -20px .5em 0;box-shadow:none}.footer>div{background:#fff;padding:12px}.footer>div>fieldset{margin-bottom:0}.links a{white-space:nowrap;margin-right:5px;color:inherit;vertical-align:middle;display:inline-block}.rtl .links a{margin-right:0;margin-left:5px}.links a:hover{text-decoration:none;color:inherit}.links a.active{font-weight:inherit}.logout{margin:0;position:fixed;top:4px;right:4px;z-index:710;background-color:transparent;box-shadow:none}.rtl .logout{left:4px;right:auto;margin-top:0}.loadmore{margin-left:1ex}#sensor{width:1px;background:#ddd;position:fixed;top:0;left:0;height:100%;z-index:720}.rtl #sensor{left:auto;right:0}#menu{position:absolute;margin:10px 0 0;padding:0 0 30px 0;top:210px;left:0;width:266px}#menu h1{background:#fff;position:fixed;top:0;left:0;z-index:710;margin:0;width:246px;border-right:1px solid #ddd;border-bottom:1px solid #ddd;padding:2px 10px 14px;height:28px;text-align:center}.rtl #menu h1{left:auto;right:0;border-left:1px solid #ddd;border-right:0}#menu p,#logins,#tables{padding:0;margin:0;border-bottom:0;border-color:#ddd}#menu .active{color:#333}#menu .message{background:transparent;border:0;padding:5px;color:#31708f;position:fixed;top:210px;left:0}#logins,#tables{position:fixed;top:40px;left:0;height:100px;width:266px;overflow:hidden !important;border-right:1px solid #ddd;background:#fff}#logins{height:100%}.rtl #logins,.rtl #tables{top:40px;left:auto;right:0;border-right:0;border-left:1px solid #ddd}#tables:hover{overflow-y:auto !important}#logins a,#tables li{list-style:none;padding:10px 15px;margin-bottom:-1px;border-bottom:1px solid #ddd;display:block;cursor:pointer;border-top:1px solid #ddd;text-decoration:none}#logins a:hover,#tables li:hover{background:#f5f5f5;border-top:1px solid #ddd}#logins a,#tables li a{overflow:hidden !important;text-decoration:none;color:#333}#tables li.active{background-color:#337ab7}#tables li.active a:before,#tables li.active a{color:#fff;font-weight:normal}#tables li a.structure{box-sizing:border-box;text-overflow:ellipsis}#edit-fields tbody tr:hover td,#edit-fields tbody tr:hover th{background:#f5f5f5}#dbs{overflow:hidden;background:#f5f5f5;position:fixed;top:45px;left:0;height:40px;width:246px;border-right:1px solid #ddd;padding:10px !important;font-size:0}.rtl #dbs{left:auto;right:0;border-left:1px solid #ddd;border-right:0}#dbs span{display:none}#dbs select{width:100%}#dbs input[name=db]{width:150px;margin-right:10px}#menu .links{width:246px;border-right:1px solid #ddd;border-bottom:1px solid #ddd;background:#f5f5f5;position:fixed;top:105px;left:0;padding:0 10px 10px !important;z-index:700}.rtl #menu .links{left:auto;right:0;border-left:1px solid #ddd;border-right:0}#menu .links a{padding:1px 0;font-size:12px;width:100%;margin-bottom:5px;font-weight:normal;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;display:inline-block}#logins,#tables{white-space:nowrap;overflow:hidden}#logins a,#tables a,#tables span{background:transparent}#content{margin:28px 0 0 266px;padding:10px 20px 40px 20px;border-left:1px solid #ddd}.rtl #content{margin:28px 266px 0 0;padding:10px 20px 40px 20px;border-left:0;border-right:1px solid #ddd}#lang{position:fixed;top:4px;left:auto;right:4px;line-height:1.8em;padding:.3em 1em;z-index:710;font-size:0}.rtl #lang{right:auto;left:4px}#breadcrumb{white-space:nowrap;position:fixed;top:0;left:0;background:#f5f5f5;border-bottom:1px solid #ddd;height:28px;line-height:1.8em;margin:0 0 0 -18px;padding:8px 15px 8px 306px;width:100%;z-index:700}.rtl #breadcrumb{left:auto;right:0;margin:0 -18px 0 0}#h1{color:#7894c4;text-decoration:none;font-style:italic}#schema{margin-left:60px;position:relative;-moz-user-select:none;-webkit-user-select:none}#schema .table{border:1px solid #ddd;padding:0 2px;cursor:move;position:absolute;box-shadow:0 1px 1px #0000001a;background:#f5f5f566;line-height:1.26;font-size:14px}#schema .table a{background:#f5f5f5;font-weight:bold;border:1px solid #ddd;width:100%;display:block;margin:-14px -3px;padding:2px}#schema .references{position:absolute}#help{position:absolute;border:1px solid #999;background:#eee;padding:5px;font-family:monospace;z-index:1}.rtl .pages{left:auto;right:21em}.rtl input.wayoff{left:auto;right:-1000px}@media all and (max-device-width:880px){.pages{left:auto}#menu{position:static;width:auto}#content{margin-left:10px}#lang{position:static;border-top:1px solid #999}#breadcrumb{left:auto}.rtl .pages{right:auto}.rtl #content{margin-right:10px}.rtl #breadcrumb{right:auto}}@media print{#lang,#menu{display:none}#content{margin-left:1em}#breadcrumb{left:1em}.nowrap td,.nowrap th,td.nowrap{white-space:normal}}.jush{color:black}.jush-htm_com,.jush-com,.jush-com_code,.jush-one,.jush-php_doc,.jush-php_com,.jush-php_one,.jush-js_one,.jush-js_doc{color:gray}.jush-php,.jush-php_new,.jush-php_fun{color:#003;background-color:#fff0f0}.jush-php_quo,.jush-quo,.jush-quo_one,.jush-php_eot,.jush-apo,.jush-sql_apo,.jush-sqlite_apo,.jush-sql_quo,.jush-sql_eot{color:green}.jush-php_apo{color:#009f00}.jush-php_quo_var,.jush-php_var,.jush-sql_var{font-style:italic}.jush-php_apo .jush-php_quo_var,.jush-php_apo .jush-php_var{font-style:normal}.jush-php_halt2{background-color:white;color:black}.jush-tag_css,.jush-att_css .jush-att_quo,.jush-att_css .jush-att_apo,.jush-att_css .jush-att_val{color:black;background-color:#ffffe0}.jush-tag_js,.jush-att_js .jush-att_quo,.jush-att_js .jush-att_apo,.jush-att_js .jush-att_val,.jush-css_js{color:black;background-color:#f0f0ff}.jush-tag,.jush-xml_tag{color:navy}.jush-att,.jush-xml_att,.jush-att_js,.jush-att_css,.jush-att_http{color:teal}.jush-att_quo,.jush-att_apo,.jush-att_val{color:purple}.jush-ent{color:purple}.jush-js_key,.jush-js_key .jush-quo,.jush-js_key .jush-apo{color:purple}.jush-js_reg{color:navy}.jush-php_sql .jush-php_quo,.jush-php_sql .jush-php_apo,.jush-php_sqlite .jush-php_quo,.jush-php_sqlite .jush-php_apo,.jush-php_pgsql .jush-php_quo,.jush-php_pgsql .jush-php_apo,.jush-php_mssql .jush-php_quo,.jush-php_mssql .jush-php_apo,.jush-php_oracle .jush-php_quo,.jush-php_oracle .jush-php_apo{background-color:#ffbbb0}.jush-bac,.jush-php_bac,.jush-bra,.jush-mssql_bra,.jush-sqlite_quo{color:red}.jush-num,.jush-clr{color:#007f7f}.jush a{color:navy}.jush a.jush-help{cursor:help}.jush-sql a,.jush-sql_code a,.jush-sqlite a,.jush-pgsql a,.jush-mssql a,.jush-oracle a,.jush-simpledb a{font-weight:bold}.jush-php_sql .jush-php_quo a,.jush-php_sql .jush-php_apo a{font-weight:normal}.jush-tag a,.jush-att a,.jush-apo a,.jush-quo a,.jush-php_apo a,.jush-php_quo a,.jush-php_eot2 a{color:inherit;color:expression(parentNode.currentStyle.color)}a.jush-custom:link,a.jush-custom:visited{font-weight:normal;color:inherit;color:expression(parentNode.currentStyle.color)}.jush p{margin:0}@font-face{font-family:'FontAwesome';src:url('fonts/fontawesome-webfont.eot?#iefix&v=4.6.3') format('embedded-opentype'),url('fonts/fontawesome-webfont.woff2?v=4.6.3') format('woff2'),url('fonts/fontawesome-webfont.woff?v=4.6.3') format('woff'),url('fonts/fontawesome-webfont.ttf?v=4.6.3') format('truetype'),url('fonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}#tables a:before,.links a:before,#scroller a:before{position:relative;top:1px;margin-right:2px;display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;font-size:14px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333}.rtl #tables a:before,.rtl .links a:before{display:none}.rtl #tables a:after,.rtl .links a:after{position:relative;top:1px;margin-right:2px;display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;font-size:14px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333}#tables a[href*="&select="]{font-size:0}#tables a[href*="&select="]:before,.rtl #tables a[href*="&select="]:after{content:"\f0ce";color:#337ab7}.links a[href*="&sql="]:before{content:"\f120"}.links a[href*="&import="]:before{content:"\f01a"}.links a[href*="&dump="]:before{content:"\f01b"}.links a[href*="&create="]:before,.links a[href*="&db="][href*="&database="]:before,.links a[href*="&indexes="]:before{content:"\f044"}.links a[href$="&create="]:before,.links a[href$="&database="]:before,.links a[href$="&indexes="]:before{content:"\f067"}.links a[href*="&schema="]:before{content:"\f00a"}.links a#schema-link:before{content:"\f0c1"}.links a[href*="&privileges="]:before{content:"\f0c0"}.links a[href*="&view="]:before{content:"\f06e"}.links a[href*="&procedure="]:before,.links a[href*="&function="]:before{content:"\f0ad"}.links a[href*="&event="]:before{content:"\f01e"}.links a[href*="&edit="]:before{content:"\f055"}.links a[href*="&table="]:before{content:"\f085"}.links a[href*="&select="]:before{content:"\f03a"}.links a[href*="&processlist="]:before{content:"\f022"}.links a[href*="&status="]:before{content:"\f0ae"}.links a[href*="&variables="]:before{content:"\f155"}.links a[href*="&user="]:before{content:"\f007"}.links a[href*="&replication="]:before{content:"\f0c5"}.links a[href*="&check="]:before,.links a[href*="&foreign="]:before,.links a[href*="&trigger="]:before{content:"\f067"}.js fieldset>.hidden{display:block;margin:5px;text-align:center}.js fieldset>.hidden:before{position:relative;top:1px;display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#e2e2e2;font-size:24px;margin-top:1px}.js fieldset>.hidden *{display:none !important}#fieldset-select.hidden:before{content:"\f009"}#fieldset-search.hidden:before{content:"\f002"}#fieldset-sort.hidden:before{content:"\f160"}#fieldset-export.hidden:before{content:"\f01b"}#fieldset-import.hidden:before{content:"\f01a"}#fieldset-history.hidden:before{content:"\f1da"}#fieldset-history br{display:block;margin-bottom:20px}#fieldset-history.hidden br{display:none}#fieldset-partition.hidden:before{content:"\f065"}#fieldset-select div+div,#fieldset-search div+div,#fieldset-sort div+div{margin-top:10px}.json-icon{margin:5px 0}.json{border-color:#cde;border-left:7px solid #cde;background:#e8f0fa;margin:5px 0}.json th{border-right-color:#cde}#scroller{display:none;background:#fff;bottom:20px;right:20px;position:fixed;z-index:999;border:1px solid #ddd;transition:all linear .2s;opacity:.8;border-radius:4px}.rtl #scroller{right:auto;left:20px}#scroller a{display:block;color:#333;font-size:20px;padding:6px 12px;opacity:.8}#scroller a:hover{background-color:#f5f5f5;opacity:1}#scroller a:first-child{border-bottom:1px solid #ddd}#scroller a:first-child:before{content:"\f077"}#scroller a:last-child:before{content:"\f078"}#toggle{background:#fff;border:1px solid #ddd;width:20px;display:inline-block;margin-right:20px;text-align:center}.rtl #toggle{margin-left:20px;margin-right:0}#toggle:hover{background:#e6e6e6;border-color:#adadad}#toggle:before{content:"\f0c9";position:relative;top:1px;display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;font-size:14px;margin-top:1px;padding:2px}
--------------------------------------------------------------------------------
/public/assets/styles.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Adminer Bootstrap-Like Design
3 | *
4 | * @author Natan Felles, https://natanfelles.github.io
5 | * @link https://github.com/natanfelles/adminer-bootstrap-like
6 | * @link https://www.adminer.org/plugins/#use
7 | * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
8 | * @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
9 | */
10 | body {
11 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
12 | font-size: 14px;
13 | line-height: 1.42857143;
14 | color: #333;
15 | background: #fff;
16 | margin: 0;
17 | }
18 |
19 | a,
20 | a:visited {
21 | color: #337ab7;
22 | text-decoration: none;
23 | }
24 |
25 | a:link:hover,
26 | a:visited:hover {
27 | color: #23527c;
28 | text-decoration: underline;
29 | }
30 |
31 | a.text:hover {
32 | text-decoration: none;
33 | }
34 |
35 | a.jush-help:hover {
36 | color: inherit;
37 | }
38 |
39 | h1,
40 | h2,
41 | h3,
42 | h4,
43 | h5,
44 | h6 {
45 | font-family: inherit;
46 | font-weight: 500;
47 | line-height: 1.1;
48 | color: #333;
49 | margin-top: 10px;
50 | margin-bottom: 10px;
51 | padding: 0;
52 | }
53 |
54 | h1,
55 | h2, .rtl h2,
56 | h3 {
57 | margin-top: 20px;
58 | background: #fff;
59 | border: 0;
60 | }
61 |
62 | h1 {
63 | font-size: 36px;
64 | }
65 |
66 | h2 {
67 | font-size: 30px;
68 | padding-left: 20px;
69 | margin-bottom: 14px;
70 | }
71 |
72 | .rtl h2 {
73 | margin: 20px 0 14px 0;
74 | padding-left: 0;
75 | padding-right: 20px;
76 | }
77 |
78 | h3 {
79 | font-size: 24px;
80 | }
81 |
82 | h4 {
83 | font-size: 18px;
84 | }
85 |
86 | h5 {
87 | font-size: 14px;
88 | }
89 |
90 | h6 {
91 | font-size: 12px;
92 | }
93 |
94 | form {
95 | margin: 0;
96 | }
97 |
98 | td table {
99 | width: 100%;
100 | margin: 0;
101 | }
102 |
103 | table {
104 | margin: 1em 20px 0 0;
105 | border-collapse: collapse;
106 | font-size: inherit;
107 | border-top-width: 1px;
108 | }
109 |
110 | table, td, th {
111 | border-color: #ddd;
112 | }
113 |
114 | .rtl table {
115 | margin: 1em 0 0 20px;
116 | }
117 |
118 | td,
119 | th {
120 | padding: 8px;
121 | line-height: 1.42857143;
122 | border: 1px solid #ddd;
123 | }
124 |
125 | th {
126 | background: transparent;
127 | text-align: left;
128 | font-weight: bold;
129 | }
130 |
131 | thead th {
132 | text-align: left;
133 | padding: 8px;
134 | }
135 |
136 | thead td,
137 | thead th {
138 | background: transparent;
139 | border-bottom: 2px solid #ddd;
140 | border-right: 1px solid #ddd;
141 | font-weight: bold;
142 | color: #333;
143 | }
144 |
145 | thead th a {
146 | color: #337ab7;
147 | }
148 |
149 | table select {
150 | /*width: 100%;*/
151 | }
152 |
153 | #login-form {
154 | padding: 15px;
155 | margin: 10px 5px 10px 0;
156 | background: #fff;
157 | border: 1px solid #ddd;
158 | border-radius: 4px;
159 | box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
160 | max-width: 400px;
161 | }
162 |
163 | #login-form table {
164 | width: 100%
165 | }
166 |
167 | #login-form table,
168 | #login-form th,
169 | #login-form td {
170 | border: 0;
171 | background: #fff;
172 | }
173 |
174 | /*#form table input,
175 | #form table select,*/
176 | #login-form input,
177 | #login-form select {
178 | box-sizing: border-box;
179 | width: 100%;
180 | }
181 |
182 | #login-form input[type=checkbox] {
183 | box-sizing: unset;
184 | width: auto;
185 | }
186 |
187 | #login-form label {
188 | display: inline-block;
189 | margin-top: 20px;
190 | }
191 |
192 | fieldset {
193 | display: inline;
194 | vertical-align: top;
195 | padding: 15px;
196 | margin: 10px 5px 10px 0;
197 | background: #fff;
198 | border: 1px solid #ddd;
199 | border-radius: 4px;
200 | box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
201 | min-height: 80px;
202 | }
203 |
204 | legend {
205 | padding: 10px 15px;
206 | background: #f5f5f5;
207 | border: 1px solid #ddd;
208 | border-radius: 3px 3px 0 0;
209 | width: 100%;
210 | margin: 0 -16px;
211 | }
212 |
213 | fieldset input,
214 | fieldset select {
215 | margin-right: 5px;
216 | }
217 |
218 | fieldset div input:last-child {
219 | margin-right: 0;
220 | }
221 |
222 | p, .rtl p {
223 | margin: 10px 0;
224 | }
225 |
226 | img {
227 | vertical-align: middle;
228 | border: 0;
229 | }
230 |
231 | td img {
232 | max-width: 200px;
233 | max-height: 200px;
234 | }
235 |
236 | code,
237 | pre {
238 | font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
239 | font-size: 1em;
240 | }
241 |
242 | code {
243 | padding: 2px 4px;
244 | font-size: 90%;
245 | color: #333;
246 | background: transparent;
247 | border-radius: 4px;
248 | }
249 |
250 | code.jush-sql {
251 | display: block;
252 | padding: 9.5px;
253 | margin: 0 0 10px;
254 | font-size: 13px;
255 | line-height: 1.42857143;
256 | color: #333;
257 | word-break: break-all;
258 | word-wrap: break-word;
259 | background-color: #f5f5f5;
260 | border: 1px solid #ccc;
261 | border-radius: 4px;
262 | }
263 |
264 | tbody tr:hover td,
265 | tbody tr:hover th,
266 | .odds tbody tr:nth-child(2n) {
267 | background: #f5f5f5;
268 | }
269 |
270 | pre {
271 | margin: 1em 0 0;
272 | overflow: auto;
273 | }
274 |
275 | pre,
276 | textarea {
277 | font: 100%/1.25 monospace;
278 | }
279 |
280 | input,
281 | select,
282 | textarea,
283 | pre.sqlarea,
284 | .links a {
285 | background: #fff;
286 | border: 1px solid #ccc;
287 | border-radius: 4px;
288 | color: #555;
289 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
290 | transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
291 | resize: none;
292 | padding: 6px 12px;
293 | }
294 |
295 | pre.sqlarea {
296 | border: 1px solid #ccc !important;
297 | padding: 6px 12px !important;
298 | resize: vertical !important;
299 | box-sizing: border-box;
300 | width: 100%;
301 | }
302 |
303 | input:focus,
304 | select:focus,
305 | textarea:focus,
306 | pre.sqlarea:focus {
307 | border-color: #66afe9;
308 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
309 | }
310 |
311 | pre.sqlarea:focus {
312 | border-color: #66afe9 !important;
313 | }
314 |
315 | input[type=submit],
316 | .links a {
317 | cursor: pointer;
318 | box-shadow: none;
319 | }
320 |
321 | input[type=submit]:hover,
322 | .links a:hover,
323 | .links a.active {
324 | background: #e6e6e6;
325 | border-color: #adadad;
326 | }
327 |
328 | input[type=submit]:focus,
329 | .links a:focus,
330 | .links a.active {
331 | border-color: #8c8c8c;
332 | }
333 |
334 | input[type=submit]:active,
335 | .links a:active,
336 | .links a.active {
337 | background-image: none;
338 | outline: 0;
339 | box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
340 | }
341 |
342 | #login-form input[type=submit],
343 | input[value=Save] {
344 | color: #fff;
345 | background-color: #337ab7;
346 | border-color: #2e6da4;
347 | }
348 |
349 | #login-form input[type=submit]:hover,
350 | input[value=Save]:hover {
351 | background-color: #286090;
352 | border-color: #204d74;
353 | }
354 |
355 | #login-form input[type=submit]:focus,
356 | input[value=Save]:focus {
357 | border-color: #122b40;
358 | }
359 |
360 | input[name=delete],
361 | input[name=drop] {
362 | color: #fff;
363 | background-color: #d9534f;
364 | border-color: #d43f3a;
365 | }
366 |
367 | input[name=delete]:hover,
368 | input[name=drop]:hover {
369 | background-color: #c9302c;
370 | border-color: #761c19;
371 | }
372 |
373 | input[name=delete]:focus,
374 | input[name=drop]:focus {
375 | border-color: #ac2925;
376 | }
377 |
378 | input[type=file] {
379 | border: 0;
380 | padding: 0;
381 | box-shadow: none;
382 | }
383 |
384 | input[type=image] {
385 | vertical-align: middle;
386 | }
387 |
388 | input.default {
389 | box-shadow: none;
390 | }
391 |
392 | input.required,
393 | input.maxlength {
394 | border-color: #843534;
395 | box-shadow: inset 0 1px 1px #0000001a, 0 0 6px #ce8483;
396 | }
397 |
398 | input.wayoff {
399 | left: -1000px;
400 | position: absolute;
401 | }
402 |
403 | .block {
404 | display: block;
405 | }
406 |
407 | #version,
408 | .version {
409 | color: silver;
410 | font-size: 14px;
411 | }
412 |
413 | #version {
414 | color: #c9302c;
415 | }
416 |
417 | :target {
418 | color: inherit;
419 | background: transparent;
420 | }
421 |
422 | .js .hidden,
423 | .nojs .jsonly {
424 | display: none;
425 | }
426 |
427 | .js .column {
428 | background: #fff;
429 | padding: 0;
430 | margin: -36px 0 0 -62px;
431 | border: 1px solid #66afe9;
432 | border-radius: 2px;
433 | z-index: 10
434 | }
435 |
436 | .js .column a {
437 | display: inline-block;
438 | padding: 0;
439 | width: 30px;
440 | height: 30px;
441 | overflow: hidden;
442 | vertical-align: middle
443 | }
444 |
445 | .js .column a:before {
446 | position: relative;
447 | display: inline-block;
448 | font-family: FontAwesome;
449 | font-style: normal;
450 | font-weight: normal;
451 | -webkit-font-smoothing: antialiased;
452 | -moz-osx-font-smoothing: grayscale;
453 | width: 30px;
454 | height: 30px;
455 | line-height: 30px;
456 | font-size: 14px;
457 | text-align: center;
458 | vertical-align: -3px
459 | }
460 |
461 | .js .column a:hover:before {
462 | background: #d9edf7
463 | }
464 |
465 | .js .column a[href*='&select=']:before {
466 | content: "\f063";
467 | }
468 |
469 | .js .column a[href='#fieldset-search']:before {
470 | content: "\f002";
471 | }
472 |
473 | .nowrap td,
474 | .nowrap th,
475 | td.nowrap,
476 | p.nowrap {
477 | white-space: pre;
478 | }
479 |
480 | .wrap td {
481 | white-space: normal;
482 | }
483 |
484 | .error, .rtl .error,
485 | .message, .rtl .message {
486 | margin: 0 20px 0 0;
487 | padding: 15px;
488 | border: 1px solid;
489 | border-radius: 4px;
490 | }
491 |
492 | .error {
493 | color: #a94442;
494 | background: #f2dede;
495 | border-color: #ebccd1;
496 | }
497 |
498 | .error a,
499 | .error a:hover {
500 | font-weight: bold;
501 | color: #843534;
502 | }
503 |
504 | .error b {
505 | background: transparent;
506 | font-weight: normal;
507 | }
508 |
509 | .message {
510 | color: #3c763d;
511 | background: #dff0d8;
512 | border-color: #d6e9c6;
513 | }
514 |
515 | .message a,
516 | .message a:hover {
517 | font-weight: bold;
518 | color: #2b542c;
519 | }
520 |
521 | .error code a:hover,
522 | .message code a:hover {
523 | color: #23527c;
524 | }
525 |
526 | .char {
527 | color: #007f00;
528 | }
529 |
530 | .date {
531 | color: #7f007f;
532 | }
533 |
534 | .enum {
535 | color: #007f7f;
536 | }
537 |
538 | .binary {
539 | color: red;
540 | }
541 |
542 | /* #content table {
543 | background: #f9f9f9;
544 | } */
545 | .odd td,
546 | .odd th {
547 | background: #f9f9f9;
548 | }
549 |
550 | .js .checkable .checked td,
551 | .js .checkable .checked th {
552 | background: #d9edf7;
553 | color: #333;
554 | }
555 |
556 | .js .checkable .checked:hover td,
557 | .js .checkable .checked:hover th {
558 | background: #d9edf7;
559 | }
560 |
561 | .js .checkable .checked a {
562 | color: #337ab7;
563 | }
564 |
565 | .time {
566 | color: silver;
567 | font-size: 70%;
568 | float: right;
569 | }
570 |
571 | .function {
572 | text-align: right;
573 | }
574 |
575 | .number {
576 | text-align: right;
577 | }
578 |
579 | .datetime {
580 | text-align: right;
581 | }
582 |
583 | .type {
584 | width: 15ex;
585 | width: auto \9;
586 | }
587 |
588 | .options select {
589 | width: 20ex;
590 | width: auto \9;
591 | }
592 |
593 | .view {
594 | font-style: italic;
595 | }
596 |
597 | .active {
598 | font-weight: bold;
599 | }
600 |
601 | .sqlarea {
602 | width: 98%;
603 | }
604 |
605 | .icon {
606 | width: 18px;
607 | height: 18px;
608 | background-color: #337ab7;
609 | border: 1px solid #2e6da4;
610 | filter: none;
611 | }
612 |
613 | .icon:hover {
614 | background-color: #286090;
615 | border-color: #204d74;
616 | }
617 |
618 | .size {
619 | min-width: 100px;
620 | }
621 |
622 | .help {
623 | cursor: help;
624 | }
625 |
626 | .footer p:first-child {
627 | position: fixed;
628 | bottom: 0;
629 | left: 266px;
630 | padding: 8px;
631 | background: #f5f5f5;
632 | border: 1px solid #ddd;
633 | width: 100%;
634 | margin: 0;
635 | }
636 |
637 | .footer {
638 | border-image: none;
639 | border: 1px solid #ddd;
640 | /*position: relative;*/
641 | bottom: 0;
642 | background: #fff;
643 | margin: 23px -20px .5em 0;
644 | /*box-shadow: 0 -5px 10px 10px #000000f0;*/
645 | /*box-shadow: 0 -5px 10px 10px rgba(0, 0, 0, .125);*/
646 | box-shadow: none;
647 | }
648 |
649 | .footer > div {
650 | background: #fff;
651 | padding: 12px;
652 | }
653 |
654 | .footer > div > fieldset {
655 | margin-bottom: 0;
656 | }
657 |
658 | .links a {
659 | white-space: nowrap;
660 | margin-right: 5px;
661 | color: inherit;
662 | vertical-align: middle;
663 | display: inline-block;
664 | }
665 |
666 | .rtl .links a {
667 | margin-right: 0;
668 | margin-left: 5px;
669 | }
670 |
671 | .links a:hover {
672 | text-decoration: none;
673 | color: inherit;
674 | }
675 |
676 | .links a.active {
677 | font-weight: inherit;
678 | }
679 |
680 | .logout {
681 | margin: 0;
682 | position: fixed;
683 | top: 4px;
684 | right: 4px;
685 | z-index: 710;
686 | background-color: transparent;
687 | box-shadow: none;
688 | }
689 |
690 | .rtl .logout {
691 | left: 4px;
692 | right: auto;
693 | margin-top: 0;
694 | }
695 |
696 | .loadmore {
697 | margin-left: 1ex;
698 | }
699 |
700 | #sensor {
701 | width: 1px;
702 | background: #ddd;
703 | position: fixed;
704 | top: 0;
705 | left: 0;
706 | height: 100%;
707 | z-index: 720;
708 | }
709 |
710 | .rtl #sensor {
711 | left: auto;
712 | right: 0;
713 | }
714 |
715 | #menu {
716 | position: absolute;
717 | margin: 10px 0 0;
718 | padding: 0 0 30px 0;
719 | top: 210px;
720 | left: 0;
721 | width: 266px;
722 | /*background: red;*/
723 | /*position: fixed;*/
724 | /*overflow: scroll;*/
725 | /*border-right: 1px solid #ddd;*/
726 | }
727 |
728 | #menu h1 {
729 | background: #fff;
730 | position: fixed;
731 | top: 0;
732 | left: 0;
733 | z-index: 710;
734 | margin: 0;
735 | width: 246px;
736 | border-right: 1px solid #ddd;
737 | border-bottom: 1px solid #ddd;
738 | padding: 2px 10px 14px;
739 | height: 28px;
740 | text-align: center;
741 | }
742 |
743 | .rtl #menu h1 {
744 | left: auto;
745 | right: 0;
746 | border-left: 1px solid #ddd;
747 | border-right: 0;
748 | }
749 |
750 | #menu p,
751 | #logins,
752 | #tables {
753 | padding: 0;
754 | margin: 0;
755 | border-bottom: 0;
756 | border-color: #ddd;
757 | }
758 |
759 | #menu .active {
760 | color: #333;
761 | }
762 |
763 | #menu .message {
764 | background: transparent;
765 | border: 0;
766 | padding: 5px;
767 | color: #31708f;
768 | position: fixed;
769 | top: 210px;
770 | left: 0;
771 | }
772 |
773 | #logins,
774 | #tables {
775 | position: fixed;
776 | /*top: 210px;*/
777 | top: 40px;
778 | left: 0;
779 | /*background: orange;*/
780 | height: 100px;
781 | width: 266px;
782 | overflow: hidden !important;
783 | border-right: 1px solid #ddd;
784 | background: #fff;
785 | }
786 |
787 | #logins {
788 | height: 100%;
789 | }
790 |
791 | .rtl #logins,
792 | .rtl #tables {
793 | /*top: 210px;*/
794 | top: 40px;
795 | left: auto;
796 | right: 0;
797 | border-right: 0;
798 | border-left: 1px solid #ddd;
799 | }
800 |
801 | #tables:hover {
802 | overflow-y: auto !important;
803 | }
804 |
805 | #logins a,
806 | /* #logins li, */
807 | #tables li {
808 | list-style: none;
809 | padding: 10px 15px;
810 | margin-bottom: -1px;
811 | /*background-color: #fff;*/
812 | border-bottom: 1px solid #ddd;
813 | display: block;
814 | cursor: pointer;
815 | border-top: 1px solid #ddd;
816 | text-decoration: none;
817 | }
818 |
819 | #logins a:hover,
820 | #tables li:hover {
821 | background: #f5f5f5;
822 | border-top: 1px solid #ddd
823 | }
824 |
825 | #logins a,
826 | #tables li a {
827 | overflow: hidden !important;
828 | text-decoration: none;
829 | color: #333;
830 | }
831 |
832 | #tables li.active {
833 | background-color: #337ab7;
834 | }
835 |
836 | #tables li.active a:before,
837 | #tables li.active a {
838 | color: #fff;
839 | font-weight: normal;
840 | }
841 |
842 | /*#tables li:last-child {
843 | border-bottom: 10px solid #fff;
844 | }*/
845 | /* #tables li a {
846 | height: 100%;
847 | background: green;
848 | display: inline-block;
849 | padding: 10px 15px;
850 | }
851 | #tables li a.select {
852 | background: red;
853 | width: 100%;
854 | }
855 | */
856 | #tables li a.structure {
857 | /*background: blue;*/
858 | /*width: 100%;*/
859 | /*left: 0;*/
860 | box-sizing: border-box;
861 | /*width: 100%;*/
862 | /*max-width: 20px !important;*/
863 | text-overflow: ellipsis;
864 | }
865 |
866 | #tables li a.active {
867 | }
868 |
869 | #edit-fields tbody tr:hover td,
870 | #edit-fields tbody tr:hover th {
871 | background: #f5f5f5;
872 | }
873 |
874 | #dbs {
875 | overflow: hidden;
876 | background: #f5f5f5;
877 | /*background: transparent;
878 | background: yellow;*/
879 | position: fixed;
880 | top: 45px;
881 | left: 0;
882 | height: 40px;
883 | width: 246px;
884 | border-right: 1px solid #ddd;
885 | padding: 10px !important;
886 | font-size: 0;
887 | }
888 |
889 | .rtl #dbs {
890 | left: auto;
891 | right: 0;
892 | border-left: 1px solid #ddd;
893 | border-right: 0;
894 | }
895 |
896 | #dbs span {
897 | display: none;
898 | }
899 |
900 | #dbs select {
901 | width: 100%;
902 | }
903 |
904 | #dbs input[name=db] {
905 | width: 150px;
906 | margin-right: 10px;
907 | }
908 |
909 | #menu .links {
910 | width: 246px;
911 | border-right: 1px solid #ddd;
912 | border-bottom: 1px solid #ddd;
913 | background: #f5f5f5;
914 | /*background: transparent;
915 | background: blue;*/
916 | position: fixed;
917 | top: 105px;
918 | left: 0;
919 | padding: 0 10px 10px !important;
920 | /*height: 60px;*/
921 | z-index: 700;
922 | }
923 |
924 | .rtl #menu .links {
925 | left: auto;
926 | right: 0;
927 | border-left: 1px solid #ddd;
928 | border-right: 0;
929 | }
930 |
931 | #menu .links a {
932 | padding: 1px 0;
933 | font-size: 12px;
934 | width: 100%;
935 | margin-bottom: 5px;
936 | font-weight: normal;
937 | line-height: 1.42857143;
938 | text-align: center;
939 | white-space: nowrap;
940 | vertical-align: middle;
941 | display: inline-block;
942 | }
943 |
944 | #logins,
945 | #tables {
946 | white-space: nowrap;
947 | overflow: hidden;
948 | }
949 |
950 | #logins a,
951 | #tables a,
952 | #tables span {
953 | background: transparent;
954 | }
955 |
956 | #content {
957 | /* margin: 28px 0 0 294px;
958 | padding: 10px 20px 20px 0; */
959 | margin: 28px 0 0 266px;
960 | padding: 10px 20px 40px 20px;
961 | /*background: #00f;*/
962 | border-left: 1px solid #ddd;
963 | }
964 |
965 | .rtl #content {
966 | margin: 28px 266px 0 0;
967 | padding: 10px 20px 40px 20px;
968 | border-left: 0;
969 | border-right: 1px solid #ddd;
970 | }
971 |
972 | #lang {
973 | position: fixed;
974 | top: 4px;
975 | left: auto;
976 | right: 4px;
977 | line-height: 1.8em;
978 | padding: .3em 1em;
979 | z-index: 710;
980 | font-size: 0;
981 | }
982 |
983 | .rtl #lang {
984 | right: auto;
985 | left: 4px;
986 | }
987 |
988 | #breadcrumb {
989 | white-space: nowrap;
990 | position: fixed;
991 | top: 0;
992 | left: 0;
993 | background: #f5f5f5;
994 | border-bottom: 1px solid #ddd;
995 | height: 28px;
996 | line-height: 1.8em;
997 | margin: 0 0 0 -18px;
998 | padding: 8px 15px 8px 306px;
999 | width: 100%;
1000 | z-index: 700;
1001 | }
1002 |
1003 | .rtl #breadcrumb {
1004 | left: auto;
1005 | right: 0;
1006 | margin: 0 -18px 0 0;
1007 | }
1008 |
1009 | /* .rtl #breadcrumb {
1010 | left: auto;
1011 | right: 21em;
1012 | margin: 0 -18px 0 0;
1013 | } */
1014 | #h1 {
1015 | color: #7894c4;
1016 | text-decoration: none;
1017 | font-style: italic;
1018 | }
1019 |
1020 | #schema {
1021 | margin-left: 60px;
1022 | position: relative;
1023 | -moz-user-select: none;
1024 | -webkit-user-select: none;
1025 | }
1026 |
1027 | #schema .table {
1028 | border: 1px solid #ddd;
1029 | padding: 0 2px;
1030 | cursor: move;
1031 | position: absolute;
1032 | box-shadow: 0 1px 1px #0000001a;
1033 | background: #f5f5f566;
1034 | line-height: 1.26;
1035 | font-size: 14px;
1036 | }
1037 |
1038 | #schema .table a {
1039 | background: #f5f5f5;
1040 | font-weight: bold;
1041 | border: 1px solid #ddd;
1042 | width: 100%;
1043 | display: block;
1044 | margin: -14px -3px;
1045 | padding: 2px;
1046 | }
1047 |
1048 | #schema .references {
1049 | position: absolute;
1050 | }
1051 |
1052 | #help {
1053 | position: absolute;
1054 | border: 1px solid #999;
1055 | background: #eee;
1056 | padding: 5px;
1057 | font-family: monospace;
1058 | z-index: 1;
1059 | }
1060 |
1061 | /* .rtl p,
1062 | .rtl table,
1063 | .rtl .error,
1064 | .rtl .message {
1065 | margin: 1em 20px 0 0;
1066 | } */
1067 | .rtl .pages {
1068 | left: auto;
1069 | right: 21em;
1070 | }
1071 |
1072 | .rtl input.wayoff {
1073 | left: auto;
1074 | right: -1000px;
1075 | }
1076 |
1077 | /* .rtl #lang,
1078 | .rtl #menu {
1079 | left: auto;
1080 | right: 0;
1081 | } */
1082 | @media all and (max-device-width: 880px) {
1083 | .pages {
1084 | left: auto;
1085 | }
1086 |
1087 | #menu {
1088 | position: static;
1089 | width: auto;
1090 | }
1091 |
1092 | #content {
1093 | margin-left: 10px;
1094 | }
1095 |
1096 | #lang {
1097 | position: static;
1098 | border-top: 1px solid #999;
1099 | }
1100 |
1101 | #breadcrumb {
1102 | left: auto;
1103 | }
1104 |
1105 | .rtl .pages {
1106 | right: auto;
1107 | }
1108 |
1109 | .rtl #content {
1110 | margin-right: 10px;
1111 | }
1112 |
1113 | .rtl #breadcrumb {
1114 | right: auto;
1115 | }
1116 | }
1117 |
1118 | @media print {
1119 | #lang,
1120 | #menu {
1121 | display: none;
1122 | }
1123 |
1124 | #content {
1125 | margin-left: 1em;
1126 | }
1127 |
1128 | #breadcrumb {
1129 | left: 1em;
1130 | }
1131 |
1132 | .nowrap td,
1133 | .nowrap th,
1134 | td.nowrap {
1135 | white-space: normal;
1136 | }
1137 | }
1138 |
1139 | .jush {
1140 | color: black;
1141 | }
1142 |
1143 | .jush-htm_com,
1144 | .jush-com,
1145 | .jush-com_code,
1146 | .jush-one,
1147 | .jush-php_doc,
1148 | .jush-php_com,
1149 | .jush-php_one,
1150 | .jush-js_one,
1151 | .jush-js_doc {
1152 | color: gray;
1153 | }
1154 |
1155 | .jush-php,
1156 | .jush-php_new,
1157 | .jush-php_fun {
1158 | color: #003;
1159 | background-color: #fff0f0;
1160 | }
1161 |
1162 | .jush-php_quo,
1163 | .jush-quo,
1164 | .jush-quo_one,
1165 | .jush-php_eot,
1166 | .jush-apo,
1167 | .jush-sql_apo,
1168 | .jush-sqlite_apo,
1169 | .jush-sql_quo,
1170 | .jush-sql_eot {
1171 | color: green;
1172 | }
1173 |
1174 | .jush-php_apo {
1175 | color: #009f00;
1176 | }
1177 |
1178 | .jush-php_quo_var,
1179 | .jush-php_var,
1180 | .jush-sql_var {
1181 | font-style: italic;
1182 | }
1183 |
1184 | .jush-php_apo .jush-php_quo_var,
1185 | .jush-php_apo .jush-php_var {
1186 | font-style: normal;
1187 | }
1188 |
1189 | .jush-php_halt2 {
1190 | background-color: white;
1191 | color: black;
1192 | }
1193 |
1194 | .jush-tag_css,
1195 | .jush-att_css .jush-att_quo,
1196 | .jush-att_css .jush-att_apo,
1197 | .jush-att_css .jush-att_val {
1198 | color: black;
1199 | background-color: #ffffe0;
1200 | }
1201 |
1202 | .jush-tag_js,
1203 | .jush-att_js .jush-att_quo,
1204 | .jush-att_js .jush-att_apo,
1205 | .jush-att_js .jush-att_val,
1206 | .jush-css_js {
1207 | color: black;
1208 | background-color: #f0f0ff;
1209 | }
1210 |
1211 | .jush-tag,
1212 | .jush-xml_tag {
1213 | color: navy;
1214 | }
1215 |
1216 | .jush-att,
1217 | .jush-xml_att,
1218 | .jush-att_js,
1219 | .jush-att_css,
1220 | .jush-att_http {
1221 | color: teal;
1222 | }
1223 |
1224 | .jush-att_quo,
1225 | .jush-att_apo,
1226 | .jush-att_val {
1227 | color: purple;
1228 | }
1229 |
1230 | .jush-ent {
1231 | color: purple;
1232 | }
1233 |
1234 | .jush-js_key,
1235 | .jush-js_key .jush-quo,
1236 | .jush-js_key .jush-apo {
1237 | color: purple;
1238 | }
1239 |
1240 | .jush-js_reg {
1241 | color: navy;
1242 | }
1243 |
1244 | .jush-php_sql .jush-php_quo,
1245 | .jush-php_sql .jush-php_apo,
1246 | .jush-php_sqlite .jush-php_quo,
1247 | .jush-php_sqlite .jush-php_apo,
1248 | .jush-php_pgsql .jush-php_quo,
1249 | .jush-php_pgsql .jush-php_apo,
1250 | .jush-php_mssql .jush-php_quo,
1251 | .jush-php_mssql .jush-php_apo,
1252 | .jush-php_oracle .jush-php_quo,
1253 | .jush-php_oracle .jush-php_apo {
1254 | background-color: #ffbbb0;
1255 | }
1256 |
1257 | .jush-bac,
1258 | .jush-php_bac,
1259 | .jush-bra,
1260 | .jush-mssql_bra,
1261 | .jush-sqlite_quo {
1262 | color: red;
1263 | }
1264 |
1265 | .jush-num,
1266 | .jush-clr {
1267 | color: #007f7f;
1268 | }
1269 |
1270 | .jush a {
1271 | color: navy;
1272 | }
1273 |
1274 | .jush a.jush-help {
1275 | cursor: help;
1276 | }
1277 |
1278 | .jush-sql a,
1279 | .jush-sql_code a,
1280 | .jush-sqlite a,
1281 | .jush-pgsql a,
1282 | .jush-mssql a,
1283 | .jush-oracle a,
1284 | .jush-simpledb a {
1285 | font-weight: bold;
1286 | }
1287 |
1288 | .jush-php_sql .jush-php_quo a,
1289 | .jush-php_sql .jush-php_apo a {
1290 | font-weight: normal;
1291 | }
1292 |
1293 | .jush-tag a,
1294 | .jush-att a,
1295 | .jush-apo a,
1296 | .jush-quo a,
1297 | .jush-php_apo a,
1298 | .jush-php_quo a,
1299 | .jush-php_eot2 a {
1300 | color: inherit;
1301 | color: expression(parentNode.currentStyle.color);
1302 | }
1303 |
1304 | a.jush-custom:link,
1305 | a.jush-custom:visited {
1306 | font-weight: normal;
1307 | color: inherit;
1308 | color: expression(parentNode.currentStyle.color);
1309 | }
1310 |
1311 | .jush p {
1312 | margin: 0;
1313 | }
1314 |
1315 | /*
1316 | ICONS
1317 | */
1318 | @font-face {
1319 | font-family: 'FontAwesome';
1320 | src: url('fonts/fontawesome-webfont.eot?#iefix&v=4.6.3') format('embedded-opentype'), url('fonts/fontawesome-webfont.woff2?v=4.6.3') format('woff2'), url('fonts/fontawesome-webfont.woff?v=4.6.3') format('woff'), url('fonts/fontawesome-webfont.ttf?v=4.6.3') format('truetype'), url('fonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular') format('svg');
1321 | font-weight: normal;
1322 | font-style: normal;
1323 | }
1324 |
1325 | #tables a:before,
1326 | .links a:before,
1327 | #scroller a:before {
1328 | position: relative;
1329 | top: 1px;
1330 | margin-right: 2px;
1331 | display: inline-block;
1332 | font-family: FontAwesome;
1333 | font-style: normal;
1334 | font-weight: normal;
1335 | line-height: 1;
1336 | font-size: 14px;
1337 | -webkit-font-smoothing: antialiased;
1338 | -moz-osx-font-smoothing: grayscale;
1339 | color: #333;
1340 | }
1341 |
1342 | .rtl #tables a:before,
1343 | .rtl .links a:before {
1344 | display: none;
1345 | }
1346 |
1347 | .rtl #tables a:after,
1348 | .rtl .links a:after {
1349 | position: relative;
1350 | top: 1px;
1351 | margin-right: 2px;
1352 | display: inline-block;
1353 | font-family: FontAwesome;
1354 | font-style: normal;
1355 | font-weight: normal;
1356 | line-height: 1;
1357 | font-size: 14px;
1358 | -webkit-font-smoothing: antialiased;
1359 | -moz-osx-font-smoothing: grayscale;
1360 | color: #333;
1361 | }
1362 |
1363 | #tables a[href*="&select="] {
1364 | font-size: 0
1365 | }
1366 |
1367 | #tables a[href*="&select="]:before,
1368 | .rtl #tables a[href*="&select="]:after {
1369 | /*content: "\f03a";*/
1370 | content: "\f0ce";
1371 | color: #337ab7;
1372 | }
1373 |
1374 | #tables a[href*="&table="]:before,
1375 | .rtl #tables a[href*="&table="]:after {
1376 | /*content: "\f0ce";*/
1377 | }
1378 |
1379 | .links a[href*="&sql="]:before {
1380 | content: "\f120";
1381 | }
1382 |
1383 | .links a[href*="&import="]:before {
1384 | content: "\f01a";
1385 | }
1386 |
1387 | .links a[href*="&dump="]:before {
1388 | content: "\f01b";
1389 | }
1390 |
1391 | .links a[href*="&create="]:before,
1392 | .links a[href*="&db="][href*="&database="]:before,
1393 | .links a[href*="&indexes="]:before {
1394 | content: "\f044";
1395 | }
1396 |
1397 | .links a[href$="&create="]:before,
1398 | .links a[href$="&database="]:before,
1399 | .links a[href$="&indexes="]:before {
1400 | content: "\f067";
1401 | }
1402 |
1403 | .links a[href*="&schema="]:before {
1404 | content: "\f00a";
1405 | }
1406 |
1407 | .links a#schema-link:before {
1408 | content: "\f0c1";
1409 | }
1410 |
1411 | .links a[href*="&privileges="]:before {
1412 | content: "\f0c0";
1413 | }
1414 |
1415 | .links a[href*="&view="]:before {
1416 | content: "\f06e";
1417 | }
1418 |
1419 | .links a[href*="&procedure="]:before,
1420 | .links a[href*="&function="]:before {
1421 | content: "\f0ad";
1422 | }
1423 |
1424 | .links a[href*="&event="]:before {
1425 | content: "\f01e";
1426 | }
1427 |
1428 | .links a[href*="&edit="]:before {
1429 | content: "\f055";
1430 | }
1431 |
1432 | .links a[href*="&table="]:before {
1433 | content: "\f085";
1434 | }
1435 |
1436 | .links a[href*="&select="]:before {
1437 | content: "\f03a";
1438 | }
1439 |
1440 | .links a[href*="&processlist="]:before {
1441 | content: "\f022";
1442 | }
1443 |
1444 | .links a[href*="&status="]:before {
1445 | content: "\f0ae";
1446 | }
1447 |
1448 | .links a[href*="&variables="]:before {
1449 | content: "\f155";
1450 | }
1451 |
1452 | .links a[href*="&user="]:before {
1453 | content: "\f007";
1454 | }
1455 |
1456 | .links a[href*="&replication="]:before {
1457 | content: "\f0c5";
1458 | }
1459 |
1460 | .links a[href*="&check="]:before,
1461 | .links a[href*="&foreign="]:before,
1462 | .links a[href*="&trigger="]:before {
1463 | content: "\f067";
1464 | }
1465 |
1466 | .js fieldset > .hidden {
1467 | display: block;
1468 | margin: 5px;
1469 | text-align: center;
1470 | }
1471 |
1472 | .js fieldset > .hidden:before {
1473 | position: relative;
1474 | top: 1px;
1475 | display: inline-block;
1476 | font-family: FontAwesome;
1477 | font-style: normal;
1478 | font-weight: normal;
1479 | line-height: 1;
1480 | -webkit-font-smoothing: antialiased;
1481 | -moz-osx-font-smoothing: grayscale;
1482 | color: #e2e2e2;
1483 | font-size: 24px;
1484 | margin-top: 1px;
1485 | }
1486 |
1487 | .js fieldset > .hidden * {
1488 | display: none !important;
1489 | }
1490 |
1491 | #fieldset-select.hidden:before {
1492 | content: "\f009";
1493 | }
1494 |
1495 | #fieldset-search.hidden:before {
1496 | content: "\f002";
1497 | }
1498 |
1499 | #fieldset-sort.hidden:before {
1500 | content: "\f160";
1501 | }
1502 |
1503 | #fieldset-export.hidden:before {
1504 | content: "\f01b";
1505 | }
1506 |
1507 | #fieldset-import.hidden:before {
1508 | content: "\f01a";
1509 | }
1510 |
1511 | #fieldset-history.hidden:before {
1512 | content: "\f1da";
1513 | }
1514 |
1515 | #fieldset-history br {
1516 | display: block;
1517 | margin-bottom: 20px
1518 | }
1519 |
1520 | #fieldset-history.hidden br {
1521 | display: none
1522 | }
1523 |
1524 | #fieldset-partition.hidden:before {
1525 | content: "\f065";
1526 | }
1527 |
1528 | #fieldset-select div + div,
1529 | #fieldset-search div + div,
1530 | #fieldset-sort div + div {
1531 | margin-top: 10px;
1532 | }
1533 |
1534 | /*a.json-icon::before {
1535 | display: inline-block;
1536 | width: 20px;
1537 | height: 18px;
1538 | line-height: 18px;
1539 | font-family: FontAwesome;
1540 | font-size: 14px;
1541 | vertical-align: -3px;
1542 | content: "\f120";
1543 | }*/
1544 | .json-icon {
1545 | margin: 5px 0;
1546 | }
1547 |
1548 | .json {
1549 | border-color: #cde;
1550 | border-left: 7px solid #cde;
1551 | background: #e8f0fa;
1552 | margin: 5px 0;
1553 | }
1554 |
1555 | .json th {
1556 | border-right-color: #cde;
1557 | }
1558 |
1559 | #scroller {
1560 | display: none;
1561 | background: #fff;
1562 | bottom: 20px;
1563 | right: 20px;
1564 | position: fixed;
1565 | z-index: 999;
1566 | border: 1px solid #ddd;
1567 | transition: all linear .2s;
1568 | opacity: .8;
1569 | border-radius: 4px;
1570 | }
1571 |
1572 | .rtl #scroller {
1573 | right: auto;
1574 | left: 20px;
1575 | }
1576 |
1577 | #scroller a {
1578 | display: block;
1579 | color: #333;
1580 | font-size: 20px;
1581 | padding: 6px 12px;
1582 | opacity: .8;
1583 | }
1584 |
1585 | #scroller a:hover {
1586 | background-color: #f5f5f5;
1587 | opacity: 1;
1588 | }
1589 |
1590 | #scroller a:first-child {
1591 | border-bottom: 1px solid #ddd;
1592 | }
1593 |
1594 | #scroller a:first-child:before {
1595 | content: "\f077";
1596 | }
1597 |
1598 | #scroller a:last-child:before {
1599 | content: "\f078";
1600 | }
1601 |
1602 | #toggle {
1603 | background: #fff;
1604 | border: 1px solid #ddd;
1605 | width: 20px;
1606 | display: inline-block;
1607 | margin-right: 20px;
1608 | text-align: center;
1609 | }
1610 |
1611 | .rtl #toggle {
1612 | margin-left: 20px;
1613 | margin-right: 0;
1614 | }
1615 |
1616 | #toggle:hover {
1617 | background: #e6e6e6;
1618 | border-color: #adadad;
1619 | }
1620 |
1621 | #toggle:before {
1622 | content: "\f0c9";
1623 | position: relative;
1624 | top: 1px;
1625 | display: inline-block;
1626 | font-family: FontAwesome;
1627 | font-style: normal;
1628 | font-weight: normal;
1629 | line-height: 1;
1630 | -webkit-font-smoothing: antialiased;
1631 | -moz-osx-font-smoothing: grayscale;
1632 | color: #333;
1633 | font-size: 14px;
1634 | margin-top: 1px;
1635 | padding: 2px;
1636 | }
1637 |
--------------------------------------------------------------------------------