Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[CSS tip] Like those neat, flat buttons? Details »»
[CSS tip] Like those neat, flat buttons?
Version: 1.00, by Lea Verou Lea Verou is offline
Developer Last Online: Jul 2012 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-10-2005 Last Update: Never Installs: 46
 
No support by the author.

This is not a style, just some CSS definitions to make input boxes, dropdowns and buttons have this neat, flat, modern look like they do in IPB. If this is considered a template modification (I don't think so as you don't edit any templates) then mods, feel free to move it to the appropriate subforum.

Fistly go to Styles & Templates>Style Manager>Main CSS.

1. Buttons
Go to the CSS settings group Buttons and add this code to Extra CSS attributes:
Code:
border-color: #ΧΧΧΧΧΧ;
border-style:solid;
border-width:1px;
padding:2px;
margin: 2px;
Substitute the #XXXXXX above with the border color you want them to have.
Finally, add to the field Background the background color you want the button to have.That's it! You're done!
2. Input fields
Go to the CSS settings group Input fields and add this code to Extra CSS attributes:
Code:
border-color: #ΧΧΧΧΧΧ;
border-style:solid;
border-width:1px;
padding:2px;
margin: 2px;
Substitute the #XXXXXX above with the border color you want them to have.
Finally, add to the field Background the background color you want the input field to have.That's it! You're done!
3. Drop-downs
Go to the CSS settings group <select> Menus and add this code to Extra CSS attributes:
Code:
border-color: #ΧΧΧΧΧΧ;
border-style:solid;
border-width:1px;
padding:2px;
margin: 2px;
Substitute the #XXXXXX above with the border color you want them to have.
Finally, add to the field Background the background color you want the dropdown to have.That's it! You're done!

Chances are this works with 3.0.x as well
If you liked it and use it, please click

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 12-19-2005, 04:12 PM
Jeramy Jeramy is offline
 
Join Date: Nov 2004
Location: TN
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome tip. I just integrated it with my style .
Reply With Quote
  #13  
Old 12-19-2005, 07:42 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jeramy
Awesome tip. I just integrated it with my style .
Nice style! Perhaps now you should update the screenshots...
Reply With Quote
  #14  
Old 12-19-2005, 08:22 PM
Jeramy Jeramy is offline
 
Join Date: Nov 2004
Location: TN
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michelle
Nice style! Perhaps now you should update the screenshots...
Fair enough. I will when I get some time.
Reply With Quote
  #15  
Old 12-19-2005, 08:29 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jeramy
Fair enough. I will when I get some time.
A suggestion would also be to change the vb default icons with icons of your creation
It's a shame to let these icons spoil such a beautiful theme...
Reply With Quote
  #16  
Old 12-19-2005, 08:46 PM
Jeramy Jeramy is offline
 
Join Date: Nov 2004
Location: TN
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michelle
A suggestion would also be to change the vb default icons with icons of your creation
It's a shame to let these icons spoil such a beautiful theme...
Whenever I get enough time / motivation / strikes of creative genius, I plan on it.
Reply With Quote
  #17  
Old 12-19-2005, 08:59 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jeramy
Whenever I get enough time / motivation / strikes of creative genius, I plan on it.
If you ever need a ready-made icon, you can ask me, I have about 30.000 icons
I'm an icon addict
Reply With Quote
  #18  
Old 12-19-2005, 09:21 PM
99SIVTEC 99SIVTEC is offline
 
Join Date: Nov 2001
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone have a mod that replaces the buttons in the forums (newthread, newreply, quote, etc) with css?
Reply With Quote
  #19  
Old 12-19-2005, 09:26 PM
Jeramy Jeramy is offline
 
Join Date: Nov 2004
Location: TN
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 99SIVTEC
Anyone have a mod that replaces the buttons in the forums (newthread, newreply, quote, etc) with css?
You could always ask here
Reply With Quote
  #20  
Old 12-20-2005, 02:48 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 99SIVTEC
Anyone have a mod that replaces the buttons in the forums (newthread, newreply, quote, etc) with css?
If you find something like that, please drop me a pm.
I also need it
Reply With Quote
  #21  
Old 12-21-2005, 11:15 AM
TiKi XB TiKi XB is offline
 
Join Date: Sep 2003
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Or better, post it in this thread. I too would like that, would save bandwidth and look more professional.

Icon addict aye, would be interested in having a look at a few if you really have that many. I don't know where mine came from (my theme sort of happened over the years) but they could use with updating.

Now onto business, is there anyway I can fix the alignment as shown in the image below? Drop down doesn't match up with the button.

Thanks for the mod.
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 07:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09639 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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