Increase theme version
[phpmyadmin-themes.git] / hillside / css / theme_left.css.php
blob84028de1924c4b37d6d2e73e74d8160d6e2ac01f
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * navigation css file
6 * @version $Id$
7 * @package phpMyAdmin-theme
8 * @subpackage hillside
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 !== $GLOBALS['PMA_Config']->get('fontsize') ? $GLOBALS['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['tmp_user_values']['custom_color']) ? $_SESSION['tmp_user_values']['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 #body_leftFrame {
88 background-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/hillside/img/island_light.png);
91 div#pmalogo {
92 <?php //better echo $GLOBALS['cfg']['logoBGC']; ?>
93 padding:.3em;
95 div#pmalogo,
96 div#leftframelinks,
97 div#databaseList {
98 text-align: center;
99 margin-bottom: 0.5em;
100 padding-bottom: 0.5em;
103 ul#databaseList {
104 margin-bottom: 0.5em;
105 padding-bottom: 0.5em;
106 padding-<?php echo $left; ?>: 1.5em;
109 ul#databaseList a {
110 display: block;
113 div#navidbpageselector a,
114 ul#databaseList a {
115 background-image:url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/hillside/img/transparent.png);
116 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
119 ul#databaseList a:hover {
120 background-image:url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/hillside/img/transparent60.png);
121 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
124 ul#databaseList li.selected a {
125 background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
126 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
129 div#leftframelinks .icon {
130 padding: 0;
131 margin: 0;
134 div#leftframelinks a img.icon {
135 margin: 0;
136 padding: 0.2em;
137 border: 0.05em solid <?php echo $GLOBALS['cfg']['NaviBorderColor']; ?>;
140 div#leftframelinks a:hover {
141 background-image:url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/hillside/img/transparent.png);
142 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
145 /* serverlist */
146 #body_leftFrame #list_server {
147 list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_host.png);
148 list-style-position: inside;
149 list-style-type: none;
150 margin: 0;
151 padding: 0;
154 #body_leftFrame #list_server li {
155 margin: 0;
156 padding: 0;
157 font-size: 80%;
160 div#left_tableList ul {
161 list-style-type: none;
162 list-style-position: outside;
163 margin: 0;
164 padding: 0;
165 font-size: 80%;
166 background-image:url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/hillside/img/transparent.png);
169 div#left_tableList ul ul {
170 font-size: 100%;
173 div#left_tableList a {
174 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
175 text-decoration: none;
178 div#left_tableList a:hover {
179 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
180 text-decoration: underline;
183 div#left_tableList li {
184 margin: 0;
185 padding: 0;
186 white-space: nowrap;
189 <?php if ($GLOBALS['cfg']['BrowseMarkerColor']) { ?>
190 /* marked items */
191 div#left_tableList > ul li.marked > a,
192 div#left_tableList > ul li.marked {
193 background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
194 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
196 <?php } ?>
198 <?php if ($GLOBALS['cfg']['LeftPointerEnable']) { ?>
199 div#left_tableList > ul li:hover {
200 background-image:url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/hillside/img/transparent60.png);
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']; ?>;