Update for 3.4.
[phpmyadmin-themes.git] / emphasis / css / theme_left.css.php
blobd2d75b34b6f4bea864840a952c5de04672471c0b
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * navigation css file from theme Emphasis
6 * @version $Id$
7 * @package phpMyAdmin-theme
8 * @subpackage Emphasis
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,
23 select,
24 textarea {
25 font-size: 1em;
26 border-radius: 0.3em;
29 body {
30 <?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
31 font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
32 <?php } ?>
33 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?> url('<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>background.png') 0% 0% repeat-x;
34 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
35 margin: 0;
36 padding: 0.2em 0.2em 0.2em 0.2em;
39 a img {
40 border: 0;
43 a:link,
44 a:visited,
45 a:active {
46 text-decoration: none;
47 color: #0000FF;
49 a:hover {
50 text-decoration: none;
53 ul {
54 margin: 0;
57 form {
58 margin: 0;
59 padding: 0;
60 display: inline;
63 select#select_server,
64 select#lightm_db {
65 width: 100%;
68 /* buttons in some browsers (eg. Konqueror) are block elements, this breaks design */
69 button {
70 display: inline;
73 /******************************************************************************/
74 /* classes */
76 /* leave some space between icons and text */
77 .icon {
78 vertical-align: middle;
79 margin-right: 0.3em;
80 margin-left: 0.3em;
83 .navi_dbName {
84 font-weight: bold;
85 color: <?php echo $GLOBALS['cfg']['NaviDatabaseNameColor']; ?>;
86 font-size: 11pt;
87 margin-left: 10px;
90 /******************************************************************************/
91 /* specific elements */
93 div#pmalogo {
94 padding: .3em;
97 div#pmalogo,
98 div#leftframelinks,
99 div#databaseList {
100 text-align: center;
101 margin-bottom: 0.5em;
102 padding-bottom: 0.5em;
105 ul#databaseList {
106 margin-bottom: 0.5em;
107 margin-left; 5px;
108 padding-bottom: 0.5em;
109 padding-left: 1.5em;
112 ul#databaseList li {
113 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_db.png);
117 ul#databaseList a {
118 display: block;
121 div#databaseList form select,
122 div#navidbpageselector form select {
123 background-color: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
124 border: 1px solid #909090;
125 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
126 margin-top: 5px;
127 padding-left: 5px;
128 font-size: 0.9em;
131 div#navidbpageselector a,
132 ul#databaseList a {
133 color: #909090;
136 div#navidbpageselector a:hover,
137 ul#databaseList a:hover {
138 background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
139 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
142 ul#databaseList a:hover {
143 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
146 ul#databaseList ul {
149 ul#databaseList li.selected a {
150 background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
151 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
154 div#leftframelinks .icon {
155 padding: 0;
156 margin: 0;
159 div#leftframelinks a img.icon {
160 margin: 0;
161 padding: 0.2em;
162 border-width: 0px;
165 div#leftframelinks a:hover img {
166 background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
167 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
170 /* serverlist */
171 #body_leftFrame #list_server {
172 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_host.png);
173 list-style-position: inside;
174 list-style-type: none;
175 margin: 0;
176 padding: 0;
179 #body_leftFrame #list_server li {
180 margin: 0;
181 padding: 0;
182 font-size: 80%;
185 div#left_tableList ul {
186 list-style-type: none;
187 list-style-position: outside;
188 margin: 0;
189 padding: 0;
190 font-size: 80%;
193 div#left_tableList ul ul {
194 font-size: 100%;
197 div#left_tableList a {
198 color: #909090;
199 text-decoration: none;
202 div#left_tableList a:hover {
203 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
206 div#left_tableList li {
207 margin: 0;
208 padding: 0;
209 white-space: nowrap;
212 <?php if ($GLOBALS['cfg']['BrowseMarkerColor']) { ?>
213 /* marked items */
214 div#left_tableList > ul li.marked > a,
215 div#left_tableList > ul li.marked {
216 background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
217 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
219 <?php } ?>
221 <?php if ($GLOBALS['cfg']['LeftPointerEnable']) { ?>
222 div#left_tableList > ul li:hover > a,
223 div#left_tableList > ul li:hover {
224 background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
225 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
227 <?php } ?>
229 div#left_tableList img {
230 padding: 0;
231 vertical-align: middle;
234 div#left_tableList ul ul {
235 margin-left: 5px;
236 padding-left: 0.1em;
237 border-left: 1px solid #909090;
238 padding-bottom: 1px;
239 border-bottom: 1px solid #909090;
240 font-size: 100%;
243 /* for the servers list in navi panel */
244 #serverinfo .item {
245 white-space: nowrap;
246 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
248 #serverinfo a:hover {
249 background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
250 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
253 #NavFilter {
254 display: none;
257 #clear_fast_filter {
258 background: white;
259 color: black;
260 cursor: pointer;
261 padding: 0;
262 margin: 3px 5px 0 -23px;
263 position: relative;
264 float: right;
265 font-weight: bold;
268 #clear_fast_filter:hover {
269 color: #903050;
272 #fast_filter {
273 width: 100%;
274 padding: 2px 0px;
275 margin: 0;
276 border: 0;
279 #newtable li a{