fix coding style in stylesheet (common css)

Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
This commit is contained in:
Chirayu Chiripal 2014-08-10 23:50:36 +05:30
parent 5b30378283
commit 2ee69e2924
2 changed files with 65 additions and 57 deletions

View File

@ -295,35 +295,35 @@ table tr.even {
}
<?php if ($GLOBALS['cfg']['BrowseMarkerEnable']) { ?>
/* marked table rows */
td.marked,
table tr.marked td,
table tr.marked th,
table tr.marked {
background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
}
<?php
/* marked table rows */
td.marked,
table tr.marked td,
table tr.marked th,
table tr.marked {
background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
}
<?php
}
?>
<?php if ($GLOBALS['cfg']['BrowsePointerEnable']) { ?>
/* hovered items */
.odd:hover,
.even:hover,
.hover {
background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
}
/* hovered items */
.odd:hover,
.even:hover,
.hover {
background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
}
/* hovered table rows */
table tr.odd:hover th,
table tr.even:hover th,
table tr.hover th {
background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
}
<?php
/* hovered table rows */
table tr.odd:hover th,
table tr.even:hover th,
table tr.hover th {
background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
}
<?php
}
?>
@ -358,10 +358,10 @@ table [class=value] {
<?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
.value {
font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
}
<?php
.value {
font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
}
<?php
}
?>
.attention {
@ -443,15 +443,16 @@ div.error {
margin: 0.3em 0 0 0;
border: 2px solid;
background-repeat: no-repeat;
<?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
background-position: 10px 50%;
padding: 0.1em 0.1em 0.1em 36px;
<?php
if ($GLOBALS['text_dir'] === 'ltr') { ?>
background-position: 10px 50%;
padding: 0.1em 0.1em 0.1em 36px;
<?php
} else { ?>
background-position: 99% 50%;
padding: 0.1em 46px 0.1em 0.1em;
<?php
} else { ?>
background-position: 99% 50%;
padding: 0.1em 46px 0.1em 0.1em;
<?php
}
}
?>
}
@ -504,15 +505,16 @@ fieldset.confirmation legend {
font-weight: bold;
background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath('s_really.png');?>);
background-repeat: no-repeat;
<?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
background-position: 5px 50%;
padding: 0.2em 0.2em 0.2em 25px;
<?php
if ($GLOBALS['text_dir'] === 'ltr') { ?>
background-position: 5px 50%;
padding: 0.2em 0.2em 0.2em 25px;
<?php
} else { ?>
background-position: 97% 50%;
padding: 0.2em 25px 0.2em 0.2em;
} else { ?>
background-position: 97% 50%;
padding: 0.2em 25px 0.2em 0.2em;
<?php
}
}
?>
}
/* end messageboxes */

View File

@ -738,13 +738,16 @@ div.error {
margin: .5em 0 0.5em;
border: 1px solid;
background-repeat: no-repeat;
<?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
background-position: 10px 50%;
padding: 10px 10px 10px 10px;
<?php } else { ?>
background-position: 99% 50%;
padding: 10px 35px 10px 10px;
<?php } ?>
<?php
if ($GLOBALS['text_dir'] === 'ltr') { ?>
background-position: 10px 50%;
padding: 10px 10px 10px 10px;
<?php
} else { ?>
background-position: 99% 50%;
padding: 10px 35px 10px 10px;
<?php
} ?>
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
@ -1522,13 +1525,16 @@ p.notice {
margin: 1.5em 0;
border: 1px solid #000;
background-repeat: no-repeat;
<?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
background-position: 10px 50%;
padding: 10px 10px 10px 25px;
<?php } else { ?>
background-position: 99% 50%;
padding: 25px 10px 10px 10px
<?php } ?>
<?php
if ($GLOBALS['text_dir'] === 'ltr') { ?>
background-position: 10px 50%;
padding: 10px 10px 10px 25px;
<?php
} else { ?>
background-position: 99% 50%;
padding: 25px 10px 10px 10px
<?php
} ?>
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;