@charset "UTF-8";

/*公共样式*/
.simple-collect-main h1,
.simple-collect-main h2,
.simple-collect-main h3,
.simple-collect-main h4,
.simple-collect-main h5,
.simple-collect-main h6 {
    margin: 0;
    padding: 0;
}

a {
    outline: 0 !important;
    text-decoration: none;
}


*,
:after,
:before {
    box-sizing: border-box;
}

/*全局复制*/
.copy {
    cursor: pointer;
}

/* 主内容 */
.simple-collect-wrap {
    display: flex;
    width: var(--theme-container-width, 100%);
    margin: 10px auto 0;
}

/*左侧*/
.simple-collect-wrap-left {
    max-width: 120px;
    height: 100%;
    margin: 0 10px 10px;
    position: sticky;
    top: 74px;
    z-index: 998;
    width: 120px;
}

.simple-collect-menu {
    padding: 5px 0;
    background: var(--theme-el-bg-color);
    border-radius: var(--theme-border-radius-xl);
}
.simple-collect-menu ul, .simple-collect-menu li {
    list-style: none;
    padding: 0;
}
.simple-collect-menu-ul{
    margin: 0;
}
.simple-menu-item {
    position: relative;
    cursor: pointer;
    margin: 0px 10px;
}

.simple-menu-item a {
    display: block;
    color: var(--theme-black-color);
    padding: 7px 10px;
    font-size: 15px;
    border-radius: 4px;
    position: relative;
}

.simple-menu-item a:hover {
    background: linear-gradient(to right, 
    color-mix(in srgb, var(--theme-color) 10%, transparent) 10%, #0066ff00 99%);
    color: var(--theme-color);
    font-weight: 600;
}
.simple-menu-item a:hover:after{
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translate(0, -50%);
    width: 4px;
    height: 28px;
    background: var(--theme-color);
    border-radius: 0px 0.75rem 0.75rem 0px;
    pointer-events: none;
    z-index: 2;
}
.simple-menu-item .menu-item-icon {
    padding-right: 6px;
}

.simple-menu-child {
    display: none;
}

.simple-collect-gzh {
    margin-top: 10px;
    background: var(--theme-el-bg-color);
    border-radius: var(--theme-border-radius-xl);
    padding: 10px;
}
.simple-collect-gzh img {
    width: 100%;
    border-radius: 2px;
}
/*右侧*/
.simple-collect-wrap-right {
    flex: 1;
    margin-right: 10px;
}

/*我的网址*/
.simple-my-site-card {
    position: relative;
    width: 10%;
    padding: 10px;
}

.simple-collect-setting{
    display: flex;
}
.simple-collect-setting div{
    cursor: pointer;
}
.add-my-site{
    margin-right: 5px;
}
.simple-collect-setting i{
    font-size: 18px;
}
.site-name{
    margin-bottom: 10px;
}
.simple-my-site-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 5px;
    border: 1px solid #f1f2f3;
    border-radius: var(--theme-border-radius-m, 3px);
}
.simple-my-site-card-content:hover{
    background: #f1f2f3;
}
.simple-my-site-card-img {
    width: 35px;
    height: 35px;
}

.simple-my-site-card-img img {
    width: 100%;
    border-radius: var(--theme-border-radius-m, 3px);
    overflow: hidden;
}

.simple-my-site-card>a:hover .simple-my-site-card-img img {
    /*图片动画*/
    animation: jumps 1.2s ease 1
}

