utility.pcss.css

Same filename and directory in other branches
  1. 11.x core/misc/dialog/off-canvas/css/utility.pcss.css
  2. 10 core/misc/dialog/off-canvas/css/utility.pcss.css

Utility classes.

File

core/themes/olivero/css/base/utility.pcss.css

View source
  1. /**
  2. * @file
  3. * Utility classes.
  4. */
  5. @import "../base/variables.pcss.css";
  6. /*
  7. ie11-autorow
  8. IE11 does not automatically place new rows, which leads to overlapping
  9. content. We can work around this (when we know that each grid item is
  10. going to span the full width) by setting each child to a new row.
  11. */
  12. .ie11-autorow > * {
  13. &:nth-child(1) {
  14. -ms-grid-row: 1;
  15. }
  16. &:nth-child(2) {
  17. -ms-grid-row: 2;
  18. }
  19. &:nth-child(3) {
  20. -ms-grid-row: 3;
  21. }
  22. &:nth-child(4) {
  23. -ms-grid-row: 4;
  24. }
  25. &:nth-child(5) {
  26. -ms-grid-row: 5;
  27. }
  28. &:nth-child(6) {
  29. -ms-grid-row: 6;
  30. }
  31. &:nth-child(7) {
  32. -ms-grid-row: 7;
  33. }
  34. &:nth-child(8) {
  35. -ms-grid-row: 8;
  36. }
  37. &:nth-child(9) {
  38. -ms-grid-row: 9;
  39. }
  40. &:nth-child(10) {
  41. -ms-grid-row: 10;
  42. }
  43. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.