vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 5.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=259)
-   -   Calendar Enhancements - [vBMods.rocks] Event Date That Rocks using CSS (https://vborg.vbsupport.ru/showthread.php?t=324677)

noypiscripter 03-10-2017 10:00 PM

[vBMods.rocks] Event Date That Rocks using CSS
 
1 Attachment(s)
The current design of the Event date in the Upcoming Events module in vBulletin 5.2.6 looks bland. Want to make it rock and look more appealing like below?

https://vborg.vbsupport.ru/external/2017/03/4.jpg

Add this custom CSS in css_additional.css template in AdminCP or in Sitebuilder > Style > CSS Editor

For vB 5.3.0+:
Code:

.b-event__date {
    border: 1px solid #ccc;
    margin-right: 10px;
    text-align: center;
    box-shadow: 3px 3px 0px rgba(00,0,0,.15);
    position: relative;
}
.b-event__date:before {
    content: '';
    position: absolute;
    left: calc(50% - (100% - 32px)/2);
    top: -4px;
    width: calc(100% - 34px);
    height: 7px;
    border-left: solid 1px #aaa;
    border-right: solid 1px #aaa;
}


For vB 5.2.6:
Code:

.b-event__bigdate {
    border: 1px solid #ccc;
    margin-right: 10px;
    text-align: center;
    box-shadow: 3px 3px 0px rgba(00,0,0,.15);
    position: relative;
}
.b-event__bigdate:before {
    content: '';
    position: absolute;
    left: calc(50% - (100% - 53px)/2);
    top: -4px;
    width: calc(100% - 53px);
    height: 7px;
    border-left: solid 1px #aaa;
    border-right: solid 1px #aaa;
}

This mod is also posted at https://vbmods.rocks/forum/vbulletin...ocks-using-css.

For more mods, visit https://vbmods.rocks

vbul.org 03-20-2017 02:56 PM

cool. Thank you :)

Mark.B 03-26-2017 08:26 AM

A quick heads up on this.....the css for the date is changing in 5.3.0 which makes the date text much smaller.
See http://www.talknewsuk.com/events
Then it will change again at some point...as per http://tracker.vbulletin.com/browse/VBV-17141

noypiscripter 03-27-2017 11:56 PM

Thanks for the heads up Mark. I'll update the css accordingly.

noypiscripter 04-05-2017 04:32 PM

Updated the CSS for 5.3.0 support.


All times are GMT. The time now is 09:23 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.01547 seconds
  • Memory Usage 1,718KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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