Ticket #7332: 7332.patch

File 7332.patch, 4.3 KB (added by Sa'ar Zac Elias, 13 years ago)
  • _source/plugins/colorbutton/plugin.js

     
    159159                                                        '<td>' +
    160160                                                                '<span class="cke_colorbox" id="', colorBoxId, '"></span>' +
    161161                                                        '</td>' +
    162                                                         '<td colspan=7 align=center>',
     162                                                        '<td align=center>',
    163163                                                                lang.auto,
    164164                                                        '</td>' +
    165165                                                '</tr>' +
    166166                                        '</table>' +
    167167                                '</a>' +
     168
     169                                ( CKEDITOR.env.ie && CKEDITOR.env.quirks ? '<div style="width: 100%; padding: 0px; margin: 0px;">' : '' ),
    168170                                '<table role="presentation" cellspacing=0 cellpadding=0 width="100%">' );
    169171
    170172                        // Render the color boxes.
     
    180182                                // The data can be only a color code (without #) or colorName + color code
    181183                                // If only a color code is provided, then the colorName is the color with the hash
    182184                                // Convert the color from RGB to RRGGBB for better compatibility with IE and <font>. See #5676
    183                                 if (!parts[1])
     185                                if ( !parts[1] )
    184186                                        colorName = '#' + colorName.replace( /^(.)(.)(.)$/, '$1$1$2$2$3$3' );
    185187
    186188                                var colorLabel = editor.lang.colors[ colorCode ] || colorCode;
     
    214216                        }
    215217
    216218                        output.push( '</tr></table>' );
     219                        CKEDITOR.env.ie && CKEDITOR.env.quirks && output.push( '</div>' );
    217220
    218221                        return output.join( '' );
    219222                }
  • _source/skins/kama/panel.css

     
    149149        height: 135px;
    150150}
    151151
     152/* #7332 */
     153.cke_colorblock, .cke_colorblock *
     154{
     155        font-family: 'Microsoft Sans Serif', Tahoma, Arial, Verdana, Sans-Serif;
     156        font-size: 11px;
     157}
    152158.cke_colorblock
    153159{
    154160        padding: 3px;
    155    font-size: 11px;
    156    font-family: 'Microsoft Sans Serif', Tahoma, Arial, Verdana, Sans-Serif;
    157161}
    158162
    159163.cke_colorblock,
     
    215219        border: #316ac5 1px solid;
    216220        background-color: #dff1ff;
    217221}
     222
     223/* Quirks fixes #7332 */
     224.cke_browser_iequirks span.cke_colorbox
     225{
     226        padding-left: 10px;
     227        margin-right: 1px;
     228}
     229.cke_browser_iequirks.cke_rtl span.cke_colorbox
     230{
     231        padding-left: 0px;
     232        padding-right: 10px;
     233}
     234.cke_browser_iequirks a.cke_colorauto
     235{
     236        width: 99.9%;
     237}
     238 No newline at end of file
  • _source/skins/office2003/panel.css

     
    144144        height: 135px;
    145145}
    146146
     147.cke_colorblock, .cke_colorblock *
     148{
     149        font-family: 'Microsoft Sans Serif', Tahoma, Arial, Verdana, Sans-Serif;
     150        font-size: 11px;
     151}
    147152.cke_colorblock
    148153{
    149154        padding: 3px;
    150    font-size: 11px;
    151    font-family: 'Microsoft Sans Serif', Tahoma, Arial, Verdana, Sans-Serif;
    152155}
    153156
    154157.cke_colorblock,
     
    210213        border: #316ac5 1px solid;
    211214        background-color: #dff1ff;
    212215}
     216
     217/* Quirks fixes #7332 */
     218.cke_browser_iequirks span.cke_colorbox
     219{
     220        padding-left: 10px;
     221        margin-right: 1px;
     222}
     223.cke_browser_iequirks.cke_rtl span.cke_colorbox
     224{
     225        padding-left: 0px;
     226        padding-right: 10px;
     227}
     228.cke_browser_iequirks a.cke_colorauto
     229{
     230        width: 99.9%;
     231}
     232 No newline at end of file
  • _source/skins/v2/panel.css

     
    144144        height: 135px;
    145145}
    146146
     147/* #7332 */
     148.cke_colorblock, .cke_colorblock *
     149{
     150        font-family: 'Microsoft Sans Serif', Tahoma, Arial, Verdana, Sans-Serif;
     151        font-size: 11px;
     152}
    147153.cke_colorblock
    148154{
    149155        padding: 3px;
    150         font-size: 11px;
    151         font-family: 'Microsoft Sans Serif', Tahoma, Arial, Verdana, Sans-Serif;
    152156}
    153157
    154158.cke_colorblock,
     
    210214        border: #316ac5 1px solid;
    211215        background-color: #dff1ff;
    212216}
     217
     218/* Quirks fixes #7332 */
     219.cke_browser_iequirks span.cke_colorbox
     220{
     221        padding-left: 10px;
     222        margin-right: 1px;
     223}
     224.cke_browser_iequirks.cke_rtl span.cke_colorbox
     225{
     226        padding-left: 0px;
     227        padding-right: 10px;
     228}
     229.cke_browser_iequirks a.cke_colorauto
     230{
     231        width: 99.9%;
     232}
     233 No newline at end of file
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy