vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Blockhead On slightly older Modifications (https://vborg.vbsupport.ru/showthread.php?t=298505)

Mickie D 05-27-2013 01:11 PM

Blockhead On slightly older Modifications
 
Hi,

I have notcied that quite a few of the older VB4 modifications use blockhead/blockbody allot for their use of styling.

However, I have also noticed that these mods have no shadow or border on them?

Is there an alternative to blockhead / blockbody that should be used now?

Two modifications in question are

DownloadsII
VSA chatbox.

Would be really cool if there was something that could be done regarding the drop shadows, as the mods do not look correctly integrated into the forums.

Thank you very much for your time.

Mick

nerbert 05-27-2013 09:53 PM

You can make a shaded class in additional.css

Code:

.shaded{
        -moz-box-shadow: -2px 2px 2px {vb:stylevar forumbits_shadow_color};
        -webkit-box-shadow: -2px 2px 2px {vb:stylevar forumbits_shadow_color};
        box-shadow: -2px 2px 2px {vb:stylevar forumbits_shadow_color};
}

and put "shaded" in the list of classes for the element. Or just add those three lines to the css for the elements

Mickie D 05-30-2013 03:55 PM

Quote:

Originally Posted by nerbert (Post 2424544)
You can make a shaded class in additional.css

Code:

.shaded{
        -moz-box-shadow: -2px 2px 2px {vb:stylevar forumbits_shadow_color};
        -webkit-box-shadow: -2px 2px 2px {vb:stylevar forumbits_shadow_color};
        box-shadow: -2px 2px 2px {vb:stylevar forumbits_shadow_color};
}

and put "shaded" in the list of classes for the element. Or just add those three lines to the css for the elements

Yeah you are right I forgot to update this, that is exactly what I did and just used div class to wrap it around the block parts.

Well done

Mick


All times are GMT. The time now is 10:09 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.01004 seconds
  • Memory Usage 1,715KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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