mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-25 20:44:01 +01:00
[ticket/12542] Add different outline colors for body & textarea
PHPBB3-12542
This commit is contained in:
parent
46a789de5c
commit
ae8129b699
@ -1233,11 +1233,16 @@ phpbb.applyCodeEditor = function(textarea) {
|
||||
};
|
||||
|
||||
phpbb.applyDragNDrop = function(textarea) {
|
||||
$('html').on('dragenter dragover', function () {
|
||||
$('body').on('dragenter dragover', function () {
|
||||
$(textarea).addClass('drag-n-drop');
|
||||
}).on('dragleave dragout dragend drop', function() {
|
||||
$(textarea).removeClass('drag-n-drop');
|
||||
});
|
||||
$(textarea).on('dragenter dragover', function () {
|
||||
$(textarea).addClass('drag-n-drop-highlight');
|
||||
}).on('dragleave dragout dragend drop', function() {
|
||||
$(textarea).removeClass('drag-n-drop-highlight');
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -978,7 +978,11 @@ fieldset.quick-login input.inputbox {
|
||||
}
|
||||
|
||||
#message-box textarea.drag-n-drop {
|
||||
outline-color: rgba(17, 163, 234, 0.7);
|
||||
outline-color: rgba(102, 102, 102, 0.5);
|
||||
}
|
||||
|
||||
#message-box textarea.drag-n-drop-highlight {
|
||||
outline-color: rgba(17, 163, 234, 0.5);
|
||||
}
|
||||
|
||||
/* Input field styles
|
||||
|
Loading…
x
Reference in New Issue
Block a user