Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-04-2010, 09:42 PM
Cadellin's Avatar
Cadellin Cadellin is offline
 
Join Date: Jan 2009
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 02-04-2010, 10:19 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #3  
Old 02-05-2010, 12:03 AM
Cadellin's Avatar
Cadellin Cadellin is offline
 
Join Date: Jan 2009
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thanks anyway Lynne
Reply With Quote
  #4  
Old 02-05-2010, 01:33 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 02-11-2010, 05:40 PM
Cadellin's Avatar
Cadellin Cadellin is offline
 
Join Date: Jan 2009
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 06-21-2010, 08:13 PM
Cadellin's Avatar
Cadellin Cadellin is offline
 
Join Date: Jan 2009
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 */
}
Reply With Quote
  #7  
Old 10-15-2010, 08:07 PM
Casmos Casmos is offline
 
Join Date: Mar 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 View Post
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 */
}
Reply With Quote
  #8  
Old 10-22-2010, 01:58 AM
OurCouponHome OurCouponHome is offline
 
Join Date: May 2010
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 View Post
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; 
}
Reply With Quote
  #9  
Old 10-22-2010, 02:49 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We can see no Quick Reply box on that page. If you want us to look, you should supply a test username/password.
Reply With Quote
  #10  
Old 10-22-2010, 10:30 AM
OurCouponHome OurCouponHome is offline
 
Join Date: May 2010
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

UserID: Techie
Password: password
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:45 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.06863 seconds
  • Memory Usage 2,271KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete