/**
* 样式表
* 20250522
* D:/github/20241019/web/css/2025/20250522.css
*/
:root {
    --label-left: 12%;
}

*{
    padding: 0;
}

body{
   margin: 0 auto;
}

.container-20250522 {
    width: 100%;
    height: 100%;
}

.container-20250522 h1{
    font-size: 36px;
    text-align: left;
    margin-left: var(--label-left);
}

.container-20250522 small{
    font-size: 12px;
    margin-left: 1rem;
}

a, a:active, a:visited{
    cursor: pointer;
    color: #1e90ff;
    text-decoration: none;
}

.body-20250522{
    height: auto;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.body-20250522-row{
    display: inline-flex;
    flex-direction:column;
    width: 100%;
}

.footer-20250522 {
    width: 100%;
    display: inline-flex;
    min-height: 68px;
    flex-flow: row wrap;
    height: auto;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.crontab-common,.crontab-tool,.crontab-rule{
    width: 100%;
    display: inline-flex;
    min-height: 68px;
    flex-flow: row wrap;
}

.body-20250522-row span {
    color: rgb(128, 128, 128);
}

.crontab-tool {
    align-items: center;
}

.crontab-common label:first-child,.crontab-tool label:first-child,.crontab-rule label:first-child,.footer-20250522 label:first-child{
    width: var(--label-left);
    display: inline-flex;
    justify-content: right;
    align-items: center;
}

.crontab-common-list ,.crontab-tool-list {
    display: inline-flex;
    flex-flow: row wrap;
    align-items: center;
    flex: 1;
}

.crontab-common-list dl {
    width: calc(calc(100% - var(--label-left)) / 2);
    display: inline-flex;
    border: 1px solid #cccccc;
    height: 34px;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    margin-block-start: 0;
    margin-block-end: 0;
}

.crontab-common-list dl dd {
    display: inline-flex;
    margin-inline-start:0;
    background: #cccccc;
    border-radius: 2px ;
    border: 1px solid #cccccc;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    height: 18px;
    letter-spacing: 1px;
    margin-right: 1px;
}

.crontab-common-list dl dd:first-child{
    margin-left: 1rem;
    width:25%;
}

.crontab-common-list dl dd:last-child{
    margin-left: 1rem;
    flex: 1;
    cursor: pointer;
    margin-inline-start: 1rem;
    justify-content:flex-start;
    padding-left: 1rem;
}

dd.special {
    background: rgb(128, 128, 128) !important;
    color: blue;
    font-weight: bold;
    font-size: 1.2rem;
}

.crontab-tool-list {
    margin-top: 0;
}

.crontab-tool-list input, .crontab-number{
    height: 32px;
    line-height: 32px;
    padding: 0 4px;
    color: blue;
    outline-color: #1E90FFFF;
    border: 1px solid #dddddd;
    border-radius: 2px;
}

.crontab-tool-list input:not(:first-child){
    margin-left: .8rem;
}

.crontab-output {
    min-width: 150px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    color: rgb(128, 128, 128);
}

.crontab-tool > button {
    width: 80px;
}


.crontab-rule-list {
    display: inline-flex;
    flex-flow: row wrap;
    width: calc(100vw - var(--label-left));
    align-items: center;
    flex: 1;
}

.crontab-rule-list .crontab-rule-toggle {
    cursor: pointer;
    color: #1e90ff;
    justify-content: start;
    display: flex;
    align-items: flex-start;
}

.crontab-rule-toggle.fold ~ span {
    display: none;
}

.crontab-rule-list span {
    width: 100%;
    display: inline-block;
    margin-top: .7rem;
}

.crontab-rule-list span dd {
    display: inline-flex;
    margin-inline-start:0;
    border-radius: 2px ;
    border: 1px solid #dddddd;
    min-width: 22px;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    height: 18px;
    letter-spacing: 1px;
    margin-right: 1px;
}

.crontab-rule-list span dd:first-child {
    min-width: 36px;
    height: 24px;
    color: #3c3c3c;
    font-weight: bold;
    padding: 0 4px;
    background: #cccccc;
}

.crontab-rule-list span dd:not(:first-child){
    margin-left: 1px;
}


dd.special {
    background: rgb(244, 244, 244) !important;
    color: blue;
    font-weight: bold;
    font-size: 5.2rem;
}

.crontab-button button {
    width: 80px;
    pointer-events: bounding-box;
}

.crontab-button button:nth-child(3),.crontab-button button:nth-child(3) + label {
    margin-left: 1rem;
}

label {
    font-weight: bold;
    min-width: 2vw;
}

textarea {
    min-height: 35vh;
    max-height: 50vh;
    padding-top: 10px;
    padding-left: 10px;
    outline-style: none;
    width: calc(calc(100% - var(--label-left)) / 2 + calc(100% - var(--label-left)) / 3);
    font-size: 1rem;
    font-weight: bold;
}

button.doing{
    background:#dddddd;
    border:1px solid #dddddd;
    color: #3c3c3c;
}

.copied {
    color: yellow;
    background: #1e90ff;
    border: 1px solid #1e90ff;
}

@media only screen and (max-width: 767px) {
    .crontab-common-list dl {
        width: calc(100% - var(--label-left));
    }

    .crontab-common-list dl {
        height: auto;
    }

    .crontab-common-list dl dd{
        height: auto;
        background:none;
        border: none;
    }

    .crontab-tool-list {
        margin-top: 1rem;
    }

}
