From 7b6ed7b88ed72acee0c00baf73bd547986fb3e00 Mon Sep 17 00:00:00 2001 From: Jeff Veit Date: Tue, 5 Sep 2017 16:26:10 +0100 Subject: [PATCH] Style changes for the Use cases. --- web/themes/custom/yaffs/css/style.css | 84 ++++++++++++++++++++++--- web/themes/custom/yaffs/scss/style.scss | 74 ++++++++++++++++++++++ 2 files changed, 149 insertions(+), 9 deletions(-) diff --git a/web/themes/custom/yaffs/css/style.css b/web/themes/custom/yaffs/css/style.css index 103d2819e..757de0084 100644 --- a/web/themes/custom/yaffs/css/style.css +++ b/web/themes/custom/yaffs/css/style.css @@ -13632,8 +13632,74 @@ header .smaller { 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 */ -/* 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 }*/ @@ -13658,22 +13724,22 @@ header .smaller { 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; } -/* line 260, ../scss/style.scss */ +/* line 334, ../scss/style.scss */ .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; } -/* 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; @@ -13681,15 +13747,15 @@ header .smaller { 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; } -/* line 279, ../scss/style.scss */ +/* line 353, ../scss/style.scss */ .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, @@ -13704,7 +13770,7 @@ header .smaller { 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 { diff --git a/web/themes/custom/yaffs/scss/style.scss b/web/themes/custom/yaffs/scss/style.scss index b4df14283..ea98c6694 100644 --- a/web/themes/custom/yaffs/scss/style.scss +++ b/web/themes/custom/yaffs/scss/style.scss @@ -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 { -- 2.30.2