• Resolved lamberbee

    (@lamberbee)


    Great plug-in but wanted it to integrate more in the color scheme of my website. Already saw several hints towards tweaking but not conclusive.

    I’m still a CSS novice, so learning, but like to share my tweaks with you all. If it can be improved, share it.

    Make the following changes in the general.css (Vortex)
    Hope it makes sense.

    .ai1ec-agenda-widget-view
    add: background-color: transparent! important;

    important to override in .thenly
    background-color: #fff;

    .ai1ec-agenda-widget-view .ai1ec-event a
    background: #fff; > #333;
    border: 1px solid #d4d4d4 > #444;
    color: #507295; > #fff

    .ai1ec-agenda-widget-view .ai1ec-event a:hover
    border-color: #aeaeae; > #aaa /* Only border lights up when hovering over */
    remove: color: #354c63; /* Text stays white */

    /* Same color pattern as the 2 entries above */
    .ai1ec-agenda-widget-view .ai1ec-event.ai1ec-allday a
    background: #507295; > #333
    border: 1px solid transparent; > #444

    .ai1ec-agenda-widget-view .ai1ec-event.ai1ec-allday a:hover
    background: #354c63; > #333
    add: border: 1px solid #AAA;

    .thenly .btn (1137) /* Calendar button, change Text color */
    color: #333; > #667! important; /* to override #footer a #ccc in style.css:2625 */

    .ai1ec-agenda-widget-view .ai1ec-date
    remove: all background entries so no gradient is shown but underlying background
    remove: border-top: 1px solid #e5e5e5!important; /* no line above calendar entry */
    /* Maybe not remove border-top but use transparant to create space in IE */

    .ai1ec-agenda-widget-view h3.ai1ec-date-title
    border: 2px solid #8ba5c0; > #d12d37 /* Choose any color, eg site color */

    .ai1ec-agenda-widget-view .ai1ec-month
    background: #8ba5c0; > #d12d37 /* Choose same color as previous entry */

    http://wordpress.org/extend/plugins/all-in-one-event-calendar/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter lamberbee

    (@lamberbee)

    An update for V1.7 which was a lot easier as some clean up was done in the hierarchy of the classes. Here we go, if someone has improvements, post it here.

    Transparancy /* no need to change the core style anymore .thenly */

    .ai1ec-agenda-widget-view .ai1ec-date (line 1677)
    Comment out: border-top style /* No top line per day event(s)
    Comment out: all background styles /*transparant background inherentance is kept from base .ai1ec-agenda-widget-view */

    .ai1ec-agenda-widget-view .ai1ec-date.ai1ec-today (line 1691)
    Comment out: Same as previous class

    Color adjustment calendar item
    .ai1ec-agenda-widget-view h3.ai1ec-date-title (line 1702)
    border: 2px solid #8ba5c0; /* border, choose any color, eg site color */

    .ai1ec-agenda-widget-view .ai1ec-month (line 1730)
    background: #8ba5c0; /* eg Site color */

    Color adjustment event text

    .ai1ec-agenda-widget-view .ai1ec-event a
    color: #507295; /* Do nothing, color of the text */
    border: 1px solid #d4d4d4; /* Set border color */
    background: #ffffff; /* Gray background in function of theme footer color */

    .ai1ec-agenda-widget-view .ai1ec-event a:hover
    color: #354c63; /* Keep same color when hover over */
    border-color: #aeaeae; > #aaa /* Light border when hover over */

    Color adjustment button ‘view calendar’

    .thenly .btn:first-child {
    Add: color: #xxx! important; /* Text color for all Buttons */

    @lamberbee
    Can you create an article on help.then.ly It will reach more users of ai1ec?
    Thank you!

    Thread Starter lamberbee

    (@lamberbee)

    gladly. Do I post this as a question, don’t see a link to post an article.

    Yes, posting it as a question is fine. Just add the following at the top of the question:
    – This is to be turn into an article
    – It was suggested to post it here by Yani on WordPress forums
    – Author: your name
    then type the article content.

    Thank you in advance!

    Thanks lamberbee – I’ve created a post there and credited you.

    http://j.mp/KutMIw

    Thread Starter lamberbee

    (@lamberbee)

    Looks good Sauril 😉
    Thanks

    Quick question, I’m trying to style the header of the widget as it shows up on the homepage of my site, and its id=ai1ec_agenda_widget-2
    Would I write a new style just for this id? It only needs to change how it shows on the homepage, not anywhere else.
    Thanks for the styling help above though, very helpful

    Thread Starter lamberbee

    (@lamberbee)

    Create a new style where you include the parent class id in the name,
    like this

    .homePage #ai1ec_agenda_widget-2 {
    }

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: All-in-One Event Calendar] Tweaking the widget (Colors, transparency, …)’ is closed to new replies.