Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-49581

Limit .lfr-table cascade to immediate child cells of the table.

    Details

      Description

      As a Theme or Portlet developer, I don't want selectors on parent elements cascading down to children unnecessarily. Because this pollutes the UI with styles which then need to be reset/altered.

      This should only be done on element selectors which are not already nested some limited scope (non global) selector, eg:

      Bad:

      .lfr-table tr th {
      	font-weight: bold;
      }
      

      Good:

      .lfr-table .someClass {
      	font-weight: bold;
      }
      
      .someLimitedScopeSelector .lfr-table tr th {
      	font-weight: bold;
      }
      

      Corrected:

      .lfr-table {
      	> tbody, > thead {
      		> tr > th {
      			font-weight: bold;
      		}
      	}
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kenji.heigel Kenji Heigel
                Reporter:
                byran.zaugg Byran Zaugg (Inactive)
                Recent user:
                Shalaka Tendulkar
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 M2