X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fthemes%2Fcustom%2Fyaffs%2Fscss%2Fstyle.scss;h=ea98c6694d970f6993b0373361e26b28c818b90c;hp=b4df142839f9a1679d5ca1edcfc6c29116b6639b;hb=7b6ed7b88ed72acee0c00baf73bd547986fb3e00;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae 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 {