Issue #3079738 by lauriii, saschaeggi, webchick, xjm, andrewmacpherson, shimpy, effulgentsia, Wim Leers, DyanneNova, svettes, rainbreaw, fhaeberle, ckrina, AaronMcHale, justafish, catch, charlieweb82, AntoineH, lot007, pzajacz, kostyashupenko, jasonbarrie, antonellasevero, finnsky, worldlinemine, bnjmnm, RobLoach, Dennis Cohn, huzooka, Archita Arora, joachim, jrockowitz, benjifisher, shaal, Gábor Hojtsy, quiron, L2G2, ccasals, hampercm, if-jds, abhisekmazumdar, Kami Amiga, pivica, zrpnr, BrightBold, imalabya, jhedstrom, Neslee Canil Pinto, maliknaik, junaidmasoodi, Maithri Shetty, pranav73, mandclu, modulist, nod_, philosurfer, phenaproxima, mherchel, mlncn, rafuel92, leymannx, kiboman, Swapnil_Kotwal, anevins, evankay, rfmarcelino, thamas, brianperry, idebr, joelpittet, boulaffasae, alexpott, volkerk, DuneBL, Eli-T, Mahenkvyas22: Add Claro administration theme to core
2019-10-13 20:42:58 +00:00
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Styles for multiple file widget table.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.table-file-multiple-widget tbody {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-file-multiple-widget .tabledrag-cell-content {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-file-multiple-widget .tabledrag-cell-content > * {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-file-multiple-widget .tabledrag-cell-content__item {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-file-multiple-widget .tabledrag-handle {
|
|
|
|
float: left; /* LTR */
|
|
|
|
}
|
|
|
|
[dir="rtl"] .table-file-multiple-widget .tabledrag-handle {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-file-multiple-widget .tabledrag-changed {
|
|
|
|
float: left; /* LTR */
|
|
|
|
line-height: calc(var(--tabledrag-handle-icon-size) + calc(var(--space-xs) * 2));
|
|
|
|
}
|
|
|
|
[dir="rtl"] .table-file-multiple-widget .tabledrag-changed {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-file-multiple-widget td {
|
|
|
|
height: calc(var(--space-m) * 3);
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-file-multiple-widget td > :first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
.table-file-multiple-widget td > :last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2020-01-08 09:48:59 +00:00
|
|
|
.table-file-multiple-widget .button.button:only-child {
|
Issue #3079738 by lauriii, saschaeggi, webchick, xjm, andrewmacpherson, shimpy, effulgentsia, Wim Leers, DyanneNova, svettes, rainbreaw, fhaeberle, ckrina, AaronMcHale, justafish, catch, charlieweb82, AntoineH, lot007, pzajacz, kostyashupenko, jasonbarrie, antonellasevero, finnsky, worldlinemine, bnjmnm, RobLoach, Dennis Cohn, huzooka, Archita Arora, joachim, jrockowitz, benjifisher, shaal, Gábor Hojtsy, quiron, L2G2, ccasals, hampercm, if-jds, abhisekmazumdar, Kami Amiga, pivica, zrpnr, BrightBold, imalabya, jhedstrom, Neslee Canil Pinto, maliknaik, junaidmasoodi, Maithri Shetty, pranav73, mandclu, modulist, nod_, philosurfer, phenaproxima, mherchel, mlncn, rafuel92, leymannx, kiboman, Swapnil_Kotwal, anevins, evankay, rfmarcelino, thamas, brianperry, idebr, joelpittet, boulaffasae, alexpott, volkerk, DuneBL, Eli-T, Mahenkvyas22: Add Claro administration theme to core
2019-10-13 20:42:58 +00:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-file-multiple-widget th {
|
|
|
|
height: calc(var(--space-m) * 2);
|
2021-09-17 09:56:47 +00:00
|
|
|
color: var(--color-gray-800);
|
|
|
|
background: var(--color-gray-050);
|
Issue #3079738 by lauriii, saschaeggi, webchick, xjm, andrewmacpherson, shimpy, effulgentsia, Wim Leers, DyanneNova, svettes, rainbreaw, fhaeberle, ckrina, AaronMcHale, justafish, catch, charlieweb82, AntoineH, lot007, pzajacz, kostyashupenko, jasonbarrie, antonellasevero, finnsky, worldlinemine, bnjmnm, RobLoach, Dennis Cohn, huzooka, Archita Arora, joachim, jrockowitz, benjifisher, shaal, Gábor Hojtsy, quiron, L2G2, ccasals, hampercm, if-jds, abhisekmazumdar, Kami Amiga, pivica, zrpnr, BrightBold, imalabya, jhedstrom, Neslee Canil Pinto, maliknaik, junaidmasoodi, Maithri Shetty, pranav73, mandclu, modulist, nod_, philosurfer, phenaproxima, mherchel, mlncn, rafuel92, leymannx, kiboman, Swapnil_Kotwal, anevins, evankay, rfmarcelino, thamas, brianperry, idebr, joelpittet, boulaffasae, alexpott, volkerk, DuneBL, Eli-T, Mahenkvyas22: Add Claro administration theme to core
2019-10-13 20:42:58 +00:00
|
|
|
font-size: var(--font-size-s);
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-file-multiple-widget td {
|
|
|
|
padding-top: var(--space-m);
|
|
|
|
padding-bottom: var(--space-m);
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-file-multiple-widget .tabledrag-cell {
|
|
|
|
padding-top: var(--space-xs);
|
|
|
|
padding-bottom: var(--space-xs);
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-file-multiple-widget .checkbox .form-type--boolean {
|
|
|
|
line-height: calc(var(--space-m) * 3);
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-touchevents .table-file-multiple-widget .checkbox .form-type--boolean {
|
|
|
|
line-height: var(--line-height);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The cell that contains file operations (usually, this is the remove button).
|
|
|
|
*/
|
|
|
|
.file-operations-cell {
|
|
|
|
width: 1px;
|
|
|
|
white-space: nowrap; /* Don't let ajax-progress be broken into a new line. */
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Remove the border for the last table row if upload is not possible.
|
|
|
|
* (A full file widget with limited cardinality.)
|
|
|
|
*/
|
|
|
|
.table-file-multiple-widget--no-upload > tbody:last-child > tr:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Take as much space as possible.
|
|
|
|
*/
|
|
|
|
@media screen and (max-width: 37.5em) {
|
|
|
|
.claro-details__wrapper .file-widget-multiple__table-wrapper {
|
|
|
|
margin-right: calc(var(--space-m) * -1);
|
|
|
|
margin-left: calc(var(--space-m) * -1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.claro-details__wrapper .file-widget-multiple__table-wrapper > :not(table) {
|
|
|
|
margin-right: var(--space-m);
|
|
|
|
margin-left: var(--space-m);
|
|
|
|
}
|
|
|
|
}
|