From: Marcel Werk
Date: Sun, 21 Aug 2016 14:10:04 +0000 (+0200)
Subject: Improved styling in notification list
X-Git-Tag: 3.0.0_Beta_1~621
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=98618a3e4daccf640ca01da049d68982cb72fd5b;p=GitHub%2FWoltLab%2FWCF.git
Improved styling in notification list
---
diff --git a/com.woltlab.wcf/templates/notificationList.tpl b/com.woltlab.wcf/templates/notificationList.tpl
index 83d8b250f1..59da3e6d8c 100644
--- a/com.woltlab.wcf/templates/notificationList.tpl
+++ b/com.woltlab.wcf/templates/notificationList.tpl
@@ -77,10 +77,10 @@
{@$notification[time]|time}
-
+
diff --git a/wcfsetup/install/files/style/ui/userProfile.scss b/wcfsetup/install/files/style/ui/userProfile.scss
index c08a551fe8..5593d79442 100644
--- a/wcfsetup/install/files/style/ui/userProfile.scss
+++ b/wcfsetup/install/files/style/ui/userProfile.scss
@@ -114,6 +114,22 @@
}
}
}
+
+ &.small {
+ > li {
+ flex: 0 0 24px;
+
+ &:not(:last-child) {
+ margin-right: -6px;
+ }
+
+ > a {
+ > img {
+ padding: 1px;
+ }
+ }
+ }
+ }
}
.userList {
@@ -147,3 +163,19 @@
@include wcfFontSmall;
}
+
+/* user notifications */
+.userNotificationItemList > .notificationItem {
+ &.notificationUnconfirmed {
+ align-items: center;
+ display: flex;
+
+ > .box32 {
+ flex: 1 1 auto;
+ }
+
+ > .notificationItemMarkAsConfirmed {
+ flex: 0 0 auto;
+ }
+ }
+}