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

Ticket #4116 - Typography: New styles for links.

AntonLV 4 лет назад
Родитель
Сommit
a57cb1c202

+ 1 - 1
modules/base/profile/template/entry-text.html

@@ -1 +1 @@
-<div class="bx-base-profile-entity-content bx-def-constraint-list bx-def-constraint-pre bx-def-constraint-object bx-def-constraint-iframe bx-def-constraint-img bx-def-vanilla-html prose dark:prose-invert max-w-none">__entry_text__</div>
+<div class="bx-base-profile-entity-content bx-def-constraint-list bx-def-constraint-pre bx-def-constraint-object bx-def-constraint-iframe bx-def-constraint-img bx-def-vanilla-html max-w-none">__entry_text__</div>

+ 1 - 1
modules/base/text/template/entry-text.html

@@ -6,7 +6,7 @@
         </div>
         __additional_code__
     </bx_if:show_image>
-    <div class="bx-base-text-entity-content bx-def-constraint-list bx-def-constraint-pre bx-def-constraint-object bx-def-constraint-iframe bx-def-constraint-img bx-def-vanilla-html prose dark:prose-invert">
+    <div class="bx-base-text-entity-content bx-def-constraint-list bx-def-constraint-pre bx-def-constraint-object bx-def-constraint-iframe bx-def-constraint-img bx-def-vanilla-html">
         <div class="bx-base-text-title-bages">
             <h1>__entry_title__</h1>
             <div class="bx-base-bages-container absolute flex -translate-y-5/4">__badges__</div>

+ 1 - 1
modules/boonex/files/template/entry-text.html

@@ -2,7 +2,7 @@
 <div class="bx-content-description">
     <div class="bx-files-entity-preview bx-def-border-radius-block">__entry_preview__</div>
     <bx_if:show_content>
-        <div class="bx-base-text-entity-content bx-def-constraint-list bx-def-constraint-pre bx-def-constraint-object bx-def-constraint-iframe bx-def-constraint-img bx-def-margin-top bx-def-vanilla-html prose dark:prose-invert">
+        <div class="bx-base-text-entity-content bx-def-constraint-list bx-def-constraint-pre bx-def-constraint-object bx-def-constraint-iframe bx-def-constraint-img bx-def-margin-top bx-def-vanilla-html">
             <h1>__entry_title__</h1>
             __entry_text__
         </div>

+ 1 - 1
modules/boonex/market/template/entry-text.html

@@ -8,7 +8,7 @@
             <img class="bx-def-border-radius-block" src="__entry_image__" />
         </div>
     </bx_if:show_image>
-    <div class="bx-base-text-entity-content bx-market-entity-content bx-def-constraint-list bx-def-constraint-pre bx-def-constraint-object bx-def-constraint-iframe bx-def-constraint-img bx-def-vanilla-html prose dark:prose-invert">
+    <div class="bx-base-text-entity-content bx-market-entity-content bx-def-constraint-list bx-def-constraint-pre bx-def-constraint-object bx-def-constraint-iframe bx-def-constraint-img bx-def-vanilla-html">
         <div class="bx-market-ec-title flex">
             <bx_if:show_icon>
                 <div class="bx-market-ect-icon flex-none mr-4 not-prose"><img class="bx-def-thumb-size bx-def-round-corners" src="__entry_icon__"/></div>

+ 1 - 1
modules/boonex/photos/template/entry-text.html

@@ -1 +1 @@
-<div class="bx-base-text-entity-content bx-def-constraint-list bx-def-constraint-pre bx-def-constraint-object bx-def-constraint-iframe bx-def-constraint-img bx-def-vanilla-html prose dark:prose-invert">__entry_text__</div>
+<div class="bx-base-text-entity-content bx-def-constraint-list bx-def-constraint-pre bx-def-constraint-object bx-def-constraint-iframe bx-def-constraint-img bx-def-vanilla-html">__entry_text__</div>

+ 1 - 1
modules/boonex/polls/template/entry-text-subentries.html

@@ -2,7 +2,7 @@
 <div class="bx-polls-entity-entity-content bx-content-padding-block">
     <div class="bx-content-description-before">__content_description_before__</div>
     <div class="bx-content-description">
-        <div class="bx-pull-combined-entity-content bx-base-text-entity-content bx-def-constraint-list bx-def-constraint-pre bx-def-constraint-object bx-def-constraint-iframe bx-def-constraint-img bx-def-vanilla-html prose dark:prose-invert">
+        <div class="bx-pull-combined-entity-content bx-base-text-entity-content bx-def-constraint-list bx-def-constraint-pre bx-def-constraint-object bx-def-constraint-iframe bx-def-constraint-img bx-def-vanilla-html">
             __entry_text__
         </div>
         <bx_if:show_image>

