Merge branch 'QA_3_4'
[phpmyadmin-regexreplace.git] / themes / pmahomme / css / theme_left.css.php
blob467e70a255c4b80a3c07acf1eacccd5a842162ea
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * navigation css file from theme Original
6 * @package phpMyAdmin-theme
7 * @subpackage pmahomme
8 */
10 // unplanned execution path
11 if (!defined('PMA_MINIMUM_COMMON')) {
12 exit();
15 function PMA_ieFilter($start_color, $end_color)
17 return PMA_USR_BROWSER_AGENT == 'IE' && PMA_USR_BROWSER_VER >= 6 && PMA_USR_BROWSER_VER <= 8
18 ? 'filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="' . $start_color . '", endColorstr="' . $end_color . '");'
19 : '';
22 /******************************************************************************/
23 /* general tags */
24 html {
25 font-size: <?php echo (null !== $GLOBALS['PMA_Config']->get('fontsize') ? $GLOBALS['PMA_Config']->get('fontsize') : $_COOKIE['pma_fontsize']); ?>;
28 input, select, textarea {
29 font-size: 1em;
32 body {
33 <?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
34 font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
35 <?php } ?>
36 background: url(./themes/pmahomme/img/left_nav_bg.png) repeat-y right 0% #f3f3f3;
37 border-right: 1px solid #aaa;
38 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
39 margin: 0;
40 padding: 0;
43 a img {
44 border: 0;
47 a:link,
48 a:visited,
49 a:active {
50 text-decoration: none;
51 color: #0000FF;
54 ul {
55 margin:0;
58 form {
59 margin: 0;
60 padding: 0;
61 display: inline;
64 select#select_server,
65 select#lightm_db {
66 width: 100%;
69 /* buttons in some browsers (eg. Konqueror) are block elements,
70 this breaks design */
71 button {
72 display: inline;
76 /******************************************************************************/
77 /* classes */
79 /* leave some space between icons and text */
80 .icon {
81 vertical-align: middle;
82 margin-right: 0.3em;
83 margin-left: 0.3em;
86 .navi_dbName {
87 font-weight: bold;
88 color: <?php echo $GLOBALS['cfg']['NaviDatabaseNameColor']; ?>;
91 /******************************************************************************/
92 /* specific elements */
94 div#pmalogo {
95 <?php //better echo $GLOBALS['cfg']['logoBGC']; ?>
97 div#pmalogo,
98 div#leftframelinks,
99 div#databaseList {
100 text-align: center;
101 margin: 20px 10px 0px 10px;
104 ul#databaseList {
105 margin: 0.8em 0px;
106 padding-bottom: 0.5em;
107 padding-<?php echo $left; ?>: 0.3em;
108 font-style: italic;
111 ul#databaseList span {
112 padding: 5px;
115 ul#databaseList a {
116 display: block;
117 padding:5px;
118 font-style: normal;
121 div#navidbpageselector a,
122 ul#databaseList a {
123 background:url(./themes/pmahomme/img/database.png) no-repeat 0% 50% transparent;
124 color: #333;
127 ul#databaseList ul {
128 margin:0px;
129 padding:0px;
131 ul#databaseList li{ list-style:none;text-indent:20px; margin:0px;
132 padding:0px;}
134 ul#databaseList a:hover {
135 background:url(./themes/pmahomme/img/database.png) no-repeat 0% 50% #e4e4e4;
138 ul#databaseList li.selected a {
139 background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
140 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
143 div#leftframelinks .icon {
144 padding: 0;
145 margin: 0;
148 div#reloadlink a img,
149 div#leftframelinks a img.icon {
150 margin: 10px 2px 0 0;
151 padding: 0.2em;
152 border: 0px;
155 div#leftframelinks a:hover img {
159 /* serverlist */
160 #body_leftFrame #list_server {
161 list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_host.png);
162 list-style-position: inside;
163 list-style-type: none;
164 margin: 0;
165 padding: 0;
168 #body_leftFrame #list_server li {
169 margin: 0;
170 padding: 0;
173 div#left_tableList {margin:10px 10px 0 10px;}
174 div#left_tableList ul {
175 list-style-type: none;
176 list-style-position: outside;
177 margin: 0;
178 padding: 0;
181 div#left_tableList ul ul {
182 font-size: 100%;
185 div#left_tableList a {
186 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
187 text-decoration: none;
190 div#left_tableList a:hover {
191 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
192 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
193 text-decoration: underline;
196 div#left_tableList li {
197 margin: 0;
198 padding: 2px 0;
199 white-space: nowrap;
202 #newtable {
203 margin-top: 15px !important;
206 #newtable a {
207 display: block;
208 padding: 1px;
209 background-image: url(./themes/svg_gradient.php?from=ffffff&to=cccccc);
210 background-size: 100% 100%;
211 background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc));
212 background: -moz-linear-gradient(top, #ffffff, #cccccc);
213 background: -o-linear-gradient(top, #ffffff, #cccccc);
214 <?php echo PMA_ieFilter('#ffffff', '#cccccc'); ?>
215 border: 1px solid #aaa;
216 -moz-border-radius: 20px;
217 -webkit-border-radius: 20px;
218 border-radius: 20px;
221 #newtable li:hover {
222 background: transparent !important;
225 #newtable a:hover {
226 background-image: url(./themes/svg_gradient.php?from=cccccc&to=dddddd);
227 background-size: 100% 100%;
228 background: -webkit-gradient(linear, left top, left bottom, from(#cccccc), to(#dddddd)) !important;
229 background: -moz-linear-gradient(top, #cccccc, #dddddd) !important;
230 background: -o-linear-gradient(top, #cccccc, #dddddd) !important;
231 <?php echo PMA_ieFilter('#cccccc', '#dddddd'); ?>
234 #newtable li a:hover {
235 text-decoration: none;
238 select{
239 -moz-border-radius:2px 2px 2px 2px;
240 -moz-box-shadow:0 1px 2px #DDDDDD;
241 border:1px solid #aaa;
242 color:#333333;
243 padding:3px;
244 background:url(./themes/pmahomme/img/input_bg.gif);
247 <?php if ($GLOBALS['cfg']['BrowseMarkerColor']) { ?>
248 /* marked items */
249 div#left_tableList > ul li.marked > a,
250 div#left_tableList > ul li.marked {
251 background: #e4e4e4;
252 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
254 <?php } ?>
256 <?php if ($GLOBALS['cfg']['LeftPointerEnable']) { ?>
257 div#left_tableList > ul li:hover > a,
258 div#left_tableList > ul li:hover {
259 background: #e4e4e4;
260 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
262 <?php } ?>
264 div#left_tableList img {
265 padding: 0;
266 vertical-align: middle;
269 div#left_tableList ul ul {
270 margin-<?php echo $left; ?>: 0;
271 padding-<?php echo $left; ?>: 0.1em;
272 border-<?php echo $left; ?>: 0.1em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
273 padding-bottom: 0.1em;
274 border-bottom: 0.1em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
277 /* for the servers list in navi panel */
278 #serverinfo .item {
279 white-space: nowrap;
280 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
282 #serverinfo a:hover {
283 background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
284 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
286 #reloadlink {
287 clear: both;
288 float: <?php echo $right; ?>;
289 display: block;
290 padding: 1em;
293 #NavFilter {
294 display: none;
297 #clear_fast_filter {
298 background: white;
299 color: black;
300 cursor: pointer;
301 padding: 0;
302 margin: 0;
303 position: relative;
304 right: 3ex;
307 #fast_filter {
308 width: 85%;
309 padding: 0.1em;