moodle-mod-customcert/styles.css
Mark Nelson 555bca9ebb Added ability to edit an element on the rearrange page
Increased the Moodle version required as this feature
uses the AMD module 'core/fragment' which was introduced
in 3.1.
2016-06-17 17:13:18 +08:00

75 lines
1.7 KiB
CSS

#page-mod-customcert-edit .deletebutton {
text-align:right;
}
#page-mod-customcert-edit #id_replace {
margin-left: 10px;
}
#page-mod-customcert-report .centre {
margin-left: auto;
margin-right: auto;
}
#page-mod-customcert-rearrange .savepositionsbtn,
#page-mod-customcert-rearrange .applypositionsbtn,
#page-mod-customcert-rearrange .cancelbtn {
float:left
}
#page-mod-customcert-rearrange .element {
display:inline-block;
position: absolute;
word-wrap: break-word;
}
#page-mod-customcert-rearrange .element:before {
content: "";
display: block;
background-image: url([[pix:mod_customcert|target]]);
background-repeat: no-repeat;
width: 100%;
height: 9px;
float: left;
}
#page-mod-customcert-rearrange .element:hover {
cursor:move;
}
#page-mod-customcert-rearrange .element.refpoint-left:before {
background-position: left top;
margin: -4px -5px -5px -4px;
}
#page-mod-customcert-rearrange .element.refpoint-center:before {
background-position: center top;
margin: -4px 0 -5px 0;
}
#page-mod-customcert-rearrange .element.refpoint-right:before {
background-position: right top;
margin: -4px -5px -5px 4px;
}
#page-mod-customcert-rearrange #pdf {
clear:both;
border-style:solid;
border-width:1px;
}
#page-mod-customcert-rearrange div#leftmargin {
border-left: 1px dotted black;
}
#page-mod-customcert-rearrange div#rightmargin {
border-right: 1px dotted black;
}
/*
This is a hack - the fieldset being returned by the edit_element_form class contains
the CSS class 'hidden' which when shown in a dialogue hides the fieldset.
*/
.moodle-dialogue #editelementform fieldset.hidden {
display: block;
}