فهرست منبع

Ticket #3661 - Move tailwind in core templates: Alert, Confirm and Prompt.

AntonLV 4 سال پیش
والد
کامیت
a5771a144b

+ 4 - 4
plugins_public/tailwind/css/tailwind.css

@@ -229,10 +229,10 @@
     .bx-artificer .bx-def-padding-sec-topbottom {
         @apply py-2;
     }
-    .bx-artificer .bx-def-padding-lefttopright {
+    .bx-artificer .bx-def-padding-sec-lefttopright {
         @apply px-2 pt-2;
     }
-    .bx-artificer .bx-def-padding-rightbottomleft {
+    .bx-artificer .bx-def-padding-sec-rightbottomleft {
         @apply px-2 pb-2;
     }
 
@@ -263,10 +263,10 @@
     .bx-artificer .bx-def-padding-thd-topbottom {
         @apply py-1;
     }
-    .bx-artificer .bx-def-padding-lefttopright {
+    .bx-artificer .bx-def-padding-thd-lefttopright {
         @apply px-1 pt-1;
     }
-    .bx-artificer .bx-def-padding-rightbottomleft {
+    .bx-artificer .bx-def-padding-thd-rightbottomleft {
         @apply px-1 pb-1;
     }
 

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
plugins_public/tailwind/css/tailwind.min.css


+ 2 - 2
template/popup_trans_alert_cnt.html

@@ -1,4 +1,4 @@
-<div class="popup_alert_text bx-def-padding bx-def-font-align-center"></div>
-<div class="popup_alert_actions bx-def-padding-rightbottomleft bx-def-font-align-center bx-clearfix">
+<div class="popup_alert_text p-4 text-center"></div>
+<div class="popup_alert_actions flex justify-center px-4 pb-4 text-center">
     <button class="bx-btn popup_alert_ok" type="button"><bx_text:_Ok /></button>
 </div>

+ 3 - 3
template/popup_trans_confirm_cnt.html

@@ -1,4 +1,4 @@
-<div class="popup_confirm_text bx-def-padding bx-def-font-align-center"><bx_text:_Are_you_sure /></div>
-<div class="popup_confirm_actions bx-def-padding-rightbottomleft bx-def-font-align-center bx-clearfix">
-    <button class="bx-btn bx-def-margin-sec-left-auto popup_confirm_yes" type="button"><bx_text:_Yes /></button><button class="bx-btn bx-def-margin-sec-left-auto popup_confirm_no" type="button"><bx_text:_No /></button>
+<div class="popup_confirm_text p-4 text-center"><bx_text:_Are_you_sure /></div>
+<div class="popup_confirm_actions flex justify-center px-4 pb-4 text-center">
+    <button class="bx-btn popup_confirm_yes" type="button"><bx_text:_Yes /></button><button class="bx-btn popup_confirm_no ml-2" type="button"><bx_text:_No /></button>
 </div>

+ 4 - 4
template/popup_trans_prompt_cnt.html

@@ -1,5 +1,5 @@
-<div class="popup_prompt_text bx-def-padding-lefttopright bx-def-font-align-center"><bx_text:_Enter_value_here /></div>
-<div class="popup_prompt_input bx-def-padding">__input__</div>
-<div class="popup_prompt_actions bx-def-padding-rightbottomleft bx-def-font-align-center bx-clearfix">
-	<button class="bx-btn bx-def-margin-sec-left-auto popup_prompt_ok" type="button"><bx_text:_Ok /></button><button class="bx-btn bx-def-margin-sec-left-auto popup_prompt_cancel" type="button"><bx_text:_Cancel /></button>
+<div class="popup_prompt_text px-4 pt-4 text-center"><bx_text:_Enter_value_here /></div>
+<div class="popup_prompt_input p-4">__input__</div>
+<div class="popup_prompt_actions flex justify-center px-4 pb-4 text-center">
+    <button class="bx-btn popup_prompt_ok" type="button"><bx_text:_Ok /></button><button class="bx-btn popup_prompt_cancel ml-2" type="button"><bx_text:_Cancel /></button>
 </div>

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است