diff --git a/web/public/images/blockquote.png b/web/public/images/blockquote.png new file mode 100644 index 0000000..24fbe83 Binary files /dev/null and b/web/public/images/blockquote.png differ diff --git a/web/src/PublicationSearchResult2.js b/web/src/PublicationSearchResult2.js index f38d89e..b0bd61a 100644 --- a/web/src/PublicationSearchResult2.js +++ b/web/src/PublicationSearchResult2.js @@ -280,7 +280,7 @@ export class PublicationSearchResult2 // show the form const isNew = Object.keys( vals ).length === 0 ; gAppRef.showModalForm( "publication-form", - isNew ? "New publication" : "Edit publication", "#e5f700", + isNew ? "New publication" : "Edit publication", "#e5cea0", doRender, buttons ) ; } diff --git a/web/src/SearchResults.css b/web/src/SearchResults.css index bfe6f37..3971fdd 100644 --- a/web/src/SearchResults.css +++ b/web/src/SearchResults.css @@ -16,7 +16,7 @@ .search-result .header a.open-link img { height: 1.2em ; margin-bottom: -0.2em ; } .search-result.publisher .header { border: 1px solid #c0c0c0 ; background: #eabe51 ; } -.search-result.publication .header { border: 1px solid #c0c0c0 ; background: #e5f700 ; } +.search-result.publication .header { border: 1px solid #c0c0c0 ; background: #e5cea0 ; } .search-result.publication .header .name { cursor: pointer ; } .search-result.publication .header .publisher { cursor: pointer ; } .search-result.article .header { border: 1px solid #c0c0c0 ; background: #d3edfc ; } @@ -30,7 +30,7 @@ .search-result .content { padding: 2px 5px ; font-size: 90% ; } .search-result .content p { margin-top: 0.25em ; } .search-result .content p:first-child { margin-top: 0 ; } -.search-result .content .image { float: left ; margin: 0.25em 0.5em 0.5em 0 ; max-height: 5em ; } +.search-result .content .image { float: left ; margin: 0.25em 0.5em 0.5em 0 ; max-height: 5em ; max-width: 6em ; } .search-result .content .collapsible { margin-top:0.5em ; font-size: 90% ; color: #444 ; } .search-result .content .collapsible .caption img { height: 0.75em ; margin-left: 0.25em ; cursor: pointer ; } .search-result .content .collapsible ul { margin: 0 0 0 1em ; } @@ -43,5 +43,5 @@ .search-result .hilite { padding: 0 2px ; background: #ffffa0 ; } .search-result.publisher .header .hilite { background: #e0a040 ; } -.search-result.publication .header .hilite { background: #c0e000 ; } +.search-result.publication .header .hilite { background: #f6edda ; } .search-result.article .header .hilite { background: #c0d0f0 ; } diff --git a/web/src/index.css b/web/src/index.css index 77331b0..7c651a9 100644 --- a/web/src/index.css +++ b/web/src/index.css @@ -11,5 +11,11 @@ ul, ol { margin: 0.5em 0 0 1.25em ; } input[type="text"] { height: 22px ; border: 1px solid #c5c5c5 ; padding: 2px 5px ; } label { height: 1.25em ; margin-top: -3px ; } textarea { padding: 2px 5px ; resize: vertical ; } +blockquote { + margin: .5em 1em .75em 1em ; padding: 5px 5px 5px 15px ; + border: 1px solid #ddd ; background: #fffff0 ; + background-image: url( "/images/blockquote.png" ) ; background-position: 2px 5px ; background-repeat: no-repeat ; + font-style: italic ; +} button::-moz-focus-inner { border: 0 ; }