Fix layout for silver theme

This commit is contained in:
Fedor A. Fetisov 2013-11-26 14:42:26 +04:00
parent 69fc8b8701
commit 7489f0d368
2 changed files with 32 additions and 19 deletions

View File

@ -82,6 +82,10 @@ img {
font: normal 17px Arial; font: normal 17px Arial;
color: #495151; color: #495151;
} }
#logo img {
margin-top: 2px;
margin-bottom: -2px;
}
#logo a { #logo a {
float: left; float: left;
text-decoration: none; text-decoration: none;
@ -184,17 +188,20 @@ a:hover .ichangeuser {
background-position: -16px 0; background-position: -16px 0;
} }
#changename1 { #changename1 {
position: absolute; float: left;
top: 12px; display: block;
left: 25px;
height: 24px; height: 24px;
padding: 0 0 0 35px;
font-size: 14px; font-size: 14px;
margin-left: 10px;
} }
.input-name { .input-name {
width: 95px; width: 95px;
height: 16px; height: 16px;
padding: 3px; padding: 3px;
display: block;
float: left;
margin-left: 10px;
margin-top: 14px;
background: #FFF url("images/input_name.gif") scroll no-repeat 0 0; background: #FFF url("images/input_name.gif") scroll no-repeat 0 0;
_background-color: transparent; _background-color: transparent;
} }
@ -207,31 +214,37 @@ a:hover .ichangeuser {
font: normal 12px Tahoma; font: normal 12px Tahoma;
} }
.changename { .changename {
position: absolute; display: block;
top: 3px; float: left;
right: -27px; margin-top: 16px;
} }
#changename2 { #changename2 {
position: absolute; float: left;
top: 12px; display: block;
left: 25px; margin-left: 10px;
height: 24px; height: 24px;
padding-top: 2px;
font-size: 14px; font-size: 14px;
}
#changename2.agent {
margin-top: 18px;
} }
#unamelink { #unamelink {
margin-left: 35px;
font: normal 12px Tahoma; font: normal 12px Tahoma;
display: block;
float: left;
margin-left: 10px;
padding-top: 18px;
} }
.you { .you {
position: absolute; display: block;
bottom: 6px; float: left;
left: 0; padding-top: 18px;
} }
.you2 { .you2 {
position: absolute; display: block;
bottom: 8px; float: left;
left: 0; padding-top: 18px;
} }
/* ------------------ */ /* ------------------ */

View File

@ -83,7 +83,7 @@
<div id="chatheader"> <div id="chatheader">
<div class="bgc"><div class="bgl"><div class="bgr"> <div class="bgc"><div class="bgl"><div class="bgr">
${if:agent} ${if:agent}
<div id="changename2"> <div id="changename2" class="agent">
${if:historyParams} ${if:historyParams}
${msg:chat.window.chatting_with} ${msg:chat.window.chatting_with}
<a href="${page:historyParamsLink}" target="_blank" title="${msg:page.analysis.userhistory.title}" onclick="this.newWindow = window.open('${page:historyParamsLink}', 'UserHistory', 'toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,width=703,height=380,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;">${page:ct.user.name}</a> <a href="${page:historyParamsLink}" target="_blank" title="${msg:page.analysis.userhistory.title}" onclick="this.newWindow = window.open('${page:historyParamsLink}', 'UserHistory', 'toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,width=703,height=380,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;">${page:ct.user.name}</a>