vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   css settings in template (https://vborg.vbsupport.ru/showthread.php?t=157957)

ragtek 09-16-2007 10:35 AM

css settings in template
 
can i access/set the css variables in the template?

i need something like this:

#myPanel.yui-panel .bd { .$css[thead] }

Opserty 09-16-2007 01:11 PM

What wrong with using class="thead" in your template?

If you want to use another class to, you can do something like class="thead bd" Although personally I prefer to use just a single class and just duplicate the properties.

ragtek 09-16-2007 01:21 PM

what i need

i'm working on an yui tool witch needs this

http://developer.yahoo.com/yui/examp...in1_clean.html
so i have to put it so in:
Code:

/* Aqua Panel Skin CSS */
        #myPanel_c.yui-panel-container.shadow .underlay { background-color:#999; }
        #myPanel.yui-panel { position:relative; border:none; overflow:visible; background-color:transparent; }

        #myPanel.yui-panel .container-close { top:3px; left:4px; height:18px; width:17px; background-image:url(assets/img/aqua-hd-close.gif); }
        #myPanel.yui-panel .container-close:hover { background-image:url(assets/img/aqua-hd-close-over.gif); }

        #myPanel.yui-panel .hd { padding:0; border:none; background:transparent url(assets/img/aqua-hd-bg.gif); color:#000; height:22px; margin-left:7px; margin-right:7px; text-align:center; overflow:visible; }
        #myPanel.yui-panel .hd span { vertical-align:middle; line-height:22px; }
        #myPanel.yui-panel .hd .tl { width:7px; height:22px; top:0; left:0; background:transparent url(assets/img/aqua-hd-lt.gif); position:absolute; }
        #myPanel.yui-panel .hd .tr { width:7px; height:22px; top:0; right:0; background:transparent url(assets/img/aqua-hd-rt.gif); position:absolute; }

        #myPanel.yui-panel .bd { overflow:hidden; padding:4px; border:1px solid #aeaeae; background-color:#FFF; }
        #myPanel.yui-panel .ft { font-size:75%; color:#666; padding:2px; overflow:hidden; border:1px solid #aeaeae; border-top:none; background-color:#dfdfdf; }

or is there a other way?


All times are GMT. The time now is 06:00 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.01925 seconds
  • Memory Usage 1,713KB
  • 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
  • (1)bbcode_code_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