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

8.1.x
Alex Pott 2015-12-07 14:51:40 +00:00
parent e746bd96f4
commit a983f7cd09
3 changed files with 5 additions and 1 deletions

View File

@ -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'));

View File

@ -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 {

View File

@ -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 {