Merge pull request #38 from otacke/HFP-878
Avoid accidently selecting things in the toolbarpull/10/merge
commit
98f1ac4abb
|
@ -36,7 +36,7 @@ H5P.ActionBar = (function ($, EventDispatcher) {
|
||||||
self.trigger(type);
|
self.trigger(type);
|
||||||
};
|
};
|
||||||
H5P.jQuery('<li/>', {
|
H5P.jQuery('<li/>', {
|
||||||
'class': 'h5p-button h5p-' + (customClass ? customClass : type),
|
'class': 'h5p-button h5p-noselect h5p-' + (customClass ? customClass : type),
|
||||||
role: 'button',
|
role: 'button',
|
||||||
tabindex: 0,
|
tabindex: 0,
|
||||||
title: H5P.t(type + 'Description'),
|
title: H5P.t(type + 'Description'),
|
||||||
|
|
|
@ -30,6 +30,14 @@ html.h5p-iframe, html.h5p-iframe > body {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
-moz-box-sizing: border-box;
|
-moz-box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
.h5p-noselect
|
||||||
|
{
|
||||||
|
-khtml-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
html.h5p-iframe .h5p-content {
|
html.h5p-iframe .h5p-content {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
|
|
Loading…
Reference in New Issue