+ 1 - 1
modules/boonex/polls/template/entry-text.html

@@ -1,4 +1,4 @@
-<div class="bx-base-text-entity-content bx-def-constraint-list bx-def-constraint-pre bx-def-constraint-object bx-def-constraint-iframe bx-def-constraint-img bx-def-vanilla-html prose dark:prose-invert">__entry_text__</div>
+<div class="bx-base-text-entity-content bx-def-constraint-list bx-def-constraint-pre bx-def-constraint-object bx-def-constraint-iframe bx-def-constraint-img bx-def-vanilla-html">__entry_text__</div>
 <bx_if:show_image>
     <div class="bx-base-text-entity-image bx-def-margin-top bx-def-font-align-center">
         <img class="bx-def-border-radius-block" src="__entry_image__" />

+ 1 - 1
modules/boonex/timeline/template/type_post.html

@@ -27,7 +27,7 @@
         <div class="__style_prefix__-title mb-1 md:mb-2 text-lg lg:text-xl font-semibold text-gray-700 dark:text-gray-300">__title__</div>
     </bx_if:show_title>
     <bx_if:show_content>
-        <div class="__style_prefix__-content bx-overflow-ready bx-def-vanilla-html relative mb-2 prose dark:prose-invert prose-sm max-w-none">__item_content__</div>
+        <div class="__style_prefix__-content bx-overflow-ready bx-def-vanilla-html bx-def-vh-sm relative mb-2 max-w-none">__item_content__</div>
     </bx_if:show_content>
 </div>
 <bx_if:show_attachments>

+ 1 - 1
modules/boonex/videos/template/entry-text.html

@@ -1,6 +1,6 @@
 <div class="bx-content-description-before">__content_description_before__</div>
 <div class="bx-content-description">
-    <div class="bx-base-text-entity-content bx-def-constraint-list bx-def-constraint-pre bx-def-constraint-object bx-def-constraint-iframe bx-def-constraint-img bx-videos-entity-video bx-def-vanilla-html prose dark:prose-invert">
+    <div class="bx-base-text-entity-content bx-def-constraint-list bx-def-constraint-pre bx-def-constraint-object bx-def-constraint-iframe bx-def-constraint-img bx-videos-entity-video bx-def-vanilla-html">
         <p class="bx-def-font-align-center not-prose">__entry_video__</p>
         <h1>__entry_title__</h1>
         __entry_text__

+ 8 - 0
plugins_public/tailwind/css/tailwind.css

@@ -28,6 +28,14 @@
 
 
     /* Defaults */
+    .bx-def-vanilla-html {
+        @apply prose dark:prose-invert;
+        @apply prose-a:text-blue-500 prose-a:font-medium prose-a:no-underline hover:prose-a:underline visited:prose-a:text-purple-500;
+    }
+    .bx-def-vanilla-html.bx-def-vh-sm {
+        @apply prose-sm;
+    }
+
     .bx-artificer .bx-menthion-link {
         @apply font-normal text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
     }

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
plugins_public/tailwind/css/tailwind.min.css


+ 1 - 1
template/comment_content.html

@@ -1,4 +1,4 @@
-<div class="__style_prefix__-body bx-def-vanilla-html mt-2 prose prose-sm dark:prose-invert max-w-none text-clip overflow-hidden">__text__<bx_if:show_more><span class="__style_prefix__-body-see-more">... <a class="bx-def-font-small" href="javascript:void(0)" onclick="__js_object__.showMore(this);"><bx_text:_see_more /></a></span><span style="display:none;"> __text_more__</span></bx_if:show_more></div>
+<div class="__style_prefix__-body bx-def-vanilla-html bx-def-vh-sm mt-2 max-w-none text-clip overflow-hidden">__text__<bx_if:show_more><span class="__style_prefix__-body-see-more">... <a class="bx-def-font-small" href="javascript:void(0)" onclick="__js_object__.showMore(this);"><bx_text:_see_more /></a></span><span style="display:none;"> __text_more__</span></bx_if:show_more></div>
 <bx_if:show_attached>
     <div class="__style_prefix__-attached bx-clearfix -mx-1 -mb-1">__attached__</div>
 </bx_if:show_attached>

Некоторые файлы не были показаны из-за большого количества измененных файлов