]> git.mxchange.org Git - friendica.git/commitdiff
frio: add notifications templates to frio
authorrabuzarus <>
Wed, 21 Dec 2016 19:39:07 +0000 (20:39 +0100)
committerrabuzarus <>
Wed, 21 Dec 2016 19:39:07 +0000 (20:39 +0100)
view/theme/frio/css/style.css
view/theme/frio/templates/notifications_attend_item.tpl [new file with mode: 0644]
view/theme/frio/templates/notifications_comments_item.tpl [new file with mode: 0644]
view/theme/frio/templates/notifications_dislikes_item.tpl [new file with mode: 0644]
view/theme/frio/templates/notifications_friends_item.tpl [new file with mode: 0644]
view/theme/frio/templates/notifications_likes_item.tpl [new file with mode: 0644]
view/theme/frio/templates/notifications_network_item.tpl [new file with mode: 0644]
view/theme/frio/templates/notifications_posts_item.tpl [new file with mode: 0644]
view/theme/frio/templates/notify.tpl [new file with mode: 0644]

index 91b6219f1787a46215f1ac78dbcd9c26a69e4da0..efff14a4eafd89e4daf038975204cc1a77042b5b 100644 (file)
@@ -1882,6 +1882,9 @@ ul.dropdown-menu li:hover {
     -moz-box-shadow: 0 0 3px #dadada;
 }
 
+.section-title-wrapper {
+    overflow: hidden;
+}
 /* Profile-page */
 #profile-content-standard,
 #profile-content-advanced {
@@ -2208,7 +2211,7 @@ ul li:hover .contact-wrapper a.contact-action-link:hover {
     margin-left: 20px;
 }
 
-/* Notifications */
+/* Intro Notifications */
 ul.notif-network-list {
     margin-left: -15px;
     margin-right: -15px;
@@ -2226,10 +2229,9 @@ ul.notif-network-list li.unseen {
     word-wrap: break-word;
     margin-top: 0;
 }
-.intro-photo-wrapper img.intro-photo,
-.notif-item img.notif-image {
-    height:80px;
-    width: 80px;
+.intro-photo-wrapper img.intro-photo {
+    height:48px;
+    width: 48px;
     border-radius: 4px;
 }
 .intro-actions {
@@ -2280,6 +2282,23 @@ ul.notif-network-list > li:hover .intro-action-buttons {
     margin-top: 5px
 }
 
+/* Notifications Page */
+.notif-item img.notif-image {
+    height: 48px;
+    width: 48px;
+    border-radius: 4px;
+}
+.notif-item .notif-desc-wrapper {
+    height: 48px;
+}
+.notif-item .notif-desc-wrapper a {
+    height: 100%;
+    display: block;
+    color: #555;
+    font-size: 13px;
+    font-weight: 600;
+}
+
 /* Search Page */
 
 /* This is a little bit hacky. Since the search page is used for diferent
diff --git a/view/theme/frio/templates/notifications_attend_item.tpl b/view/theme/frio/templates/notifications_attend_item.tpl
new file mode 100644 (file)
index 0000000..680b29a
--- /dev/null
@@ -0,0 +1,2 @@
+
+{{include file="notify.tpl"}}
diff --git a/view/theme/frio/templates/notifications_comments_item.tpl b/view/theme/frio/templates/notifications_comments_item.tpl
new file mode 100644 (file)
index 0000000..680b29a
--- /dev/null
@@ -0,0 +1,2 @@
+
+{{include file="notify.tpl"}}
diff --git a/view/theme/frio/templates/notifications_dislikes_item.tpl b/view/theme/frio/templates/notifications_dislikes_item.tpl
new file mode 100644 (file)
index 0000000..680b29a
--- /dev/null
@@ -0,0 +1,2 @@
+
+{{include file="notify.tpl"}}
diff --git a/view/theme/frio/templates/notifications_friends_item.tpl b/view/theme/frio/templates/notifications_friends_item.tpl
new file mode 100644 (file)
index 0000000..680b29a
--- /dev/null
@@ -0,0 +1,2 @@
+
+{{include file="notify.tpl"}}
diff --git a/view/theme/frio/templates/notifications_likes_item.tpl b/view/theme/frio/templates/notifications_likes_item.tpl
new file mode 100644 (file)
index 0000000..680b29a
--- /dev/null
@@ -0,0 +1,2 @@
+
+{{include file="notify.tpl"}}
diff --git a/view/theme/frio/templates/notifications_network_item.tpl b/view/theme/frio/templates/notifications_network_item.tpl
new file mode 100644 (file)
index 0000000..680b29a
--- /dev/null
@@ -0,0 +1,2 @@
+
+{{include file="notify.tpl"}}
diff --git a/view/theme/frio/templates/notifications_posts_item.tpl b/view/theme/frio/templates/notifications_posts_item.tpl
new file mode 100644 (file)
index 0000000..680b29a
--- /dev/null
@@ -0,0 +1,2 @@
+
+{{include file="notify.tpl"}}
diff --git a/view/theme/frio/templates/notify.tpl b/view/theme/frio/templates/notify.tpl
new file mode 100644 (file)
index 0000000..382ddeb
--- /dev/null
@@ -0,0 +1,12 @@
+
+<div class="notif-item {{if !$item_seen}}unseen{{/if}} {{$item_label}} media">
+       <div class="notif-photo-wrapper media-object pull-left">
+               <img src="{{$item_image}}" class="notif-image">
+       </div>
+       <div class="notif-desc-wrapper media-body">
+               <a href="{{$item_link}}">
+                       {{$item_text}}
+                       <div><time class="notif-when time" data-toggle="tooltip">{{$item_when}}</time></div>
+               </a>
+       </div>
+</div>