Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a4f621e authored by Ronak Patel's avatar Ronak Patel
Browse files

notification drawer style

parent d46593b1
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
@@ -1735,3 +1735,31 @@ body.theme--highcontrast svg.material-design-icon__svg{
  font-size: 12px;
  color: var(--color-text-lighter);
}

/* notification */
.notification[object_type="announcement-news"] {
  background-color: var(--color-primary);
  color: var(--color-secondary-element);
}

.notification[object_type="announcement-news"] img.notification-icon {
  display: none;
}

.notification[object_type="announcement-news"] .image:after {
  content: " ";
  background-image: url('../img/redeem.svg');
  padding: 5px 15px;
  background-size: contain;
}

.notification[object_type="announcement-news"] .notification-subject{
  font-size: 18px;
}
.notification[object_type="announcement-news"] .notification-message,.notification[object_type="announcement-news"] a.external{
  color: var(--color-secondary-element);
}

.notification[object_type="announcement-news"] a.external:after{
  content: '';
}
 No newline at end of file

core/img/redeem.svg

0 → 100644
+3 −0
Original line number Diff line number Diff line
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M26.6667 8.66671H23.76C23.9067 8.25337 24 7.80004 24 7.33337C24 5.12004 22.2134 3.33337 20 3.33337C18.6 3.33337 17.3867 4.05337 16.6667 5.13337L16 6.02671L15.3334 5.12004C14.6134 4.05337 13.4 3.33337 12 3.33337C9.78669 3.33337 8.00002 5.12004 8.00002 7.33337C8.00002 7.80004 8.09335 8.25337 8.24002 8.66671H5.33335C3.85335 8.66671 2.68002 9.85337 2.68002 11.3334L2.66669 26C2.66669 27.48 3.85335 28.6667 5.33335 28.6667H26.6667C28.1467 28.6667 29.3334 27.48 29.3334 26V11.3334C29.3334 9.85337 28.1467 8.66671 26.6667 8.66671ZM20 6.00004C20.7334 6.00004 21.3334 6.60004 21.3334 7.33337C21.3334 8.06671 20.7334 8.66671 20 8.66671C19.2667 8.66671 18.6667 8.06671 18.6667 7.33337C18.6667 6.60004 19.2667 6.00004 20 6.00004ZM12 6.00004C12.7334 6.00004 13.3334 6.60004 13.3334 7.33337C13.3334 8.06671 12.7334 8.66671 12 8.66671C11.2667 8.66671 10.6667 8.06671 10.6667 7.33337C10.6667 6.60004 11.2667 6.00004 12 6.00004ZM26.6667 26H5.33335V23.3334H26.6667V26ZM26.6667 19.3334H5.33335V11.3334H12.1067L9.33335 15.1067L11.4934 16.6667L16 10.5334L20.5067 16.6667L22.6667 15.1067L19.8934 11.3334H26.6667V19.3334Z" fill="white"/>
</svg>