Skip to content

Commit addd9a8

Browse files
author
Serghey Rodin
committed
notification centre improvements
1 parent 1bb6ecb commit addd9a8

34 files changed

+80
-13
lines changed

web/css/styles.min.css

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,15 @@ a {
595595
text-decoration: line-through;
596596
}
597597

598+
.unselectable {
599+
-webkit-touch-callout: none;
600+
-webkit-user-select: none;
601+
-khtml-user-select: none;
602+
-moz-user-select: none;
603+
-ms-user-select: none;
604+
user-select: none;
605+
}
606+
598607
.clearfix:before,
599608
.clearfix:after {
600609
content: '';
@@ -830,6 +839,8 @@ input[type="checkbox"] {
830839
font-size: 12px;
831840
padding: 0;
832841
color: #7f7f7f;
842+
max-height: 95%;
843+
overflow: auto;
833844
}
834845
.notification-container .unseen {
835846
color: #ABABAB;
@@ -840,21 +851,33 @@ input[type="checkbox"] {
840851
border-bottom: 1px solid #555;
841852
padding: 10px 15px 24px;
842853
}
854+
.notification-container li.empty {
855+
padding-top: 50px;
856+
height: 50px;
857+
font-size: 15px;
858+
font-style: italic;
859+
text-align: center;
860+
color: #999;
861+
}
862+
843863
.notification-container .mark-seen {
844-
background-color: #abc04b;
845-
border: 2px solid #454545;
846-
border-radius: 10px;
864+
background: rgba(0, 0, 0, 0) url("/images/sprite.png?1446554103") repeat scroll -426px 165px;
865+
border: 3px solid #454545;
847866
cursor: pointer;
848867
display: none;
849868
float: right;
850-
height: 7px;
869+
height:11px;
851870
margin-right: -5px;
852871
margin-top: 0;
853-
width: 7px;
872+
width: 11px;
873+
opacity: 0.5;
874+
border-radius: 10px;
854875
}
855876
.notification-container .mark-seen:hover {
856877
background-color: #333;
857-
border-color: #abc04b;
878+
border-color: #333;
879+
880+
opacity: 0.8;
858881
}
859882
.notification-container .mark-seen:active {
860883
background-color: #777;

web/inc/i18n/ar.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,6 +751,8 @@
751751

752752
'maximum characters length, including prefix' => 'maximum %s characters length, including prefix',
753753

754+
'no notifications' => 'no notifications',
755+
754756
// Texts below doesn't exist in en.php
755757
'%s rule' => 'قواعد %s',
756758
'MainDomain' => 'النطاق الرئيسي',

web/inc/i18n/bs.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,4 +750,5 @@
750750

751751
'maximum characters length, including prefix' => 'maksimalna dužina sme biti %s karaktera, uključujući i prefix',
752752

753+
'no notifications' => 'no notifications',
753754
);

web/inc/i18n/cn.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,4 +751,5 @@
751751

752752
'maximum characters length, including prefix' => 'maximum %s characters length, including prefix',
753753

754+
'no notifications' => 'no notifications',
754755
);

web/inc/i18n/cz.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -752,4 +752,5 @@
752752

753753
'maximum characters length, including prefix' => 'maximum %s characters length, including prefix',
754754

755+
'no notifications' => 'no notifications',
755756
);

web/inc/i18n/da.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,4 +753,5 @@
753753

754754
'maximum characters length, including prefix' => 'maximum %s characters length, including prefix',
755755

756+
'no notifications' => 'no notifications',
756757
);

web/inc/i18n/de.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,4 +751,5 @@
751751

752752
'maximum characters length, including prefix' => 'maximum %s characters length, including prefix',
753753

754+
'no notifications' => 'no notifications',
754755
);

web/inc/i18n/el.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -752,4 +752,5 @@
752752

753753
'maximum characters length, including prefix' => 'maximum %s characters length, including prefix',
754754

755+
'no notifications' => 'no notifications',
755756
);

web/inc/i18n/en.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,4 +751,5 @@
751751

752752
'maximum characters length, including prefix' => 'maximum %s characters length, including prefix',
753753

754+
'no notifications' => 'no notifications',
754755
);

web/inc/i18n/es.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,4 +749,5 @@
749749

750750
'maximum characters length, including prefix' => 'usar un máximo de %s, incluyendo prefijo',
751751

752+
'no notifications' => 'no notifications',
752753
);

0 commit comments

Comments
 (0)