diff --git a/css/suitcase.css b/css/suitcase.css
index 65a2a99..316fb75 100644
--- a/css/suitcase.css
+++ b/css/suitcase.css
@@ -273,8 +273,10 @@ a:hover {
#section-content .pane-menu-menu-social a.external:after,
#section-content .block-menu-social a:after,
#section-content .view-resources a.external:after,
-#section-content .bibio-entry a.external:after {
+#section-content .bibio-entry a.external:after,
+#section-content .flex-caption a.external:after {
content: '';
+ display: none;
}
/* -------------------- */
@@ -624,12 +626,32 @@ input[type=submit].form-submit {
border: 1px solid #ddd;
}
-
.media-heading {
margin-top: 0;
margin-bottom: 0;
}
+/* Media Card Layout */
+
+.media.media_card {
+ margin-top: 0.5rem;
+ margin-bottom: 0.5rem;
+ align-items: flex-start;
+}
+
+.media.media_card .media-heading {
+ margin-bottom: 1rem;
+}
+
+.people_media-card_heading {
+ font-size: 1.25rem;
+}
+
+.people_media-card_position {
+ font-size: 1rem;
+ color: #676767;
+}
+
/* -------------------- */
/* Icon Menus */
@@ -904,21 +926,19 @@ input[type=submit].form-submit {
transition: all .25s ease;
}
+#isu-menu-nav .sm a:hover,
+#isu-menu-nav .sm a:focus,
+#isu-menu-nav .sm a:active,
+#isu-menu-nav .sm a.highlighted,
#isu-menu-nav .sm ul a:hover,
#isu-menu-nav .sm ul a:focus,
#isu-menu-nav .sm ul a:active,
#isu-menu-nav .sm ul a.highlighted {
color: #fff;
- background: #777;
+ background: #666;
transition: all 0.25s ease;
}
-#isu-menu-nav .sm ul a:focus,
-#isu-menu-nav .sm ul a:active,
-#isu-menu-nav .sm ul a.highlighted {
- border: 2px #F1BE48;
-}
-
#isu-menu-nav #isu-index-menu { float: left; }
#isu-menu-nav #isu-index-menu ul a,
@@ -1375,10 +1395,18 @@ ul.tabs.secondary img {
border: 1px solid #bbb;
}
-.flex-caption a {
+.flex-caption a,
+.flex-caption a > p {
+ color: #cc0000;
text-decoration: none;
}
+.flex-caption a:hover,
+.flex-caption a:hover > p {
+ color: #0062a0;
+ text-decoration: underline;
+}
+
.flex-caption p {
margin-bottom: 0;
font-size: 1rem;
@@ -1501,7 +1529,17 @@ in the panel settings */
margin-bottom: 1rem;
}
-@media (max-width: 1139px) and (min-width: 600px) {
+@media (min-width: 1141px) {
+
+ .megapanels-pane:first-child:nth-last-child(4),
+ .megapanels-pane:first-child:nth-last-child(4) ~ .megapanels-pane {
+ width: calc(25% - 1rem);
+ flex: 0 1 auto;
+ min-width: 0;
+ }
+}
+
+@media (max-width: 1140px) and (min-width: 600px) {
.megapanels-pane:first-child:nth-last-child(4),
.megapanels-pane:first-child:nth-last-child(4) ~ .megapanels-pane {
@@ -1510,7 +1548,7 @@ in the panel settings */
}
}
-@media (max-width: 829px) and (min-width: 548px) {
+@media (max-width: 1000px) and (min-width: 548px) {
.megapanels-pane:first-child:nth-last-child(3),
.megapanels-pane:first-child:nth-last-child(3) ~ .megapanels-pane {
@@ -1780,7 +1818,7 @@ aside.region {
margin: 0 0 1rem 0;
}
-.item-list ul li a {
+.item-list ul > li > a {
display: block;
}
@@ -2301,9 +2339,32 @@ h2.node-title {
color: #616161;
}
+.calendar-calendar td .inner div.day a {
+ color: #467CA0;
+}
+
+.calendar-calendar td {
+ color: #676767;
+}
+
.calendar-calendar td.empty {
/* Overrides green from module */
- color: #616161;
+ color: #444444;
+}
+
+.calendar-calendar th.days,
+.calendar-calendar div.date-nav a, .calendar-calendar div.date-nav h3 {
+ color: #000000;
+}
+
+table td.mini.today a {
+ font-weight: bold;
+}
+
+.calendar-calendar tr td.today,
+.calendar-calendar tr.odd td.today,
+.calendar-calendar tr.even td.today {
+ background-color: #d8e7ee;
}
/* --- Month View --- */
@@ -2330,6 +2391,13 @@ h2.node-title {
background: #006ba6;
}
+.calendar-calendar .month-view .full td.multi-day .inner .monthview .continues,
+.calendar-calendar .month-view .full td.multi-day .inner .monthview .cutoff,
+.calendar-calendar .week-view .full td.multi-day .inner .weekview .continues,
+.calendar-calendar .week-view .full td.multi-day .inner .weekview .cutoff {
+ background: #006ba6;
+}
+
td.multi-day .calendar.monthview a,
td.multi-day .calendar.weekview a,
td.multi-day .calendar.dayview a {
diff --git a/panels/layouts/media_card/media-card.tpl.php b/panels/layouts/media_card/media-card.tpl.php
new file mode 100644
index 0000000..6f696a4
--- /dev/null
+++ b/panels/layouts/media_card/media-card.tpl.php
@@ -0,0 +1,22 @@
+
\ No newline at end of file
diff --git a/panels/layouts/media_card/media_card.inc b/panels/layouts/media_card/media_card.inc
new file mode 100644
index 0000000..d805afa
--- /dev/null
+++ b/panels/layouts/media_card/media_card.inc
@@ -0,0 +1,22 @@
+ t('Media Card'),
+ 'category' => t('Suitcase: Media Card'),
+ 'icon' => 'media_card.jpg',
+ 'theme' => 'media_card',
+ 'admin css' => 'media_card_admin.css',
+ 'regions' => array(
+ 'media_left' => t('Left'),
+ 'media_heading' => t('Heading'),
+ 'media_body' => t('Body'),
+ ),
+ );
+ return $items;
+}
+
+
diff --git a/panels/layouts/media_card/media_card.jpg b/panels/layouts/media_card/media_card.jpg
new file mode 100644
index 0000000..5337d46
Binary files /dev/null and b/panels/layouts/media_card/media_card.jpg differ
diff --git a/panels/layouts/media_card/media_card_admin.css b/panels/layouts/media_card/media_card_admin.css
new file mode 100644
index 0000000..8bcdb91
--- /dev/null
+++ b/panels/layouts/media_card/media_card_admin.css
@@ -0,0 +1,35 @@
+.media {
+ /* Overrides blog_blog.css */
+ display: flex !important;
+ align-items: center;
+ margin-bottom: 1rem;
+ margin-right: 1rem;
+}
+
+.media.media_card {
+ wdith: 100%;
+ margin-top: 0.5rem;
+ margin-bottom: 0.5rem;
+ align-items: flex-start;
+}
+
+.media-left {
+ min-width: 250px;
+ flex: 0 0 auto;
+ margin-right: 1rem;
+ margin-bottom: 0.5rem;
+ padding: 0;
+}
+
+.media-left img {
+ border: 1px solid #ddd;
+}
+
+.media-body {
+ flex-grow: 1;
+}
+
+.media-heading {
+ margin-top: 0;
+ margin-bottom: 0;
+}
\ No newline at end of file
diff --git a/preprocess/preprocess-block.inc b/preprocess/preprocess-block.inc
new file mode 100644
index 0000000..cf69be7
--- /dev/null
+++ b/preprocess/preprocess-block.inc
@@ -0,0 +1,12 @@
+subject) {
+ $vars['title_attributes_array']['id'] = drupal_html_id($vars['block']->subject);
+ $vars['attributes_array']['aria-labelledby'] = $vars['title_attributes_array']['id'];
+ }
+}
\ No newline at end of file
diff --git a/preprocess/preprocess-region.inc b/preprocess/preprocess-region.inc
index cda75d1..6e9f282 100644
--- a/preprocess/preprocess-region.inc
+++ b/preprocess/preprocess-region.inc
@@ -58,7 +58,4 @@ function suitcase_interim_alpha_preprocess_region(&$vars) {
unset($vars['elements']['#grid']);
unset($vars['elements']['#grid_container']);
}
- elseif (strpos($vars['region'], 'sidebar') === 0) {
- $vars['attributes_array']['role'] = 'complementary';
- }
}
diff --git a/preprocess/preprocess-section.inc b/preprocess/preprocess-section.inc
index ce6c3be..dd912b9 100644
--- a/preprocess/preprocess-section.inc
+++ b/preprocess/preprocess-section.inc
@@ -10,4 +10,7 @@ function suitcase_interim_alpha_preprocess_section(&$vars) {
if ($vars['elements']['#section'] == 'footer') {
$vars['attributes_array']['role'] = 'contentinfo';
}
-}
+ if ($vars['elements']['#section'] == 'content') {
+ $vars['attributes_array']['aria-label'] = 'main content';
+ }
+}
\ No newline at end of file
diff --git a/template.php b/template.php
index 1a3f649..402aef1 100644
--- a/template.php
+++ b/template.php
@@ -363,7 +363,7 @@ function suitcase_interim_menu_link__menu_social($variables) {
}
if (!empty($font_awesome_icon)) {
- $element['#title'] = ' ' . $element['#title'] . '';
+ $element['#title'] = ' ' . $element['#title'] . '';
$element['#localized_options']['html'] = TRUE;
}
diff --git a/templates/date-views-pager.tpl.php b/templates/date-views-pager.tpl.php
new file mode 100644
index 0000000..c4d2fa0
--- /dev/null
+++ b/templates/date-views-pager.tpl.php
@@ -0,0 +1,55 @@
+view
+ * The view object for this navigation.
+ *
+ * $nav_title
+ * The formatted title for this view. In the case of block
+ * views, it will be a link to the full view, otherwise it will
+ * be the formatted name of the year, month, day, or week.
+ *
+ * $prev_url
+ * $next_url
+ * Urls for the previous and next calendar pages. The links are
+ * composed in the template to make it easier to change the text,
+ * add images, etc.
+ *
+ * $prev_options
+ * $next_options
+ * Query strings and other options for the links that need to
+ * be used in the l() function, including rel=nofollow.
+ */
+?>
+
+
+
+
diff --git a/templates/default_region_content_blocks/footer_third.tpl.php b/templates/default_region_content_blocks/footer_third.tpl.php
index 26851fe..4b85c51 100644
--- a/templates/default_region_content_blocks/footer_third.tpl.php
+++ b/templates/default_region_content_blocks/footer_third.tpl.php
@@ -1,8 +1,8 @@
diff --git a/templates/node.tpl.php b/templates/node.tpl.php
index 56df311..800c07c 100644
--- a/templates/node.tpl.php
+++ b/templates/node.tpl.php
@@ -21,8 +21,10 @@
-
-
+
+
+
+
diff --git a/templates/region--content.tpl.php b/templates/region--content.tpl.php
index d270886..11109eb 100644
--- a/templates/region--content.tpl.php
+++ b/templates/region--content.tpl.php
@@ -1,4 +1,4 @@
-
>
+>
>
diff --git a/templates/region--isu_menu.tpl.php b/templates/region--isu_menu.tpl.php
index a5a84dc..a6021d3 100644
--- a/templates/region--isu_menu.tpl.php
+++ b/templates/region--isu_menu.tpl.php
@@ -1,12 +1,12 @@