mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Fix alignment in module list
This commit is contained in:
parent
a32721b6e1
commit
0d26c75bdb
4 changed files with 14 additions and 9 deletions
|
|
@ -1143,7 +1143,7 @@
|
|||
.x .x_btn-group-vertical>.x_btn:last-child{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}
|
||||
.x .x_btn-group-vertical>.x_btn-large:first-child{-webkit-border-radius:6px 6px 0 0;-moz-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0}
|
||||
.x .x_btn-group-vertical>.x_btn-large:last-child{-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px}
|
||||
.x .x_alert{padding:8px 35px 8px 14px;margin-bottom:20px;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}
|
||||
.x .x_alert{padding:6px 30px 6px 10px;margin-top:6px;margin-bottom:20px;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}
|
||||
.x .x_alert,
|
||||
.x .x_alert h4{color:#c09853}
|
||||
.x .x_alert h4{margin:0}
|
||||
|
|
|
|||
|
|
@ -598,7 +598,7 @@ margin-bottom: 10px;
|
|||
.x td>form,
|
||||
.x td>p:only-of-type,
|
||||
.x td>p:last-of-type {
|
||||
margin: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.x [data-display="none"] {
|
||||
display: none;
|
||||
|
|
|
|||
|
|
@ -1,12 +1,17 @@
|
|||
.fvOff,.fvOn{
|
||||
display:inline-block;
|
||||
width:25px;
|
||||
height:25px;
|
||||
position:relative;
|
||||
top:8px;
|
||||
width:18px;
|
||||
height:18px;
|
||||
background-color:transparent;
|
||||
background-size:25px 25px;
|
||||
background-size:18px 18px;
|
||||
overflow:hidden;
|
||||
text-indent:-1000px;
|
||||
border:0
|
||||
border:0;
|
||||
.nodescription>& {
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
.fvOff{
|
||||
background-image: data-uri('images/star-empty.svg');
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr loop="$module_list => $key,$val" data-type1="#"|cond="in_array($val->module,$favoriteModuleList)" data-type2="#"|cond="$val->need_install || $val->need_update || $val->need_autoinstall_update">
|
||||
<td>
|
||||
<td class="nodescription"|cond="!$val->description">
|
||||
<button type="button" class="fvOn" onclick="doToggleFavoriteModule(this, '{$val->module}')" cond="in_array($val->module,$favoriteModuleList)">{lang("favorite")} ({lang("on")})</button>
|
||||
<button type="button" class="fvOff" onclick="doToggleFavoriteModule(this, '{$val->module}')" cond="!in_array($val->module,$favoriteModuleList)">{lang("favorite")} ({lang("off")})</button>
|
||||
</td>
|
||||
|
|
@ -31,8 +31,8 @@
|
|||
<a href="{getUrl('','module','admin','act',$val->admin_index_act)}" cond="$val->admin_index_act">{$val->title}</a>
|
||||
<strong cond="!$val->admin_index_act">{$val->title}</strong>
|
||||
</p>
|
||||
<p>{$val->description}</p>
|
||||
<p cond="Context::isBlacklistedPlugin($val->module)" class="message error" style="margin-top:6px;padding:6px 10px">
|
||||
<p cond="$val->description">{$val->description}</p>
|
||||
<p cond="Context::isBlacklistedPlugin($val->module)" class="x_alert x_alert-error">
|
||||
{$lang->msg_blacklisted_module}<br />
|
||||
{$lang->get('admin.msg_blacklisted_reason.'.$val->module)}
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue