Kaynağa Gözat

player second cartel improved, fix #542

Bachir Soussi Chiadmi 4 yıl önce
ebeveyn
işleme
fdcb29a4f9

+ 2 - 2
config/sync/addtoany.settings.yml

@@ -1,5 +1,5 @@
-buttons_size: 20
-additional_html: "<a class=\"a2a_button_facebook\"></a>\r\n<a class=\"a2a_button_twitter\"></a>\r\n<a class=\"a2a_button_reddit\"></a>\r\n<a class=\"a2a_button_email\"></a>\r\n"
+buttons_size: 17
+additional_html: "<a class=\"a2a_button_facebook\"></a>\r\n<a class=\"a2a_button_twitter\"></a>\r\n<a class=\"a2a_button_email\"></a>\r\n"
 additional_css: '.a2a_svg { border-radius: 0 !important; }'
 additional_js: "a2a_config.icon_color = \"#fff,#1A1A1A\";\r\na2a_config.templates.email = {\r\n    subject: \"Encyclopédie de la parole - ${title}\",\r\n    body: \"Encyclopédie de la parole\\n${link}\"\r\n};"
 universal_button: none

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
web/themes/custom/edlptheme/assets/dist/styles/app.min.css


+ 10 - 3
web/themes/custom/edlptheme/assets/styles/app.scss

@@ -987,6 +987,7 @@ main[role="main"]{
     }
     .actions{
       width:1.5em;
+      margin-top: 0.1em;
     }
     .cartels{
       width:calc(100% - 1.5em);
@@ -1022,14 +1023,20 @@ main[role="main"]{
           white-space: normal;
         }
         .col-left{
+          // position: relative;
           a.ajax-link{
             display: block;
             font-size: 0.82em;
             font-weight: 600;
           }
-          .addtoany_list > a:first-child{
-            padding-left: 0;
-            margin-left:-4px;
+          .addtoany_list {
+            // outline: 1px solid blue;
+            // margin-top: -1em;
+            // top: -1em;
+            & > a:first-child{
+              padding-left: 0;
+              margin-left:-4px;
+            }
           }
         }
         .col-right{

+ 2 - 2
web/themes/custom/edlptheme/edlptheme.theme

@@ -222,7 +222,7 @@ function edlptheme_preprocess_node__enregistrement__player_cartel(&$vars){
         'data-drupal-link-system-path' => $url->getInternalPath()
       )
     ));
-    $vars['link_transcript'] = Link::fromTextAndUrl(t("Read the text."), $url);
+    $vars['link_transcript'] = Link::fromTextAndUrl(t("Read the text"), $url);
   }
 
   // if article not empty
@@ -237,7 +237,7 @@ function edlptheme_preprocess_node__enregistrement__player_cartel(&$vars){
         'data-drupal-link-system-path' => $url->getInternalPath()
       )
     ));
-    $vars['link_article'] = Link::fromTextAndUrl(t("Read the article."), $url);
+    $vars['link_article'] = Link::fromTextAndUrl(t("Read the article"), $url);
   }
 
   // relations (defined in edlp_corpus.module)

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor