View Single Post
  #1  
Old 02-12-2016, 07:17 PM
Aros12 Aros12 is offline
 
Join Date: Jan 2016
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure this applies but I am on vB5.2 and with Replicant's help I got my avatars to increase while maintaining responsive integrity.

This is in the additional.css...

Code:
/* start custom avatar size */

.l-col__flex-3, .l-row__fixed--left > .l-col__flex-3 {
margin-left: 240px!important;
}
.b-userinfo__details {
width: 240px;
margin-left: -20px;
}
.l-desktop .b-userinfo {
width: 210px;
}
.b-avatar--m {
height: 125px!important;
width: 125px!important;
}

.b-avatar--m > img {
max-height: 125px!important;
max-width: 125px !important;
height: 125px!important;
width: 125px!important;
}
@media only screen and (max-width: 783px) {
.l-col__flex-3, .l-row__fixed--left > .l-col__flex-3 {
margin-left:0px!important;
float:none!important;
}
.b-userinfo__details {
margin-left: 0;
display:none;
}

.b-avatar--m {
height: 60px!important;
width: 60px!important;
}

.b-avatar--m > img {
max-height: 60px!important;
max-width: 60px !important;
height: 60px!important;
width: 60px!important;
}}
I also increased the width of the postbit itself to accommodate the larger avatar size and user info...(Change colors, etc to taste)

Code:
/* widen postbit to 200px*/
col__flex-3, .l-row__fixed--left > .l-col__flex-3 {
    margin-left: 200px;
}
.l-col__fixed-3, .l-row__fixed--left > .l-col__fixed-3 {
    width: 200px;
 
}

/*make width mod responsive*/
@media screen and (max-width: 784px){
 col__flex-3, .l-row__fixed--left > .l-col__flex-3 {
    margin-left: 0px;
    }

}

.sb-dialog.ui-dialog-content.ui-widget-content a, {
   font-size: 12px;
    color: #000;
    text-decoration: underline;
}
  
.sb-dialog.ui-dialog-content.ui-widget-content a:active, {
   font-size: 12px;
    color: #4871c3;
    text-decoration: underline;
}
  
.sb-dialog.ui-dialog-content.ui-widget-content a:visited {
   font-size: 12px;
    color: #4871c3;
}

.conversation-list.stream-view.stream-view-full-width .list-item {padding: 10px 10px 10px 10px; }

.view-mode .widget-no-border .widget-header {margin-top:15px;}

.b-photo-count .b-photo-count__count {
    font-size: 12px;
    color: #000;
}
.b-userinfo__details .author a {color: #FFFFFF !important;}

.b-userinfo__details .author a:hover {color: #FF9600 !important;}

.b-userinfo__details {
    font-size: 12px;
    color: #90b9fd;
}
.b-userinfo__details a {
    font-size: 14px;
}
.b-post {
    background: #28428c;
}
.b-icon__status--green:after {
    content: '';
    border: 10px solid #6e9d00; /* green, change as needed */
    background: transparent;
    border-radius: 40px;
    height: 40px;
    width: 40px;    
    position: absolute;
    top: -24px; /* you may have to tweak this if you move it from the default position */
    left: -22px; /* you may have to tweak this if you move it from the default position */
    z-index: 1;
    opacity: 0;
    -webkit-animation: glow 3s ease-out infinite;
    animation: glow 3s ease-out infinite;
}

@-webkit-keyframes glow {
    0% {
        -webkit-transform: scale(0);
        opacity: 0.0;
    }

    25% {
        -webkit-transform: scale(0);
        opacity: 0.1;
    }

    50% {
        -webkit-transform: scale(0.1);
        opacity: 0.3;
    }

    75% {
        -webkit-transform: scale(0.5);
        opacity: 0.5;
    }

    100% {
        -webkit-transform: scale(1);
        opacity: 0.0;
    }
}

@keyframes glow {
    0% {
        transform: scale(0);
        opacity: 0.0;
    }

    25% {
        transform: scale(0);
        opacity: 0.1;
    }

    50% {
        transform: scale(0.1);
        opacity: 0.3
    }

    75% {
        transform: scale(0.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 0.0;
    }
  .l-col__flex-3, .l-row__fixed--left > .l-col__flex-3 {
margin-left: 240px!important;
}
.b-userinfo__details {
width: 240px;
margin-left: -20px;
}
.l-desktop .b-userinfo {
width: 210px;
}
.b-avatar--m {
height: 125px!important;
width: 125px!important;
}

.b-avatar--m > img {
max-height: 125px!important;
max-width: 125px !important;
height: 125px!important;
width: 125px!important;
}
media only screen and (max-width: 783px) {
.l-col__flex-3, .l-row__fixed--left > .l-col__flex-3 {
margin-left:0px!important;
float:none!important;
}
.b-userinfo__details {
margin-left: 0;
display:none;
}

.b-avatar--m {
height: 60px!important;
width: 60px!important;
}

.b-avatar--m > img {
max-height: 60px!important;
max-width: 60px !important;
height: 60px!important;
width: 60px!important;
}}
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01555 seconds
  • Memory Usage 1,797KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete