Style changes for the Use cases.
authorJeff Veit <jeff.veit@gmail.com>
Tue, 5 Sep 2017 15:26:10 +0000 (16:26 +0100)
committerJeff Veit <jeff.veit@gmail.com>
Tue, 5 Sep 2017 15:26:10 +0000 (16:26 +0100)
web/themes/custom/yaffs/css/style.css
web/themes/custom/yaffs/scss/style.scss

index 103d2819ecd16c07bd951dce211ca34d5a07ed7e..757de00848fa744a3f3b7ad50d731397a964aa25 100644 (file)
@@ -13632,8 +13632,74 @@ header .smaller {
   clear: both;
 }
 
   clear: both;
 }
 
+/* Space the use-cases page. */
+/* line 253, ../scss/style.scss */
+.view-id-use-case .view-header .views-field-title, .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;
+}
+/* line 260, ../scss/style.scss */
+.view-id-use-case .view-header .views-field-field-image, .view-id-use .view-header .views-field-field-image {
+  margin-top: inherit;
+  margin-bottom: inherit;
+}
+/* line 266, ../scss/style.scss */
+.view-id-use-case .view-content .views-field-title, .view-id-use .view-content .views-field-title {
+  margin-top: 2.2em;
+  padding-top: 0;
+  border-top-width: 1px;
+  border-top-style: solid;
+  border-top-color: #cbe4e8;
+}
+/* line 273, ../scss/style.scss */
+.view-id-use-case .view-content .views-field-field-image, .view-id-use .view-content .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 */
+/* line 282, ../scss/style.scss */
+.region-navigation-collapsible #block-searchform.search-block-form.contextual-region.block.block-search.block-search-form-block {
+  position: inherit !important;
+}
+
+/* line 292, ../scss/style.scss */
+.view-id-use-case .view-header .views-field-title, .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;
+}
+/* line 299, ../scss/style.scss */
+.view-id-use-case .view-header .views-field-field-image, .view-id-use .view-header .views-field-field-image {
+  margin-top: inherit;
+  margin-bottom: inherit;
+}
+/* line 305, ../scss/style.scss */
+.view-id-use-case .view-content .views-field-title, .view-id-use .view-content .views-field-title {
+  margin-top: 2.2em;
+  padding-top: 0;
+  border-top-width: 1px;
+  border-top-style: solid;
+  border-top-color: #cbe4e8;
+}
+/* line 312, ../scss/style.scss */
+.view-id-use-case .view-content .views-field-field-image, .view-id-use .view-content .views-field-field-image {
+  margin-top: 0.6em;
+  margin-bottom: 0.6em;
+}
+
+/* line 320, ../scss/style.scss */
+.search-block-form.contextual-region {
+  position: static;
+}
+
 /* Styling for Yaffs papers */
 /* Styling for Yaffs papers */
-/* line 251, ../scss/style.scss */
+/* line 325, ../scss/style.scss */
 .paper, .page {
   /*p.western { font-family: "Liberation Sans", sans-serif; font-size: 11pt }
     p.cjk { font-size: 10pt }*/
 .paper, .page {
   /*p.western { font-family: "Liberation Sans", sans-serif; font-size: 11pt }
     p.cjk { font-size: 10pt }*/
@@ -13658,22 +13724,22 @@ header .smaller {
   a:link { so-language: zxx }
   */
 }
   a:link { so-language: zxx }
   */
 }
-/* line 253, ../scss/style.scss */
+/* line 327, ../scss/style.scss */
 .paper p, .page p {
   orphans: 2;
   widows: 2;
   page-break-before: auto;
 }
 .paper p, .page p {
   orphans: 2;
   widows: 2;
   page-break-before: auto;
 }
-/* line 260, ../scss/style.scss */
+/* line 334, ../scss/style.scss */
 .paper #Frame1 img, .page #Frame1 img {
   clear: left;
   margin-top: 1em;
 }
 .paper #Frame1 img, .page #Frame1 img {
   clear: left;
   margin-top: 1em;
 }
-/* line 268, ../scss/style.scss */
+/* line 342, ../scss/style.scss */
 .paper #Frame2 p.frame-contents-western, .page #Frame2 p.frame-contents-western {
   font-size: 20px;
 }
 .paper #Frame2 p.frame-contents-western, .page #Frame2 p.frame-contents-western {
   font-size: 20px;
 }
-/* line 271, ../scss/style.scss */
+/* line 345, ../scss/style.scss */
 .paper #Frame2 p.frame-contents-western:first-child, .page #Frame2 p.frame-contents-western:first-child {
   font: 0/0 a;
   color: transparent;
 .paper #Frame2 p.frame-contents-western:first-child, .page #Frame2 p.frame-contents-western:first-child {
   font: 0/0 a;
   color: transparent;
@@ -13681,15 +13747,15 @@ header .smaller {
   background-color: transparent;
   border: 0;
 }
   background-color: transparent;
   border: 0;
 }
-/* line 274, ../scss/style.scss */
+/* line 348, ../scss/style.scss */
 .paper #Frame2 p.frame-contents-western:last-child, .page #Frame2 p.frame-contents-western:last-child {
   font-size: 18px;
 }
 .paper #Frame2 p.frame-contents-western:last-child, .page #Frame2 p.frame-contents-western:last-child {
   font-size: 18px;
 }
-/* line 279, ../scss/style.scss */
+/* line 353, ../scss/style.scss */
 .paper table, .page table {
   border: 1px solid #ddd;
 }
 .paper table, .page table {
   border: 1px solid #ddd;
 }
-/* line 285, ../scss/style.scss */
+/* line 359, ../scss/style.scss */
 .paper table > thead > tr > th,
 .paper table > thead > tr > td,
 .paper table > tbody > tr > th,
 .paper table > thead > tr > th,
 .paper table > thead > tr > td,
 .paper table > tbody > tr > th,
@@ -13704,7 +13770,7 @@ header .smaller {
   border: 1px solid #ddd;
   padding: 1ex;
 }
   border: 1px solid #ddd;
   padding: 1ex;
 }
-/* line 293, ../scss/style.scss */
+/* line 367, ../scss/style.scss */
 .paper table > thead > tr > th,
 .paper table > thead > tr > td, .page table > thead > tr > th,
 .page table > thead > tr > td {
 .paper table > thead > tr > th,
 .paper table > thead > tr > td, .page table > thead > tr > th,
 .page table > thead > tr > td {
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 {
 
 /* Styling for Yaffs papers */
 .paper, .page {