Gitlab CSE Unil
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
M. Chardon
moodle-assignfeedback_editpdfplus
Commits
0d967ff5
Commit
0d967ff5
authored
Jun 12, 2019
by
M. Chardon
Browse files
ajout messages d'aides
parent
38250c50
Changes
2
Hide whitespace changes
Inline
Side-by-side
classes/bdd/tool.php
View file @
0d967ff5
...
...
@@ -193,6 +193,8 @@ class tool {
*/
public
function
getRendererBoutonHTMLDisplay
(
$disabled
=
false
)
{
$iconhtml
=
$this
->
getButtonLabel
();
$tooltiptext
=
get_string
(
'typetool_'
.
$this
->
typeObject
->
label
,
'assignfeedback_editpdfplus'
);
$iconhtml
.
=
"<span class='assignfeedback_editpdfplus_tooltiptext'>"
.
$tooltiptext
.
"</span>"
;
if
(
!
$this
->
typeObject
)
{
return
array
(
'content'
=>
$iconhtml
,
...
...
styles.css
View file @
0d967ff5
...
...
@@ -186,7 +186,7 @@
width
:
0%
;
}
.assignfeedback_editpdfplus_widget
.helpmessage
{
.assignfeedback_editpdfplus_widget
div
.helpmessage
{
display
:
none
;
}
...
...
@@ -552,4 +552,32 @@ ul.assignfeedback_editpdfplus_menu {
}
.assignfeedback_editpdfplus_resize_vertical.assignfeedback_editpdfplus_resize_active
:hover
{
cursor
:
row-resize
;
}
/* Tooltip text */
.costumtoolbarbutton
.assignfeedback_editpdfplus_tooltiptext
{
visibility
:
hidden
;
min-width
:
120px
;
background-color
:
#555
;
color
:
#fff
;
text-align
:
center
;
padding
:
5px
;
border-radius
:
6px
;
/* Position the tooltip text - see examples below! */
position
:
absolute
;
z-index
:
1
;
top
:
100%
;
left
:
50%
;
margin-left
:
-60px
;
/* Use half of the width (120/2 = 60), to center the tooltip */
margin-top
:
5px
;
/* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
opacity
:
0
;
transition
:
opacity
1s
;
}
/* Show the tooltip text when you mouse over the tooltip container */
.costumtoolbarbutton
:hover
.assignfeedback_editpdfplus_tooltiptext
{
visibility
:
visible
;
opacity
:
1
;
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment