mirror of
https://github.com/kokororin/typecho-plugin-Access.git
synced 2025-03-28 13:00:10 +08:00
fix: logs page style compatible
This commit is contained in:
parent
67b1d6ea5f
commit
7d9261ea1f
@ -2,6 +2,12 @@ a[data-action="search-anchor"] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.typecho-access-logs-controls {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
.typecho-access-logs-search {
|
||||
position: relative;
|
||||
}
|
||||
@ -25,7 +31,7 @@ a[data-action="search-anchor"] {
|
||||
transform: translateY(20%);
|
||||
}
|
||||
|
||||
button.active > .typecho-access-logs-dropdown-btn__icon {
|
||||
.active > .dropdown-toggle + .typecho-access-logs-dropdown-btn__icon {
|
||||
transform: rotateZ(180deg);
|
||||
}
|
||||
|
||||
@ -33,10 +39,11 @@ button.active > .typecho-access-logs-dropdown-btn__icon {
|
||||
margin-top: 1px;
|
||||
min-width: 73px;
|
||||
border: none;
|
||||
padding: 0 !important;
|
||||
display: block;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity ease-out .3s;
|
||||
transition: opacity ease-out .3s !important;
|
||||
}
|
||||
|
||||
.typecho-access-logs-dropdown > li {
|
||||
@ -50,7 +57,7 @@ button.active > .typecho-access-logs-dropdown-btn__icon {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
button.active + .typecho-access-logs-dropdown {
|
||||
.active > .dropdown-toggle + .typecho-access-logs-dropdown {
|
||||
opacity: 1;
|
||||
pointer-events: all;
|
||||
}
|
||||
@ -66,7 +73,7 @@ button.active + .typecho-access-logs-dropdown {
|
||||
width: 400px;
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
transition: ease-in-out opacity 0.3s;
|
||||
transition: opacity ease-in-out 0.3s;
|
||||
}
|
||||
|
||||
.typecho-access-logs-filter--visible {
|
||||
|
@ -88,6 +88,7 @@ $(document).ready(function () {
|
||||
type: 'checkbox',
|
||||
value: item.id,
|
||||
name: 'id[]',
|
||||
class: 'form-check-input',
|
||||
'data-id': item.id,
|
||||
}));
|
||||
$tr.append($td);
|
||||
@ -356,7 +357,7 @@ $(document).ready(function () {
|
||||
}
|
||||
|
||||
$('.typecho-access-logs-dropdown-btn').click(function() {
|
||||
$(this).next().css({ display: '' });
|
||||
$(this).next().css({ display: '', 'min-width': $(this).parent().width() + 'px' });
|
||||
})
|
||||
|
||||
$('[data-action="select-delete"]').click(function () {
|
||||
|
@ -7,7 +7,7 @@
|
||||
<script defer src="<?php $options->pluginUrl('Access/page/routes/logs/index.js')?>"></script>
|
||||
|
||||
<div class="col-mb-12 typecho-list">
|
||||
<div class="typecho-list-operate clearfix">
|
||||
<div class="typecho-access-logs-controls">
|
||||
<div class="operate">
|
||||
<label><i class="sr-only"><?php _e('全选'); ?></i><input type="checkbox" class="typecho-table-select-all" /></label>
|
||||
<div class="btn-group btn-drop">
|
||||
@ -101,7 +101,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="typecho-list-operate clearfix">
|
||||
<div class="typecho-access-logs-controls">
|
||||
<div class="operate">
|
||||
<label>
|
||||
<i class="sr-only"><?php _e('全选'); ?></i>
|
||||
@ -118,11 +118,13 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="typecho-access-logs-pagination-jump">
|
||||
<input class="text-s typecho-access-logs-pagination-jump__number" type="text" name="page-jump" autocomplete="off" />
|
||||
<span class="typecho-access-logs-pagination-jump__text">/</span>
|
||||
<span class="typecho-access-logs-pagination-jump__total">loading</span>
|
||||
<div>
|
||||
<div class="typecho-access-logs-pagination-jump">
|
||||
<input class="text-s typecho-access-logs-pagination-jump__number" type="text" name="page-jump" autocomplete="off" />
|
||||
<span class="typecho-access-logs-pagination-jump__text">/</span>
|
||||
<span class="typecho-access-logs-pagination-jump__total">loading</span>
|
||||
</div>
|
||||
<ul class="typecho-pager"></ul>
|
||||
</div>
|
||||
<ul class="typecho-pager"></ul>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user