Toolbar Historial
Este es el componente que hace funcionar la modificación del apartado de "Historial"
#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;
}
.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;
}
revisión de página: 12, última edición: 07 May 2023 22:46