Ai1ec event block styles. Sidebar styles. Partner block styles.
authorLaury GvR <laury@gaslightmedia.com>
Wed, 1 Apr 2015 17:11:09 +0000 (13:11 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 1 Apr 2015 17:11:09 +0000 (13:11 -0400)
scss/_structure.scss
single.php

index 159ef29..ab990a2 100644 (file)
@@ -572,50 +572,50 @@ slider .metaslider img,
             box-shadow: 2px 3px 9px 0px #ababab;
         }
     }
-    .sidebar {
-        h3 {
-            color: $black;
-            background: #9fa617;
-            text-align: center;
-            margin-bottom: 0;
-            padding: 10px 0;
-        }
-        ul {
-            list-style: none;
-            margin-left: 0;
-            li {
-                border-bottom: 1px solid $white;
-                background: #c5c974;
-                padding: 2px 0 2px 15px;
-                a {                    
-                    color: $black;
-                    text-transform: uppercase;
-                    &#active {
-                        color: $red;
-                    }
+    .stButton .stFb, .stButton .stTwbutton, .stButton .stMainServices {
+        height: auto;
+    }
+}
+.sidebar {
+    h3 {
+        color: $black;
+        background: #9fa617;
+        text-align: center;
+        margin-bottom: 0;
+        padding: 10px 0;
+    }
+    ul {
+        list-style: none;
+        margin-left: 0;
+        li {
+            border-bottom: 1px solid $white;
+            background: #c5c974;
+            padding: 2px 0 2px 15px;
+            a {                    
+                color: $black;
+                text-transform: uppercase;
+                &#active {
+                    color: $red;
                 }
             }
         }
-        .tab {
+    }
+    .tab {
+        background: #c8b776;
+        h3 {
+            color: $white;
             background: #c8b776;
-            h3 {
-                color: $white;
-                background: #c8b776;
-                text-align: center;
-                padding: 11px 0;
-                margin-bottom: 8px;
-                
-            }
-        }
-        .page_item:hover a {
-            font-weight: bold;
-        }
-        .current_page_item a {
-            font-weight: bold;
+            text-align: center;
+            padding: 11px 0;
+            margin-bottom: 8px;
+
         }
     }
-    .stButton .stFb, .stButton .stTwbutton, .stButton .stMainServices {
-        height: auto;
+    .page_item:hover a {
+        font-weight: bold;
+    }
+    .current_page_item a {
+        font-weight: bold;
     }
 }
 h3 {
@@ -1092,4 +1092,62 @@ nav.top-bar.expanded .toggle-topbar a {
         text-align: center;
     }
 }
-/* End Blog & Posts */
\ No newline at end of file
+/* End Blog & Posts */
+
+/* GLM Blocks */
+#partner-block {
+    text-align: center;
+    .title-posts {
+        display: none;
+    }
+    .block {
+        width: 100%;
+        float: none;
+        padding: 0 0 25px;
+    }
+    p {
+        padding: 10px 10px 0;
+    }
+    h3 {
+        background: $black;
+        padding: 10px 0;
+        margin: 0;
+    }
+    img {
+        width: 100%;
+    }
+}
+/* End GLM Blocks */
+
+/* Time.ly event calendar */
+#blocks { // for the front-page mini-calendar
+    .ai1ec-agenda-buttons.ai1ec-btn-toolbar.ai1ec-pull-right,
+    .ai1ec-subscribe-container.ai1ec-pull-right.ai1ec-btn-group,
+    .ai1ec-views-dropdown.ai1ec-btn-group.ai1ec-pull-right,
+    .ai1ec-date-block-wrap,
+    .ai1ec-pull-left,
+    .ai1ec-event-description {
+        display: none;
+    }
+    #ai1ec-container {
+        margin-bottom: 10px;
+    }
+    .ai1ec-event-wrap {
+        background-color: transparent;
+        box-shadow: none;
+    }
+    .ai1ec-load-event,
+    .ai1ec-event-time {
+        font-family: helvetica;
+        font-size: 16px;
+        color: black;
+        margin-top: 0;
+    }
+    .ai1ec-event-time {
+        font-weight: normal;
+    }
+    .ai1ec-event-title {
+        line-height: 16px;
+    }
+}
+/* End Time.ly event calendar */
\ No newline at end of file
index 23fba36..37bcfff 100644 (file)
@@ -1,5 +1,8 @@
 <?php get_header(); ?>
 <div id="content-wrapper" class='side-shadow row'>
+    <?php if ("ai1ec_event" == get_post_type()) { ?>
+        <?php get_sidebar(); ?>
+    <?php } ?>
     <div id="blog-posts-over" class="small-12 medium-9 columns">
         <?php if(have_posts()) : while(have_posts()): the_post();?>
         <div class="row content" id="blog-posts-container">