diff --git a/css/claro.style.tweaks.css b/css/claro.style.tweaks.css index 22576f9..b458b93 100644 --- a/css/claro.style.tweaks.css +++ b/css/claro.style.tweaks.css @@ -1,29 +1,3 @@ - -/* fix for multiple drag handles in node edit form */ -.js .node-form .tabledrag-cell-content__item { - display: none; -} - -@media screen and (min-width: 85em) { - - /* fix to allow chosen dropdowns to appear beyond the boundaries of vertical tabs */ - .js .vertical-tabs__item.claro-details--vertical-tabs-item, - .js .block-claro-content .vertical-tabs__item { - overflow: visible; - } - - /* fix to correct hidden vertical tabs in node edit form */ - /* - .js .node-form .vertical-tabs__item > summary { - display: block !important; - } - */ - .js .node-form .vertical-tabs__menu-item::after { - bottom: -.5em; - } - -} - /* fix for image crop region not stretching full-width */ .form-managed-file.no-upload { width: 100%; diff --git a/js/claro.style.tweaks.js b/js/claro.style.tweaks.js deleted file mode 100644 index ae5f002..0000000 --- a/js/claro.style.tweaks.js +++ /dev/null @@ -1,14 +0,0 @@ -(function ($, Drupal) { - - Drupal.behaviors.claro_style_tweaks = { - attach: function (context, settings) { - $('.claro-details summary').on('click', function () { - var id = $(this).parent().find('.focal-point-wrapper'); - $(id).find('.focal-point-indicator').removeOnce('focal-point-indicator'); - Drupal.behaviors.focalPointIndicator.attach($(id)); - - }); - } - }; - -})(jQuery, Drupal); diff --git a/ubc_claro_style_tweaks.libraries.yml b/ubc_claro_style_tweaks.libraries.yml index 1969051..9c656b6 100644 --- a/ubc_claro_style_tweaks.libraries.yml +++ b/ubc_claro_style_tweaks.libraries.yml @@ -3,8 +3,3 @@ clarotweaks: theme: css/claro.style.tweaks.css: { } css/drupal.ckeditor.css: { } - js: - js/claro.style.tweaks.js: { } - dependencies: - - core/jquery - - core/jquery.once