vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   CKE Editor Color (https://vborg.vbsupport.ru/showthread.php?t=265383)

8thos 06-17-2011 11:49 PM

CKE Editor Color
 
Is it possible to change the color of the gray area?

LifesGreatestGift 06-19-2011 12:05 AM

Open the following file with your favorite editor:

clientscript/ckeditor/skins/kama/mainui.css

Look around line 27 for the following code

Code:

.cke_skin_kama .cke_wrapper
{
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        background-color: #d3d3d3;
        background-image: url(images/sprites.png);
        background-repeat: repeat-x;
        background-position: 0 -1950px;
        display: block;
        /* IE Quirks: editor chrome overflow horizontally without an explicit width. */
        _display: inline-block;
        padding: 5px;

        /*background-color: Red;*/
}

edit it accordingly. The variable you will need to edit is
Code:

        background-color: #d3d3d3;
Replace the #d3d3d3 with whatever color you'd like, save the file and re-upload/overwrite.

---------------------------------------------------------------------------------

A simpler way to implement a change to the color without editing any files would be to add the following to additional.css template editing the color you want.

Code:

/* Background Color for CKEditor */
.cke_skin_kama .cke_wrapper {
    background-color:#666666!important;
}
/* Background Color for CKEditor - END */


8thos 06-19-2011 12:59 AM

Woah this is amazing man! The additional code I mean because I have over 30 styles and plan on customizing the background color of the CKEditor for each one.

LifesGreatestGift 06-19-2011 01:28 AM

Glad I could help :)

Sarteck 06-19-2011 01:51 PM

TheWindows7Site, thanks very, very much! For both this and the other CSS examples you gave for the default height! :)

And now I FINALLY know where to look to get the other classes that I can change, too!


All times are GMT. The time now is 06:24 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01064 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete