Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 5644845

Browse files
committed
Fix message box blinking and style.
1 parent c54aa0d commit 5644845

File tree

4 files changed

+35
-16
lines changed

4 files changed

+35
-16
lines changed

core/src/plugins/gui.ajax/res/js/ajaxplorer.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/src/plugins/gui.ajax/res/js/lib/prototype/cssfx.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ Effect.CSS_ANIMATE = function(effectName, element, options){
2727
var originalMethod;
2828
var endStyle = {};
2929
if(!options) options = {};
30+
["webkitAnimationEnd", "mozAnimationEnd", "oAnimationEnd", "animationEnd", "transitionend", "animationend", "oanimationend", "mozanimationend"].map(
31+
function(event){
32+
element.stopObserving(event);
33+
});
3034
switch (effectName){
3135
case "RowFade":
3236
className = 'quick bounceOutLeft';
@@ -41,6 +45,7 @@ Effect.CSS_ANIMATE = function(effectName, element, options){
4145
originalMethod = 'Shake';
4246
break;
4347
case "MessageAppear":
48+
element.removeClassName('fadeOutDownBig');
4449
className = 'fadeInUpBig';
4550
endStyle = {opacity: 1};
4651
originalMethod ='Appear';

core/src/plugins/gui.ajax/res/themes/orbit/css/ajaxplorer.css

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -779,13 +779,13 @@ div#meta_source_button_add{
779779
position: absolute;
780780
z-index: 1500;
781781
cursor: pointer;
782-
border-radius: 3px;
783-
box-shadow: 3px 3px 11px rgba(0,0,0,0.25);
782+
border-radius: 4px;
783+
box-shadow: 1px 1px 1px rgba(0,0,0,0.5);
784784
}
785785
#message_content
786786
{
787-
font-size: 13px;
788-
margin: 8px;
787+
font-size: 14px;
788+
margin: 10px 7px;
789789
overflow-y: auto;
790790
max-height: 120px;
791791
letter-spacing: 0;
@@ -795,29 +795,43 @@ div#meta_source_button_add{
795795
{
796796
background-color: #960000;
797797
cursor: pointer;
798-
filter:alpha(opacity=90);
799-
opacity: 0.90;
800-
-moz-opacity:0.90;
801798
}
802799

803800
.logMessage
804801
{
805802
background-color: #009600;
806-
filter:alpha(opacity=90);
807-
opacity: 0.90;
808-
-moz-opacity:0.90;
803+
}
804+
805+
div#message_content::before {
806+
font-weight: normal;
807+
font-style: normal;
808+
font-family: FontAwesome;
809+
display: block;
810+
padding: 0 6px;
811+
margin-right: 5px;
812+
font-size: 16px;
813+
margin-top: 2px;
814+
float: left;
815+
}
816+
817+
.logMessage > div#message_content::before {
818+
content: '\f058';
819+
}
820+
821+
.errorMessage > div#message_content::before {
822+
content: '\f071';
809823
}
810824

811825
html.boxshadow div.logMessage{
812-
border: 1px solid #009600;
826+
border: 0;
813827
color: #009600 !important;
814-
background-color: rgb(173, 224, 173);
828+
background-color: rgb(194, 236, 194);
815829
}
816830

817831
html.boxshadow div.errorMessage{
818-
border: 1px solid #960001;
832+
border: 0;
819833
color: #960000 !important;
820-
background-color: rgb(241, 174, 174);
834+
background-color: rgb(242, 193, 193);
821835
}
822836

823837

core/src/plugins/gui.ajax/res/themes/orbit/css/allz.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)