diff options
author | Andrey Nering <andrey.nering@gmail.com> | 2017-01-12 02:27:09 -0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-01-12 12:27:09 +0800 |
commit | 769e0a3ea6455cb908cd7167d651024ce5c7eee3 (patch) | |
tree | 55db340bdd5aa03cd5455df6d045007e7afdb5be /public | |
parent | cbf2a967c58780ee23ff66fff1b6699f9f765294 (diff) | |
download | gitea-769e0a3ea6455cb908cd7167d651024ce5c7eee3.tar.gz gitea-769e0a3ea6455cb908cd7167d651024ce5c7eee3.zip |
Notifications: mark as read/unread and pin (#629)
* Use relative URLs
* Notifications - Mark as read/unread
* Feature of pinning a notification
* On view issue, do not mark as read a pinned notification
Diffstat (limited to 'public')
-rw-r--r-- | public/css/index.css | 9 | ||||
-rw-r--r-- | public/less/_user.less | 13 |
2 files changed, 22 insertions, 0 deletions
diff --git a/public/css/index.css b/public/css/index.css index f5581c3eaf..c569209e49 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -2712,6 +2712,12 @@ footer .ui.language .menu { float: left; margin-left: 7px; } +.user.notification .buttons-panel button { + padding: 3px; +} +.user.notification .buttons-panel form { + display: inline-block; +} .user.notification .octicon-issue-opened, .user.notification .octicon-git-pull-request { color: #21ba45; @@ -2722,6 +2728,9 @@ footer .ui.language .menu { .user.notification .octicon-git-merge { color: #a333c8; } +.user.notification .octicon-pin { + color: #2185d0; +} .dashboard { padding-top: 15px; padding-bottom: 80px; diff --git a/public/less/_user.less b/public/less/_user.less index b446351bd4..38b73f7853 100644 --- a/public/less/_user.less +++ b/public/less/_user.less @@ -85,6 +85,16 @@ margin-left: 7px; } + .buttons-panel { + button { + padding: 3px; + } + + form { + display: inline-block; + } + } + .octicon-issue-opened, .octicon-git-pull-request { color: #21ba45; } @@ -94,5 +104,8 @@ .octicon-git-merge { color: #a333c8; } + .octicon-pin { + color: #2185d0; + } } } |