﻿
/* 弹出框的提示文字部分 */
.studyDialog {
    position: fixed;
    z-index: 999;
    width: 200px;
    background: #fff;
    height: auto;
    border: 1px solid #a94442;
    background: #f2dede;
    box-shadow: 0px 0px 3px 0px rgb(206 197 150 /30%);
    overflow: hidden;
    border-radius: 5px;
}

    .studyDialog .studyheader {
        line-height: 60px;
        display: block;
        font-size: 20px;
        text-align: center;
        margin: 0 auto;
        color: #a94442;
        font-weight: bold;
    }

    .studyDialog .tudyconfirm {
        display: block;
        width: 100%;
        height: 30px;
        border: none;
        background: #a94442;
        color: #fff;
        height: 42px;
        line-height: 42px;
    }

/* 取消和确认按钮的设置 */
.studyconfirm {
    outline: none;
    background-color: white;
    width: 50%;
}

/* 弹出框的按钮部分 */
.footer {
    height: 40%;
    display: flex;
    flex-direction: row;
}

.studyconfirm {
    border-width: 1px 1px 1px 1px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.studyDock {
    line-height: 38px;
    position: fixed;
    right: 100px;
    bottom: 20px;
    overflow: hidden;
}

    .studyDock .studyTime {
        display: block;
        font-size: 16px;
        cursor: default;
        overflow: hidden;
        float: left;
        position: relative;
        width: 120px;
        box-shadow: inset 0px 1px 1px rgb(0 0 0 / 8%);
        background: #fff;
        border: 1px solid #ccc;
        border-right: none;
        border-radius: 5px 0 0 5px;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

        .studyDock .studyTime .counting {
            padding: 0 0px 0px 10px;
            position: relative;
            z-index: 2
        }

        .studyDock .studyTime .progress-bar {
            position: absolute;
            z-index: 1;
            display: block;
            left: 0px;
            top: 0px;
            height: 38px;
            width: 0%;
            box-shadow: inset 0px 1px 1px rgb(0 0 0 / 8%);
            background: #e2f0e2;
            transition: 1000ms;
        }

        .studyDock .studyTime .remain {
            overflow: hidden;
            padding: 0 10px 0 0px;
            font-size: 14px;
            color: #ac2925
        }

    .studyDock .studyBtn {
        width: 100px;
        height: 40px;
        overflow: hidden;
        border-radius: 0 5px 5px 0px;
        float: right;
        background: #f0f0f0;
        color: #666;
        border: 1px solid #ccc
    }

    .studyDock .stopStudyBtn {
        background: #ac2925;
        color: #fff;
        border-color: #ac2925
    }

    .studyDock .keepStudyBtn {
        background: #449d44;
        color: #fff;
        border-color: #449d44
    }

/* 完成学习 */
.studyDockFinish .studyTime {
    display: none
}

.studyDockFinish .remain {
    display: none
}

.studyDockFinish .studyBtn {
    width: auto;
    padding: 0 15px;
    background: #449d44;
    color: #fff;
    border: 1px solid #398439;
    border-radius: 5px;
}
