/* github */

.github-box {
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 1rem;
    display: block;
    background: rgb(13,17,23);
    color: #7d8590!important;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.github-box-flex {
    display: flex;
    justify-content: space-between;
    word-wrap: break-word;
    font-size: 14px;
}

.flex-auto {
    margin-bottom: 4px;
    flex: auto;
    box-sizing: border-box;
}

.commits-data {
    display: flex;
    align-items: center!important;
}
@media (max-width: 768px) {
    .commits-data {
        display: none!important;
    }
}

.repo-title {
    color: #2f81f7!important;
    display: inline-block;
    font-weight: 600;
    font-size: 17px;
}

.repo-title:hover { text-decoration: underline!important; }
.repo-label {
    color: #7d8590!important;
    border: 1px solid #30363d;
    border-radius: 2em;
    display: inline-block;
    font-size: .75rem;
    line-height: 18px;
    padding: 0 7px;
    white-space: nowrap;
    margin: 0 0 .25rem .25rem;
}

.repo-desc {
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 1rem;
    color: #7d8590!important;
    font-size: 14.5px;
}

.detail-label { font-size: 14px; }
.mr-3 { margin-right: 1rem; }
.detail-label a { color: #7d8590!important; }
.detail-label a:hover { color: #2f81f7!important; }
.repo-language-color {
    position: relative;
    top: 1px;
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
}

.mr-1 {
    margin-right: .25rem;
    display: inline-block;
    overflow: visible;
    vertical-align: text-bottom;
    fill: currentColor;
}
.update-time { white-space: nowrap; }

/* dotted */

.tool_dotted {
    display: block;
    width: 100%;
    height: 2px;
    background-size: 80px;
    margin: 0 0 18px 0;
}

/* progress */

.tool_progress {
    width: 100%;
    display: flex;
    align-items: center;
}

.tool_progress__strip {
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    background: #414243;
    min-width: 0;
    flex: 1;
    margin-right: 10px;
}

.tool_progress__strip-percent {
    position: relative;
    height: 100%;
    border-radius: 6px;
    transition: width 0.35s;
}

.tool_progress__strip-percent::before {
    content: "";
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 6px;
    animation: progress-active 3s ease-in-out infinite;
}
.tool_progress__percentage  { color: #777; }


/* GPT小标签 */

.gpt {
    position: relative;
    transition: all .3s ease-in-out;
    border-bottom: 2px dotted #715fde;
    cursor: help;
}

.gpt:hover  { background: rgba(113,95,222,.1); }

.gpt::after {
    z-index: 9999;
    content: "GPT";
    background-color: #715fde;
    display: inline-block;
    color: white;
    position: absolute;
    transform: translateX(-30px) translateY(24.5px);
    transition: opacity .3s, height 0.3s;
    opacity: 0;
    height: 0;
    width: 30px;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0;
    text-align: center;
    border-radius: 0 0 4px 4px;
}

.gpt:hover::after {
    opacity: 1;
    height: 18px;
}

/* 已纠正小标签 */

.modified {
    position: relative;
    transition: all .3s ease-in-out;
    border-bottom: 2px dotted #32CD32;
    cursor: help;
}

.modified:hover  { background: rgba(50,205,50,.1); }

.modified::after {
    z-index: 9999;
    content: "已纠正";
    background-color: #32CD32;
    display: inline-block;
    color: white;
    position: absolute;
    transform: translateX(-44px) translateY(24.5px);
    transition: opacity .3s, height 0.3s;
    opacity: 0;
    height: 0;
    width: 44px;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0;
    text-align: center;
    border-radius: 0 0 4px 4px;
}

.modified:hover::after {
    opacity: 1;
    height: 18px;
}

/* 不确定小标签 */

.not-sure {
    position: relative;
    transition: all .3s ease-in-out;
    border-bottom: 2px dotted #FFA500;
    cursor: help;
}

.not-sure:hover  { background: rgba(255,165,0,.1); }

.not-sure::after {
    z-index: 9999;
    content: "待确认";
    background-color: #FFA500;
    display: inline-block;
    color: white;
    position: absolute;
    transform: translateX(-44px) translateY(24.5px);
    transition: opacity .3s, height 0.3s;
    opacity: 0;
    height: 0;
    width: 44px;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0;
    text-align: center;
    border-radius: 0 0 4px 4px;
}
.not-sure:hover::after { opacity: 1; height: 18px; }