.simple-my-site-card-title {
    margin-top: 5px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.delete-site {
    position: absolute;
    top: 0;
    right: 2px;
    cursor: pointer;
}
@media (max-width:1100px) {
    .simple-my-site-card {
        width: 12.5%;
    }
}

@media (max-width:992px) {
    .simple-my-site-card {
        width: 16.666%;
    }
}

@media (max-width:767px) {
    .simple-my-site-card {
        width: 20%;
    }
}
@media (max-width:610px) {
    .simple-my-site-card {
        width: 25%;
    }
}
@media (max-width:450px) {
    .simple-my-site-card {
        width: 33.333%;
    }
}
/*收藏夹内容*/
.simple-collect-card {
    display: flex;
    border-radius: var(--theme-border-radius-xl);
    background: var(--theme-el-bg-color);
    padding: 10px;
    margin-bottom: 10px;
    flex-direction: column;
}

/*收藏夹模块头部*/
.simple-collect-card-title {
    display: flex;
    min-height: 28px;
    margin: 0 5px 10px;
    align-items: center;
    flex: 1;
}

.simple-collect-card-title .menu-item-icon {
    margin-right: 5px;
    font-size: 18px;
}

.simple-collect-card-title-main {
    font-size: 18px;
    white-space: nowrap;
}

.simple-collect-card-title-separator {
    margin: 0 5px 0 15px;
    border-right: 3px solid var(--theme-color);
    height: 12px;
    border-radius: 2px;
}

.simple-collect-card-title-tab {
    display: flex;
    margin: 0px;
    padding: 0px;
    overflow-x: overlay;
    overflow-y: hidden;
    flex: 1;
}
.simple-collect-card-title-tab::-webkit-scrollbar {
    height: 0;
}
.simple-collect-card-title-tab-item {
    flex-shrink: 0;
}

.simple-collect-card-title-tab-item a {
    line-height: 28px;
    padding: 0 12px;
    position: relative;
    color: var(--theme-black-color);
}
.simple-tab-active {
    font-weight: 600;
    color: var(--theme-color) !important;
}
.simple-tab-active:after {
    display: block;
    content: '';
    height: 2px;
    background: var(--theme-color);
    width: 12px;
    border-radius: 1px;
    margin: auto;
    position: absolute;
    transform: translate(50%, 100%);
    -ms-transform: translate(50%, 100%);
    right: 50%;
    bottom: -2px;
}

/*收藏夹模块内容*/
.simple-collect-content-tab {
    display: none;
    flex-wrap: wrap;
}

.simple-content-active {
    display: flex;
}

/*网址卡片*/
.simple-collect-item-site {
    position: relative;
    width: 25%;
    padding: 7px;
}

.simple-collect-site {
    position: relative;
}

.simple-collect-site>a {
    display: flex;
    align-items: center;
    border: 1px solid #f1f2f3!important;
    padding: 15px 10px 15px 10px;
    border-radius: 8px;
    transition: .3s;
    height: 70px;
}

.simple-collect-site>a:hover {
    background-color: #f1f2f3;
}

.simple-collect-site>a:hover .simple-collect-site-img img {
    /*图片动画*/
    animation: jumps 1.2s ease 1
}

.simple-collect-site-img {
    display: flex;
    height: 30px;
    width: 30px;
    margin: 0 10px 0 5px;
    align-items: center;
}

.simple-collect-site-img>img {
    width: 100%;
    height: 100%;
    vertical-align: unset;
    border-radius: 4px;
    overflow: hidden;
}

.simple-collect-site-info {
    flex: 1;
    width: 0;
}

.simple-collect-site-title {
    font-size: 14px;
    color: var(--theme-black-color);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.simple-collect-site-excerpt {
    color: #6c757d;
    font-size: 12px;
}

.simple-collect-site-excerpt p {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*网址子链接*/
.simple-collect-site-child-link {
    position: absolute;
    width: 100%;
    top: 100%;
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: .5s;
    border-radius: 4px;
    margin-top: 5px;
    box-shadow: 0 1px 4px #ddd;
}

.simple-collect-site:hover .simple-collect-site-child-link {
    max-height: 1000px;
    transition: 2s;
}

.simple-collect-site-child-link-content {
    border-radius: 4px;
    background: var(--theme-el-bg-color);
    padding: 10px;
}

.simple-collect-site-child-link-item {
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 4px;
}

.simple-collect-site-child-link-item:hover {
    background: #f1f2f3;
}

.simple-collect-site-child-link-img {
    display: flex;
    width: 15px;
    height: 15px;
    margin-right: 5px;
}

.simple-collect-site-child-link-img>img {
    max-height: 100%;
    vertical-align: unset;
}

.simple-collect-site-child-link-info {
    flex: 1;
    width: 0;
}

.simple-collect-site-child-link-title {
    font-size: 12px;
    color: #6c757d;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*网址卡片搜索*/
.simple-collect-site-search-show {
    width: calc(100% - 49px);
}

.simple-collect-site-search {
    position: absolute;
    bottom: 5px;
    right: 5px;
    z-index: 1;
    cursor: pointer;
}

.simple-collect-site-search-input {
    transition: width .2s;
    outline: 0;
    font-size: 12px;
    border: 0;
    border-radius: 20px;
    height: 0;
    z-index: -2;
    position: absolute;
    right: 5px;
    bottom: 17px;
    width: 0;
    background: none;
    box-shadow: none;
}

.simple-collect-site-search-btn {
    text-align: center;
    height: 35px;
    width: 35px;
    line-height: 32px;
    transition: all .3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.simple-collect-site-search-btn i {
    font-size: 11px;
    width: 35px;
    line-height: 35px;
    font-weight: 700;
    color: #FFFFFF;
    opacity: 0;
    transition: all .3s;
}

.simple-collect-site-search-btn::after {
    transition: all .2s;
    transform: scale(0.18);
    transform-origin: center center;
    border: 5px solid #fff;
    content: '';
    height: 100%;
    width: 35px;
    box-sizing: content-box;
    z-index: -1;
    background: linear-gradient(to top left, var(--theme-color) 0%, var(--theme-hover) 100%);
    display: block;
    top: -5px;
    right: -5px;
    position: absolute;
    border-radius: 50px;
}

.simple-collect-site-search-show .simple-collect-site-search-btn::after,
.simple-collect-item-site:hover .simple-collect-site-search-btn::after {
    transform: scale(1);
}

.simple-collect-site-search-show .simple-collect-site-search-btn i,
.simple-collect-item-site:hover .simple-collect-site-search-btn i {
    opacity: 1;
    transition-delay: .1s;
}

.simple-collect-site-search-show .simple-collect-site-search-btn {
    position: absolute;
    right: 0;
    bottom: 0;
}

.simple-collect-site-search-show .simple-collect-site-search-input {
    width: 100%;
    padding: 0 0 0 15px;
    width: 100%;
    background: #fff;
    right: 10px;
    height: 35px;
    bottom: 0;
    box-shadow: 1.2rem 0.2rem 0.5rem rgba(0, 0, 0, 0.05), -1rem 1.5rem 2.2rem rgba(0, 0, 0, 0.1);
}

/*网址卡片右上内容*/
.simple-collect-site-upper-right {
    display: flex;
    position: absolute;
    top: 8px;
    right: 15px;
}

.simple-collect-site-upper-right a i {
    color: #eeeff7;
}

.simple-collect-site:hover .simple-collect-site-upper-right a .simple-jingshi {
    color: #ff6b00;
}

.simple-collect-site:hover .simple-collect-site-upper-right a .simple-android {
    color: #00d836;
}

.simple-collect-site:hover .simple-collect-site-upper-right a .simple-ios {
    color: #000000;
}

.simple-collect-site:hover .simple-collect-site-upper-right a .simple-mac {
    color: #000000;
}

.simple-collect-site:hover .simple-collect-site-upper-right a .simple-windows {
    color: #000000;
}

.simple-collect-site:hover .simple-collect-site-upper-right a .simple-wenjianjia {
    color: #ffca28;
}

.simple-collect-site:hover .simple-collect-site-upper-right a .simple-youshang {
    color: var(--theme-color);
}

.simple-collect-site-icon {
    display: flex;
}

.simple-collect-site-upper-right a {
    display: block;
    line-height: 1.55;
}

.simple-collect-site-goto {
    margin-left: 5px;
}

/*软件卡片*/
.simple-collect-item-software {
    width: 16.666666%;
    padding: 10px;
}

.simple-collect-software {
    position: relative;
}

.simple-collect-software>a {
    display: flex;
    align-items: center;
    border: 1px solid #f1f2f3;
    padding: 25px 15px;
    border-radius: 4px;
    transition: .3s;
    flex-direction: column;
}

.simple-collect-software>a:hover {
    background-color: #f1f2f3;
}

.simple-collect-software-img {
    height: 50px;
    width: 50px;
    margin: 0 10px 0 5px;
}

.simple-collect-software-img>img {
    max-height: 100%;
    vertical-align: unset;
    border-radius: 4px;
    overflow: hidden;
}

.simple-collect-software-info {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}

.simple-collect-software-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}

.simple-collect-software-excerpt {
    color: #6c757d;
    font-size: 12px;
}

.simple-collect-software-excerpt p {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.simple-collect-software:hover .simple-collect-software-down {
    display: flex;
    width: 100%;
    height: 100%;
    transition: .3s;
}

.simple-collect-software-down {
    position: absolute;
    display: none;
    width: 0;
    height: 0;
    top: 0;
    border-radius: 4px;
    z-index: 1;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
    transition: .3s;
}

.simple-collect-software-down::before {
    content: "";
    z-index: -1;
    opacity: .2;
    background-color: #000;
    width: 100%;
    height: 100%;
    position: absolute;
}

.simple-collect-software-down a {
    display: block;
    color: #FFFFFF;
    padding: 2px 10px;
    border-radius: 50px;
    border: 1px dashed #FFF;
}

/*接口卡片*/
.simple-collect-item-api {
    width: 25%;
    padding: 10px;
}

.simple-collect-api {
    display: flex;
    position: relative;
    border: 1px solid #f1f2f3;
    border-radius: 4px;
    flex-direction: column;
    padding: 10px;
    transition: .3s;
    cursor: pointer;
}

.simple-collect-api:hover {
    background-color: #f1f2f3;
}

.simple-collect-api:hover .simple-collect-api-bottom p {
    background-color: hsla(var(--theme-color-hsl), .12);
}

.simple-collect-api-top {
    display: flex;
    align-items: center;
}

.simple-collect-api-img {
    display: flex;
    height: 30px;
    width: 30px;
    margin: 0 10px 0 5px;
    align-items: center;
}

.simple-collect-api-img>img {
    max-height: 100%;
    vertical-align: unset;
    border-radius: 4px;
    overflow: hidden;
}

.simple-collect-api-info {
    flex: 1;
    width: 0;
}

.simple-collect-api-title {
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.simple-collect-api-excerpt {
    color: #6c757d;
    font-size: 12px;
}

.simple-collect-api-excerpt p {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.simple-collect-api-bottom {
    display: flex;
    width: 100%;
    position: relative;
    margin: 5px 0 0 0;
}

.simple-collect-api-bottom p {
    display: block;
    flex: 1;
    width: 0;
    margin: 0;
    padding: 5px 20px 5px 8px;
    background-color: hsla(var(--theme-color-hsl), .04);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--theme-gray-color);
    border-radius: var(--theme-border-radius-m, 3px);
    transition: .3s;
}

.simple-collect-api-copy {
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
}

.simple-collect-api-upper-right {
    display: flex;
    position: absolute;
    top: 8px;
    right: 15px;
}

.api-connect-green {
    position: relative;
    width: 5px;
    height: 5px;
    background-color: #42dd3f;
    border-radius: 5px;
}

.api-connect-green:after {
    content: "";
    background-color: #42dd3f;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    opacity: 1;
    animation: breathing 1.5s ease infinite;
    transition: background-color 1s
}

.api-connect-orange {
    position: relative;
    width: 5px;
    height: 5px;
    background: #f69833;
    border-radius: 5px;
}

.api-connect-orange:after {
    content: "";
    background-color: #f69833;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    opacity: 1;
    animation: breathing 1.5s ease infinite;
    transition: background-color 1s
}

.api-connect-red {
    position: relative;
    width: 5px;
    height: 5px;
    background: #e61610;
    border-radius: 5px;
}

.api-connect-red:after {
    content: "";
    background-color: #e61610;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    opacity: 1;
    animation: breathing 1.5s ease infinite;
    transition: background-color 1s
}

/*会员、登录网址卡片*/
.simple-login-content {
    background: #f0f3fd;
}

.simple-login-icon{
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50px;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.simple-login-icon i {
    position: absolute;
    top: 15px;
    color: #bdbdbd;
    font-size: 60px;
}

/*没有内容*/
.no-content {
    flex: 1;
    text-align: center;
    padding: 30px;
    background: #f3f3f3;
    border-radius: var(--theme-border-radius-xl);
    margin: 5px;
}

/*网站状态动画*/
@keyframes breathing {
    0% {
        transform: scale(1);
        opacity: .8
    }

    to {
        transform: scale(2);
        opacity: 0
    }
}

/*图片动画*/
@keyframes jumps {
    0% {
        transform: translate(0)
    }

    10% {
        transform: translateY(8px) scaleX(1.2) scaleY(0.8)
    }

    30% {
        transform: translateY(-5px) scaleX(1) scaleY(1) rotate(5deg)
    }

    50% {
        transform: translateY(3px) scale(1) rotate(0)
    }

    55% {
        transform: translateY(0) scaleX(1.1) scaleY(0.9) rotate(0)
    }

    70% {
        transform: translateY(-5px) scaleX(1) scaleY(1) rotate(-2deg)
    }

    80% {
        transform: translateY(0) scaleX(1) scaleY(1) rotate(0)
    }

    85% {
        transform: translateY(0) scaleX(1.05) scaleY(0.95) rotate(0)
    }

    to {
        transform: translateY(0) scaleX(1) scaleY(1)
    }
}

/*提示工具*/
.simple-tooltip {
    position: absolute;
    background-color: #000000;
    color: #fff;
    font-size: 14px;
    padding: 2px 5px;
    border-radius: 4px;
    z-index: 1000;
    display: none;
}

.simple-tooltip::after {
    content: '';
    position: absolute;
    border-width: 5px;
    border-style: solid;
}

.simple-tooltip.top::after {
    border-color: #000000 transparent transparent transparent;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.simple-tooltip.bottom::after {
    border-color: transparent transparent #000000 transparent;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.simple-tooltip.left::after {
    border-color: transparent transparent transparent #000000;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.simple-tooltip.right::after {
    border-color: transparent #000000 transparent transparent;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.simple-tooltip.top,
.simple-tooltip.bottom,
.simple-tooltip.left,
.simple-tooltip.right {
    text-overflow: ellipsis;
    white-space: nowrap;
}
/*黑夜模式*/
.style-for-dark .simple-collect-site>a,.style-for-dark .simple-collect-api,.style-for-dark .simple-collect-software>a,.style-for-dark .simple-my-site-card-content{
    border: 1px solid #242424!important;
    background: #242424;
}
.style-for-dark .simple-collect-site>a:hover,.style-for-dark .simple-my-site-card-content:hover{
    border: 1px solid #434343!important;
    background: #434343;
}
.style-for-dark .simple-collect-site-upper-right a i {
    color: #424242;
}
.style-for-dark .simple-collect-site-search-btn::after {
    border: 5px solid #2a2a2a;
}
.style-for-dark .simple-collect-site-search-show .simple-collect-site-search-input {
    background: #000000;
    color:var(--theme-gray-color);
}
.style-for-dark .simple-collect-site-child-link-item:hover {
    background: #f1f2f3;
}
.style-for-dark .simple-collect-site-child-link-item:hover {
    background: #434343;
}
.style-for-dark .simple-collect-site-child-link {
    box-shadow: 0 1px 4px #444444;
}
.style-for-dark .no-content{
    background: #242424;
}
/*平板*/
@media (max-width:992px) {

    /*网址卡片、接口卡片宽度*/
    .simple-collect-item-site,
    .simple-collect-item-api {
        width: 33.333333%;
    }

    /*软件卡片宽度*/
    .simple-collect-item-software {
        width: 25%;
    }
}

/*手机*/
@media (max-width:767px) {
    .simple-collect-wrap {
        margin: 0;
    }

    /*网址卡片、接口卡片宽度*/
    .simple-collect-item-site,
    .simple-collect-item-api {
        width: 50%;
    }

    /*软件卡片宽度*/
    .simple-collect-item-software {
        width: 33.333333%;
    }

    .simple-collect-software-child-link {
        display: none;
    }

    /*左菜单*/
    .simple-collect-wrap-left {
        display: none;
    }
    .simple-collect-clock{
        display: none;
    }
}