vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to style per theme the default customize theme (https://vborg.vbsupport.ru/showthread.php?t=317669)

MistViper 03-07-2015 01:27 PM

How to style per theme the default customize theme
 
I've tried this:

Code:

/* --- General --- */

#colorbox_page_background {
background-color: rgba(252, 231, 231, 0.68) !important;
}

#colorbox_page_link_color {
background-color: rgb(192, 26, 26);
}

#colorbox_title_text_color {
background-color: rgb(98, 97, 97);
}

/* --- General --- */

/* --- Buttons --- */

#colorbox_button_background {
background-color: #BF3E25;
}

#colorbox_button_border {
background-color: #a8a8a8;
}

/* --- Buttons --- */



/* --- Modules --- */
#colorbox_module_background {
background-color: #831B1B;
}

#colorbox_module_border {
background-color: #831B1B;
}
/* --- Modules --- */



/* --- Inactive Modules --- */

#colorbox_moduleinactive_text_color {
background-color: white;
}

#colorbox_moduleinactive_link_color {
background-color: #C01A1A;
}

#colorbox_moduleinactive_background {
background-color: #831B1B;
}


/* --- Inactive Modules --- */



/* --- Content --- */
#colorbox_content_link_color {
background-color: #C01A1A;
}

/* --- Content --- */


/* --- Headers --- */

#colorbox_headers_link_color {
background-color: #C01A1A;
}
/* --- Headers --- */

But when I hit the default button it doesn't work. I'm talking about the styling options that each user can have for their own profile.


What I want is to choose the default colors for all users PER theme.

Is that possible? :)

kh99 03-08-2015 12:53 PM

I'm not sure what you're asking, but I'm not really in to styles so maybe someone else will understand. But I don't know where you're putting that CSS or which default button you're talking about.

MistViper 03-08-2015 01:14 PM

Quote:

Originally Posted by kh99 (Post 2539840)
I'm not sure what you're asking, but I'm not really in to styles so maybe someone else will understand. But I don't know where you're putting that CSS or which default button you're talking about.

The option to style your own profile? That you can choose your own colors.

In that panel of choices you have certain type of buttons at the top left.

kh99 03-08-2015 01:59 PM

OK, I'm with you now, but it looks like you'd need code to do that. If you use the "Save As Site Default" button (which only appears if you're a super admin) you can save one profile as the default, but it doesn't look like there's any provision for saving one per style.

You should probably search for existing mods, if you haven't already.

MistViper 03-08-2015 05:14 PM

Quote:

Originally Posted by kh99 (Post 2539856)
OK, I'm with you now, but it looks like you'd need code to do that. If you use the "Save As Site Default" button (which only appears if you're a super admin) you can save one profile as the default, but it doesn't look like there's any provision for saving one per style.

You should probably search for existing mods, if you haven't already.

I don't think there is one.

kh99 03-08-2015 05:21 PM

Well, if you don't save a site default then it uses style variables for a default, which *are* per style of course, but it looks like they're variables that are used in other places.

MistViper 03-08-2015 05:31 PM

Quote:

Originally Posted by kh99 (Post 2539881)
which *are* per style of course, but it looks like they're variables that are used in other places..

well those variables I want to choose through css. As shown in the code example in the OP.

kh99 03-08-2015 05:40 PM

Quote:

Originally Posted by MistViper (Post 2539886)
well those variables I want to choose through css. As shown in the code example in the OP.

OK, but that won't work because you'd have to change the variables in php.


All times are GMT. The time now is 01: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.00975 seconds
  • Memory Usage 1,731KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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