Avatar zoom in with cBB Chat


User avatar

Galixte de EzCom
 
Posts: 21
Joined: Wed Sep 30, 2015 12:20 pm
Location: http://www.ezcom-fr.com

Avatar zoom in with cBB Chat

Postby Galixte de EzCom » Fri Apr 27, 2018 12:03 am • via Web
Hi IvanPF,

could you make possible to zoom in the user avatar in chat when hover the mouse over the member avatars?
Communau EzCom : « Traductions d’extensions & styles pour phpBB 3.1.x & 3.2.x ».
User avatar

IvanPF
Site Admin
 
Posts: 1655
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)

Re: Avatar zoom in with cBB Chat

Postby IvanPF » Fri Apr 27, 2018 11:25 am • via Web
It's not a bad idea. I'll keep it in mind, maybe I'll implement it in future versions


Ansoba
 
Posts: 1
Joined: Fri Apr 27, 2018 11:39 am
Location: France

Re: Avatar zoom in with cBB Chat

Postby Ansoba » Fri Apr 27, 2018 11:42 am • via Web
hello , I asked galixte this info, I looked more ready and here is the solution
ouvrir
Code: Select all
ext/canidev/chat/styles/all/theme/31x.css

Trouvez:
Code: Select all
.ic-row-avatar img {
   height: 100%;
   width: auto;
}

Ajoutez après:
Code: Select all
   .ic-row-avatar img:hover {
left: 10px;
position: absolute;
background-color: #FFF;
display: block;
height:150px;
width: 150px;
border: 1px solid #000;
-webkit-border-radius: 3px;
-o-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}

HEIGHT ET WIDTH: you can change it if you want smaller or bigger, so border 1px black, voila if that can help you
User avatar

Galixte de EzCom
 
Posts: 21
Joined: Wed Sep 30, 2015 12:20 pm
Location: http://www.ezcom-fr.com

Re: Avatar zoom in with cBB Chat

Postby Galixte de EzCom » Fri Apr 27, 2018 11:29 pm • via Web
Thanks you Ansoba for sharing. ;)
Communau EzCom : « Traductions d’extensions & styles pour phpBB 3.1.x & 3.2.x ».

Who is online

Users browsing this forum: No registered users and 1 guest