MDL-36784 usability: CSS adjustments for Glossary print icon
This commit is contained in:
@@ -22,8 +22,7 @@
|
||||
.glossary-activity-content { margin-left: 40px; }
|
||||
|
||||
/** Page specific styles **/
|
||||
#page-mod-glossary-view .glossarycontrol {text-align:right;white-space: nowrap;margin: 5px 0;}
|
||||
.dir-rtl#page-mod-glossary-view .glossarycontrol { text-align: left; }
|
||||
#page-mod-glossary-view .glossarycontrol {float: right;text-align:right;white-space: nowrap;margin: 5px 0;}
|
||||
#page-mod-glossary-view table.glossarycategoryheader,
|
||||
#page-mod-glossary-import table.glossaryimportexport {margin-left:auto;margin-right:auto;}
|
||||
|
||||
|
||||
@@ -308,7 +308,7 @@ if ($showcommonelements) {
|
||||
|
||||
/// Start to print glossary controls
|
||||
// print_box_start('glossarycontrol clearfix');
|
||||
echo '<div class="glossarycontrol">';
|
||||
echo '<div class="glossarycontrol" style="text-align: right">';
|
||||
echo $availableoptions;
|
||||
|
||||
/// The print icon
|
||||
@@ -316,7 +316,7 @@ if ($showcommonelements) {
|
||||
if (has_capability('mod/glossary:manageentries', $context) or $glossary->allowprintview) {
|
||||
// print_box_start('printicon');
|
||||
echo '<span class="wrap printicon">';
|
||||
echo " <a title =\"". get_string("printerfriendly","glossary") ."\" href=\"print.php?id=$cm->id&mode=$mode&hook=".urlencode($hook)."&sortkey=$sortkey&sortorder=$sortorder&offset=$offset\"><img class=\"iconsmall\" src=\"".$OUTPUT->pix_url('t/print')."\" alt=\"". get_string("printerfriendly","glossary") . "\" /></a>";
|
||||
echo " <a title =\"". get_string("printerfriendly","glossary") ."\" href=\"print.php?id=$cm->id&mode=$mode&hook=".urlencode($hook)."&sortkey=$sortkey&sortorder=$sortorder&offset=$offset\"><img class=\"icon\" src=\"".$OUTPUT->pix_url('print', 'glossary')."\" alt=\"". get_string("printerfriendly","glossary") . "\" /></a>";
|
||||
echo '</span>';
|
||||
// print_box_end();
|
||||
}
|
||||
|
||||
@@ -8,7 +8,6 @@ required changes:
|
||||
|
||||
deprecation:
|
||||
* i/roles: Use t/assignroles instead
|
||||
* mod/glossary/pix/print: Use t/print instead
|
||||
|
||||
optional changes:
|
||||
* new optional boolean parameter $withlinks for public function login_info() in lib/outputrenderers.php (MDL-31365)
|
||||
@@ -21,7 +20,6 @@ optional changes:
|
||||
* new icon t/cohorts (sized 12x12), to prevent the use of i/cohorts which is 16x16.
|
||||
* new icons t/sort_asc, t/sort_desc to use for ordering in table headers.
|
||||
* new class 'iconsort' for icons used for ordering in table headers.
|
||||
* new icon t/print (sized 12x12).
|
||||
|
||||
=== 2.3 ===
|
||||
|
||||
|
||||
Reference in New Issue
Block a user