Back to vBulletin 4.x Add-ons

Innovative Mobile Style CSS Overwrite
Mod Version: 1.00, by TheLastSuperman

vB Version: 4.1.2 Rating: (2 votes - 5.00 average) Installs: 22
Released: 10 Mar 2011 Last Update: 10 Mar 2011 Downloads: 262
Supported Uses Plugins Auto-Template Translations  

This modification will call a template that overwrites the default css your mobile style uses, since none of the CSS is the same for the default style then no worries on it overwriting something else and it includes a new layout of the CSS instead of left to right making it easier on novices to edit.

For those who are unaware, with the release of vBulletin 4.1.2, we have available a Mobile Style! You can read more about that here:
http://www.vbulletin.com/forum/content.php/428-New-vBulletin-4-Light-Mobile-Style

Currently it's only compatible with the forum, meaning that no matter if you own the vBulletin Suite or vBulletin Forum Classic you can only use this for the forum at the moment however CMS and Blog versions are in development.

Now I've seen some posts already asking how to customize?

Example:
index.php?t=258994

Now what have I figured out?
  • The mobile style uses it's own css file, jquery.mobile-1.0a2.min.css
  • The .css file is located in: clientscript/jquery
  • Example path to file: clientscript/jquery/jquery.mobile-1.0a2.min.css
  • The CSS file reads left to right and it's all crammed together, making it hard to edit for novices.

Preferred CSS Layout?

Personally, I hate it when CSS is typed out as it is in the file, it's all crammed together and hard to read and edit imo! So I've taken the liberty and cleaned it up quite a bit, check it out below and remember it's an exact copy only in a more traditional style.

Example:
Code:
.ui-bar-a {
border:1px solid #2A2A2A;
background:#111;
color:#fff;
font-weight:bold;
text-shadow:0 -1px 1px #000;
background-image:-moz-linear-gradient(top,#3c3c3c,#111);
background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#3c3c3c),color-stop(1,#111));
-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorStr='#3c3c3c',EndColorStr='#111111')";
}

Optional
Using the article here: http://www.vbulletin.org/forum/showthread.php?p=2171624
You can include the additional.css template and/or remove the css file being called to avoid overwriting the css, please see my notes in the article for more detailed instructions and reasons etc.

*Article is pending, please stand by and it should be viewable shortly.

Download

File Type: %1$s product-innovative_mobile_style_css_over.xml (46.7 KB, 271 downloads)


vblts.ru supports vBulletin®, 2022-2024