Skip to content
Snippets Groups Projects
Commit a983f7cd authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2612150 by LOBsTerr: You can no longer see the locks when locking colors together

parent e746bd96
No related branches found
No related tags found
No related merge requests found
......@@ -247,7 +247,7 @@
var i = inputs.length;
if (inputs.length) {
var toggleClick = true;
var lock = $('<button class="color-palette__lock link">' + Drupal.t('Unlock') + '</button>').on('click', function (e) {
var lock = $('<button class="color-palette__lock">' + Drupal.t('Unlock') + '</button>').on('click', function (e) {
e.preventDefault();
if (toggleClick) {
$(this).addClass('is-unlocked').html(Drupal.t('Lock'));
......
......@@ -74,6 +74,8 @@ button.color-palette__lock,
left: -10px;
direction: ltr;
text-indent: -9999px;
border: 0;
outline: 0;
}
[dir="rtl"] button.color-palette__lock,
[dir="rtl"] .color-palette__lock {
......
......@@ -74,6 +74,8 @@ button.color-palette__lock,
left: -10px;
direction: ltr;
text-indent: -9999px;
border: 0;
outline: 0;
}
[dir="rtl"] button.color-palette__lock,
[dir="rtl"] .color-palette__lock {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment