Skip to content
Snippets Groups Projects
Verified Commit bc4cfe0e authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3332473 by Mithun S, Gauravvvv, rupeshghar, smustgrave, lauriii:...

Issue #3332473 by Mithun S, Gauravvvv, rupeshghar, smustgrave, lauriii: Refactor Claro's table--file-multiple-widget stylesheet

(cherry picked from commit 901d6d8a)
parent baa0a0b4
No related branches found
No related tags found
16 merge requests!12212Issue #3445525 by alexpott, japerry, catch, mglaman, longwave: Add BC layer...,!10602Issue #3438769 by vinmayiswamy, antonnavi, michelle, amateescu: Sub workspace does not clear,!10301Issue #3469309 by mstrelan, smustgrave, moshe weitzman: Use one-time login...,!10187Issue #3487488 by dakwamine: ExtensionMimeTypeGuesser::guessMimeType must support file names with "0" (zero) like foo.0.zip,!9929Issue #3445469 by pooja_sharma, smustgrave: Add additional test coverage for...,!9787Resolve issue 3479427 - bootstrap barrio issue under Windows,!9742Issue #3463908 by catch, quietone: Split OptionsFieldUiTest into two,!9526Issue #3458177 by mondrake, catch, quietone, godotislate, longwave, larowlan,...,!8949Backport .gitlabci.yml changes.,!8738Issue #3424162 by camilledavis, dineshkumarbollu, smustgrave: Claro...,!8704Make greek characters available in ckeditor5,!8533Issue #3446962 by kim.pepper: Remove incorrectly added...,!8517Issue #3443748 by NexusNovaz, smustgrave: Testcase creates false positive,!6502Draft: Resolve #2938524 "Plach testing issue",!38582585169-10.1.x,!3226Issue #2987537: Custom menu link entity type should not declare "bundle" entity key
Pipeline #204143 passed with warnings
Pipeline: drupal

#204155

    Pipeline: drupal

    #204147

      ......@@ -28,33 +28,23 @@
      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-handle,
      .table-file-multiple-widget .tabledrag-changed {
      float: left;
      }
      .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);
      padding-block: var(--space-m);
      }
      .table-file-multiple-widget td > :first-child {
      margin-top: 0;
      }
      .table-file-multiple-widget td > :first-child,
      .table-file-multiple-widget td > :last-child {
      margin-bottom: 0;
      margin-block: 0;
      }
      .table-file-multiple-widget .button.button:only-child {
      ......@@ -68,20 +58,19 @@
      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);
      padding-block: var(--space-xs);
      }
      .table-file-multiple-widget .checkbox .form-type--boolean {
      line-height: calc(var(--space-m) * 3);
      }
      [dir="rtl"] .table-file-multiple-widget .tabledrag-handle,
      [dir="rtl"] .table-file-multiple-widget .tabledrag-changed {
      float: right;
      }
      .no-touchevents .table-file-multiple-widget .checkbox .form-type--boolean {
      line-height: var(--line-height);
      }
      ......@@ -101,7 +90,7 @@
      */
      .table-file-multiple-widget--no-upload > tbody:last-child > tr:last-child {
      border-bottom: 0;
      border-block-end: 0;
      }
      /**
      ......@@ -110,12 +99,9 @@
      @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);
      margin-inline: 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);
      margin-inline: var(--space-m);
      }
      }
      ......@@ -3,73 +3,59 @@
      * Styles for multiple file widget table.
      */
      .table-file-multiple-widget tbody {
      .table-file-multiple-widget {
      & tbody {
      vertical-align: top;
      }
      .table-file-multiple-widget .tabledrag-cell-content {
      & .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 */
      & .tabledrag-cell-content__item {
      padding: 0;
      }
      [dir="rtl"] .table-file-multiple-widget .tabledrag-handle {
      float: right;
      & .tabledrag-handle,
      & .tabledrag-changed {
      float: left;
      }
      .table-file-multiple-widget .tabledrag-changed {
      float: left; /* LTR */
      & .tabledrag-changed {
      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 {
      & td {
      height: calc(var(--space-m) * 3);
      padding-block: var(--space-m);
      & > :first-child,
      & > :last-child {
      margin-block: 0;
      }
      .table-file-multiple-widget td > :first-child {
      margin-top: 0;
      }
      .table-file-multiple-widget td > :last-child {
      margin-bottom: 0;
      }
      .table-file-multiple-widget .button.button:only-child {
      & .button.button:only-child {
      margin: 0;
      }
      .table-file-multiple-widget th {
      & th {
      height: calc(var(--space-m) * 2);
      color: var(--color-gray-800);
      background: var(--color-gray-050);
      font-size: var(--font-size-s);
      }
      .table-file-multiple-widget td {
      padding-top: var(--space-m);
      padding-bottom: var(--space-m);
      & .tabledrag-cell {
      padding-block: var(--space-xs);
      }
      & .checkbox .form-type--boolean {
      line-height: calc(var(--space-m) * 3);
      }
      .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);
      [dir="rtl"] .table-file-multiple-widget {
      & .tabledrag-handle,
      & .tabledrag-changed {
      float: right;
      }
      }
      .no-touchevents .table-file-multiple-widget .checkbox .form-type--boolean {
      ......@@ -89,7 +75,7 @@
      * (A full file widget with limited cardinality.)
      */
      .table-file-multiple-widget--no-upload > tbody:last-child > tr:last-child {
      border-bottom: 0;
      border-block-end: 0;
      }
      /**
      ......@@ -97,12 +83,9 @@
      */
      @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);
      margin-inline: calc(var(--space-m) * -1);
      & > :not(table) {
      margin-inline: var(--space-m);
      }
      .claro-details__wrapper .file-widget-multiple__table-wrapper > :not(table) {
      margin-right: var(--space-m);
      margin-left: var(--space-m);
      }
      }
      0% Loading or .
      You are about to add 0 people to the discussion. Proceed with caution.
      Please register or to comment