130 lines
2.8 KiB
CSS
130 lines
2.8 KiB
CSS
/* ============================================================
|
|
* AKSRT Comments — 移动端(1:1 自有版权)
|
|
*
|
|
* 自参考主题评论区移动端媒体查询段全量移植(表情与快捷短语
|
|
* 不在复刻范围),vendor main.min.css 已剥离同段规则。
|
|
* 依赖:bundle 中更早加载的 bootstrap 3 与 core/tokens.css 变量。
|
|
* ============================================================ */
|
|
|
|
@media (max-width: 767px) {
|
|
.drop-fixed-sm .dropdown-menu {
|
|
position: fixed;
|
|
transform: translateY(220%);
|
|
transition: 0.6s;
|
|
opacity: 1;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
padding: 22px 16px;
|
|
background: var(--main-bg-color);
|
|
z-index: 1080;
|
|
border-radius: 10px 10px 0 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.drop-fixed-sm.open .dropdown-menu {
|
|
box-shadow: 0 -50px 50px rgba(0, 0, 0, 0.2);
|
|
transition: 0.6s cubic-bezier(0.28, 0.9, 0.34, 0.99);
|
|
transform: unset;
|
|
}
|
|
|
|
.drop-fixed-sm .dropdown-menu {
|
|
z-index: 1045;
|
|
padding: 10px;
|
|
top: auto !important;
|
|
right: 0 !important;
|
|
left: 0 !important;
|
|
max-height: 50vh;
|
|
overflow: hidden;
|
|
overflow-y: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.drop-fixed-sm .dropdown-menu > li > a {
|
|
font-size: 16px !important;
|
|
padding: 10px 20px;
|
|
}
|
|
|
|
.modal-open .drop-fixed-sm.open .dropdown-menu {
|
|
opacity: 0;
|
|
}
|
|
|
|
.drop-fixed-sm .dropdown-menu::before {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
#comments .comt-title {
|
|
display: none;
|
|
}
|
|
|
|
#comments .comt-box {
|
|
width: 100%;
|
|
padding: 0;
|
|
}
|
|
|
|
#comments .list-inline {
|
|
padding: 15px 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.comment-signarea h3 {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.comt-tips-left .but svg,
|
|
.comt-tips-left .but .fa {
|
|
margin: 0;
|
|
}
|
|
|
|
.btn-input-expand {
|
|
width: 31px;
|
|
padding: 0;
|
|
height: 31px;
|
|
line-height: 31px;
|
|
}
|
|
|
|
#postcomments .comment-header {
|
|
font-size: 14px;
|
|
}
|
|
|
|
#postcomments .comt-meta {
|
|
font-size: 12px;
|
|
}
|
|
|
|
#postcomments .comment .list-inline > li {
|
|
padding: 0;
|
|
}
|
|
|
|
#postcomments .comment .list-inline > li + li {
|
|
padding-left: 10px;
|
|
}
|
|
|
|
#postcomments .avatar-img {
|
|
--this-size: 36px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
#postcomments .commentlist > .comment > .list-inline .comment-footer {
|
|
margin-left: 45px;
|
|
margin-top: -15px;
|
|
}
|
|
|
|
#postcomments .children {
|
|
margin-left: 0px;
|
|
}
|
|
|
|
#postcomments .children .children {
|
|
margin-left: 13px;
|
|
}
|
|
|
|
#postcomments .children .list-inline {
|
|
padding: 15px;
|
|
}
|
|
|
|
#postcomments .post_ajax_loader .ml20 {
|
|
margin-left: 5px;
|
|
}
|
|
}
|