![]() |
[CKEditor] Toolbar Background color
https://vborg.vbsupport.ru/external/2011/06/28.png
Thanks to TheWindows7Site, I can make the changes I wanted to make to the wrapper, and it wasn't hard to figure out how to change the area in which we type. Right now, I am trying to figure out how to change the colour for the toolbar, and the background colour for the individual buttons. After a bit of mucking around, I found out that I could change the background color of the buttons using this (in additional.css): Code:
.cke_skin_kama .cke_button a:hover, In addition, I'd like to change the background of a GROUP of buttons. In the css, these are "cke_toolgroup" classes, but changing the background-color property doesn't seem to affect the group. (The "cke_toolbar" DOES change the background color, but only SURROUNDING the group.) Could someone point me in the right direction? [EDIT: Sorry, posted in vB3 by accident.] |
The buttons are controlled by :
.cke_skin_kama .cke_toolgroup { which uses a sprite as a background for the buttons; all of them. You can use this to give color with the sprite used: background-color: blue; Hope that helps. BTW edit the file itself and don't add the css in adittional. The file you need is in/forum/clientscript/ckeditor/skins/kama/toolbar.css |
@EquinoxWorld, Thanks, I wish it did.... But it seems to not be the case. :< Not for me, anyways.
FireBug does tell me that the background-color: blue !important; property IS applied, but it doesn't seem to change anything. This is the CSS that it usually has: Code:
.cke_skin_kama .cke_toolgroup { I did try changing this before, too, but I figured maybe I made a mistake, so I tried again. XD I didn't have any lick. EDIT: Whoops... I was wrong! I didn't have a space before the !important bit. O_O It works now, thanks! EDIT2: Weird.... When I try to change it to #000000, nothing does change. O.o But changing it to anything else works fine. |
Quote:
background-color: #xxxxxx; to: .cke_skin_kama .cke_toolgroup { |
Well, the buttons are awfully bright, and that's kind of horrible for our darker Styles--that's why I was trying to edit them in the first place.
But it's like there's some kind of filter on them that makes 'em brighter... Or something, I don't really know. Giving them a background-color of #000000 only makes them a light gray, for example. Y'know what I'm saying? |
Quote:
http://aniworlds.net/gallery/files/2/edited_editor.png |
Is taht your Blackstream squared Style? (Just registered because I was going to check out your source, see if you had some different value somewhere than I did, heh.)
If so, then the darkness thing might be a FireFox (3.6) issue, since it seems lighter on my FF. EDIT: Nice site by the way. X3 |
Quote:
PS.: Welcome and thanks for registering. :) |
Well, wouldn't you just have to lighten the sprite.png file?
I know less than nothing about image editing, myself, heh, but since all of the buttons are taken from there, T'would make sense, ya? |
All times are GMT. The time now is 03:50 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|