Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • wcms/uw_wcms_gesso
1 result
Show changes
Commits on Source (6)
......@@ -6056,6 +6056,17 @@ fieldset,
text-align: center;
top: 0.5rem;
transform: scale(0.75, 0.75) rotate(90deg); }
.no-scroll .uw-horizontal-nav.uw-horizontal-nav--header .uw-horizontal-nav--menu .menu--horizontal > .menu--item[aria-expanded="true"] > a {
border-left: inherit;
display: inline-block;
height: inherit;
overflow: inherit;
width: inherit;
z-index: 7; }
.no-scroll .uw-horizontal-nav.uw-horizontal-nav--header .uw-horizontal-nav--menu .menu--horizontal > .menu--item[aria-expanded="true"] > a span {
display: block; }
.no-scroll .uw-horizontal-nav.uw-horizontal-nav--header .uw-horizontal-nav--menu .menu--horizontal > .menu--item[aria-expanded="true"] > a::after {
transform: scale(0.75, 0.75) rotate(270deg); }
.uw-horizontal-nav.uw-horizontal-nav--header .uw-horizontal-nav--menu .menu--subnav {
display: none; }
.uw-horizontal-nav.uw-horizontal-nav--header .uw-horizontal-nav--menu .menu .submenu-active .menu--subnav {
......@@ -6072,8 +6083,12 @@ fieldset,
width: auto; }
.uw-horizontal-nav.uw-horizontal-nav--header .uw-horizontal-nav--menu .menu .submenu-active .menu--subnav .menu--item {
max-width: inherit; }
.uw-horizontal-nav.uw-horizontal-nav--header .uw-horizontal-nav--menu .menu .submenu-active .menu--subnav li .menu--link-parent {
display: none !important; }
.uw-horizontal-nav.uw-horizontal-nav--header .uw-horizontal-nav--menu .menu .submenu-active .menu--subnav .menu--item__parent {
display: none; }
.no-scroll .uw-horizontal-nav.uw-horizontal-nav--header .uw-horizontal-nav--menu .menu .submenu-active .menu--subnav .menu--item a {
border-color: transparent; }
.no-scroll .uw-horizontal-nav.uw-horizontal-nav--header .uw-horizontal-nav--menu .menu .submenu-active .menu--subnav .menu--item a:hover {
border-color: #e6e6e6; }
.uw-horizontal-nav.uw-horizontal-nav--header .uw-horizontal-nav--menu .menu .submenu-active .menu--subnav .menu--subnav {
border: 0 solid #fff; }
......
/**
* @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
*/
......@@ -346,6 +329,23 @@ else {
};
})(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
*/
......
......@@ -72,7 +72,7 @@
</div>
{% endif %}
{% if image %}
{% if image and not card_type == 'banner' %}
<div class="card__image">
<img src="{{ image }}" alt="{{ alt }}" />
</div>
......
......@@ -71,6 +71,25 @@ $menu-horizontal-drop-bg: #f7f7f7;
}
}
}
.no-scroll & {
&[aria-expanded="true"]{
> a{
border-left:inherit;
display:inline-block;
height:inherit;
overflow:inherit;
width:inherit;
// Puts the content at z-index 7
z-index: gesso-z-index(dropdown);
span{
display:block;
}
&::after {
transform: scale(0.75, 0.75) rotate(270deg);
}
}
}
}
}
}
&--subnav {
......@@ -91,21 +110,22 @@ $menu-horizontal-drop-bg: #f7f7f7;
.menu--item{
max-width:inherit;
}
li{
.menu--link-parent{
display:none !important;
&__parent{
display:none;
}
a{
.no-scroll &{
border-color:transparent;
&:hover{
border-color:#e6e6e6;
}
}
}
}
.menu--subnav{
border:0 solid #fff;
}
> li{
}
}
}
}
}