Added basic support of search for objects.
This commit is contained in:
@ -24,7 +24,8 @@
|
||||
*/
|
||||
|
||||
html { margin: 0; padding: 0; }
|
||||
body { margin: 0; padding: 0; font-family: sourceSansPro; font-size: 1.15em; line-height: 1.5; }
|
||||
body { margin: 0; padding: 0; font-family: sourceSansPro;
|
||||
font-size: 1.15em; line-height: 1.5; }
|
||||
|
||||
* { box-sizing: border-box; z-index: 1; }
|
||||
a { color: inherit; text-decoration: none; }
|
||||
@ -35,8 +36,10 @@ a.buttonLike,
|
||||
select,
|
||||
button,
|
||||
textarea,
|
||||
input { padding: .6em .8em; background: #FAFAFA; border: 1px solid #CFD8DC; font-family: roboto; font-size: inherit;
|
||||
border-radius: .3em; transition: background .1s, box-shadow .1s; box-sizing: border-box; }
|
||||
input { padding: .6em .8em; background: #FAFAFA; border: 1px solid #CFD8DC;
|
||||
font-family: roboto; font-size: inherit;
|
||||
border-radius: .3em; box-sizing: border-box;
|
||||
transition: background .1s, box-shadow .1s; }
|
||||
button { padding: .6em; }
|
||||
select { padding: .3em .8em; }
|
||||
textarea { line-height: 1.4em; }
|
||||
@ -135,6 +138,10 @@ main { padding: .5em 5em 3em 0; text-align: justify; }
|
||||
body > footer { margin: 1em 5vw 2em 5vw; padding: 1em 0; background: #FFF; color: #666;
|
||||
border-top: 1px solid #AAA; }
|
||||
|
||||
/****************************
|
||||
* Specialized pages.
|
||||
*/
|
||||
|
||||
/************
|
||||
* Editing Static Pages
|
||||
*/
|
||||
@ -152,6 +159,21 @@ body > footer { margin: 1em 5vw 2em 5vw; padding: 1em 0; background: #FFF; color
|
||||
|
||||
#pageTools > * { padding: 0 1rem; }
|
||||
|
||||
/************
|
||||
* Search pages
|
||||
*/
|
||||
|
||||
#pagesSearchList,
|
||||
#pagesSearchList li { margin: 0; padding: 0; list-style: none; }
|
||||
#pagesSearchList li { margin: .5em 0; padding: .5em 0;
|
||||
border-bottom: 1px solid #D6D6D6; transition: border-bottom .4s; }
|
||||
#pagesSearchList li:hover { border-bottom-color: #666; }
|
||||
|
||||
#pagesSearchList h4 { margin: 0; padding: 0; }
|
||||
#pagesSearchList dl { color: #666; font-size: .9em; }
|
||||
#pagesSearchList dt,
|
||||
#pagesSearchList dd { display: inline-block; margin: 0; padding: 0; }
|
||||
|
||||
/************
|
||||
* Login Page
|
||||
*/
|
||||
@ -175,6 +197,7 @@ body > footer { margin: 1em 5vw 2em 5vw; padding: 1em 0; background: #FFF; color
|
||||
/************
|
||||
* Larger screens.
|
||||
*/
|
||||
|
||||
@media screen and (min-width: 95em) {
|
||||
#mainHeader,
|
||||
body > nav,
|
||||
|
@ -3,6 +3,14 @@
|
||||
* Styles for data embedded from museum-digital.
|
||||
*/
|
||||
|
||||
/**********
|
||||
* Objects in search results.
|
||||
*/
|
||||
|
||||
.searchGrid { }
|
||||
.searchGrid .objTile { margin-bottom: 1em; vertical-align: top; }
|
||||
.searchGrid .objTile img { max-height: 180px; }
|
||||
|
||||
/**********
|
||||
* Simple tiles for displaying an object.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user