Remove useless units in CSS.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
This commit is contained in:
Hugues Peccatte 2015-08-23 21:46:46 +02:00
parent a4914504ff
commit 2493717d98
5 changed files with 43 additions and 53 deletions

View File

@ -1044,7 +1044,7 @@ table#chartGrid div.monitorChart {
div.tabLinks {
margin-left: 0.3em;
float: <?php echo $left; ?>;
padding: 5px 0px;
padding: 5px 0;
}
div.tabLinks a, div.tabLinks label {
@ -1052,7 +1052,7 @@ div.tabLinks a, div.tabLinks label {
}
div.tabLinks .icon {
margin: -0.2em 0.3em 0px 0px;
margin: -0.2em 0.3em 0 0;
}
.popupContent {
@ -1229,7 +1229,7 @@ div#queryboxcontainer div#bookmarkoptions {
}
#maincontainer li {
margin: 0.2em 0em;
margin: 0.2em 0;
}
#full_name_layer {
@ -2409,45 +2409,39 @@ according to css rules*/
.jqplot-xaxis-tick {
top: 0px;
top: 0;
/* initial position untill tick is drawn in proper place */
left: 15px;
/* padding-top: 10px;*/
vertical-align: top;
}
.jqplot-x2axis-tick {
bottom: 0px;
bottom: 0;
/* initial position untill tick is drawn in proper place */
left: 15px;
/* padding-bottom: 10px;*/
vertical-align: bottom;
}
.jqplot-yaxis-tick {
right: 0px;
right: 0;
/* initial position untill tick is drawn in proper place */
top: 15px;
/* padding-right: 10px;*/
text-align: right;
}
.jqplot-yaxis-tick.jqplot-breakTick {
right: -20px;
margin-right: 0px;
margin-right: 0;
padding:1px 5px 1px 5px;
/* background-color: white;*/
z-index: 2;
font-size: 1.5em;
}
.jqplot-y2axis-tick, .jqplot-y3axis-tick, .jqplot-y4axis-tick, .jqplot-y5axis-tick,
.jqplot-y6axis-tick, .jqplot-y7axis-tick, .jqplot-y8axis-tick, .jqplot-y9axis-tick {
left: 0px;
/* initial position untill tick is drawn in proper place */
left: 0;
/* initial position until tick is drawn in proper place */
top: 15px;
/* padding-left: 10px;*/
/* padding-right: 15px;*/
text-align: left;
}
@ -2547,8 +2541,8 @@ div.jqplot-table-legend-swatch-outline {
}
div.jqplot-table-legend-swatch {
width:0px;
height:0px;
width:0;
height:0;
border-top-width: 5px;
border-bottom-width: 5px;
border-left-width: 6px;
@ -2560,8 +2554,8 @@ div.jqplot-table-legend-swatch {
}
.jqplot-title {
top: 0px;
left: 0px;
top: 0;
left: 0;
padding-bottom: 0.5em;
font-size: 1.2em;
}
@ -3052,8 +3046,8 @@ html.ie7 #pma_console .query_input {
.pma_drop_handler {
display: none;
position: fixed;
top: 0px;
left: 0px;
top: 0;
left: 0;
width: 100%;
background: rgba(0, 0, 0, 0.6);
height: 100%;
@ -3067,7 +3061,7 @@ html.ie7 #pma_console .query_input {
.pma_sql_import_status {
display: none;
position: fixed;
bottom: 0px;
bottom: 0;
right: 25px;
width: 400px;
border: 1px solid #999;
@ -3116,13 +3110,13 @@ html.ie7 #pma_console .query_input {
.pma_sql_import_status h2 .minimize {
float: right;
margin-right: 5px;
padding: 0px 10px;
padding: 0 10px;
}
.pma_sql_import_status h2 .close {
float: right;
margin-right: 5px;
padding: 0px 10px;
padding: 0 10px;
display: none;
}
@ -3150,7 +3144,7 @@ html.ie7 #pma_console .query_input {
background: white;
min-height: 300px;
z-index: 800;
-webkit-box-shadow: 0px 0px 15px #999;
-webkit-box-shadow: 0 0 15px #999;
border-radius: 10px;
cursor: move;
}
@ -3158,7 +3152,7 @@ html.ie7 #pma_console .query_input {
.pma_drop_result h2 .close {
float: right;
margin-right: 5px;
padding: 0px 10px;
padding: 0 10px;
}
#composite_index_list {

View File

@ -123,7 +123,7 @@ if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
#pma_navigation_select_database {
text-align: left;
padding: 0px 0px 0px;
padding: 0 0 0;
border: 0;
margin: 0;
}
@ -140,7 +140,7 @@ if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
border-top: 1px solid #bbb;
color: #333;
padding: 4px 6px;
margin: 0px 0px 0px;
margin: 0 0 0;
width: 92%;
font-size: 1.11em;
}
@ -346,7 +346,7 @@ li.fast_filter.db_fast_filter {
text-align: center;
cursor: pointer;
z-index: 800;
text-shadow: 0px 1px 0px #fff;
text-shadow: 0 1px 0 #fff;
filter: dropshadow(color=#fff, offx=0, offy=1);
border: 1px solid #888;
}

View File

@ -1373,7 +1373,7 @@ table#chartGrid div.monitorChart {
div.tabLinks {
margin-left: 0.3em;
float: <?php echo $left; ?>;
padding: 5px 0px;
padding: 5px 0;
}
div.tabLinks a, div.tabLinks label {
@ -1381,7 +1381,7 @@ div.tabLinks a, div.tabLinks label {
}
div.tabLinks .icon {
margin: -0.2em 0.3em 0px 0px;
margin: -0.2em 0.3em 0 0;
}
.popupContent {
@ -2942,7 +2942,7 @@ body .ui-widget {
/* over-riding jqplot-yaxis class */
.jqplot-yaxis {
left:0px !important;
left:0 !important;
min-width:25px;
width:auto;
}
@ -3365,8 +3365,8 @@ html.ie7 #pma_console .query_input {
.pma_drop_handler {
display: none;
position: fixed;
top: 0px;
left: 0px;
top: 0;
left: 0;
width: 100%;
background: rgba(0, 0, 0, 0.6);
height: 100%;
@ -3380,7 +3380,7 @@ html.ie7 #pma_console .query_input {
.pma_sql_import_status {
display: none;
position: fixed;
bottom: 0px;
bottom: 0;
right: 25px;
width: 400px;
border: 1px solid #999;
@ -3429,13 +3429,13 @@ html.ie7 #pma_console .query_input {
.pma_sql_import_status h2 .minimize {
float: right;
margin-right: 5px;
padding: 0px 10px;
padding: 0 10px;
}
.pma_sql_import_status h2 .close {
float: right;
margin-right: 5px;
padding: 0px 10px;
padding: 0 10px;
display: none;
}
@ -3463,7 +3463,7 @@ html.ie7 #pma_console .query_input {
background: white;
min-height: 300px;
z-index: 800;
-webkit-box-shadow: 0px 0px 15px #999;
-webkit-box-shadow: 0 0 15px #999;
border-radius: 10px;
cursor: move;
}
@ -3471,7 +3471,7 @@ html.ie7 #pma_console .query_input {
.pma_drop_result h2 .close {
float: right;
margin-right: 5px;
padding: 0px 10px;
padding: 0 10px;
}
.dependencies_box {

View File

@ -56,18 +56,16 @@ if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
.jqplot-xaxis-tick {
top: 0px;
top: 0;
/* initial position untill tick is drawn in proper place */
<?php echo $left; ?>: 15px;
/* padding-top: 10px;*/
vertical-align: top;
}
.jqplot-x2axis-tick {
bottom: 0px;
bottom: 0;
/* initial position untill tick is drawn in proper place */
<?php echo $left; ?>: 15px;
/* padding-bottom: 10px;*/
vertical-align: bottom;
}
@ -75,15 +73,13 @@ if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
<?php echo $right; ?>: 0px;
/* initial position untill tick is drawn in proper place */
top: 15px;
/* padding-right: 10px;*/
text-align: <?php echo $right; ?>;
}
.jqplot-yaxis-tick.jqplot-breakTick {
<?php echo $right; ?>: -20px;
margin-<?php echo $right; ?>: 0px;
margin-<?php echo $right; ?>: 0;
padding:1px 5px 1px;
/* background-color: white;*/
z-index: 2;
font-size: 1.5em;
}
@ -204,7 +200,7 @@ div.jqplot-table-legend-swatch {
}
.jqplot-title {
top: 0px;
top: 0;
<?php echo $left; ?>: 0px;
padding-bottom: 0.5em;
font-size: 1.2em;

View File

@ -22,7 +22,7 @@ if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
top: 0;
<?php echo $left; ?>: 0;
height: 100%;
background: url(./themes/pmahomme/img/left_nav_bg.png) repeat-y right 0% <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
background: url(./themes/pmahomme/img/left_nav_bg.png) repeat-y right 0 <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
z-index: 800;
}
@ -77,7 +77,7 @@ if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
#pma_navigation #databaseList,
#pma_navigation div.pageselector.dbselector {
text-align: center;
padding: 5px 10px 0px;
padding: 5px 10px 0;
border: 0;
}
@ -108,7 +108,7 @@ if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
}
#pma_navigation_select_database {
text-align: left;
padding: 0px 0px 0px;
padding: 0 0 0;
border: 0;
margin: 0;
}
@ -125,7 +125,7 @@ if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
border-top: 1px solid #bbb;
color: #333;
padding: 4px 6px;
margin: 0px 0px 0px;
margin: 0 0 0;
width: 92%;
font-size: 1.11em;
}
@ -318,7 +318,7 @@ html.ie.ie8 li.fast_filter input {
}
li.fast_filter.db_fast_filter {
border: 0;
margin-left: 0px;
margin-left: 0;
margin-right: 10px;
}
@ -359,7 +359,7 @@ li.fast_filter.db_fast_filter {
text-align: center;
cursor: pointer;
z-index: 800;
text-shadow: 0px 1px 0px #fff;
text-shadow: 0 1px 0 #fff;
filter: dropshadow(color=#fff, offx=0, offy=1);
border: 1px solid #888;
}