halo-theme-hao/templates/assets/libs/artalk/Artalk.css
UPToZ d19c1191ef 修改侧栏图标颜色
detailed:
1.增加了侧栏中的小板报、最新评论、最近发布、爱发电、广告、文章目录、分类的图标颜色。
2.增加了对侧栏的广告图片鼠标移入图片轻微放大的效果。
3.增加了爱发电API请求失败时的默认显示。
4.修改了侧栏中的标题与图标之间的间距。
5.修改了侧栏中爱发电内容区域的边距。
2024-05-11 18:09:07 +08:00

1623 lines
36 KiB
CSS

@charset "UTF-8";
.artalk,
.atk-layer-wrap {
--at-color-font: #2a2e2e;
--at-color-deep: #2a2e2e;
--at-color-sub: #757575;
--at-color-grey: #747474;
--at-color-meta: #697182;
--at-color-border: #eceff2;
--at-color-light: #4285f4;
--at-color-bg: #FFF;
--at-color-bg-transl: rgba(255, 255, 255, .94);
--at-color-bg-grey: #f3f4f5;
--at-color-bg-grey-transl: rgba(244, 244, 244, .75);
--at-color-bg-light: rgba(29, 161, 242, .1);
--at-color-main: #0083ff;
--at-color-red: #ff5652;
--at-color-pink: #fa5a57;
--at-color-yellow: #ff7c37;
--at-color-green: #4caf50;
--at-color-gradient: linear-gradient(180deg, transparent, rgba(255, 255, 255))
}
.artalk.atk-dark-mode,
.atk-layer-wrap.atk-dark-mode {
--at-color-font: #fff;
--at-color-deep: #e7e7e7;
--at-color-sub: #e7e7e7;
--at-color-grey: #fff;
--at-color-meta: #fff;
--at-color-border: #2d3235;
--at-color-light: #687a86;
--at-color-bg: #1e2224;
--at-color-bg-transl: rgba(30, 34, 36, .95);
--at-color-bg-grey: #46494e;
--at-color-bg-grey-transl: rgba(8, 8, 8, .95);
--at-color-bg-light: rgba(29, 161, 242, .1);
--at-color-main: #0083ff;
--at-color-red: #ff5652;
--at-color-pink: #fa5a57;
--at-color-yellow: #ff7c37;
--at-color-green: #4caf50;
--at-color-gradient: linear-gradient(180deg, transparent, rgba(30, 34, 36, 1))
}
.atk-comment-wrap {
overflow: hidden;
position: relative;
border-bottom: 1px solid transparent
}
.atk-comment-wrap.atk-flash-once {
animation: atkFlashOnce 1s ease-in-out 0s
}
@keyframes atkFlashOnce {
0% {
background: #0083ff33
}
to {
background: transparent
}
}
.atk-comment-wrap.atk-unread:before {
content: " ";
position: absolute;
left: 0;
top: 10%;
width: 3px;
height: 80%;
background: var(--at-color-main)
}
.atk-comment-wrap.atk-openable {
cursor: pointer
}
.atk-comment-wrap.atk-openable:hover {
background: var(--at-color-bg-grey)
}
.atk-comment-wrap.atk-openable .atk-height-limit:after {
background: transparent !important
}
.atk-comment-wrap:last-child {
border-bottom: none
}
.atk-comment {
display: block;
padding: 10px
}
.atk-comment>.atk-avatar {
display: block;
padding: 2px 0;
float: left
}
.atk-comment>.atk-avatar img {
width: 50px;
height: 50px;
border-radius: 3px
}
.atk-comment>.atk-main {
display: block;
margin-left: 63px
}
.atk-comment>.atk-main>.atk-header {
line-height: 1.5;
font-size: 13px;
margin-bottom: .5em;
overflow: hidden;
position: relative;
display: flex;
flex-wrap: wrap;
align-items: center
}
.atk-comment>.atk-main>.atk-header .atk-item {
display: flex;
align-items: center;
margin-top: 2px;
margin-bottom: 2px;
color: var(--at-color-meta)
}
.atk-comment>.atk-main>.atk-header .atk-item:not(:last-child) {
margin-right: 6px
}
.atk-comment>.atk-main>.atk-header .atk-item.atk-nick,
.atk-comment>.atk-main>.atk-header .atk-item.atk-nick a {
font-size: 14px;
color: var(--at-color-main);
text-decoration: none
}
.atk-comment>.atk-main>.atk-header .atk-item.atk-reply-at {
margin-left: 2px
}
.atk-comment>.atk-main>.atk-header .atk-item.atk-reply-at>.atk-arrow:before {
content: "";
vertical-align: middle;
transform: rotate(90deg);
border-bottom: 4px solid var(--at-color-grey);
border-left: 3px solid transparent;
border-right: 3px solid transparent;
display: inline-block;
margin-top: -1px
}
.atk-comment>.atk-main>.atk-header .atk-item.atk-reply-at>.atk-nick {
color: var(--at-color-main);
cursor: pointer;
margin-left: 6px
}
.atk-comment>.atk-main>.atk-header .badge,
.atk-comment>.atk-main>.atk-header .atk-ua,
.atk-comment>.atk-main>.atk-header .atk-pinned-badge,
.atk-comment>.atk-main>.atk-header .atk-region-badge,
.atk-comment>.atk-main>.atk-header .atk-badge {
display: inline-block;
color: var(--at-color-meta);
background: var(--at-color-bg-grey);
padding: 0 6px;
line-height: 17px;
border-radius: 3px
}
.atk-comment>.atk-main>.atk-header .badge:not(:last-child),
.atk-comment>.atk-main>.atk-header .atk-ua:not(:last-child),
.atk-comment>.atk-main>.atk-header .atk-pinned-badge:not(:last-child),
.atk-comment>.atk-main>.atk-header .atk-region-badge:not(:last-child),
.atk-comment>.atk-main>.atk-header .atk-badge:not(:last-child) {
margin-right: 6px
}
.atk-comment>.atk-main>.atk-header .atk-badge-wrap>*:last-child {
margin-right: 6px
}
.atk-comment>.atk-main>.atk-header .atk-badge {
color: #fff
}
.atk-comment>.atk-main>.atk-header .atk-pinned-badge {
color: #fff;
background: #f44336
}
@media only screen and (max-width: 768px) {
.atk-comment>.atk-main>.atk-header .atk-ua-wrap {
display: block
}
}
.atk-comment>.atk-main>.atk-body {
display: block;
overflow: hidden;
position: relative
}
.atk-comment>.atk-main>.atk-body img {
max-width: 100%
}
.atk-comment>.atk-main>.atk-body>.atk-content {
word-break: break-all
}
.atk-comment>.atk-main>.atk-body>.atk-content.atk-type-collapsed {
border: 3px solid var(--at-color-bg-grey);
border-bottom: 0;
padding: 5px 10px;
border-radius: 6px 6px 0 0;
margin-bottom: -5px
}
.atk-comment>.atk-main>.atk-body>.atk-content>*:first-child {
margin-top: 0
}
.atk-comment>.atk-main>.atk-body>.atk-content>*:last-child {
margin-bottom: 0
}
.atk-comment>.atk-main>.atk-body>.atk-content .atk-height-limit-btn {
bottom: 5px
}
.atk-comment>.atk-main>.atk-body>.atk-pending {
color: var(--at-color-meta);
margin: 3px 0;
font-size: 13px;
padding: 10px 18px;
display: block;
background: var(--at-color-bg-grey);
border-left: 4px solid #f44336
}
.atk-comment>.atk-main>.atk-body>.atk-reply-to {
padding: 5px 15px;
border-left: 3px solid var(--at-color-border);
margin-bottom: 10px;
position: relative;
margin-top: 10px
}
.atk-comment>.atk-main>.atk-body>.atk-reply-to .atk-meta {
font-size: 15px
}
.atk-comment>.atk-main>.atk-body>.atk-reply-to .atk-meta .atk-nick {
color: var(--at-color-main)
}
.atk-comment>.atk-main>.atk-body>.atk-reply-to .atk-content {
margin-top: 5px
}
.atk-comment>.atk-main>.atk-body>.atk-collapsed {
margin: 3px 0;
font-size: 13px;
padding: 10px 18px;
display: block;
background: var(--at-color-bg-grey);
border-radius: 6px
}
.atk-comment>.atk-main>.atk-body>.atk-collapsed .atk-text {
color: var(--at-color-meta)
}
.atk-comment>.atk-main>.atk-body>.atk-collapsed .atk-show-btn {
color: var(--at-color-main);
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
margin-left: 3px
}
.atk-comment>.atk-main>.atk-body>.atk-collapsed .atk-show-btn:hover {
color: var(--at-color-main)
}
.atk-comment>.atk-main>.atk-footer {
margin-top: 5px
}
.atk-comment>.atk-main>.atk-footer .atk-actions {
display: flex;
flex-direction: row;
align-items: center;
flex-wrap: wrap
}
.atk-comment>.atk-main>.atk-footer .atk-actions>span {
color: var(--at-color-meta);
font-size: 13px;
line-height: 25px;
display: inline-flex;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none
}
.atk-comment>.atk-main>.atk-footer .atk-actions>span.atk-error,
.atk-comment>.atk-main>.atk-footer .atk-actions>span.atk-error:hover {
color: var(--at-color-red)
}
.atk-comment>.atk-main>.atk-footer .atk-actions>span:not(:last-child):not(.atk-hide) {
margin-right: 16px
}
.atk-comment>.atk-main>.atk-footer .atk-actions>span:hover {
color: var(--at-color-deep)
}
.atk-comment .atk-height-limit:after {
position: absolute;
z-index: 1;
display: block;
overflow: hidden;
width: 100%;
content: " ";
bottom: 0;
height: 80px;
background: var(--at-color-gradient)
}
.atk-comment .atk-height-limit-btn {
z-index: 2;
position: absolute;
left: 50%;
bottom: 10px;
transform: translate(-50%);
cursor: pointer;
border: 1px solid var(--at-color-border);
border-radius: 6px;
background: var(--at-color-bg);
padding: 1px 20px;
font-size: 15px;
color: var(--at-color-meta);
-webkit-user-select: none;
-moz-user-select: none;
user-select: none
}
.atk-comment .atk-height-limit-btn:hover {
background: var(--at-color-bg-grey)
}
.atk-comment .atk-height-limit .atk-height-limit .atk-height-limit-btn {
display: none
}
.atk-comment .atk-height-limit-scroll {
margin-top: 10px;
overflow-y: auto;
background: linear-gradient(var(--at-color-bg) 1px, transparent 1px calc(100% - 1px)) center top, linear-gradient(transparent calc(100% - 1px), var(--at-color-bg) calc(100% - 1px) 1px) center bottom, linear-gradient(var(--at-color-border) 1px, transparent 1px calc(100% - 1px)) center top, linear-gradient(transparent calc(100% - 1px), var(--at-color-border) calc(100% - 1px) 1px) center bottom;
background-repeat: no-repeat;
background-color: transparent;
background-size: 100% 1px, 100% 1px, 100% 1px, 100% 1px;
background-attachment: local, local, scroll, scroll
}
.atk-comment-children>.atk-comment-wrap {
margin-top: 10px;
border-left: 1px dashed transparent;
border-bottom-color: transparent
}
.atk-comment-children>.atk-comment-wrap:not(:last-child) {
margin-bottom: 10px
}
.atk-comment-children>.atk-comment-wrap>.atk-comment {
padding: 0
}
.atk-comment-children>.atk-comment-wrap>.atk-comment>.atk-avatar img {
width: 36px;
height: 36px
}
.atk-comment-children>.atk-comment-wrap>.atk-comment>.atk-main {
margin-left: 47px
}
.artalk>.atk-list {
position: relative
}
.artalk>.atk-list>.atk-list-header {
display: flex;
flex-direction: row;
padding: 10px 17px
}
.artalk>.atk-list>.atk-list-header .atk-text {
display: inline-block
}
.artalk>.atk-list>.atk-list-header .atk-dropdown-wrap {
position: relative;
cursor: pointer
}
.artalk>.atk-list>.atk-list-header .atk-dropdown-wrap .atk-arrow-down-icon {
cursor: pointer;
vertical-align: middle;
border-top: 5px solid var(--at-color-grey);
border-left: 3px solid transparent;
border-right: 3px solid transparent;
margin-top: -1px;
margin-left: .8rem;
display: inline-block
}
.artalk>.atk-list>.atk-list-header .atk-dropdown-wrap:hover .atk-dropdown {
display: block
}
.artalk>.atk-list>.atk-list-header .atk-dropdown-wrap .atk-dropdown {
z-index: 3;
display: none;
height: auto !important;
max-height: calc(100vh - 2.7rem);
overflow-y: auto;
position: absolute;
top: 100%;
right: 0;
width: 100%;
background-color: var(--at-color-bg);
padding: .6rem 0;
border: 1px solid var(--at-color-border);
text-align: center;
border-radius: 6px;
white-space: nowrap;
margin: 0;
list-style: none
}
.artalk>.atk-list>.atk-list-header .atk-dropdown-wrap .atk-dropdown-item span,
.artalk>.atk-list>.atk-list-header .atk-dropdown-wrap .atk-dropdown-item a {
display: block;
line-height: 2rem;
position: relative;
border-bottom: none;
font-weight: 400;
padding: 0 1.5rem
}
.artalk>.atk-list>.atk-list-header .atk-dropdown-wrap .atk-dropdown-item span:hover,
.artalk>.atk-list>.atk-list-header .atk-dropdown-wrap .atk-dropdown-item a:hover {
color: var(--at-color-main)
}
.artalk>.atk-list>.atk-list-header .atk-dropdown-wrap .atk-dropdown-item.active span,
.artalk>.atk-list>.atk-list-header .atk-dropdown-wrap .atk-dropdown-item a {
color: var(--at-color-main)
}
.artalk>.atk-list>.atk-list-header .atk-comment-count {
font-size: 15px
}
.artalk>.atk-list>.atk-list-header .atk-comment-count .atk-comment-count-num {
font-size: 22px;
margin-right: 4px
}
.artalk>.atk-list>.atk-list-header .atk-right-action {
display: flex;
flex: 1;
flex-direction: row;
align-items: center;
justify-content: flex-end
}
.artalk>.atk-list>.atk-list-header .atk-right-action>span {
font-size: 14px;
color: var(--at-color-meta);
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
position: relative
}
.artalk>.atk-list>.atk-list-header .atk-right-action>span.atk-on,
.artalk>.atk-list>.atk-list-header .atk-right-action>span.atk-on * {
color: var(--at-color-main)
}
.artalk>.atk-list>.atk-list-header .atk-right-action>span:not(:last-child):not(.atk-hide) {
margin-right: 10px;
padding-right: 10px
}
.artalk>.atk-list>.atk-list-header .atk-right-action>span .atk-unread-badge {
position: absolute;
top: -5px;
left: -6px;
color: #fff;
background: var(--at-color-pink);
text-align: center;
min-width: 16px;
height: 16px;
padding: 0 3px;
border-radius: 8px;
line-height: 16px;
font-size: 12px
}
.artalk>.atk-list>.atk-list-body {
min-height: 150px
}
.artalk>.atk-list>.atk-list-footer {
text-align: right
}
@media only screen and (max-width: 768px) {
.artalk>.atk-list>.atk-list-footer {
float: initial;
text-align: center
}
}
.artalk>.atk-list>.atk-list-footer .atk-copyright {
display: block;
font-size: 12px;
color: var(--at-color-meta);
padding-right: 15px
}
.artalk>.atk-list>.atk-list-footer .atk-copyright a {
color: var(--at-color-main);
text-decoration: none
}
.atk-list-no-comment {
height: 150px;
display: flex;
font-size: 19px;
justify-content: center;
align-items: center;
word-break: break-word;
text-align: center
}
.atk-list-read-more {
border-top: 1px dashed var(--at-color-border);
margin-top: 28px;
padding-bottom: 25px
}
@media only screen and (max-width: 768px) {
.atk-list-read-more {
padding-bottom: 10px
}
}
.atk-list-read-more.atk-err .atk-text {
color: var(--at-color-red) !important
}
.atk-list-read-more .atk-list-read-more-inner {
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
padding: 0 15px;
font-size: 14px;
border-radius: 6px;
border: 1px solid transparent;
display: flex;
height: 30px;
flex-direction: row;
place-content: center;
align-items: center;
width: 120px;
margin: -15px auto 0;
background: var(--at-color-bg);
border-color: var(--at-color-border)
}
.atk-list-read-more .atk-list-read-more-inner>.atk-loading-icon {
height: 15px;
width: 15px
}
.atk-list-read-more .atk-list-read-more-inner>.atk-text {
color: var(--at-color-meta)
}
.atk-list-read-more .atk-list-read-more-inner:hover {
background: var(--at-color-bg-grey)
}
.atk-pagination {
display: flex;
flex-direction: row;
justify-content: center;
padding: 10px 0;
position: relative
}
.atk-pagination>.atk-btn,
.atk-pagination>.atk-input {
font-size: 15px;
height: 30px;
border: 1px solid var(--at-color-border);
border-radius: 3px;
padding: 0 5px;
text-align: center;
background: var(--at-color-bg)
}
.atk-pagination>.atk-btn {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
width: 70px;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center
}
.atk-pagination>.atk-btn:hover {
background: var(--at-color-bg-grey)
}
.atk-pagination>.atk-btn.atk-disabled {
color: var(--at-color-sub)
}
.atk-pagination>.atk-btn.atk-disabled:hover {
cursor: default;
background: initial
}
.atk-pagination>.atk-input {
background: transparent;
color: var(--at-color-font);
font-size: 18px;
width: 60px;
outline: none
}
.atk-pagination>.atk-input:focus {
border-color: var(--at-color-main)
}
.atk-pagination>*:not(:last-child) {
margin-right: 10px
}
.atk-main-editor {
position: relative;
overflow: hidden;
background: var(--at-color-bg);
border: 1px solid var(--at-color-border);
border-radius: 6px;
margin-bottom: 10px
}
@media only screen and (max-width: 768px) {
.atk-main-editor {
margin-bottom: 7px
}
}
.atk-main-editor.editor-traveling {
margin-top: 5px;
margin-bottom: 10px
}
.atk-main-editor>.atk-header {
display: flex;
flex-direction: row;
padding: 10px 14px 0
}
.atk-main-editor>.atk-header input {
flex: 1;
width: 100%;
font-size: 14px;
background: transparent;
border: 2px solid transparent;
border-radius: 3px;
padding: 6px 5px;
resize: none;
outline: none
}
.atk-main-editor>.atk-header input:not(:last-child) {
margin-right: 2px
}
.atk-main-editor>.atk-textarea-wrap {
position: relative
}
.atk-main-editor>.atk-textarea-wrap>.atk-textarea {
display: block;
overflow: hidden;
color: var(--at-color-font);
font-size: 15px;
background-color: var(--at-color-bg);
border: 2px solid transparent;
border-radius: 3px;
width: 100%;
min-height: 120px;
margin-top: 2px;
padding: 10px 20px;
resize: none;
word-wrap: break-word;
outline: none
}
.atk-main-editor>.atk-textarea-wrap>.atk-comment-closed {
pointer-events: none;
color: var(--at-color-meta);
font-size: 12px;
background-color: var(--at-color-bg);
border-top: 1px solid var(--at-color-border);
padding: 5px 15px;
margin-top: 10px
}
.atk-main-editor>.atk-textarea-wrap>.atk-send-reply {
z-index: 2;
position: absolute;
right: 7px;
bottom: 2px;
max-width: calc(100% - 20px);
height: 30px;
line-height: 30px;
font-size: 14px;
background: var(--at-color-bg-grey-transl);
padding: 0 30px 0 10px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
cursor: pointer;
border-radius: 3px
}
.atk-main-editor>.atk-textarea-wrap>.atk-send-reply .atk-cancel {
position: absolute;
right: 0;
bottom: 0;
height: 30px;
text-align: center;
width: 30px;
line-height: 30px;
font-weight: 700
}
.atk-main-editor>.atk-textarea-wrap>.atk-send-reply .atk-cancel:hover {
color: var(--at-color-deep)
}
.atk-main-editor>.atk-plug-panel-wrap {
position: relative;
height: 180px;
width: 100%;
overflow: hidden;
border-top: 1px solid var(--at-color-border);
animation: .3s both atkFadeIn;
transition: .2s height ease-in-out
}
.atk-main-editor>.atk-bottom {
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 5px 5px 5px 10px
}
.atk-main-editor>.atk-bottom>.atk-item {
display: flex;
flex-direction: row;
align-items: center
}
.atk-main-editor>.atk-bottom .atk-plug-btn {
padding: 0 8px;
line-height: 24px;
cursor: pointer;
color: var(--at-color-grey);
font-size: 14px;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
border-radius: 3px
}
.atk-main-editor>.atk-bottom .atk-plug-btn:not(:last-child) {
margin-right: 2px
}
.atk-main-editor>.atk-bottom .atk-plug-btn:hover {
background: var(--at-color-bg-grey)
}
.atk-main-editor>.atk-bottom .atk-plug-btn.active {
color: var(--at-color-main)
}
.atk-main-editor>.atk-bottom .atk-plug-btn.active svg.markdown path {
fill: var(--at-color-main)
}
.atk-main-editor>.atk-bottom .atk-plug-btn i {
color: var(--at-color-grey);
display: inline-flex;
vertical-align: sub;
margin-left: 4px
}
.atk-main-editor>.atk-bottom .atk-plug-btn i svg.markdown path {
fill: var(--at-color-grey)
}
.atk-main-editor>.atk-bottom .atk-send-btn {
background: var(--at-color-main);
color: #fff;
font-size: 14px;
border: none;
margin: 0;
height: 30px;
width: 8em;
cursor: pointer;
transition: opacity .3s ease-in-out;
outline: none;
border-radius: 3px
}
.atk-main-editor>.atk-bottom .atk-send-btn:active {
opacity: .9
}
.atk-main-editor>.atk-notify-wrap {
z-index: 3;
position: absolute;
right: -2px;
bottom: 40px;
width: 225px;
opacity: .83
}
.atk-sidebar-layer {
position: fixed;
z-index: 99999;
top: 0;
right: 0;
width: 430px;
height: 100%;
background: var(--at-color-bg);
transition: transform .45s cubic-bezier(.23, 1, .32, 1) 0ms;
transform: translate(430px)
}
@media only screen and (max-width: 430px) {
.atk-sidebar-layer {
width: 100%
}
}
.atk-sidebar-layer .atk-sidebar-inner {
position: relative;
height: 100%
}
.atk-sidebar-layer .atk-sidebar-header {
position: absolute;
top: 0;
right: 0;
display: flex;
flex-direction: row;
align-items: center;
z-index: 99999
}
.atk-sidebar-layer .atk-sidebar-header .atk-sidebar-close {
display: flex;
flex-direction: column;
width: 60px;
height: 60px;
align-items: center;
place-content: center;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
margin-left: 10px
}
.atk-sidebar-layer .atk-sidebar-header .atk-sidebar-close:hover .atk-icon-close {
background-color: #e81123e6
}
.atk-sidebar-layer .atk-sidebar-iframe-wrap {
height: 100%;
position: relative
}
.atk-sidebar-layer .atk-sidebar-iframe-wrap iframe {
border: 0;
width: 100%;
height: 100%
}
.atk-sidebar-layer .atk-sidebar-iframe-wrap .atk-err-alert {
z-index: 9999;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
position: absolute;
background: var(--at-color-bg);
padding: 40px 30px;
width: 80%;
text-align: center;
border-radius: 4px
}
.atk-sidebar-layer .atk-sidebar-iframe-wrap .atk-err-alert .atk-title {
font-size: 1.4em;
margin-bottom: 20px;
color: var(--at-color-font)
}
.atk-sidebar-layer .atk-sidebar-iframe-wrap .atk-err-alert .atk-text {
color: var(--at-color-font)
}
.atk-sidebar-layer .atk-sidebar-iframe-wrap .atk-err-alert .atk-text span {
cursor: pointer;
color: var(--at-color-main)
}
.artalk {
position: relative;
width: 100%;
min-height: 200px
}
.artalk,
.atk-layer-wrap {
color: var(--at-color-font);
word-wrap: break-word;
word-break: break-word
}
.artalk *,
.atk-layer-wrap * {
box-sizing: border-box
}
.artalk input,
.artalk textarea,
.artalk button,
.artalk optgroup,
.artalk select,
.atk-layer-wrap input,
.atk-layer-wrap textarea,
.atk-layer-wrap button,
.atk-layer-wrap optgroup,
.atk-layer-wrap select {
font-family: inherit;
color: inherit;
font-size: inherit
}
.artalk code,
.atk-layer-wrap code {
font-family: source code pro, Consolas, Monaco, Menlo, sans-serif;
margin: 0 .05em;
padding: 0 .4em;
display: inline-block;
vertical-align: middle;
font-size: .9em;
background-color: var(--at-color-bg-grey);
color: var(--at-color-font);
border-radius: 2px
}
.artalk pre,
.atk-layer-wrap pre {
margin: 10px 0 0;
padding: 0;
line-height: 0
}
.artalk pre code,
.atk-layer-wrap pre code {
line-height: 1.6em;
display: block;
padding: 10px 15px;
white-space: pre-wrap !important;
background-color: var(--at-color-bg-grey);
color: var(--at-color-font);
margin: 0
}
.artalk pre code *,
.atk-layer-wrap pre code * {
font-family: source code pro, Consolas, Monaco, Menlo, sans-serif
}
.artalk a,
.atk-layer-wrap a {
color: var(--at-color-main);
text-decoration: none
}
.artalk blockquote,
.atk-layer-wrap blockquote {
position: static;
margin: 10px 0;
padding: 10px 20px;
background: var(--at-color-bg-grey);
border-left: 4px solid #687a86;
color: var(--at-color-font)
}
.artalk p:first-child,
.atk-layer-wrap p:first-child {
margin-top: 0
}
.artalk p:last-child,
.atk-layer-wrap p:last-child {
margin-bottom: 0
}
.artalk img,
.atk-layer-wrap img {
max-width: 100%
}
.artalk table,
.atk-layer-wrap table {
width: 100%;
border-collapse: collapse;
border-spacing: 0;
margin-bottom: 1.5em;
font-size: .96em
}
.artalk td,
.artalk th,
.atk-layer-wrap td,
.atk-layer-wrap th {
text-align: left;
padding: 4px 8px 4px 10px;
border: 1px solid var(--at-color-border)
}
.artalk td,
.atk-layer-wrap td {
vertical-align: top
}
.artalk tr:nth-child(2n),
.atk-layer-wrap tr:nth-child(2n) {
background-color: var(--at-color-bg-grey)
}
.artalk ul,
.atk-layer-wrap ul {
list-style: disc
}
.artalk ol,
.atk-layer-wrap ol {
list-style: decimal
}
.artalk li+li,
.atk-layer-wrap li+li {
margin-top: 8px
}
.artalk li>ol,
.artalk li>ul,
.atk-layer-wrap li>ol,
.atk-layer-wrap li>ul {
margin: 8px 0 0
}
.atk-hide {
display: none !important
}
.atk-full-layer,
.atk-layer-dialog-wrap,
.atk-error-layer,
.atk-loading {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background: var(--at-color-bg);
z-index: 4;
align-items: center;
justify-content: center;
flex-flow: column;
display: flex
}
.atk-loading-spinner {
position: relative;
width: 50px;
height: 50px
}
.atk-loading-spinner svg {
animation: atkRotate 2s linear infinite;
transform-origin: center center;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0
}
.atk-loading-spinner svg circle {
stroke-dasharray: 1, 200;
stroke-dashoffset: 0;
animation: atkDash 1.5s ease-in-out infinite, atkColor 6s ease-in-out infinite;
stroke-linecap: round
}
@keyframes atkRotate {
to {
transform: rotate(360deg)
}
}
@keyframes atkDash {
0% {
stroke-dasharray: 1, 200;
stroke-dashoffset: 0
}
50% {
stroke-dasharray: 89, 200;
stroke-dashoffset: -35px
}
to {
stroke-dasharray: 89, 200;
stroke-dashoffset: -124px
}
}
@keyframes atkColor {
0%,
to {
stroke: #ff5652
}
40% {
stroke: #2196f3
}
66% {
stroke: #32c787
}
80%,
90% {
stroke: #ffc107
}
}
@keyframes atkLoadingIconRotate {
0% {
transform: rotate(0)
}
to {
transform: rotate(360deg)
}
}
.atk-loading-icon {
width: 18px;
height: 18px;
box-sizing: border-box;
border: solid 1px transparent;
border-top-color: #29d;
border-left-color: #29d;
border-radius: 50%;
animation: atkLoadingIconRotate .4s linear infinite
}
.atk-fade-in {
animation: atkFadeIn both .3s
}
.atk-fade-out {
animation: atkFadeOut both .2s
}
.atk-rotate {
animation: atkRotate 2s linear infinite
}
@keyframes atkFadeIn {
0% {
opacity: 0
}
to {
opacity: 1
}
}
@keyframes atkFadeOut {
to {
opacity: 0
}
}
@keyframes atkRotate {
0% {
transform: rotate(0)
}
to {
transform: rotate(360deg)
}
}
i.atk-icon {
width: 20px;
height: 20px;
background-color: var(--at-color-deep);
background-size: contain;
background-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-position: center;
mask-position: center;
-webkit-mask-size: contain;
mask-size: contain
}
.atk-icon-sync {
-webkit-mask-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.99133 4.87635C2.22512 7.64257 2.22512 12.1275 4.99133 14.8937C6.04677 15.9491 7.3524 16.6019 8.71732 16.8519' stroke='%234E5969' stroke-width='2'/%3E%3Cpath d='M14.4179 15.4815L15.0072 14.8922C17.7734 12.126 17.7734 7.64107 15.0072 4.87486C13.9518 3.81942 12.6461 3.16668 11.2812 2.91664' stroke='%234E5969' stroke-width='2'/%3E%3Cpath d='M6.17106 4.99252L5.58181 4.40327L4.99255 3.81401H6.17106V4.99252Z' fill='%23C4C4C4' stroke='%234E5969' stroke-width='2'/%3E%3Cpath d='M13.8299 15.0084L14.4192 15.5976L15.0084 16.1869H13.8299V15.0084Z' fill='%23C4C4C4' stroke='%234E5969' stroke-width='2'/%3E%3C/svg%3E");
mask-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.99133 4.87635C2.22512 7.64257 2.22512 12.1275 4.99133 14.8937C6.04677 15.9491 7.3524 16.6019 8.71732 16.8519' stroke='%234E5969' stroke-width='2'/%3E%3Cpath d='M14.4179 15.4815L15.0072 14.8922C17.7734 12.126 17.7734 7.64107 15.0072 4.87486C13.9518 3.81942 12.6461 3.16668 11.2812 2.91664' stroke='%234E5969' stroke-width='2'/%3E%3Cpath d='M6.17106 4.99252L5.58181 4.40327L4.99255 3.81401H6.17106V4.99252Z' fill='%23C4C4C4' stroke='%234E5969' stroke-width='2'/%3E%3Cpath d='M13.8299 15.0084L14.4192 15.5976L15.0084 16.1869H13.8299V15.0084Z' fill='%23C4C4C4' stroke='%234E5969' stroke-width='2'/%3E%3C/svg%3E")
}
.atk-icon-del {
background-color: var(--at-color-red) !important;
-webkit-mask-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.29167 5.04166L4.81251 5.04166M4.81251 5.04166L4.81251 18.3333C4.81251 18.5865 5.01771 18.7917 5.27084 18.7917L16.7292 18.7917C16.9823 18.7917 17.1875 18.5865 17.1875 18.3333V5.04166M4.81251 5.04166L7.33334 5.04166M17.1875 5.04166L19.7083 5.04166M17.1875 5.04166L14.6667 5.04166M7.33334 5.04166V3.20833L14.6667 3.20833V5.04166M7.33334 5.04166L14.6667 5.04166' stroke='%23D06565' stroke-width='2'/%3E%3Cpath d='M9.16667 8.25V15.125M12.8333 8.25V15.125' stroke='%23D06565' stroke-width='2'/%3E%3C/svg%3E");
mask-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.29167 5.04166L4.81251 5.04166M4.81251 5.04166L4.81251 18.3333C4.81251 18.5865 5.01771 18.7917 5.27084 18.7917L16.7292 18.7917C16.9823 18.7917 17.1875 18.5865 17.1875 18.3333V5.04166M4.81251 5.04166L7.33334 5.04166M17.1875 5.04166L19.7083 5.04166M17.1875 5.04166L14.6667 5.04166M7.33334 5.04166V3.20833L14.6667 3.20833V5.04166M7.33334 5.04166L14.6667 5.04166' stroke='%23D06565' stroke-width='2'/%3E%3Cpath d='M9.16667 8.25V15.125M12.8333 8.25V15.125' stroke='%23D06565' stroke-width='2'/%3E%3C/svg%3E")
}
.atk-icon-edit {
-webkit-mask-image: url("data:image/svg+xml,%3Csvg width='16' height='17' viewBox='0 0 16 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.70618 4.08515L12.6081 7.06376M1.00041 13.021L11.7376 2L14.6392 4.97861L3.90274 16H1L1.00041 13.021Z' stroke='%234E5969' stroke-width='1.5'/%3E%3C/svg%3E");
mask-image: url("data:image/svg+xml,%3Csvg width='16' height='17' viewBox='0 0 16 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.70618 4.08515L12.6081 7.06376M1.00041 13.021L11.7376 2L14.6392 4.97861L3.90274 16H1L1.00041 13.021Z' stroke='%234E5969' stroke-width='1.5'/%3E%3C/svg%3E")
}
.atk-icon-no,
.atk-icon-close {
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 25 25' fill='none'%3E%3Cpath d='M19.8657 5.13431L12.5 12.5L5.13431 19.8657' stroke='%234E5969'/%3E%3Cpath d='M5.13431 5.13432L12.5 12.5L19.8657 19.8657' stroke='%234E5969'/%3E%3C/svg%3E");
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 25 25' fill='none'%3E%3Cpath d='M19.8657 5.13431L12.5 12.5L5.13431 19.8657' stroke='%234E5969'/%3E%3Cpath d='M5.13431 5.13432L12.5 12.5L19.8657 19.8657' stroke='%234E5969'/%3E%3C/svg%3E")
}
.atk-icon-yes {
-webkit-mask-image: url("data:image/svg+xml,%3Csvg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.7071 5.75533L9.92197 17.5404L3.29285 10.9113' stroke='%234E5969'/%3E%3C/svg%3E");
mask-image: url("data:image/svg+xml,%3Csvg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.7071 5.75533L9.92197 17.5404L3.29285 10.9113' stroke='%234E5969'/%3E%3C/svg%3E")
}
.atk-icon-plus {
-webkit-mask-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.08331 10H17.9166' stroke='%234E5969' stroke-width='2'/%3E%3Cpath d='M10 2.08334L10 17.9167' stroke='%234E5969' stroke-width='2'/%3E%3C/svg%3E");
mask-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.08331 10H17.9166' stroke='%234E5969' stroke-width='2'/%3E%3Cpath d='M10 2.08334L10 17.9167' stroke='%234E5969' stroke-width='2'/%3E%3C/svg%3E")
}
.atk-error-layer {
background-color: var(--at-color-bg-transl)
}
.atk-error-layer .atk-error-title {
color: var(--at-color-red)
}
.atk-error-layer .atk-warn-title {
color: var(--at-color-yellow)
}
.atk-error-layer .atk-error-title,
.atk-error-layer .atk-warn-title {
display: inline-block;
padding: 0 15px;
margin-bottom: 20px;
font-size: 20px;
letter-spacing: -.5px
}
.atk-error-layer .atk-error-text {
text-align: center;
padding: 0 20px
}
.atk-error-layer .atk-error-text * {
color: var(--at-color-deep)
}
.atk-error-layer .atk-error-text a {
color: var(--at-color-meta)
}
.atk-layer-dialog-wrap {
background-color: var(--at-color-bg-transl)
}
.atk-layer-dialog-wrap>.atk-layer-dialog {
width: 25%
}
.atk-layer-dialog-wrap>.atk-layer-dialog>.atk-layer-dialog-content .atk-captcha-img {
cursor: pointer;
width: 170px;
height: auto;
margin-right: 10px;
padding-right: 10px;
border-right: 1px solid var(--at-color-border);
vertical-align: bottom
}
.atk-layer-dialog-wrap>.atk-layer-dialog>.atk-layer-dialog-content input {
width: 100%;
line-height: 34px;
background-color: var(--at-color-bg);
border: 1px solid var(--at-color-border);
border-radius: 3px;
outline: none;
padding: 0 6px;
display: block;
margin-top: 10px;
margin-bottom: 5px;
text-align: center
}
.atk-layer-dialog-wrap>.atk-layer-dialog>.atk-layer-dialog-actions {
display: flex;
flex-direction: row
}
.atk-layer-dialog-wrap>.atk-layer-dialog>.atk-layer-dialog-actions button {
flex: 1;
display: block;
cursor: pointer;
border: 1px solid var(--at-color-main);
background: transparent;
color: var(--at-color-main);
border-radius: 3px;
padding: 0 15px;
line-height: 30px;
outline: none
}
.atk-layer-dialog-wrap>.atk-layer-dialog>.atk-layer-dialog-actions button:active {
color: #fff;
background: var(--at-color-main)
}
.atk-layer-dialog-wrap>.atk-layer-dialog>.atk-layer-dialog-actions button:not(:last-child) {
margin-right: 5px
}
.atk-layer-dialog-wrap>.atk-layer-dialog>.atk-layer-dialog-actions button.error {
color: #fff;
background: #ff5652;
border-color: #ff5652
}
.atk-layer-dialog-wrap>.atk-layer-dialog .atk-checker-iframe-wrap {
position: fixed;
z-index: 999998;
left: 0;
top: 0;
height: 100vh;
width: 100vw
}
.atk-layer-dialog-wrap>.atk-layer-dialog .atk-checker-iframe-wrap>iframe {
width: 100%;
height: 100%;
border: 0
}
.atk-layer-dialog-wrap>.atk-layer-dialog .atk-checker-iframe-wrap .atk-close-btn {
z-index: 999999;
position: fixed;
top: 20px;
right: 20px;
display: flex;
flex-direction: column;
width: 50px;
height: 50px;
align-items: center;
place-content: center;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
margin-left: 10px
}
.atk-layer-dialog-wrap>.atk-layer-dialog .atk-checker-iframe-wrap .atk-close-btn:hover .atk-icon-close {
background-color: #e81123e6
}
@media only screen and (max-width: 768px) {
.atk-layer-dialog-wrap>.atk-layer-dialog {
width: 90% !important
}
}
.atk-notify {
display: block;
overflow: hidden;
background-color: #2c2c2c;
color: #fff;
border-radius: 3px;
cursor: pointer;
font-size: 14px;
padding: 5px 15px
}
.atk-notify:not(:last-child) {
margin-bottom: 3px
}
.atk-notify .atk-notify-content {
color: #fff
}
.atk-layer-wrap .atk-layer-mask {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 99998;
background: #0000004d
}
.atk-layer-wrap .atk-layer-item {
position: fixed;
z-index: 99999;
top: 0;
right: 0;
width: 100%;
height: 100%
}
.atk-common-action-btn.atk-btn-confirm,
.atk-common-action-btn.atk-btn-warn {
color: var(--at-color-yellow) !important
}
.atk-common-action-btn.atk-btn-error {
color: var(--at-color-red) !important
}
.atk-common-action-btn.atk-btn-success {
color: var(--at-color-green) !important
}
img[atk-emoticon] {
max-height: 60px;
display: initial
}
.atk-slim-scrollbar::-webkit-scrollbar,
.atk-editor-plug-emoticons>.atk-grp-wrap::-webkit-scrollbar {
width: 4px;
height: 4px;
background: transparent
}
.atk-slim-scrollbar::-webkit-scrollbar-thumb,
.atk-editor-plug-emoticons>.atk-grp-wrap::-webkit-scrollbar-thumb,
.atk-slim-scrollbar::-webkit-scrollbar-thumb:window-inactive {
background: #5656564d
}
.atk-slim-scrollbar::-webkit-scrollbar-thumb:vertical:hover,
.atk-editor-plug-emoticons>.atk-grp-wrap::-webkit-scrollbar-thumb:vertical:hover {
background: #414a52c4
}
.atk-slim-scrollbar::-webkit-scrollbar-thumb:vertical:active,
.atk-editor-plug-emoticons>.atk-grp-wrap::-webkit-scrollbar-thumb:vertical:active {
background: #292f35c4
}
.atk-editor-plug-emoticons {
height: 100%;
width: 100%
}
.atk-editor-plug-emoticons>.atk-grp-wrap {
overflow-y: scroll;
overflow-x: hidden;
height: 100%;
width: 100%
}
.atk-editor-plug-emoticons>.atk-grp-wrap>.atk-grp {
display: flex;
flex-wrap: wrap;
flex-direction: row;
padding: 5px 10px 35px
}
.atk-editor-plug-emoticons>.atk-grp-wrap>.atk-grp[data-type=image]>.atk-item {
height: 63px;
width: 63px
}
.atk-editor-plug-emoticons>.atk-grp-wrap>.atk-grp>.atk-item {
display: flex;
align-items: center;
justify-content: center;
padding: 5px;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
border-radius: 3px;
font-size: 15px;
min-width: 35px;
margin: 2px
}
.atk-editor-plug-emoticons>.atk-grp-wrap>.atk-grp>.atk-item>img {
max-height: 100%;
width: auto
}
.atk-editor-plug-emoticons>.atk-grp-wrap>.atk-grp>.atk-item:hover {
background: var(--at-color-bg-grey)
}
.atk-editor-plug-emoticons>.atk-grp-switcher {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
background: var(--at-color-bg-transl);
height: 30px;
border-top: 1px solid var(--at-color-border);
border-bottom: 1px solid var(--at-color-border)
}
.atk-editor-plug-emoticons>.atk-grp-switcher>span {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
padding: 0 10px;
line-height: 30px;
float: left;
display: block;
cursor: pointer;
font-size: 14px
}
.atk-editor-plug-emoticons>.atk-grp-switcher>span:hover,
.atk-editor-plug-emoticons>.atk-grp-switcher>span.active {
background: var(--at-color-bg-grey)
}
.atk-slim-scrollbar::-webkit-scrollbar {
width: 4px;
height: 4px;
background: transparent
}
.atk-slim-scrollbar::-webkit-scrollbar-thumb,
.atk-slim-scrollbar::-webkit-scrollbar-thumb:window-inactive {
background: #5656564d
}
.atk-slim-scrollbar::-webkit-scrollbar-thumb:vertical:hover {
background: #414a52c4
}
.atk-slim-scrollbar::-webkit-scrollbar-thumb:vertical:active {
background: #292f35c4
}
.atk-editor-plug-preview {
overflow-y: scroll;
overflow-x: hidden;
height: 100%;
width: 100%;
padding: 10px 15px
}