Gitlab CSE Unil

Commit fffb987f authored by M. Chardon's avatar M. Chardon
Browse files

correction curseur + activation bouton dans la palette

parent d69039d6
......@@ -9,7 +9,7 @@
position: relative;
min-width: 817px;
min-height: 400px;
cursor: crosshair;
cursor: move;
background-repeat: no-repeat;
background-color: #ccc;
margin-left: auto;
......@@ -261,12 +261,6 @@ ul.assignfeedback_editpdfplus_menu {
background-image: radial-gradient(ellipse at center, #fff 60%, #dfdfdf 100%);
}
.assignfeedback_editpdfplus_widget .pageheader button.assignfeedback_editpdfplus_selectedbutton:hover,
.assignfeedback_editpdfplus_widget .pageheader button.assignfeedback_editpdfplus_selectedbutton {
background-color: #dfdfdf;
background-image: radial-gradient(ellipse at center, #fff 40%, #dfdfdf 100%);
}
.assignfeedback_editpdfplus_widget .commentdrawable img {
padding: 1px;
}
......
......@@ -5026,7 +5026,7 @@ EDITOR.prototype = {
currenttoolnode = this.get_dialogue_element(TOOLSELECTOR[this.currentedit.tool]);
}
if (currenttoolnode) {
currenttoolnode.addClass('assignfeedback_editpdfplus_selectedbutton');
currenttoolnode.addClass('active');
currenttoolnode.setAttribute('aria-pressed', 'true');
}
drawingregion = this.get_dialogue_element(SELECTOR.DRAWINGREGION);
......@@ -5651,7 +5651,7 @@ EDITOR.prototype = {
currenttoolnode = this.get_dialogue_element(TOOLSELECTOR[this.currentedit.tool]);
}
if (currenttoolnode) {
currenttoolnode.removeClass('assignfeedback_editpdfplus_selectedbutton');
currenttoolnode.removeClass('active');
currenttoolnode.setAttribute('aria-pressed', 'false');
}
//update le currentedit object with the new tool
......
......@@ -5026,7 +5026,7 @@ EDITOR.prototype = {
currenttoolnode = this.get_dialogue_element(TOOLSELECTOR[this.currentedit.tool]);
}
if (currenttoolnode) {
currenttoolnode.addClass('assignfeedback_editpdfplus_selectedbutton');
currenttoolnode.addClass('active');
currenttoolnode.setAttribute('aria-pressed', 'true');
}
drawingregion = this.get_dialogue_element(SELECTOR.DRAWINGREGION);
......@@ -5651,7 +5651,7 @@ EDITOR.prototype = {
currenttoolnode = this.get_dialogue_element(TOOLSELECTOR[this.currentedit.tool]);
}
if (currenttoolnode) {
currenttoolnode.removeClass('assignfeedback_editpdfplus_selectedbutton');
currenttoolnode.removeClass('active');
currenttoolnode.setAttribute('aria-pressed', 'false');
}
//update le currentedit object with the new tool
......
......@@ -246,7 +246,7 @@ EDITOR.prototype = {
currenttoolnode = this.get_dialogue_element(TOOLSELECTOR[this.currentedit.tool]);
}
if (currenttoolnode) {
currenttoolnode.addClass('assignfeedback_editpdfplus_selectedbutton');
currenttoolnode.addClass('active');
currenttoolnode.setAttribute('aria-pressed', 'true');
}
drawingregion = this.get_dialogue_element(SELECTOR.DRAWINGREGION);
......@@ -871,7 +871,7 @@ EDITOR.prototype = {
currenttoolnode = this.get_dialogue_element(TOOLSELECTOR[this.currentedit.tool]);
}
if (currenttoolnode) {
currenttoolnode.removeClass('assignfeedback_editpdfplus_selectedbutton');
currenttoolnode.removeClass('active');
currenttoolnode.setAttribute('aria-pressed', 'false');
}
//update le currentedit object with the new tool
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment