We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

css for the attachment display for chat window | Forum

Soundchum web solution
margin it to right for 2px
Soundchum web solution
you are welcome dave
dave Leader
dave Nov 6 '14
here is what worked for me... but you are right i have lots of custom on this 


in the theme, 



.ow_chat_message_block .ow_chat_message textarea {

height:50px;  /* was 30px */

line-height: 20px;

width:243px; /* was 203 */

background-color: #fff;

color: #333;

font-size: 11px;

position:relative;

overflow:auto;

background-image:none;

padding:12px 36px 4px 6px;  /* was 4px */

        margin-bottom:30px;  /* added */

}



in ow_css  in the static/plugins/base/css dir 


.ow_chat_message .ow_attachment_icons {    

float: right;    

position: absolute;

top: 50px;  /* was 10 */    

right: 3px;

 z-index: 2;

 width:210px; 

 border:0px;

}


then to move the smiley over to the right you edit 

ow_plugins/smileys/classes/html_document.php 


look for the smileys-button2 text 


  $this->document->addStyleDeclaration( '.smileys-btn2{background:url(' . $this->plugin->getStaticUrl() . 'images/wysiwyg.png) no-repeat scroll 

-242px 1px;border: 1px solid #ccc; 

    border-radius: 2px;

    cursor: pointer;

    float: right;  /* was left */

    height: 22px;

    overflow: hidden;

    position: absolute;

    right: 8px;   /* was 26 */

    text-decoration: none;

    width: 21px;}

            ' );






The Forum post is edited by dave Nov 6 '14
Pages: « 1 2 3