From be0907d4ee9abcd8b1ee394604f215463dc96c42 Mon Sep 17 00:00:00 2001 From: andrewmbacon Date: Tue, 29 Jul 2014 15:10:35 -0400 Subject: [PATCH] Megafooter & Cal Icons --- _notes/dwsync.xml | 2 +- header.php | 12 ++++++- inc/_notes/dwsync.xml | 2 +- inc/reg-sidebars.php | 2 +- sass/variables.scss | 64 ++++++++++++++++++++-------------- style.css | 80 ++++++++++++++++++++++++++++++------------- 6 files changed, 108 insertions(+), 54 deletions(-) diff --git a/_notes/dwsync.xml b/_notes/dwsync.xml index d299f76..c32d828 100644 --- a/_notes/dwsync.xml +++ b/_notes/dwsync.xml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/header.php b/header.php index ef3611d..8310946 100644 --- a/header.php +++ b/header.php @@ -15,8 +15,18 @@ $parentColor = get_theme_mod( 'parentColor'); //$nav2 = get_theme_mod( 'navoption2','with-drop'); ?> - + + + + + + > + + + + + diff --git a/inc/_notes/dwsync.xml b/inc/_notes/dwsync.xml index 2c0b037..64b091e 100644 --- a/inc/_notes/dwsync.xml +++ b/inc/_notes/dwsync.xml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/inc/reg-sidebars.php b/inc/reg-sidebars.php index acaee35..5eeac02 100644 --- a/inc/reg-sidebars.php +++ b/inc/reg-sidebars.php @@ -17,7 +17,7 @@ if ( function_exists('register_sidebar') ) { 'name' => __( 'Mega Footer', 'theme_text_domain' ), 'description' => 'Limited to 6 widgets. Will appear at the bottom of every page in the site.', 'before_widget' => '', + 'after_widget' => ' ', 'before_title' => '

', 'after_title' => '

