Merge branch 'toba'
16
toba/README
Normal file
@@ -0,0 +1,16 @@
|
||||
Toba - themes for phpMyAdmin
|
||||
http://github.com/back2arie/Toba
|
||||
|
||||
Tested on phpMyAdmin 3.4.0-beta2
|
||||
|
||||
Tested browser:
|
||||
- Mozilla Firefox 3.6.13
|
||||
- Google Chrome 8.0.552.237
|
||||
- Safari 5.0.2
|
||||
|
||||
|
||||
TODO
|
||||
- check all element
|
||||
- check jquery component
|
||||
- clean css
|
||||
- ...
|
297
toba/css/theme_left.css.php
Normal file
@@ -0,0 +1,297 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* navigation css file from theme Original
|
||||
*
|
||||
* @package phpMyAdmin-theme
|
||||
* @subpackage Original
|
||||
*/
|
||||
|
||||
// unplanned execution path
|
||||
if (!defined('PMA_MINIMUM_COMMON')) {
|
||||
exit();
|
||||
}
|
||||
?>
|
||||
/******************************************************************************/
|
||||
/* general tags */
|
||||
html {
|
||||
font-size: <?php echo (null !== $GLOBALS['PMA_Config']->get('fontsize') ? $GLOBALS['PMA_Config']->get('fontsize') : (
|
||||
isset($_COOKIE['pma_fontsize']) ? $_COOKIE['pma_fontsize'] : '82%'));?>;
|
||||
}
|
||||
|
||||
input, select, textarea {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
body {
|
||||
<?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
|
||||
font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
|
||||
<?php } ?>
|
||||
background: <?php echo (isset($_SESSION['tmp_user_values']['custom_color']) ? $_SESSION['tmp_user_values']['custom_color'] : $GLOBALS['cfg']['NaviBackground']); ?>;
|
||||
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
a img {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
a:link,
|
||||
a:visited,
|
||||
a:active {
|
||||
text-decoration: none;
|
||||
color: <?php echo $GLOBALS['cfg']['NaviDatabaseNameColor'];?>;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin:0;
|
||||
}
|
||||
|
||||
form {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
select#select_server,
|
||||
select#lightm_db {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* buttons in some browsers (eg. Konqueror) are block elements,
|
||||
this breaks design */
|
||||
button {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
|
||||
/******************************************************************************/
|
||||
/* classes */
|
||||
|
||||
/* leave some space between icons and text */
|
||||
.icon {
|
||||
vertical-align: middle;
|
||||
margin-right: 0.3em;
|
||||
margin-left: 0.3em;
|
||||
}
|
||||
|
||||
.navi_dbName {
|
||||
font-weight: bold;
|
||||
color: <?php echo $GLOBALS['cfg']['NaviDatabaseNameColor']; ?>;
|
||||
}
|
||||
|
||||
/******************************************************************************/
|
||||
/* specific elements */
|
||||
|
||||
div#pmalogo {
|
||||
<?php //better echo $GLOBALS['cfg']['logoBGC']; ?>
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
div#leftframelinks {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
div#pmalogo,
|
||||
div#leftframelinks,
|
||||
div#databaseList {
|
||||
padding-bottom: 8px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
ul#databaseList {
|
||||
margin-bottom: 0.5em;
|
||||
padding-bottom: 0.5em;
|
||||
padding-<?php echo $left; ?>: 1.5em;
|
||||
margin-left: 0;
|
||||
padding-left: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
ul#databaseList a {
|
||||
display: block;
|
||||
font-style: normal;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
div#navidbpageselector a,
|
||||
ul#databaseList a,
|
||||
ul#databaseList a:hover {
|
||||
background: url(./themes/original/img/s_tbl.png) no-repeat;
|
||||
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
|
||||
}
|
||||
|
||||
div#navidbpageselector a,
|
||||
ul#databaseList a {
|
||||
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
|
||||
}
|
||||
|
||||
ul#databaseList a:hover {
|
||||
background: url(./themes/original/img/s_tbl.png) no-repeat <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
|
||||
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
|
||||
}
|
||||
|
||||
ul#databaseList ul {
|
||||
padding-left: 1em;
|
||||
padding-right: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
ul#databaseList li ul li {
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
ul#databaseList li.selected a {
|
||||
background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
|
||||
color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
|
||||
}
|
||||
|
||||
ul#databaseList li {
|
||||
background: url(./themes/original/img/s_tbl.png) no-repeat;
|
||||
text-indent: 18px;
|
||||
margin-top: 0;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
ul#databaseList li a {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
|
||||
div#leftframelinks .icon {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
div#leftframelinks a img.icon {
|
||||
margin: 0;
|
||||
padding: 0.2em;
|
||||
border: 0.1em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
|
||||
background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
|
||||
}
|
||||
|
||||
/* serverlist */
|
||||
#body_leftFrame #list_server {
|
||||
list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_host.png);
|
||||
list-style-position: inside;
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#body_leftFrame #list_server li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
/*font-size: 80%;*/
|
||||
}
|
||||
|
||||
#body_leftFrame {
|
||||
background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>logo_right.png);
|
||||
background-position: <?php echo $right; ?> bottom;
|
||||
background-repeat: no-repeat;
|
||||
background-attachment:fixed;
|
||||
}
|
||||
|
||||
div#left_tableList ul {
|
||||
list-style-type: none;
|
||||
list-style-position: outside;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
/*font-size: 80%;*/
|
||||
background: <?php echo (isset($_SESSION['tmp_user_values']['custom_color']) ? $_SESSION['tmp_user_values']['custom_color'] : $GLOBALS['cfg']['NaviBackground']); ?>;
|
||||
}
|
||||
|
||||
div#left_tableList ul ul {
|
||||
/*font-size: 100%;*/
|
||||
}
|
||||
|
||||
div#left_tableList a {
|
||||
background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
|
||||
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
div#left_tableList a:hover {
|
||||
background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
|
||||
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
div#left_tableList li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
<?php if ($GLOBALS['cfg']['BrowseMarkerColor']) { ?>
|
||||
/* marked items */
|
||||
div#left_tableList > ul li.marked > a,
|
||||
div#left_tableList > ul li.marked {
|
||||
background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
|
||||
color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
|
||||
}
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($GLOBALS['cfg']['LeftPointerEnable']) { ?>
|
||||
div#left_tableList > ul li:hover > a,
|
||||
div#left_tableList > ul li:hover {
|
||||
background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
|
||||
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
|
||||
}
|
||||
<?php } ?>
|
||||
|
||||
div#left_tableList img {
|
||||
padding: 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
div#left_tableList ul ul {
|
||||
margin-<?php echo $left; ?>: 0;
|
||||
padding-<?php echo $left; ?>: 0.1em;
|
||||
border-<?php echo $left; ?>: 0.1em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
|
||||
padding-bottom: 0.1em;
|
||||
border-bottom: 0.1em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
|
||||
}
|
||||
|
||||
/* for the servers list in navi panel */
|
||||
#serverinfo .item {
|
||||
white-space: nowrap;
|
||||
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
|
||||
}
|
||||
#serverinfo a:hover {
|
||||
background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
|
||||
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
|
||||
}
|
||||
|
||||
#NavFilter {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#NavFilter input {
|
||||
padding: 2px 0;
|
||||
margin: 3px 0;
|
||||
}
|
||||
|
||||
#clear_fast_filter {
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
margin: 6px 5px 0 -23px;
|
||||
position: relative;
|
||||
float: right;
|
||||
}
|
||||
|
||||
#fast_filter {
|
||||
width: 100%;
|
||||
padding:2px 0px;
|
||||
margin:0;
|
||||
border:0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
ul#newtable li {
|
||||
margin-top: 15px;
|
||||
}
|
38
toba/css/theme_print.css.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* print css file from theme Original
|
||||
*
|
||||
* @package phpMyAdmin-theme
|
||||
* @subpackage Original
|
||||
*/
|
||||
?>
|
||||
/* For printview */
|
||||
body, table, th, td {
|
||||
color: #000000;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
table, th, td {
|
||||
border-width: 0.1em;
|
||||
border-color: #000000;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
th, td {
|
||||
padding: 0.2em;
|
||||
}
|
||||
|
||||
th {
|
||||
font-weight: bold;
|
||||
background-color: #e5e5e5;
|
||||
}
|
1853
toba/css/theme_right.css.php
Normal file
BIN
toba/img/ajax_clock_small.gif
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
toba/img/arrow_ltr.png
Normal file
After Width: | Height: | Size: 277 B |
BIN
toba/img/arrow_rtl.png
Normal file
After Width: | Height: | Size: 278 B |
BIN
toba/img/asc_order.png
Normal file
After Width: | Height: | Size: 124 B |
BIN
toba/img/b_bookmark.png
Normal file
After Width: | Height: | Size: 372 B |
BIN
toba/img/b_browse.png
Normal file
After Width: | Height: | Size: 265 B |
BIN
toba/img/b_calendar.png
Normal file
After Width: | Height: | Size: 308 B |
BIN
toba/img/b_chart.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
toba/img/b_comment.png
Normal file
After Width: | Height: | Size: 552 B |
BIN
toba/img/b_dbstatistics.png
Normal file
After Width: | Height: | Size: 263 B |
BIN
toba/img/b_deltbl.png
Normal file
After Width: | Height: | Size: 364 B |
BIN
toba/img/b_docs.png
Normal file
After Width: | Height: | Size: 292 B |
BIN
toba/img/b_docsql.png
Normal file
After Width: | Height: | Size: 283 B |
BIN
toba/img/b_drop.png
Normal file
After Width: | Height: | Size: 311 B |
BIN
toba/img/b_edit.png
Normal file
After Width: | Height: | Size: 451 B |
BIN
toba/img/b_empty.png
Normal file
After Width: | Height: | Size: 298 B |
BIN
toba/img/b_engine.png
Normal file
After Width: | Height: | Size: 362 B |
BIN
toba/img/b_export.png
Normal file
After Width: | Height: | Size: 313 B |
BIN
toba/img/b_firstpage.png
Normal file
After Width: | Height: | Size: 238 B |
BIN
toba/img/b_ftext.png
Normal file
After Width: | Height: | Size: 277 B |
BIN
toba/img/b_help.png
Normal file
After Width: | Height: | Size: 229 B |
BIN
toba/img/b_home.png
Normal file
After Width: | Height: | Size: 370 B |
BIN
toba/img/b_import.png
Normal file
After Width: | Height: | Size: 310 B |
BIN
toba/img/b_index.png
Normal file
After Width: | Height: | Size: 315 B |
BIN
toba/img/b_info.png
Normal file
After Width: | Height: | Size: 234 B |
BIN
toba/img/b_inline_edit.png
Normal file
After Width: | Height: | Size: 374 B |
BIN
toba/img/b_insrow.png
Normal file
After Width: | Height: | Size: 283 B |
BIN
toba/img/b_lastpage.png
Normal file
After Width: | Height: | Size: 236 B |
BIN
toba/img/b_minus.png
Normal file
After Width: | Height: | Size: 183 B |
BIN
toba/img/b_more.png
Normal file
After Width: | Height: | Size: 1005 B |
BIN
toba/img/b_newdb.png
Normal file
After Width: | Height: | Size: 408 B |
BIN
toba/img/b_newtbl.png
Normal file
After Width: | Height: | Size: 409 B |
BIN
toba/img/b_nextpage.png
Normal file
After Width: | Height: | Size: 221 B |
BIN
toba/img/b_pdfdoc.png
Normal file
After Width: | Height: | Size: 298 B |
BIN
toba/img/b_plus.png
Normal file
After Width: | Height: | Size: 185 B |
BIN
toba/img/b_prevpage.png
Normal file
After Width: | Height: | Size: 225 B |
BIN
toba/img/b_primary.png
Normal file
After Width: | Height: | Size: 416 B |
BIN
toba/img/b_print.png
Normal file
After Width: | Height: | Size: 574 B |
BIN
toba/img/b_props.png
Normal file
After Width: | Height: | Size: 294 B |
BIN
toba/img/b_relations.png
Normal file
After Width: | Height: | Size: 280 B |
BIN
toba/img/b_save.png
Normal file
After Width: | Height: | Size: 385 B |
BIN
toba/img/b_sbrowse.png
Normal file
After Width: | Height: | Size: 197 B |
BIN
toba/img/b_sdb.png
Normal file
After Width: | Height: | Size: 232 B |
BIN
toba/img/b_search.png
Normal file
After Width: | Height: | Size: 605 B |
BIN
toba/img/b_selboard.png
Normal file
After Width: | Height: | Size: 274 B |
BIN
toba/img/b_select.png
Normal file
After Width: | Height: | Size: 540 B |
BIN
toba/img/b_snewtbl.png
Normal file
After Width: | Height: | Size: 272 B |
BIN
toba/img/b_sql.png
Normal file
After Width: | Height: | Size: 322 B |
BIN
toba/img/b_sqldoc.png
Normal file
After Width: | Height: | Size: 290 B |
BIN
toba/img/b_sqlhelp.png
Normal file
After Width: | Height: | Size: 287 B |
BIN
toba/img/b_tblanalyse.png
Normal file
After Width: | Height: | Size: 296 B |
BIN
toba/img/b_tblexport.png
Normal file
After Width: | Height: | Size: 283 B |
BIN
toba/img/b_tblimport.png
Normal file
After Width: | Height: | Size: 280 B |
BIN
toba/img/b_tblops.png
Normal file
After Width: | Height: | Size: 345 B |
BIN
toba/img/b_tbloptimize.png
Normal file
After Width: | Height: | Size: 300 B |
BIN
toba/img/b_tipp.png
Normal file
After Width: | Height: | Size: 308 B |
BIN
toba/img/b_unique.png
Normal file
After Width: | Height: | Size: 281 B |
BIN
toba/img/b_usradd.png
Normal file
After Width: | Height: | Size: 523 B |
BIN
toba/img/b_usrcheck.png
Normal file
After Width: | Height: | Size: 400 B |
BIN
toba/img/b_usrdrop.png
Normal file
After Width: | Height: | Size: 438 B |
BIN
toba/img/b_usredit.png
Normal file
After Width: | Height: | Size: 493 B |
BIN
toba/img/b_usrlist.png
Normal file
After Width: | Height: | Size: 401 B |
BIN
toba/img/b_view.png
Normal file
After Width: | Height: | Size: 885 B |
BIN
toba/img/b_views.png
Normal file
After Width: | Height: | Size: 477 B |
BIN
toba/img/bd_browse.png
Normal file
After Width: | Height: | Size: 265 B |
BIN
toba/img/bd_deltbl.png
Normal file
After Width: | Height: | Size: 424 B |
BIN
toba/img/bd_drop.png
Normal file
After Width: | Height: | Size: 337 B |
BIN
toba/img/bd_empty.png
Normal file
After Width: | Height: | Size: 298 B |
BIN
toba/img/bd_firstpage.png
Normal file
After Width: | Height: | Size: 238 B |
BIN
toba/img/bd_ftext.png
Normal file
After Width: | Height: | Size: 277 B |
BIN
toba/img/bd_index.png
Normal file
After Width: | Height: | Size: 315 B |
BIN
toba/img/bd_insrow.png
Normal file
After Width: | Height: | Size: 347 B |
BIN
toba/img/bd_lastpage.png
Normal file
After Width: | Height: | Size: 236 B |
BIN
toba/img/bd_nextpage.png
Normal file
After Width: | Height: | Size: 221 B |
BIN
toba/img/bd_prevpage.png
Normal file
After Width: | Height: | Size: 225 B |
BIN
toba/img/bd_primary.png
Normal file
After Width: | Height: | Size: 389 B |
BIN
toba/img/bd_sbrowse.png
Normal file
After Width: | Height: | Size: 197 B |
BIN
toba/img/bd_select.png
Normal file
After Width: | Height: | Size: 524 B |
BIN
toba/img/bd_unique.png
Normal file
After Width: | Height: | Size: 287 B |
BIN
toba/img/docs_menu_bg.png
Normal file
After Width: | Height: | Size: 148 B |
BIN
toba/img/error.ico
Normal file
After Width: | Height: | Size: 318 B |
BIN
toba/img/eye.png
Normal file
After Width: | Height: | Size: 750 B |
BIN
toba/img/eye_grey.png
Normal file
After Width: | Height: | Size: 550 B |
BIN
toba/img/item.png
Normal file
After Width: | Height: | Size: 206 B |
BIN
toba/img/item_ltr.png
Normal file
After Width: | Height: | Size: 173 B |
BIN
toba/img/item_rtl.png
Normal file
After Width: | Height: | Size: 173 B |
BIN
toba/img/logo_left.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
toba/img/logo_right.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
toba/img/more.png
Normal file
After Width: | Height: | Size: 553 B |
BIN
toba/img/new_data.jpg
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
toba/img/new_data_hovered.jpg
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
toba/img/new_data_selected.jpg
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
toba/img/new_data_selected_hovered.jpg
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
toba/img/new_struct.jpg
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
toba/img/new_struct_hovered.jpg
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
toba/img/new_struct_selected.jpg
Normal file
After Width: | Height: | Size: 1.4 KiB |