player second cartel improved, fix #542

This commit is contained in:
2019-12-03 12:51:06 +01:00
parent af35857e79
commit fdcb29a4f9
4 changed files with 15 additions and 8 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
buttons_size: 20 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_reddit\"></a>\r\n<a class=\"a2a_button_email\"></a>\r\n" 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_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};" 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 universal_button: none
File diff suppressed because one or more lines are too long
@@ -987,6 +987,7 @@ main[role="main"]{
} }
.actions{ .actions{
width:1.5em; width:1.5em;
margin-top: 0.1em;
} }
.cartels{ .cartels{
width:calc(100% - 1.5em); width:calc(100% - 1.5em);
@@ -1022,14 +1023,20 @@ main[role="main"]{
white-space: normal; white-space: normal;
} }
.col-left{ .col-left{
// position: relative;
a.ajax-link{ a.ajax-link{
display: block; display: block;
font-size: 0.82em; font-size: 0.82em;
font-weight: 600; font-weight: 600;
} }
.addtoany_list > a:first-child{ .addtoany_list {
padding-left: 0; // outline: 1px solid blue;
margin-left:-4px; // margin-top: -1em;
// top: -1em;
& > a:first-child{
padding-left: 0;
margin-left:-4px;
}
} }
} }
.col-right{ .col-right{
+2 -2
View File
@@ -222,7 +222,7 @@ function edlptheme_preprocess_node__enregistrement__player_cartel(&$vars){
'data-drupal-link-system-path' => $url->getInternalPath() '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 // if article not empty
@@ -237,7 +237,7 @@ function edlptheme_preprocess_node__enregistrement__player_cartel(&$vars){
'data-drupal-link-system-path' => $url->getInternalPath() '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) // relations (defined in edlp_corpus.module)