From d03be4dd53a5628844df19550ba78f615e36046d Mon Sep 17 00:00:00 2001 From: Michael Craig Date: Mon, 12 Jun 2023 14:52:15 -0700 Subject: [PATCH] add reference css --- css/no-results.css | 77 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 css/no-results.css diff --git a/css/no-results.css b/css/no-results.css new file mode 100644 index 0000000..96fbc96 --- /dev/null +++ b/css/no-results.css @@ -0,0 +1,77 @@ +/* Styles for Haven't Found Box */ +#findItBox { + background-color: #f3f3f3; + box-shadow: 0 1px 0 0 rgba(0,0,0,.03), 0 5px 5px -3px rgba(0,0,0,.07); + margin: 10px 0 100px 0; + box-sizing: border-box; + -ms-flex-direction: column; + flex-direction: column; +} +#findItBox .md-headline { + text-align: center; +} +#findItBox .md-subheadline { + display: inline-block; + font-size: 20px; + font-weight: 300; + margin-bottom: 15px; +} +#findItBox md-card-content { + display: flex; + flex-flow: row wrap; + justify-content: center; + align-items: flex-start; + color: #555; +} +#findItBox md-card-content > div { + margin: 10px 20px; +} +#findItBox md-list-item { + align-items: flex-start; + margin-bottom: 15px; + padding-left: 0; +} +#findItBox md-list-item.align-center { + align-items: center; +} +#findItBox md-list-item > div { + float: left; +} +#findItBox md-list-item a { font-size: 17px; } +#findItBox md-list-item p { margin: 0 0 .2em; } +#findItBox img { + margin: 0px 8px -10px 0px; +} +#findItBox a.img:hover, +#findItBox a.img:focus, +#findItBox a.img:active { + box-shadow: none; +} +@media all and (min-width: 600px) { + #findItBox md-card-content { + flex-flow: row nowrap; + } +} +/* Didn't Find it? sidebar jump button */ +#findItButton { + position: fixed; + top: 50vh; + right: -51px; + transform: rotate(90deg); + min-height: auto; + border-radius: 0px; + background-color: #32579b; + color: #fff; + font-weight: bold; + text-transform: none; + line-height: 26px; + z-index: 70; +} +#findItButton:hover { + background-color: #ddd; + color: #32579b; +} +/* Hide the Didn't find it box on the My Favorites page */ +prm-favorites prm-search-result-list-after { + display: none; +}