BLOB streaming documentation
[phpmyadmin/crack.git] / themes / original / css / theme_left.css.php
blob44fdba737f4115a3ad508ca45e8b007b5e14123d
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * navigation css file from theme Original
6 * @version $Id$
7 * @package phpMyAdmin-theme
8 * @subpackage Original
9 */
11 // unplanned execution path
12 if (!defined('PMA_MINIMUM_COMMON')) {
13 exit();
16 /******************************************************************************/
17 /* general tags */
18 html {
19 font-size: <?php echo (null !== $_SESSION['PMA_Config']->get('fontsize') ? $_SESSION['PMA_Config']->get('fontsize') : $_COOKIE['pma_fontsize']); ?>;
22 input, select, textarea {
23 font-size: 1em;
26 body {
27 <?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
28 font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
29 <?php } ?>
30 background: <?php echo (isset($_SESSION['userconf']['custom_color']) ? $_SESSION['userconf']['custom_color'] : $GLOBALS['cfg']['NaviBackground']); ?>;
31 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
32 margin: 0;
33 padding: 0.2em 0.2em 0.2em 0.2em;
36 a img {
37 border: 0;
40 a:link,
41 a:visited,
42 a:active {
43 text-decoration: none;
44 color: #0000FF;
47 ul {
48 margin:0;
51 form {
52 margin: 0;
53 padding: 0;
54 display: inline;
57 select#select_server,
58 select#lightm_db {
59 width: 100%;
62 /* buttons in some browsers (eg. Konqueror) are block elements,
63 this breaks design */
64 button {
65 display: inline;
69 /******************************************************************************/
70 /* classes */
72 /* leave some space between icons and text */
73 .icon {
74 vertical-align: middle;
75 margin-right: 0.3em;
76 margin-left: 0.3em;
79 .navi_dbName {
80 font-weight: bold;
81 color: <?php echo $GLOBALS['cfg']['NaviDatabaseNameColor']; ?>;
84 /******************************************************************************/
85 /* specific elements */
87 div#pmalogo {
88 <?php //better echo $GLOBALS['cfg']['logoBGC']; ?>
89 background-color: <?php echo (isset($_SESSION['userconf']['custom_color']) ? $_SESSION['userconf']['custom_color'] : $GLOBALS['cfg']['NaviBackground']); ?>;
90 padding:.3em;
92 div#pmalogo,
93 div#leftframelinks,
94 div#databaseList {
95 text-align: center;
96 margin-bottom: 0.5em;
97 padding-bottom: 0.5em;
100 ul#databaseList {
101 margin-bottom: 0.5em;
102 padding-bottom: 0.5em;
103 padding-<?php echo $left; ?>: 1.5em;
106 ul#databaseList a {
107 display: block;
110 div#navidbpageselector a,
111 ul#databaseList a {
112 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
113 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
116 ul#databaseList a:hover {
117 background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
118 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
121 ul#databaseList li.selected a {
122 background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
123 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
126 div#leftframelinks .icon {
127 padding: 0;
128 margin: 0;
131 div#leftframelinks a img.icon {
132 margin: 0;
133 padding: 0.2em;
134 border: 0.05em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
137 div#leftframelinks a:hover {
138 background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
139 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
142 /* serverlist */
143 #body_leftFrame #list_server {
144 list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_host.png);
145 list-style-position: inside;
146 list-style-type: none;
147 margin: 0;
148 padding: 0;
151 #body_leftFrame #list_server li {
152 margin: 0;
153 padding: 0;
154 font-size: 80%;
157 div#left_tableList ul {
158 list-style-type: none;
159 list-style-position: outside;
160 margin: 0;
161 padding: 0;
162 font-size: 80%;
163 background: <?php echo (isset($_SESSION['userconf']['custom_color']) ? $_SESSION['userconf']['custom_color'] : $GLOBALS['cfg']['NaviBackground']); ?>;
166 div#left_tableList ul ul {
167 font-size: 100%;
170 div#left_tableList a {
171 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
172 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
173 text-decoration: none;
176 div#left_tableList a:hover {
177 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
178 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
179 text-decoration: underline;
182 div#left_tableList li {
183 margin: 0;
184 padding: 0;
185 white-space: nowrap;
188 <?php if ($GLOBALS['cfg']['BrowseMarkerColor']) { ?>
189 /* marked items */
190 div#left_tableList > ul li.marked > a,
191 div#left_tableList > ul li.marked {
192 background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
193 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
195 <?php } ?>
197 <?php if ($GLOBALS['cfg']['LeftPointerEnable']) { ?>
198 div#left_tableList > ul li:hover > a,
199 div#left_tableList > ul li:hover {
200 background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
201 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
203 <?php } ?>
205 div#left_tableList img {
206 padding: 0;
207 vertical-align: middle;
210 div#left_tableList ul ul {
211 margin-<?php echo $left; ?>: 0;
212 padding-<?php echo $left; ?>: 0.1em;
213 border-<?php echo $left; ?>: 0.1em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
214 padding-bottom: 0.1em;
215 border-bottom: 0.1em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
218 /* for the servers list in navi panel */
219 #serverinfo .item {
220 white-space: nowrap;
221 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
223 #serverinfo a:hover {
224 background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
225 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;