From bcb370dd47cb2a92c57d37e03a0c5889a48dd37a Mon Sep 17 00:00:00 2001 From: Andi Dittrich Date: Sun, 19 Apr 2020 23:10:51 +0200 Subject: [PATCH] fixed: highlighted-line hover selector #4 --- CHANGES.md | 1 + dist/enlighterjs.customizer.min.js | 2 +- src/customizer/selectors.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index eac259c..51dbb71 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,6 +3,7 @@ ### 2.2.0 ### * Added: option to set the token base styles inlcuding font-size - feature requested [on GitHub](https://github.com/EnlighterJS/Plugin.ThemeCustomizer/issues/6) +* Bugfix: highlighted-line hover selector was invalid -> selection of `background-color:hover` was not possible - thanks to [ajtruckle on GitHub](https://github.com/EnlighterJS/Plugin.ThemeCustomizer/issues/4) #4 ### 2.1.0 ### diff --git a/dist/enlighterjs.customizer.min.js b/dist/enlighterjs.customizer.min.js index 2968baa..4eb351c 100644 --- a/dist/enlighterjs.customizer.min.js +++ b/dist/enlighterjs.customizer.min.js @@ -1,2 +1,2 @@ /*! EnlighterJS Theme Customizer 2.2.0 | Mozilla Public License 2.0 | https://enlighterjs.org */ -var EnlighterJS_Customizer=function(e){"use strict";var t={document:document,window:window};function h(){return document}function n(){return window}function l(e){return null!=e&&0e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,l=!0,o=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return l=e.done,e},e:function(e){o=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(o)throw i}}}}function b(e,t,n){var r=h(),i=r.createElement(e);if(0div::before",linehover:".enlighter-t-${THEME_NAME}.enlighter-hover div.enlighter>div:hover",linespecial:".enlighter-t-${THEME_NAME} div.enlighter>div.enlighter-special",linespecialhover:".enlighter-t-${THEME_NAME} .enlighter-special:hover",buttons:{generic:".enlighter-t-${THEME_NAME} .enlighter-btn",codegroup:".enlighter-t-${THEME_NAME}.enlighter-v-codegroup .enlighter-codegroup-switch .enlighter-btn"},token:".enlighter-t-${THEME_NAME} .enlighter-",genericToken:".enlighter-t-${THEME_NAME} .enlighter span"};function H(e){var t=[];e.name&&t.push("enlighter-"+e.name),e.className&&("string"==typeof e.className?t.push(e.className):t.push.apply(t,m(e.className)));for(var n=arguments.length,r=new Array(1e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,l=!0,o=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return l=e.done,e},e:function(e){o=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(o)throw i}}}}function b(e,t,n){var r=h(),i=r.createElement(e);if(0div::before",linehover:".enlighter-t-${THEME_NAME}.enlighter-hover div.enlighter>div:hover",linespecial:".enlighter-t-${THEME_NAME} div.enlighter>div.enlighter-special",linespecialhover:".enlighter-t-${THEME_NAME} div.enlighter>div.enlighter-special:hover",buttons:{generic:".enlighter-t-${THEME_NAME} .enlighter-btn",codegroup:".enlighter-t-${THEME_NAME}.enlighter-v-codegroup .enlighter-codegroup-switch .enlighter-btn"},token:".enlighter-t-${THEME_NAME} .enlighter-",genericToken:".enlighter-t-${THEME_NAME} .enlighter span"};function H(e){var t=[];e.name&&t.push("enlighter-"+e.name),e.className&&("string"==typeof e.className?t.push(e.className):t.push.apply(t,m(e.className)));for(var n=arguments.length,r=new Array(1div:hover', linespecial: '.enlighter-t-${THEME_NAME} div.enlighter>div.enlighter-special', - linespecialhover: '.enlighter-t-${THEME_NAME} .enlighter-special:hover', + linespecialhover: '.enlighter-t-${THEME_NAME} div.enlighter>div.enlighter-special:hover', buttons: { generic: '.enlighter-t-${THEME_NAME} .enlighter-btn',