in SESSION, userconf renamed to tmp_user_values to avoid confusion with the future...
[phpmyadmin-themes.git] / paradice / css / theme_left.css.php
blobf47e7198307b228112de7a0c9eee679c5c62cef7
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * navigation css file from theme Paradice
6 * @version $Id$
7 * @package phpMyAdmin-theme
8 * @subpackage Paradice
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 font-size: 0.8em;
31 background: <?php echo (isset($_SESSION['tmp_user_values']['custom_color']) ? $_SESSION['tmp_user_values']['custom_color'] : $GLOBALS['cfg']['NaviBackground']); ?>;
32 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
33 margin: 0;
34 padding: 0.2em 0.2em 0.2em 0.2em;
35 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>leftBgnd.png);
36 background-position:left top;
37 background-repeat: repeat-y;
40 a img {
41 border: 0;
44 a:link,
45 a:visited,
46 a:active {
47 text-decoration: none;
50 ul {
51 margin:0;
54 form {
55 margin: 0;
56 padding: 0;
57 display: inline;
60 select#select_server,
61 select#lightm_db {
62 width: 100%;
63 margin-top: 3px;
66 #databaseList label {
67 width: 100%;
68 font-weight: bold;
69 text-align: left;
70 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_db.png);
71 background-position:left top;
72 background-repeat: no-repeat;
73 padding-left: 16px;
74 padding-bottom: 3px;
77 select {
78 background-color: #ffffff;
79 color: #000000;
80 width: 100%;
81 border: 1px solid #3674CF;
84 /* buttons in some browsers (eg. Konqueror) are block elements,
85 this breaks design */
86 button {
87 display: inline;
91 /******************************************************************************/
92 /* classes */
94 /* leave some space between icons and text */
95 .icon {
96 vertical-align: middle;
97 margin-right: 0.3em;
98 margin-left: 0.3em;
101 .navi_dbName {
102 font-weight: bold;
103 color: <?php echo $GLOBALS['cfg']['NaviDatabaseNameColor']; ?>;
106 /******************************************************************************/
107 /* specific elements */
109 div#pmalogo {
110 <?php //better echo $GLOBALS['cfg']['logoBGC']; ?>
111 background-color: <?php echo (isset($_SESSION['tmp_user_values']['custom_color']) ? $_SESSION['tmp_user_values']['custom_color'] : $GLOBALS['cfg']['NaviBackground']); ?>;
112 padding:.3em;
114 div#pmalogo,
115 div#leftframelinks,
116 div#databaseList {
117 border-bottom: 1px solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
118 margin-bottom: 0.5em;
119 padding-bottom: 0.5em;
122 div#pmalogo, div#leftframelinks { text-align: center; }
123 div#databaseList { text-align: left; }
125 ul#databaseList {
126 border-bottom: 1px solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
127 margin-bottom: 0.5em;
128 padding-bottom: 2em;
129 padding-left: 1.5em;
130 list-style-type: none;
131 list-style-position:outside;
132 list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/paradice/img/dbitem_ltr.png);
135 ul#databaseList ul {
136 list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/paradice/img/dbitem_ltr2.png);
137 padding-left: 18px;
140 ul#databaseList li {
141 padding-bottom: 0;
144 ul#databaseList a {
145 display: block;
148 div#navidbpageselector a,
149 ul#databaseList a {
150 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
153 ul#databaseList a:hover {
154 background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
155 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
158 ul#databaseList li.selected a {
159 background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
160 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
163 div#leftframelinks .icon {
164 padding: 0;
165 margin: 0;
168 div#leftframelinks a img.icon {
169 margin: 0.2em;
170 padding: 0;
171 border: 0;
174 div#leftframelinks a:hover {
175 background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
176 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
179 /* serverlist */
180 #body_leftFrame #list_server {
181 list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_host.png);
182 list-style-position: inside;
183 list-style-type: none;
184 margin: 0;
185 padding: 0;
188 #body_leftFrame #list_server li {
189 margin: 0;
190 padding: 0;
191 font-size: 80%;
194 /* leftdatabaselist */
195 div#left_tableList {
196 background: transparent !important;
198 div#left_tableList ul {
199 list-style-type: none;
200 list-style-position: outside;
201 list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/paradice/img/bd_sbrowse.png);
202 margin: 0;
203 padding: 0;
206 div#left_tableList ul ul {
207 font-size: 100%;
210 div#left_tableList a {
211 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
212 text-decoration: none;
215 div#left_tableList a:hover {
216 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
217 text-decoration: underline;
220 div#left_tableList li {
221 margin: 0;
222 padding: 0;
223 white-space: nowrap;
226 <?php if ($GLOBALS['cfg']['BrowseMarkerColor']) { ?>
227 /* marked items */
228 div#left_tableList > ul li.marked > a,
229 div#left_tableList > ul li.marked {
230 background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
231 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
233 <?php } ?>
235 <?php if ($GLOBALS['cfg']['LeftPointerEnable']) { ?>
236 div#left_tableList > ul li:hover > a,
237 div#left_tableList > ul li:hover {
238 background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
239 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
241 <?php } ?>
243 div#left_tableList img {
244 padding: 0;
245 vertical-align: middle;
248 div#left_tableList ul ul {
249 margin-left: 0;
250 padding-left: 0.1em;
251 border-left: 0.1em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
252 padding-bottom: 0.1em;
253 border-bottom: 0.1em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
256 /* for the servers list in navi panel */
257 #serverinfo .item {
258 white-space: nowrap;
259 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
261 #serverinfo a:hover {
262 background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
263 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;