Final changes for the Use cases on the live site.
[yaffs-website] / web / themes / custom / yaffs / scss / style.scss
index b4df142839f9a1679d5ca1edcfc6c29116b6639b..a778a20ea1d7d22c5fce085402cb1fca52b1901d 100644 (file)
@@ -247,6 +247,89 @@ header {
   }
 }
 
+/* Space the use-cases page. */
+.view-id-use_cases, .view-id-use {
+  .view-header {
+    .views-field-title {
+      margin-top: inherit;
+      padding-top: inherit;
+      border-top-width: inherit;
+      border-top-style: inherit;
+      border-top-color: inherit;
+    }
+    .views-field-field-image {
+      margin-top: inherit;
+      margin-bottom: inherit;
+    }
+  }
+  .view-content {
+    .views-field-title {
+      margin-top: 2.2em;
+      padding-top: 0;
+      border-top-width: 1px;
+      border-top-style: solid;
+      border-top-color: $yaffs-fade-1;
+    }
+    .views-field-field-image {
+      margin-top: 0.6em;
+      margin-bottom: 0.6em;
+    }
+  }
+  .view-footer {
+    h3 {
+      margin-top: 1.7em;
+      padding-top: 1em;
+      border-top-width: 1px;
+      border-top-style: solid;
+      border-top-color: $yaffs-fade-1;
+    }
+  }
+}
+
+/* For admin, stop the silliness with search rollover stopping clicks on nav links */
+.region-navigation-collapsible {
+  #block-searchform.search-block-form.contextual-region.block.block-search.block-search-form-block {
+      position: inherit !important;
+  }
+}
+
+
+
+// Space the use-cases page.
+.view-id-use-case, .view-id-use {
+  .view-header {
+    .views-field-title {
+      margin-top: inherit;
+      padding-top: inherit;
+      border-top-width: inherit;
+      border-top-style: inherit;
+      border-top-color: inherit;
+    }
+    .views-field-field-image {
+      margin-top: inherit;
+      margin-bottom: inherit;
+    }
+  }
+  .view-content {
+    .views-field-title {
+      margin-top: 2.2em;
+      padding-top: 0;
+      border-top-width: 1px;
+      border-top-style: solid;
+      border-top-color: $yaffs-fade-1;
+    }
+    .views-field-field-image {
+      margin-top: 0.6em;
+      margin-bottom: 0.6em;
+    }
+  }
+}
+
+// For admin, stop the silliness with search rollover stopping clicks on nav links
+.search-block-form.contextual-region {
+  position:static;
+}
+
 /* Styling for Yaffs papers */
 .paper, .page {