@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.
- package/components/Content/content.css +6 -0
- package/components/Content/content.scss +8 -0
- package/components/Tabs/tabs.css +0 -4
- package/components/Tabs/tabs.scss +0 -7
- package/docs/components/Content/examples/Content.md +28 -0
- package/docs/components/Tabs/examples/Tabs.md +102 -102
- package/package.json +1 -1
- package/patternfly-no-reset.css +6 -4
- package/patternfly.css +6 -4
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -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);
|
package/components/Tabs/tabs.css
CHANGED
|
@@ -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. |
|