', 'pages' => array(), diff --git a/sass/variables.scss b/sass/variables.scss index 7b07ac8..71332f8 100644 --- a/sass/variables.scss +++ b/sass/variables.scss @@ -57,10 +57,14 @@ $widget-head-size: $widget-size !default; /* Sepcific Widgets */ // Events Calendar (icons) -$uc-ecw-month-bg: #7c7c7c !default; -$uc-ecw-month-color: #fff !default; -$uc-ecw-day-bg: #fff !default; +$uc-ecw-month-bg: #ccc !default; +$uc-ecw-month-color: #333 !default; +$uc-ecw-day-bg: #eee !default; $uc-ecw-day-color: #333 !default; +$uc-ecw-title-color: $widget-link-color !default; +$uc-ecw-title-hover: $widget-link-hover !default; +$uc-ecw-time-color: lighten($widget-link-color, 20%) !default; +$uc-ecw-time-hover: lighten($widget-link-hover, 20%) !default; @@ -83,18 +87,11 @@ $megafooter-widget-link-hover: $footers-link-hover !default; $megafooter-widget-head-bg: transparent !default; $megafooter-widget-head-color: $footers-color !default; -$uc-footer-link-color: $footers-link-color !default;; -$uc-footer-link-hover: $footers-link-hover !default;; +$uc-footer-link-color: $footers-link-color !default; +$uc-footer-link-hover: $footers-link-hover !default; $uc-footer-link-spacing: 1em !default;; - - - - - - - @mixin uc-cal() { .uc-cal { padding:0; @@ -105,41 +102,52 @@ $uc-footer-link-spacing: 1em !default;; margin:$widget-content-margin; a.uc-cal-event { font-family:$font-family-base; + padding-left:65px; + min-height:65px; .uc-cal-event-date { border:none; - width:33px; + width:50px; left:0; + box-shadow:none; + background-color:#eee; .uc-cal-event-month { height:auto; - padding:.4em; - font-size:.7em; + padding:.4em .2em .3em .2em; + font-size:.8em; background-color:$uc-ecw-month-bg; color:$uc-ecw-month-color; + font-weight:normal; + letter-spacing:0; + text-transform:capitalize; } .uc-cal-event-day { - padding:.4em; + padding:.5em .1em .6em; height:auto; background-color:$uc-ecw-day-bg; color:$uc-ecw-day-color; - font-size:.8em; + font-size:1.2em; } } .uc-cal-event-title { - color: $widget-link-color; + color:$uc-ecw-title-color ; + font-size:1em; + line-height:$line-height-base; + margin-bottom:.3em; + margin-top:.2em; } .uc-cal-event-time { - color: $widget-link-color; - opacity:.6; + color: $uc-ecw-time-color; + font-size:1em; } &:hover { .uc-cal-event-title { - color: $widget-link-hover; + color: $uc-ecw-title-hover; } .uc-cal-event-time { - color: $widget-link-hover; + color: $uc-ecw-time-hover; } @@ -156,19 +164,23 @@ $uc-footer-link-spacing: 1em !default;; .uc-cal-event-date { display:block; font-weight:normal; + color:#aaa; } .uc-cal-event-title { display:block; - color: $widget-link-color; + color: $uc-ecw-title-color; + line-height:$line-height-base; + } + .uc-cal-event-time { + color: $uc-ecw-time-color; } - &:hover { .uc-cal-event-title { - color: $widget-link-hover; + color: $uc-ecw-title-hover; } .uc-cal-event-time { - color: $widget-link-hover; + color: $uc-ecw-time-hover; } } } diff --git a/style.css b/style.css index 9964ea6..e9fb08a 100644 --- a/style.css +++ b/style.css @@ -7001,38 +7001,49 @@ code { } .page .uc-cal.uc-iconcal .uc-cal-list a.uc-cal-event { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + padding-left: 65px; + min-height: 65px; } .page .uc-cal.uc-iconcal .uc-cal-list a.uc-cal-event .uc-cal-event-date { border: none; - width: 33px; + width: 50px; left: 0; + box-shadow: none; + background-color: #eee; } .page .uc-cal.uc-iconcal .uc-cal-list a.uc-cal-event .uc-cal-event-date .uc-cal-event-month { height: auto; - padding: .4em; - font-size: .7em; - background-color: #7c7c7c; - color: white; + padding: .4em .2em .3em .2em; + font-size: .8em; + background-color: #cccccc; + color: #333333; + font-weight: normal; + letter-spacing: 0; + text-transform: capitalize; } .page .uc-cal.uc-iconcal .uc-cal-list a.uc-cal-event .uc-cal-event-date .uc-cal-event-day { - padding: .4em; + padding: .5em .1em .6em; height: auto; - background-color: white; + background-color: #eeeeee; color: #333333; - font-size: .8em; + font-size: 1.2em; } .page .uc-cal.uc-iconcal .uc-cal-list a.uc-cal-event .uc-cal-event-title { color: #428bca; + font-size: 1em; + line-height: 1.42857; + margin-bottom: .3em; + margin-top: .2em; } .page .uc-cal.uc-iconcal .uc-cal-list a.uc-cal-event .uc-cal-event-time { - color: #428bca; - opacity: .6; + color: #92bce0; + font-size: 1em; } .page .uc-cal.uc-iconcal .uc-cal-list a.uc-cal-event:hover .uc-cal-event-title { color: #2a6496; } .page .uc-cal.uc-iconcal .uc-cal-list a.uc-cal-event:hover .uc-cal-event-time { - color: #2a6496; + color: #5697d0; } .page .uc-cal.uc-listcal .uc-cal-list { margin: 1em; @@ -7043,16 +7054,21 @@ code { .page .uc-cal.uc-listcal .uc-cal-list a.uc-cal-event .uc-cal-event-date { display: block; font-weight: normal; + color: #aaa; } .page .uc-cal.uc-listcal .uc-cal-list a.uc-cal-event .uc-cal-event-title { display: block; color: #428bca; + line-height: 1.42857; +} +.page .uc-cal.uc-listcal .uc-cal-list a.uc-cal-event .uc-cal-event-time { + color: #92bce0; } .page .uc-cal.uc-listcal .uc-cal-list a.uc-cal-event:hover .uc-cal-event-title { color: #2a6496; } .page .uc-cal.uc-listcal .uc-cal-list a.uc-cal-event:hover .uc-cal-event-time { - color: #2a6496; + color: #5697d0; } /* POSTS @@ -7380,38 +7396,49 @@ object { } .widget.uc-ecw .uc-cal.uc-iconcal .uc-cal-list a.uc-cal-event { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + padding-left: 65px; + min-height: 65px; } .widget.uc-ecw .uc-cal.uc-iconcal .uc-cal-list a.uc-cal-event .uc-cal-event-date { border: none; - width: 33px; + width: 50px; left: 0; + box-shadow: none; + background-color: #eee; } .widget.uc-ecw .uc-cal.uc-iconcal .uc-cal-list a.uc-cal-event .uc-cal-event-date .uc-cal-event-month { height: auto; - padding: .4em; - font-size: .7em; - background-color: #7c7c7c; - color: white; + padding: .4em .2em .3em .2em; + font-size: .8em; + background-color: #cccccc; + color: #333333; + font-weight: normal; + letter-spacing: 0; + text-transform: capitalize; } .widget.uc-ecw .uc-cal.uc-iconcal .uc-cal-list a.uc-cal-event .uc-cal-event-date .uc-cal-event-day { - padding: .4em; + padding: .5em .1em .6em; height: auto; - background-color: white; + background-color: #eeeeee; color: #333333; - font-size: .8em; + font-size: 1.2em; } .widget.uc-ecw .uc-cal.uc-iconcal .uc-cal-list a.uc-cal-event .uc-cal-event-title { color: #428bca; + font-size: 1em; + line-height: 1.42857; + margin-bottom: .3em; + margin-top: .2em; } .widget.uc-ecw .uc-cal.uc-iconcal .uc-cal-list a.uc-cal-event .uc-cal-event-time { - color: #428bca; - opacity: .6; + color: #92bce0; + font-size: 1em; } .widget.uc-ecw .uc-cal.uc-iconcal .uc-cal-list a.uc-cal-event:hover .uc-cal-event-title { color: #2a6496; } .widget.uc-ecw .uc-cal.uc-iconcal .uc-cal-list a.uc-cal-event:hover .uc-cal-event-time { - color: #2a6496; + color: #5697d0; } .widget.uc-ecw .uc-cal.uc-listcal .uc-cal-list { margin: 1em; @@ -7422,16 +7449,21 @@ object { .widget.uc-ecw .uc-cal.uc-listcal .uc-cal-list a.uc-cal-event .uc-cal-event-date { display: block; font-weight: normal; + color: #aaa; } .widget.uc-ecw .uc-cal.uc-listcal .uc-cal-list a.uc-cal-event .uc-cal-event-title { display: block; color: #428bca; + line-height: 1.42857; +} +.widget.uc-ecw .uc-cal.uc-listcal .uc-cal-list a.uc-cal-event .uc-cal-event-time { + color: #92bce0; } .widget.uc-ecw .uc-cal.uc-listcal .uc-cal-list a.uc-cal-event:hover .uc-cal-event-title { color: #2a6496; } .widget.uc-ecw .uc-cal.uc-listcal .uc-cal-list a.uc-cal-event:hover .uc-cal-event-time { - color: #2a6496; + color: #5697d0; } .widget.uc-ecw .uc-cal-link { margin: 1em;