increase width of the aside area and make default profile image size 300x300

This commit is contained in:
Mario Vavti 2015-07-09 13:59:16 +02:00
parent e12d58a75c
commit efa55437d4
7 changed files with 12 additions and 11 deletions

View File

@ -807,7 +807,7 @@ function contact_block() {
$shown = get_pconfig($a->profile['uid'],'system','display_friend_count');
if($shown === false)
$shown = 24;
$shown = 25;
if($shown == 0)
return;

View File

@ -135,7 +135,7 @@ function profile_photo_post(&$a) {
$im = photo_factory($base_image['data'], $base_image['type']);
if($im->is_valid()) {
$im->cropImage(175,$srcX,$srcY,$srcW,$srcH);
$im->cropImage(300,$srcX,$srcY,$srcW,$srcH);
$aid = get_account_id();
@ -411,7 +411,7 @@ function profile_photo_crop_ui_head(&$a, $ph){
$width = $ph->getWidth();
$height = $ph->getHeight();
if($width < 175 || $height < 175) {
if($width < 300 || $height < 300) {
$ph->scaleImageUp(200);
$width = $ph->getWidth();
$height = $ph->getHeight();

View File

@ -39,7 +39,7 @@
padding: 5px;
width: 100%;
resize: vertical;
height: 150px;
height: 245px;
}
/* saved searches */

View File

@ -406,9 +406,10 @@ footer {
#profile-photo-wrapper img {
width: 100%;
max-width: 300px;
height: auto;
padding: 10px;
width: 197px;
height: 197px;
}
#profile-photo-wrapper {
@ -571,7 +572,7 @@ footer {
}
.photo {
border: 1px solid #AAAAAA;
border: 1px solid #ccc;
}
.photo-top-photo, .photo-album-photo {

View File

@ -7,7 +7,7 @@ $(document).ready(function() {
if( $('#css3-calc').width() == 10) {
$(window).resize(function() {
if($(window).width() < 767) {
$('main').css('width', $(window).width() + 231 );
$('main').css('width', $(window).width() + 279 );
} else {
$('main').css('width', '100%' );
}

View File

@ -154,7 +154,7 @@ if(file_exists('view/theme/redbasic/css/style.css')) {
$x = file_get_contents('view/theme/redbasic/css/style.css');
$aside_width = 231;
$aside_width = 279;
// left aside and right aside are is 231px + converse width
if($converse_center) {

View File

@ -25,8 +25,8 @@
'croppa',
{
previewWrap: 'previewWrap',
minWidth: 175,
minHeight: 175,
minWidth: 300,
minHeight: 300,
maxWidth: 640,
maxHeight: 640,
ratioDim: { x: 100, y:100 },