1
0
Alex Trofimov 13 жил өмнө
parent
commit
35cd260f3b

+ 1 - 1
modules/boonex/english/data/langs/system.xml

@@ -3383,7 +3383,7 @@ More info about URI DNSBL: <br />
     <string name="_sys_txt_account_pending"><![CDATA[Your account is pending approval, please wait until it is activated.]]></string>
     <string name="_sys_txt_account_suspended"><![CDATA[Your account is suspended.]]></string>
     <string name="_sys_txt_account_already_created"><![CDATA[Account is already created.]]></string>
-    <string name="_sys_txt_account_profile_context_changed_success"><![CDATA[Current profile has beed succesfully changed to: <b>{0}</b>]]></string>
+    <string name="_sys_txt_account_profile_context_changed_success"><![CDATA[Current profile has been succesfully changed to: <b>{0}</b>]]></string>
     <string name="_sys_txt_account_profile_context_change_suggestion"><![CDATA[This is your profile, you can <a href="{0}">change your current profile</a> to this profile]]></string>
 
     <string name="_sys_txt_error_account_creation"><![CDATA[Account creation failed]]></string>

+ 1 - 0
template/css/default.css

@@ -216,6 +216,7 @@
 
 .bx-def-color-bg-hl,
 .bx-def-color-bg-hl-hover:hover {
+    background-color: rgb(220, 220, 255);
     background-color: rgba(200, 200, 255, 0.2);
 
     -moz-box-shadow: inset 0px 0px -1px 0px rgba(200, 200, 255, 0.2);

+ 23 - 12
template/css/informer.css

@@ -3,18 +3,29 @@
     margin-top:0;
 }
 
-.bx-informer-msg .sys-icon {
-    position:absolute;
-    top:10px;
-    left:20px;
-    width:32px;
-    height:32px;
-    font-size:32px;
-    vertical-align:middle;
-    text-align:center;
+.bx-informer-msg-info {
+    background-color: rgb(220, 220, 255);
+    background-color: rgba(180, 180, 255, 0.4);
+
+    -moz-box-shadow: inset 0px 0px -1px 0px rgba(180, 180, 255, 0.4);
+    -webkit-box-shadow: inset 0px 0px -1px 0px rgba(180, 180, 255, 0.4);
+    box-shadow: inset 0px 0px -1px 0px rgba(180, 180, 255, 0.4);
 }
 
-.bx-informer-msg {
-    position:relative;
-    padding-left:62px;
+.bx-informer-msg-alert {
+    background-color: rgb(255, 244, 213);
+    background-color: rgba(255, 234, 193, 0.5);
+
+    -moz-box-shadow: inset 0px 0px -1px 0px rgba(255, 234, 193, 0.5);
+    -webkit-box-shadow: inset 0px 0px -1px 0px rgba(255, 234, 193, 0.5);
+    box-shadow: inset 0px 0px -1px 0px rgba(255, 234, 193, 0.5);
+}
+
+.bx-informer-msg-error {
+    background-color: rgb(255, 200, 200);
+    background-color: rgba(255, 180, 180, 0.5);
+
+    -moz-box-shadow: inset 0px 0px -1px 0px rgba(255, 180, 180, 0.5);
+    -webkit-box-shadow: inset 0px 0px -1px 0px rgba(255, 180, 180, 0.5);
+    box-shadow: inset 0px 0px -1px 0px rgba(255, 180, 180, 0.5);
 }

+ 3 - 4
template/informer.html

@@ -1,8 +1,7 @@
-<div class="bx-page-wrapper" style="width:__main_div_width__;">
-    <div id="bx-informer" class="bx-def-border bx-def-color-bg-block bx-def-round-corners bx-def-padding bx-def-margin-top">
+<div class="bx-page-wrapper bx-def-padding-sec-left bx-def-padding-sec-right bx-def-page-width">
+    <div id="bx-informer" class="bx-def-margin-top">
         <bx_repeat:messages>
-            <div id="__id__" class="bx-informer-msg __class__ bx-def-padding bx-def-color-bg-hl bx-def-round-corners bx-def-margin-top">
-                <i class="sys-icon __icon__ bx-def-margin-right"></i>
+            <div id="__id__" class="bx-informer-msg __class__ bx-def-padding bx-def-round-corners bx-def-margin-top">
                 __msg__
             </div>
         </bx_repeat:messages>

+ 1 - 8
template/scripts/BxBaseInformer.php

@@ -19,11 +19,6 @@ class BxBaseInformer extends BxDolInformer {
 
     protected $_oTemplate;
 
-    protected $_aMapType2Icon = array(
-        BX_INFORMER_ALERT => 'exclamation col-red3',
-        BX_INFORMER_INFO => 'info col-blue2-dark',
-        BX_INFORMER_ERROR => 'ban-circle col-red1',
-    );
     protected $_aMapType2Class = array(
         BX_INFORMER_ALERT => 'bx-informer-msg-alert',
         BX_INFORMER_INFO => 'bx-informer-msg-info',
@@ -49,10 +44,8 @@ class BxBaseInformer extends BxDolInformer {
         if (!$this->_aMessages)
             return '';
 
-        foreach ($this->_aMessages as $sId => $a) {
+        foreach ($this->_aMessages as $sId => $a)
             $this->_aMessages[$sId]['class'] = $this->_aMapType2Class[$a['type']];
-            $this->_aMessages[$sId]['icon'] = $this->_aMapType2Icon[$a['type']];
-        }
 
         $this->_addJsCss();
         return $this->_oTemplate->parseHtmlByName('informer.html', array(