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)
-   -   Text box selected color (https://vborg.vbsupport.ru/showthread.php?t=235031)

Cadellin 02-04-2010 09:42 PM

Text box selected color
 
Could someone tell me which stylevar/class controls the background color of a textbox when it's selected?

Additionally anyone know how to change the default color of text in the WYSIWYG editor?

Lynne 02-04-2010 10:19 PM

I think you want to look these up in Search for Templates and they may tell you the stylevars and/or color:
body.wysiwyg
.editor_textbox textarea (or .editor_textbox iframe)

Cadellin 02-05-2010 12:03 AM

I did as you said but I can't find anything that overrides the white background on focus.

Thanks anyway Lynne

Lynne 02-05-2010 01:33 AM

Whoops, didn't notice it was on focus. I don't know that you can do anything on focus to the wysiwyg since it is an iframe, not a form input.

Cadellin 02-11-2010 05:40 PM

Any further suggestions anyone?

What I'm trying to achieve is a dark theme for my WYSIWYG - which would involve changing the background to the WYSIWYG editor to #2c2c2c and changing the default text color to #fff.

Cadellin 06-21-2010 07:13 PM

I found a solution to this in the end.

Code:

.wysiwyg, .formcontrols .blockrow .editor_textbox textarea:focus, .editor_textbox textarea, .editor_textbox iframe, body.wysiwyg {
color: #fff; /*Default Font Color */
background-color: #2c2c2c; /*WYSIWYG Background */
}


Casmos 10-15-2010 07:07 PM

Yes,, it worked. I use only this part. Because all I needed was the WYSIWYG Background color changed thank you very much.

Put in additional.css
Code:

/*WYSIWYG Background */

body.wysiwyg {
background-color: #2c2c2c;
}

Quote:

Originally Posted by Cadellin (Post 2057101)
I found a solution to this in the end.

Code:

.wysiwyg, .formcontrols .blockrow .editor_textbox textarea:focus, .editor_textbox textarea, .editor_textbox iframe, body.wysiwyg {
color: #fff; /*Default Font Color */
background-color: #2c2c2c; /*WYSIWYG Background */
}



OurCouponHome 10-22-2010 12:58 AM

I tried to add both of these codes into my additional CSS and neither have worked. I still have my static background showing as background in my member supplied text boxes (they should be white #ffffff). I can't figure this out and it it driving me insane. I had my somewhat "techie" hubby look at in and even he doesn't know what it going on. Any ideas? PLEASE!

Example:
http://www.ourcouponhome.com/showthr...439#post196439



Quote:

Originally Posted by Casmos (Post 2110516)
Yes,, it worked. I use only this part. Because all I needed was the WYSIWYG Background color changed thank you very much.

Put in additional.css
Code:

/*WYSIWYG Background */

body.wysiwyg {
background-color: #2c2c2c;
}



Lynne 10-22-2010 01:49 AM

We can see no Quick Reply box on that page. If you want us to look, you should supply a test username/password.

OurCouponHome 10-22-2010 09:30 AM

UserID: Techie
Password: password


All times are GMT. The time now is 02:33 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.02296 seconds
  • Memory Usage 1,736KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete