@patternfly/patternfly 4.223.1 → 4.224.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -127,6 +127,12 @@
127
127
  .pf-c-content ul {
128
128
  margin: 0;
129
129
  }
130
+ .pf-c-content ol.pf-m-plain,
131
+ .pf-c-content ul.pf-m-plain {
132
+ padding-left: 0;
133
+ margin-left: 0;
134
+ list-style: none;
135
+ }
130
136
  .pf-c-content h1 {
131
137
  margin-top: var(--pf-c-content--h1--MarginTop);
132
138
  margin-bottom: var(--pf-c-content--h1--MarginBottom);
@@ -159,6 +159,14 @@
159
159
  ol,
160
160
  ul {
161
161
  margin: 0;
162
+
163
+ // stylelint-disable selector-no-qualifying-type
164
+ &.pf-m-plain {
165
+ padding-left: 0;
166
+ margin-left: 0;
167
+ list-style: none;
168
+ }
169
+ // stylelint-enable
162
170
  }
163
171
 
164
172
  h1 {
@@ -117,7 +117,6 @@
117
117
  --pf-c-tabs__item-action--last-child--c-button--PaddingRight: var(--pf-global--spacer--md);
118
118
  --pf-c-tabs__item-action--c-button--OutlineOffset: -0.1875rem;
119
119
  --pf-c-tabs__item-action-icon--MarginTop: 0.125rem;
120
- --pf-c-tabs__item-action--m-help--c-button--PaddingLeft: var(--pf-global--spacer--xs);
121
120
  --pf-c-tabs__add--before--BorderColor: var(--pf-c-tabs__link--before--border-color--base);
122
121
  --pf-c-tabs__add--before--BorderLeftWidth: var(--pf-c-tabs__link--before--border-width--base);
123
122
  --pf-c-tabs__add--c-button--FontSize: var(--pf-global--FontSize--sm);
@@ -622,9 +621,6 @@
622
621
  --pf-c-button--PaddingLeft: var(--pf-c-tabs__item-action--c-button--PaddingLeft);
623
622
  outline-offset: var(--pf-c-tabs__item-action--c-button--OutlineOffset);
624
623
  }
625
- .pf-c-tabs__item-action.pf-m-help {
626
- --pf-c-tabs__item-action--c-button--PaddingLeft: var(--pf-c-tabs__item-action--m-help--c-button--PaddingLeft);
627
- }
628
624
  .pf-c-tabs__item-action:last-child {
629
625
  --pf-c-tabs__item-action--c-button--PaddingRight: var(--pf-c-tabs__item-action--last-child--c-button--PaddingRight);
630
626
  }
@@ -149,9 +149,6 @@ $pf-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
149
149
  --pf-c-tabs__item-action--c-button--OutlineOffset: #{pf-size-prem(-3px)};
150
150
  --pf-c-tabs__item-action-icon--MarginTop: #{pf-size-prem(2px)};
151
151
 
152
- // Item help
153
- --pf-c-tabs__item-action--m-help--c-button--PaddingLeft: var(--pf-global--spacer--xs);
154
-
155
152
  // Add button
156
153
  --pf-c-tabs__add--before--BorderColor: var(--pf-c-tabs__link--before--border-color--base);
157
154
  --pf-c-tabs__add--before--BorderLeftWidth: var(--pf-c-tabs__link--before--border-width--base);
@@ -722,10 +719,6 @@ $pf-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
722
719
  outline-offset: var(--pf-c-tabs__item-action--c-button--OutlineOffset);
723
720
  }
724
721
 
725
- &.pf-m-help {
726
- --pf-c-tabs__item-action--c-button--PaddingLeft: var(--pf-c-tabs__item-action--m-help--c-button--PaddingLeft);
727
- }
728
-
729
722
  &:last-child {
730
723
  --pf-c-tabs__item-action--c-button--PaddingRight: var(--pf-c-tabs__item-action--last-child--c-button--PaddingRight);
731
724
  }
@@ -75,6 +75,33 @@ cssPrefix: pf-c-content
75
75
  <em>justo sodales</em> elementum. Maecenas ultrices lacus quis neque consectetur, et lobortis nisi molestie.
76
76
  </p>
77
77
  <hr />
78
+ <h3>Plain list example</h3>
79
+ <ol class="pf-m-plain">
80
+ <li>Donec blandit a lorem id convallis.</li>
81
+ <li>Cras gravida arcu at diam gravida gravida.</li>
82
+ <li>Integer in volutpat libero.</li>
83
+ <li>Donec a diam tellus.</li>
84
+ <li>
85
+ Etiam auctor nisl et.
86
+ <ul>
87
+ <li>Regular list</li>
88
+ <li>Donec blandit a lorem id convallis.</li>
89
+ <li>Cras gravida arcu at diam gravida gravida.</li>
90
+ <li>
91
+ Integer in volutpat libero.
92
+ <ol class="pf-m-plain">
93
+ <li>Nested plain list</li>
94
+ <li>Donec blandit a lorem id convallis.</li>
95
+ <li>Cras gravida arcu at diam gravida gravida.</li>
96
+ </ol>
97
+ </li>
98
+ </ul>
99
+ </li>
100
+ <li>Aenean nec tortor orci.</li>
101
+ <li>Quisque aliquam cursus urna, non bibendum massa viverra eget.</li>
102
+ <li>Vivamus maximus ultricies pulvinar.</li>
103
+ </ol>
104
+ <hr />
78
105
  <h3>Visited link example</h3>
79
106
  <p>
80
107
  <a class="pf-m-visited" href>Visited link</a>
@@ -152,3 +179,4 @@ This component is an exception to the variable system since we style type select
152
179
  | --------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------- |
153
180
  | `.pf-c-content` | `<div>`, `<section>`, or `<article>` | Generates vertical rhythm and typographic treatment to html elements. |
154
181
  | `.pf-m-visited` | `.pf-c-content`, `<a>` | Modifies all links in a content block to include visited styles. Can also be applied to a single link in a content block. |
182
+ | `.pf-m-plain` | `<ul>`, `<ol>` | Removes the list marker and indentation. |