Merge remote-tracking branch 'pootle/master'
[phpmyadmin-regexreplace.git] / themes / pmahomme / css / theme_left.css.php
blob5733cb0208ba46dc9b103827d1c78a03b30969a6
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 /******************************************************************************/
16 /* general tags */
17 html {
18 font-size: <?php echo (null !== $GLOBALS['PMA_Config']->get('fontsize') ? $GLOBALS['PMA_Config']->get('fontsize') : $_COOKIE['pma_fontsize']); ?>;
21 input, select, textarea {
22 font-size: 1em;
25 body {
26 <?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
27 font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
28 <?php } ?>
29 background: url(./themes/pmahomme/img/left_nav_bg.png) repeat-y right 0% #f3f3f3;
30 border-right: 1px solid #aaa;
31 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
32 margin: 0;
33 padding: 0;
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']; ?>
90 div#pmalogo,
91 div#leftframelinks,
92 div#databaseList {
93 text-align: center;
94 margin: 20px 10px 0px 10px;
97 ul#databaseList {
98 margin: 0.8em 0px;
99 padding-bottom: 0.5em;
100 padding-<?php echo $left; ?>: 0.3em;
101 font-style: italic;
104 ul#databaseList span {
105 padding: 5px;
108 ul#databaseList a {
109 display: block;
110 padding:5px;
111 font-style: normal;
114 div#navidbpageselector a,
115 ul#databaseList a {
116 background:url(./themes/pmahomme/img/database.png) no-repeat 0% 50% transparent;
117 color: #333;
120 ul#databaseList ul {
121 margin:0px;
122 padding:0px;
124 ul#databaseList li{ list-style:none;text-indent:20px; margin:0px;
125 padding:0px;}
127 ul#databaseList a:hover {
128 background:url(./themes/pmahomme/img/database.png) no-repeat 0% 50% #e4e4e4;
131 ul#databaseList li.selected a {
132 background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
133 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
136 div#leftframelinks .icon {
137 padding: 0;
138 margin: 0;
141 div#reloadlink a img,
142 div#leftframelinks a img.icon {
143 margin: 10px 2px 0 0;
144 padding: 0.2em;
145 border: 0px;
148 div#leftframelinks a:hover img {
152 /* serverlist */
153 #body_leftFrame #list_server {
154 list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_host.png);
155 list-style-position: inside;
156 list-style-type: none;
157 margin: 0;
158 padding: 0;
161 #body_leftFrame #list_server li {
162 margin: 0;
163 padding: 0;
166 div#left_tableList {margin:0px 10px;}
167 div#left_tableList ul {
168 list-style-type: none;
169 list-style-position: outside;
170 margin: 0;
171 padding: 0;
174 div#left_tableList ul ul {
175 font-size: 100%;
178 div#left_tableList a {
179 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
180 text-decoration: none;
183 div#left_tableList a:hover {
184 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
185 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
186 text-decoration: underline;
189 div#left_tableList li {
190 margin: 0;
191 padding: 5px 0;
192 white-space: nowrap;
195 select{
196 -moz-border-radius:2px 2px 2px 2px;
197 -moz-box-shadow:0 1px 2px #DDDDDD;
198 border:1px solid #aaa;
199 color:#333333;
200 padding:3px;
201 background:url(./themes/pmahomme/img/input_bg.gif);
204 <?php if ($GLOBALS['cfg']['BrowseMarkerColor']) { ?>
205 /* marked items */
206 div#left_tableList > ul li.marked > a,
207 div#left_tableList > ul li.marked {
208 background: #e4e4e4;
209 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
211 <?php } ?>
213 <?php if ($GLOBALS['cfg']['LeftPointerEnable']) { ?>
214 div#left_tableList > ul li:hover > a,
215 div#left_tableList > ul li:hover {
216 background: #e4e4e4;
217 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
219 <?php } ?>
221 div#left_tableList img {
222 padding: 0;
223 vertical-align: middle;
226 div#left_tableList ul ul {
227 margin-<?php echo $left; ?>: 0;
228 padding-<?php echo $left; ?>: 0.1em;
229 border-<?php echo $left; ?>: 0.1em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
230 padding-bottom: 0.1em;
231 border-bottom: 0.1em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
234 /* for the servers list in navi panel */
235 #serverinfo .item {
236 white-space: nowrap;
237 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
239 #serverinfo a:hover {
240 background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
241 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
243 #reloadlink {
244 clear: both;
245 float: <?php echo $right; ?>;
246 display: block;
247 padding: 1em;
250 #NavFilter {
251 display: none;
254 #clear_fast_filter {
255 background: white;
256 color: black;
257 cursor: pointer;
258 padding: 0;
259 margin: 0;
260 position: relative;
261 right: 3ex;
264 #fast_filter {
265 width: 85%;
266 padding: 0.1em;