mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
1d01e20a13
- RTL fixes;
43 lines
702 B
PHP
43 lines
702 B
PHP
<style type="text/css">
|
|
<?php
|
|
|
|
$photosize = str_replace('px','',$photosize);
|
|
$photosize_up = ( $photosize / 2 ) + 10;
|
|
$meta_padding = ( $photosize + 60 ) . 'px';
|
|
|
|
if ( $area_max_width ) {
|
|
print "
|
|
.um-$form_id.um .um-profile-body {
|
|
max-width: $area_max_width;
|
|
}
|
|
";
|
|
}
|
|
|
|
print "
|
|
.um-$form_id.um .um-profile-photo a.um-profile-photo-img {
|
|
width: ".$photosize."px;
|
|
height: ".$photosize."px;
|
|
}
|
|
";
|
|
|
|
print "
|
|
.um-$form_id.um .um-profile-photo a.um-profile-photo-img {
|
|
top: -".$photosize_up."px;
|
|
}
|
|
";
|
|
|
|
if ( is_rtl() ) {
|
|
print "
|
|
.um-$form_id.um .um-profile-meta {
|
|
padding-right: $meta_padding;
|
|
}
|
|
";
|
|
} else {
|
|
print "
|
|
.um-$form_id.um .um-profile-meta {
|
|
padding-left: $meta_padding;
|
|
}
|
|
";
|
|
}
|
|
?>
|
|
</style>
|