-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9a53e28
commit d03be4d
Showing
1 changed file
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} |