X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fthemes%2Fcustom%2Fyaffs%2Fscss%2Fstyle.scss;h=a778a20ea1d7d22c5fce085402cb1fca52b1901d;hp=b4df142839f9a1679d5ca1edcfc6c29116b6639b;hb=439daa263544d7aa2a311a2e1cc7febbcc3c2ed0;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae diff --git a/web/themes/custom/yaffs/scss/style.scss b/web/themes/custom/yaffs/scss/style.scss index b4df14283..a778a20ea 100644 --- a/web/themes/custom/yaffs/scss/style.scss +++ b/web/themes/custom/yaffs/scss/style.scss @@ -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 {