Avatar zoom in with cBB Chat


User avatar
Galixte de EzCom
Collaborator
 
Posts: 24
Joined: Wed Sep 30, 2015 12:20 pm
Location: http://www.ezcom-fr.com
 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.2.x & 3.3.x ».
User avatar
IvanPF
Administrator
 
Posts: 2010
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 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
no_avatar
Ansoba
 
Posts: 1
Joined: Fri Apr 27, 2018 11:39 am
Location: France
 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
Collaborator
 
Posts: 24
Joined: Wed Sep 30, 2015 12:20 pm
Location: http://www.ezcom-fr.com
 Fri Apr 27, 2018 11:29 pm • via Web
Thanks you Ansoba for sharing.
Communau EzCom : « Traductions d’extensions & styles pour phpBB 3.2.x & 3.3.x ».

Who is online

Users browsing this forum: No registered users and 0 guests