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)
-   -   CKEditor Drop Down Menu Colors (https://vborg.vbsupport.ru/showthread.php?t=327523)

HM666 09-07-2019 08:40 PM

CKEditor Drop Down Menu Colors
 
1 Attachment(s)
Anyone have any idea where to find the css for the area pictured in the screen shot? The drop down of the editor is the only thing that I still need to change and I've tried changing the core css for the editor to no avail.

Things I've tried already include:

1. Changing the css in the ckeditor core files (editor.css, etc.) The files found in this path: clientscript/ckeditor/skins/kama/

2. I've tried adding various things in my additional.css within the template and using !important.

I cannot seem to find the right combo to change this to how I want it.

Here is what I have in my additional.css file that pertains to the editor:

Code:

span.cke_skin_kama {
      border:1px solid #5a022b !important;
}

/* Background Color for CKEditor */
.cke_skin_kama .cke_wrapper {
background:{vb:stylevar postbithead_background} !important;
border:1px solid #5a022b;
}

/* Background Color for CKEditor Buttons (Note, this may be too dark for some styles. If so you can delete this one.) */
.cke_skin_kama .cke_editor .cke_rcombo a,
.cke_skin_kama .cke_toolgroup {
background: #f70777 !important;
}

/* Background Color for CKEditor Hover Link*/
.cke_skin_kama a:hover {
background: #eee !important;
}

That code works fine in the skin, but its just that drop down that I'm having serious issues with.

napy8gen 12-11-2019 02:16 AM

Put below css into this file:
/clientscript/ckeditor/skins/kama/editor.css

HTML Code:

body.cke_panel_frame {
    background: #000;
}
ul.cke_panel_list {
    background: #ffff0a;
}
.cke_panel_listItem a {
    border: 1px solid #00BCD4;
}
.cke_panel_listItem.cke_selected a {
    border: 1px solid #f37600!important;
    background-color: #ff0700!important;
    color: #fff!important;
}
.cke_panel_listItem a:hover {
    border: 1px solid #f37600!important;
    background-color: #ff0700!important;
    color: #fff!important;
}



All times are GMT. The time now is 03:02 PM.

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.00915 seconds
  • Memory Usage 1,711KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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