Просмотр исходного кода

#3661 - Move tailwind in core templates

RomanL 4 лет назад
Родитель
Сommit
0faf746968

+ 2 - 2
modules/boonex/artificer/data/template/system/_header.html

@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="__lang__">
+<html lang="__lang__" class="__class_name__">
 <head>
     <bx_injection:injection_head_begin />
 
@@ -33,7 +33,7 @@
     <bx_injection:injection_head />
     <bx_include_auto:_header_meta.html />
 </head>
-<body class="__class_name__ bg-gray-100 dark:bg-black text-gray-500 dark:text-gray-400 font-inter <bx_injection:injection_body_class />" dir="__lang_direction__" <bx_injection:injection_body /> >
+<body class="bx-artificer bg-gray-100 dark:bg-black text-gray-500 dark:text-gray-400 font-inter <bx_injection:injection_body_class />" dir="__lang_direction__" <bx_injection:injection_body /> >
     __system_injection_header__
     <bx_injection:injection_header />
     <noscript>

+ 2 - 2
template/_header.html

@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="__lang__">
+<html lang="__lang__" class="__class_name__">
 <head>
     <bx_injection:injection_head_begin />
 
@@ -33,7 +33,7 @@
     <bx_injection:injection_head />
     <bx_include_auto:_header_meta.html />
 </head>
-<body class="__class_name__ bx-def-font bx-def-color-bg-page bx-def-image-bg-page <bx_injection:injection_body_class />" dir="__lang_direction__" <bx_injection:injection_body /> >
+<body class="bx-def-font bx-def-color-bg-page bx-def-image-bg-page <bx_injection:injection_body_class />" dir="__lang_direction__" <bx_injection:injection_body /> >
     __system_injection_header__
     <bx_injection:injection_header />
     <noscript>

+ 7 - 5
template/css/common.css

@@ -751,7 +751,7 @@ svg .gray .outer .p2 {
 	
 /* --------------- button */
 
-/*.bx-btn {
+.bx-btn {
     position:relative;
     display:block;	
     float:left;
@@ -782,8 +782,8 @@ svg .gray .outer .p2 {
     cursor: pointer;
     font-size:1rem;
     color:#fff;
-}*/
-
+}
+/* ARTI
 .bx-btn {
     position: relative;
     display: inline-flex;
@@ -807,6 +807,7 @@ svg .gray .outer .p2 {
     --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
     box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
 }
+*/
 
 .bx-btn-height {
 	height: 36px;
@@ -848,7 +849,7 @@ input.bx-btn {
 .bx-btn .sys-icon-bigger {
     font-size:1.4em;
 }
-/* OLD
+
 .bx-btn.bx-btn-small {
     height:24px; 
     height:1.6rem; 
@@ -858,14 +859,15 @@ input.bx-btn {
     line-height:1.5rem;
     font-size:0.9rem;
 }
-*/
 
+/* ARTI
 .bx-btn.bx-btn-small {
     padding-top: 0.25rem;
     padding-bottom: 0.25rem;
     font-size: .75rem;
     line-height: 1rem;
 }
+*/
 
 .bx-btn-small-height {
 	height: 24px; 

+ 1 - 1
template/page_150.html

@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="__lang__">
+<html lang="__lang__" class="__class_name__">
 <head>
     <bx_injection:injection_head_begin />
     

+ 1 - 1
template/page_2.html

@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="__lang__">
+<html lang="__lang__" class="__class_name__">
 <head>
     <bx_injection:injection_head_begin />
 

+ 1 - 1
template/page_22.html

@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="__lang__">
+<html lang="__lang__" class="__class_name__">
 <head>
     <bx_injection:injection_head_begin />
 

+ 1 - 1
template/page_44.html

@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="__lang__">
+<html lang="__lang__" class="__class_name__">
 <head>
     <bx_injection:injection_head_begin />