Ticket #5140: 5140.patch

File 5140.patch, 1.2 KB (added by Frederico Caldeira Knabben, 14 years ago)
  • _source/plugins/menu/plugin.js

     
    338338                        if ( this.getItems )
    339339                        {
    340340                                output.push(
    341                                                         '<span class="cke_menuarrow"></span>' );
     341                                                        '<span class="cke_menuarrow">',
     342                                                                '<span>&#',
     343                                                                        ( this.editor.lang.dir == 'rtl' ?
     344                                                                                '9668;' :       // BLACK LEFT-POINTING POINTER
     345                                                                                '9658' ),       // BLACK RIGHT-POINTING POINTER
     346                                                                ';</span>',
     347                                                        '</span>' );
    342348                        }
    343349
    344350                        output.push(
  • _source/skins/kama/menu.css

     
    166166        background-repeat: no-repeat;
    167167}
    168168
     169.cke_skin_kama .cke_menuarrow span
     170{
     171        display: none;
     172}
     173
     174.cke_hc .cke_skin_kama .cke_menuarrow
     175{
     176        width: auto;
     177        margin-top: 0;
     178}
     179
     180.cke_hc .cke_skin_kama .cke_menuarrow span
     181{
     182        display: inline;
     183}
     184
    169185/* #3766 In the context menu, long labels with second level menu get wrapped */
    170186.cke_browser_ie.cke_ltr .cke_skin_kama .cke_menuarrow
    171187{
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy