Toolbar Historial

Este es el componente que hace funcionar la modificación del apartado de "Historial"1

#history-form-1 {
    display: grid;
    grid-template-columns: 1fr 11.25em;
    grid-template-rows: auto auto auto;
    column-gap: 1.25rem;
}
#revision-list { grid-column: 1/3; }

#history-form-1 > table.form, #history-form-1 > table.form > tbody { display: contents; }
#history-form-1 > table.form > tbody > tr:first-child {
    display: flex;
    flex-direction: column;
    grid-row: span 2;
}

#history-form-1 > table.form > tbody > tr:first-child::before {
    content: "";
    display: block;
    width: 100%;
    height: 0.25rem;
    background-color: var(--accentColor);
}

#history-form-1 > table.form > tbody > tr:first-child > td:first-child {
    display: block;
    width: max-content;
    padding: 0.5ch 0.75ch 0;
    font-size: 0.75em;
    border: 1px solid var(--accentColor);
    color: rgb(var(--basalt-light-text-color));
    font-family: var(--UI-font);
    text-transform: uppercase;
    order: -1;
}
#history-form-1 > table.form > tbody > tr:first-child > td:nth-child(2) {
    display: grid;
    grid-template-columns: repeat(auto-fill, 1.25em minmax(9.875em, 1fr));
    grid-auto-rows: auto;
    text-indent: -0.5ex;
    grid-gap: 0.325em 0.375em;
    align-items: center;
    margin: 0.375em 0;
}
#history-form-1 > table.form > tbody > tr:first-child > td:nth-child(2) input.checkbox {
    display: inline-block;
    margin: 0 0 0 auto;
}

#history-form-1 > table.form > tbody > tr:nth-child(2) {
    display: flex;
    flex-direction: column;
}
#history-form-1 > table.form > tbody > tr:nth-child(2) > td {
    position: relative;
    padding: 0;

}
#history-form-1 > table.form > tbody > tr:nth-child(2) > td:first-child {
    text-align: center;
    font-size: 0.75em;
    padding: 0.425ch 0 0.125ch;
    position: relative;
    text-transform: uppercase;
    transition: color 0.125s ease-out;
}
#history-form-1 > table.form > tbody > tr:nth-child(2) > td:first-child::before {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    display: block;
    width: 100%; height: 0;
    z-index: -1;
    transition: height 0.125s ease-out;
}
#history-form-1 > table.form > tbody > tr:nth-child(2):focus-within > td:first-child { color: rgb(var(--basalt-light-text-color)); }
#history-form-1 > table.form > tbody > tr:nth-child(2):focus-within > td:first-child::before { height: 100%; }

#h-perpage {
  text-align: center;
    appearance: none;
    width: 100%;
    padding-left: 0rem;
    border: 1px solid var(--accentColor);
    outline: solid 0 rgb(var(--basalt-UI-dark-palette));
}
#h-perpage:focus {
    border-color: rgb(var(--basalt-UI-dark-palette));
    outline-width: 0;
}

#history-form-1 > table.form > tbody > tr:nth-child(2) > td:nth-child(2)::before,
#history-form-1 > table.form > tbody > tr:nth-child(2) > td:nth-child(2)::after {
    content: "";
    position: absolute;
    top: 0; right: 0;
    display: flex;
    align-items: center; justify-content: center;
    width: 1.625em;
    height: 100%;
    background-color: rgb(var(--basalt-UI-dark-palette));
    pointer-events: none;
    z-index: 1;
    transition: all 0.125s ease-out;
}
#history-form-1 > table.form > tbody > tr:nth-child(2) > td:nth-child(2)::before {
    height: 0;
}
#history-form-1 > table.form > tbody > tr:nth-child(2) > td:nth-child(2)::after {
    clip-path: polygon(25% 40%, 75% 40%, 50% 70%);
}
#history-form-1 > table.form > tbody > tr:nth-child(2) > td:nth-child(2):focus-within::before { height: 100%; }
#history-form-1 > table.form > tbody > tr:nth-child(2) > td:nth-child(2):focus-within::after { background-color: rgb(var(--basalt-light-text-color)); }

#history-form-1 > div.buttons {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 1rem 0;
    grid-gap: 0.5rem;
    justify-content: center;
    align-items: center;
    height: min-content;
    align-self: center;
}
#history-form-1 > div.buttons > input.btn {
    cursor: pointer;
    flex-grow: 1;
    flex-basis: min(12em, 47.5vw);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1.875em;
}

