Skip to content

Commit cf9a066

Browse files
committed
Styling and mx 7.11 fix
1 parent 80624b9 commit cf9a066

33 files changed

Lines changed: 160 additions & 180 deletions

dist/Notification.mpk

19.6 KB
Binary file not shown.

src/Notification/widget/Notification.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ define([
145145
_timeoutAttrHandle = null;
146146

147147
// Release handles on previous object, if any.
148-
if (this._handles) {
148+
if (this._handles && _objectHandle != null){
149149
this._handles.forEach(function (handle, i) {
150150
mx.data.unsubscribe(handle);
151151
});
@@ -201,7 +201,9 @@ define([
201201
})
202202
});
203203

204-
this._handles = [_objectHandle, _displayAttrHandle, _textAttrHandle, _typeAttrHandle, _layoutAttrHandle ,_timeoutAttrHandle];
204+
if (_objectHandle != null){
205+
this._handles = [_objectHandle, _displayAttrHandle, _textAttrHandle, _typeAttrHandle, _layoutAttrHandle ,_timeoutAttrHandle];
206+
}
205207
}
206208
},
207209

Lines changed: 156 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,158 @@
1-
.notification {
1+
ul#noty_topCenter_layout_container {
2+
width: 90% !important;
3+
top: 57px !important;
4+
}
5+
6+
ul#noty_topCenter_layout_container li {
7+
background: #F4F4F4 !important;
8+
border: 0 !important;
9+
width: 100% !important;
10+
-webkit-border-radius: 0 !important;
11+
border-radius: 0 !important;
12+
-webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px !important;
13+
box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px !important;
14+
}
15+
16+
.profile-phone ul#noty_topCenter_layout_container,
17+
.profile-tablet ul#noty_topCenter_layout_container {
18+
width: 90% !important;
19+
top: 52px !important;
20+
}
21+
22+
.profile-phone .noty_message,
23+
.profile-tablet .noty_message {
24+
padding: 16px 24px !important;
25+
}
26+
27+
.profile-phone .noty_message {
28+
padding: 16px !important;
29+
}
30+
31+
.noty_bar {
32+
color: #5F605F;
33+
border-radius: 0;
34+
-webkit-border-radius: 0;
35+
border: 0;
36+
border-left: 16px solid #d0d3db;
37+
}
38+
39+
.noty_message {
40+
padding: 24px 32px !important;
41+
}
42+
43+
.noty_text {
44+
font-family: Agenda_bold;
45+
font-size: 18px;
46+
line-height: 21px;
47+
}
48+
49+
.noty_type_success {
50+
border-color: #008C44;
51+
background-color: #d9eee3;
52+
}
53+
54+
.noty_type_error {
55+
border-color: #D4252B;
56+
background-color: #f9dfdf;
57+
}
58+
59+
.noty_type_warning {
60+
border-color: #F9A000;
61+
background-color: #fef1d9;
62+
}
63+
64+
.noty_type_info {
65+
border-color: #24A89A;
66+
background-color: #def2f0;
67+
}
68+
69+
ul#noty_bottomCenter_layout_container {
70+
bottom: 9px !important;
71+
width: 50% !important;
72+
}
73+
74+
ul#noty_bottomCenter_layout_container li {
75+
background: #fff !important;
76+
border: 0 !important;
77+
width: 100% !important;
78+
border-radius: 0 !important;
79+
-webkit-border-radius: 0 !important;
80+
-webkit-box-shadow: rgba(0, 0, 0, 0.55) 0px 0px 17px 0px !important;
81+
box-shadow: rgba(0, 0, 0, 0.55) 0px 0px 17px 0px !important;
82+
}
83+
84+
/******************** Notificatie voor autosave ***********************/
85+
ul#noty_topRight_layout_container {
86+
top: 86px !important;
87+
right: 32px !important;
88+
width: auto !important;
89+
}
90+
91+
ul#noty_topRight_layout_container li {
92+
border: 0 !important;
93+
background: #ebebeb !important;
94+
box-shadow: none !important;
95+
width: auto !important;
96+
border-radius: 0 !important;
97+
padding: 8px 16px;
98+
}
99+
100+
ul#noty_topRight_layout_container .noty_type_success {
101+
border: 0;
102+
padding-left: 50px;
103+
background: url(Notification/widget/ui/succes.gif) 0 0 no-repeat;
104+
background-size: 42px;
105+
}
106+
107+
ul#noty_topRight_layout_container .noty_type_success .noty_message {
108+
padding: 0 !important;
109+
line-height: 43px !important;
110+
color: #008C44;
111+
}
112+
113+
ul#noty_topRight_layout_container .noty_type_error {
114+
border: 0;
115+
padding-left: 50px;
116+
background: url(Notification/widget/ui/error.gif) 0 0 no-repeat;
117+
background-size: 42px;
118+
}
119+
120+
ul#noty_topRight_layout_container .noty_type_error .noty_message {
121+
padding: 0 !important;
122+
line-height: 43px !important;
123+
color: #D4252B;
124+
}
125+
126+
.profile-phone ul#noty_topRight_layout_container,
127+
.profile-tablet ul#noty_topRight_layout_container {
128+
top: 20px !important;
129+
right: 12px !important;
130+
width: auto !important;
131+
}
132+
133+
.profile-phone ul#noty_topRight_layout_container li,
134+
.profile-tablet ul#noty_topRight_layout_container li {
135+
width: auto !important;
136+
}
137+
138+
.profile-phone ul#noty_topRight_layout_container .noty_type_success,
139+
.profile-tablet ul#noty_topRight_layout_container .noty_type_success {
140+
background-size: 36px;
141+
padding-left: 44px;
142+
}
143+
144+
.profile-phone ul#noty_topRight_layout_container .noty_type_success .noty_message,
145+
.profile-tablet ul#noty_topRight_layout_container .noty_type_success .noty_message {
146+
line-height: 37px !important;
147+
}
148+
149+
.profile-phone ul#noty_topRight_layout_container .noty_type_error,
150+
.profile-tablet ul#noty_topRight_layout_container .noty_type_error {
151+
background-size: 36px;
152+
padding-left: 44px;
153+
}
2154

155+
.profile-phone ul#noty_topRight_layout_container .noty_type_error .noty_message,
156+
.profile-tablet ul#noty_topRight_layout_container .noty_type_error .noty_message {
157+
line-height: 37px !important;
3158
}
10.3 KB
Loading
10.3 KB
Loading

test/Test.mpr

-58 KB
Binary file not shown.

test/Test.mpr.bak

9.4 MB
Binary file not shown.

test/userlib/antisamy-1.5.3.jar

-88.5 KB
Binary file not shown.

test/userlib/antisamy-1.5.3.jar.CommunityCommons.RequiredLib

Whitespace-only changes.
-2.09 MB
Binary file not shown.

0 commit comments

Comments
 (0)