Style changes for the Use cases.
[yaffs-website] / web / themes / custom / yaffs / scss / style.scss
index b4df142839f9a1679d5ca1edcfc6c29116b6639b..ea98c6694d970f6993b0373361e26b28c818b90c 100644 (file)
@@ -247,6 +247,80 @@ header {
   }
 }
 
+/* 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 */
+.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 {