UI updates (#151)

* infer card title

* Infer entry body & image

* infer image

* Better terminology: EntryListing accept a single Collection

* remove log

* Refactored Collections VO into selectors

* use selectors when showning card

* fixed size cards

* Added 'bio' and 'biography' to collection description inference synonyms

* Removed unused card file

* throw error instance

* bugfix for file based collections

* lint

* moved components with css to own folder

* Search Bugfix: More than one collection might be returned

* Changed sidebar implementation. Closes #104 & #152

* Show spinning loading for unpublished entries

* Refactored Sidebar into a separate container

* Make preview widgets more robust
This commit is contained in:
Cássio Souza
2016-11-11 17:54:58 -02:00
committed by GitHub
parent 3420273691
commit 2a2497072d
42 changed files with 490 additions and 603 deletions

View File

@ -1,4 +1,4 @@
@import "../theme.css";
@import '../theme.css';
.card {
composes: base container rounded depth;
@ -7,8 +7,8 @@
}
.card > *:not(iframe, video, img, header, footer) {
margin-left: 10px;
margin-right: 10px;
margin-left: 10px;
}
.card > *:not(iframe, video, img, header, footer):first-child {
@ -19,6 +19,16 @@
margin-bottom: 10px;
}
.card > iframe, .card > video, .card > img {
.card > iframe,
.card > video,
.card > img {
max-width: 100%;
}
.card h1 {
border: none;
color: var(--defaultColor);
font-size: 18px;
margin: 15px 0;
padding: 0;
}