#main-content .pager {
    display: grid;
    position: relative;
    grid-template-areas:
        "pgno pgno pgno pgno pgno pgno pgno pgno pgno pgno pgno"
        "prv . . . . . . . . . nxt"
        "prv . . . . . . . . . nxt";
    grid-template-columns: 7.75em 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 7.75em;
    grid-template-rows: 2em auto;
    margin: 0;
    z-index: 0;

}

#main-content .pager > * {
    display: flex;
    text-align: center;
    flex-grow: 1;
    height: 1.875em;
    align-items: center;
    justify-content: center;
}
#main-content .pager .pager-no {
    grid-area: pgno;
    position: static;
    height: auto;
    width: max-content;
    padding: 0 0.75ch;
    box-sizing: border-box;
    border-bottom: 2px solid var(--accentColor);
    background-color: inherit;
    text-transform: uppercase;
}
#main-content .pager .pager-no::after {
    content: "";
    display: block;
    background-color: inherit;
    position: absolute;
    top: calc(2em - 0.25rem);
    left: 0;
    width: 100%;
    height: 0.25rem;
}

#main-content .pager > span.current {
    background-color: transparent;
    border-bottom: 2px solid var(--accentColor);
    font-weight: bold;
    border: none;
    margin: 0;
    padding: 0;
}

#main-content .pager span.target { display: contents; }
#main-content .pager > span.target > a {
    display: flex;
    height: 100%;
    width: 100%;
    min-height: 1.875em;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    border: none;
    margin: 0;
    padding: 0;
    transition: color 0.1s ease-out;
}
#main-content .pager span > a::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    display: block;
    width: 100%;
    height: 0;
    background-color: rgb(var(--basalt-focus-color));
    z-index: -1;
    transition: height 0.125s ease-out;
}
#main-content .pager span > a:is(:hover, :focus) { color: rgb(var(--basalt-light-text-color)); }
#main-content .pager span > a:is(:hover, :focus)::before { height: 100%; }

#main-content .pager > span.target:nth-child(2) > a { grid-area: prv; }
#main-content .pager > span.target:last-child > a { grid-area: nxt; }
#main-content .pager > span.target:is(:nth-child(2), :last-child) > a {
    font-weight: bold;
    min-width: max-content;
    padding: 0 1ch;
    margin: 0;
    box-sizing: border-box;
}
#main-content .pager > span.target:is(:nth-child(2), :last-child) > a::before {
    height: 100%;
    width: 0;
    transition: width 0.125s ease-out;
}
#main-content .pager > span.target:last-child > a::before {
    right: 0; left: unset;
}
#main-content .pager > span.target:is(:nth-child(2), :last-child) > a:is(:hover, :focus)::before {
    width: 100%;
}

#main-content .pager::before, #main-content .pager::after {
    grid-area: nxt;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    background: #2e2e2e!important;
    color: white;
    opacity: 0.375;
    font-weight: bold;
    z-index: -1;
    cursor: not-allowed;
}
#main-content .pager::before { content: "« previous"; grid-area: prv; }

#action-area .page-source {
    border: 2px solid var(--accentColor);
}

.code {
    --MONO: 1;
    padding: 1em;
    border-width: 0.162rem;
    border-style: solid;
    border-color: var(--accentColor);
    background-color: transparent;
    font-family: var(--mono-font);
    word-break: break-word;
    hyphens: auto;
}

.code * {
    --MONO: 1;
    --calt: 0;
    max-width: 90vw;
    font-family: var(--mono-font);

}

.code pre {
    white-space: pre-wrap;
     color: white;
}

.code,
.code * {
    font-variation-settings:
     "wght" var(--mono-wght),
     "slnt" var(--slnt),
     "CASL" var(--CASL),
     "CRSV" var(--CRSV),
     "MONO" var(--MONO);
}

.code i,
.code i *,
.code em,
.code em *,
.code .italic,
.code .italic *,
.code [style*="italic"],
.code [style*="italic"] *,
.code [style*="oblique"],
.code [style*="oblique"] * {
    --slnt: -15;
     color: white;
}

.code p,
.code pre {
    margin: 0;
     color: white;
}
Si no se indica lo contrario, el contenido de esta página se ofrece bajo Creative Commons Attribution-ShareAlike 3.0 License