Commit 91e80704 authored by Martin Leblanc's avatar Martin Leblanc
Browse files

ISTWCMS-5035: additional css for catalog search and landing page

parent 0fc55efb
/**
* @file
* Ckeditor Modal.
*/
(function ($, Drupal) {
if ($.ui && $.ui.dialog) {
orig_allowInteraction = $.ui.dialog.prototype._allowInteraction;
$.ui.dialog.prototype._allowInteraction = function (event) {
if ($(event.target).closest('.cke_dialog').length) {
return true;
}
return orig_allowInteraction.apply(this, arguments);
};
}
})(jQuery, Drupal);
/** /**
* @file * @file
*/ */
...@@ -373,23 +390,6 @@ else { ...@@ -373,23 +390,6 @@ else {
}; };
})(jQuery); })(jQuery);
/**
* @file
* Ckeditor Modal.
*/
(function ($, Drupal) {
if ($.ui && $.ui.dialog) {
orig_allowInteraction = $.ui.dialog.prototype._allowInteraction;
$.ui.dialog.prototype._allowInteraction = function (event) {
if ($(event.target).closest('.cke_dialog').length) {
return true;
}
return orig_allowInteraction.apply(this, arguments);
};
}
})(jQuery, Drupal);
/** /**
* @file * @file
*/ */
......
...@@ -503,4 +503,4 @@ $gesso: ( ...@@ -503,4 +503,4 @@ $gesso: (
xxl: 96px, xxl: 96px,
), ),
gutter-width: 40px, gutter-width: 40px,
); );
\ No newline at end of file
...@@ -147,7 +147,8 @@ ...@@ -147,7 +147,8 @@
{% block details_content %} {% block details_content %}
{% if link_profile %} {% if link_profile %}
<div class="card__link-profile">Link to Profile:<br /> <div class="card__link-profile">
<span class="uw-label">Link to Profile:</span>
<a href="{{ link_profile.uri }}">{{ link_profile.title }}</a> <a href="{{ link_profile.uri }}">{{ link_profile.title }}</a>
</div> </div>
{% endif %} {% endif %}
...@@ -301,7 +302,7 @@ ...@@ -301,7 +302,7 @@
{% block details_content %} {% block details_content %}
{% for key, tag in catalog_tags %} {% for key, tag in catalog_tags %}
<div class="card__catalog-tags card__tags-{{ key }}"> <div class="card__catalog-tags card__tags-{{ key }}">
<strong>{{ key }}:</strong><br /> <span class="uw-label">{{ key }}:</span>
{% include "@components/tag-list/tag-list.twig" with { {% include "@components/tag-list/tag-list.twig" with {
items: tag items: tag
} %} } %}
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
} }
h2{ h2{
font-size: gesso-font-size(3); font-size: gesso-font-size(3);
margin: gesso-spacing(md) 0 gesso-spacing(xs) 0;
span{ span{
font-family:gesso-font-family(primary); font-family:gesso-font-family(primary);
font-size: gesso-font-size(0); font-size: gesso-font-size(0);
...@@ -86,6 +87,7 @@ ...@@ -86,6 +87,7 @@
} }
h2{ h2{
font-size: gesso-font-size(3); font-size: gesso-font-size(3);
margin: gesso-spacing(md) 0 gesso-spacing(xs) 0;
span{ span{
font-family:gesso-font-family(primary); font-family:gesso-font-family(primary);
font-size: gesso-font-size(0); font-size: gesso-font-size(0);
...@@ -93,7 +95,12 @@ ...@@ -93,7 +95,12 @@
font-size: gesso-font-size(1); font-size: gesso-font-size(1);
} }
} }
}
.views-field-title{
@extend %hN;
@include display-text-style(h2);
font-size: gesso-font-size(3);
margin: gesso-spacing(md) 0 gesso-spacing(xs) 0;
} }
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment