"MDL-21943, remove hard-coded style"
This commit is contained in:
+4
-4
@@ -302,7 +302,7 @@ EOD;
|
||||
if (!empty($this->viewcap)) {
|
||||
// print commenting icon and tooltip
|
||||
$html = <<<EOD
|
||||
<div style="text-align:left">
|
||||
<div class="mdl-left">
|
||||
<a id="comment-link-{$this->cid}" href="{$this->link}">
|
||||
<img id="comment-img-{$this->cid}" src="{$CFG->wwwroot}/pix/t/collapsed.png" alt="{$this->linktext}" title="{$this->linktext}" />
|
||||
<span id="comment-link-text-{$this->cid}">{$this->linktext} {$this->count}</span>
|
||||
@@ -342,7 +342,7 @@ EOD;
|
||||
$html .= <<<EOD
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
<div class="clearer"></div>
|
||||
EOD;
|
||||
}
|
||||
|
||||
@@ -441,9 +441,9 @@ EOD;
|
||||
for ($p=0; $p<$pages; $p++) {
|
||||
$extra = '';
|
||||
if ($p == $page) {
|
||||
$extra = ' style="border:1px solid grey" ';
|
||||
$class = ' curpage ';
|
||||
}
|
||||
$str .= '<a class="pageno" href="###"'.$extra.' id="comment-page-'.$this->cid.'-'.$p.'">'.($p+1).'</a> ';
|
||||
$str .= '<a class="pageno '.$class.'" href="###" id="comment-page-'.$this->cid.'-'.$p.'">'.($p+1).'</a> ';
|
||||
}
|
||||
$str .= '</div>';
|
||||
}
|
||||
|
||||
@@ -315,6 +315,7 @@ table.mod_index {width:100%;}
|
||||
.comment-list li {margin: 2px;margin-bottom:5px;clear:both;}
|
||||
.comment-paging{text-align:center;}
|
||||
.comment-paging .pageno{padding: 2px;}
|
||||
.comment-paging .curpage{border:1px solid grey}
|
||||
.comment-userpicture {width: 20px;float:left;}
|
||||
.comment-content {margin-left: 22px;}
|
||||
.comment-content div {margin:0;padding:0;}
|
||||
@@ -507,4 +508,4 @@ body.tag .managelink {padding: 5px;}
|
||||
/**
|
||||
* Web Service
|
||||
*/
|
||||
#webservice-doc-generator td {text-align: left;border: 0px solid black;}
|
||||
#webservice-doc-generator td {text-align: left;border: 0px solid black;}
|
||||
|
||||
Reference in New Issue
Block a user