Commit c0104977 authored by Matthieu Fesselier's avatar Matthieu Fesselier

Merge branch 'ui/18-object-rdfs-label' into 'master'

ui: object rdfs label #18

Closes #18

See merge request !10
parents 03db604b 8eea19c5
Pipeline #3682 passed with stage
in 27 seconds
...@@ -4,6 +4,7 @@ sib-display-value{ ...@@ -4,6 +4,7 @@ sib-display-value{
.sib-notifications{ .sib-notifications{
box-sizing: border-box; box-sizing: border-box;
font-family: sans-serif; font-family: sans-serif;
font-size: 14px;
} }
.sib-notifications__container{ } .sib-notifications__container{ }
...@@ -150,13 +151,17 @@ sib-display-value{ ...@@ -150,13 +151,17 @@ sib-display-value{
} }
.sib-notifications__items [name="author.username"]{ .sib-notifications__items [name="author.username"]{
font-weight: bold; font-weight: bold;
font-size: 1rem;
} }
.sib-notifications__items [name="type"]{ .sib-notifications__items [name="source"]{
font-size: 0.9rem;
margin-top: 0.15rem; margin-top: 0.15rem;
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
} }
.sib-notifications__items [name="source"] > sib-display-value{
display: inline;
}
.sib-notifications__items [name="separator"]{
margin: 0 7px;
}
.sib-notifications__items [name="date"]{ .sib-notifications__items [name="date"]{
color: #AAA; color: #AAA;
font-size: 75%; font-size: 75%;
......
...@@ -131,7 +131,9 @@ class SIBNotifications extends SIBTemplateElement { ...@@ -131,7 +131,9 @@ class SIBNotifications extends SIBTemplateElement {
class="sib-notifications__items" class="sib-notifications__items"
data-src="${sourceUrl}" data-src="${sourceUrl}"
widget-unread="read-badge" widget-unread="read-badge"
set-wrapper="author.username, type, date" value-separator="·"
set-source="type, separator, object.name"
set-wrapper="author.username, source, date"
set-content="author.avatar, wrapper" set-content="author.avatar, wrapper"
data-fields="unread, content" data-fields="unread, content"
widget-author.avatar="sib-display-img" widget-author.avatar="sib-display-img"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment