Debian Codegraph @

node/@patternfly/react-styles/css/components/ExpandableSection/expandable-section.css

raw
1 .pf-v6-c-expandable-section {
2 --pf-v6-c-expandable-section--Gap: var(--pf-t--global--spacer--sm);
3 --pf-v6-c-expandable-section__toggle-icon--MinWidth: 1em;
4 --pf-v6-c-expandable-section__toggle-icon--Color: var(--pf-t--global--icon--color--regular);
5 --pf-v6-c-expandable-section__toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
6 --pf-v6-c-expandable-section__toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
7 --pf-v6-c-expandable-section__toggle-icon--Transition: transform var(--pf-v6-c-expandable-section__toggle-icon--TransitionDuration) var(--pf-v6-c-expandable-section__toggle-icon--TransitionTimingFunction);
8 --pf-v6-c-expandable-section__toggle-icon--Rotate: 0;
9 --pf-v6-c-expandable-section__toggle-icon--m-expand-top--Rotate: 0;
10 --pf-v6-c-expandable-section--m-expanded__toggle-icon--Rotate: -180deg;
11 --pf-v6-c-expandable-section--m-expanded__toggle-icon--m-expand-top--Rotate: 180deg;
12 --pf-v6-c-expandable-section__content--TransitionDuration--collapse--slide: 0s;
13 --pf-v6-c-expandable-section__content--TransitionDuration--collapse--fade: var(--pf-t--global--motion--duration--fade--short);
14 --pf-v6-c-expandable-section__content--TransitionDuration--expand--slide: 0s;
15 --pf-v6-c-expandable-section__content--TransitionDuration--expand--fade: var(--pf-t--global--motion--duration--fade--default);
16 --pf-v6-c-expandable-section__content--TransitionDuration--slide: var(--pf-v6-c-expandable-section__content--TransitionDuration--collapse--slide);
17 --pf-v6-c-expandable-section__content--TransitionDuration--fade: var(--pf-v6-c-expandable-section__content--TransitionDuration--collapse--fade);
18 --pf-v6-c-expandable-section__content--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
19 --pf-v6-c-expandable-section__content--TransitionDelay--hide: var(--pf-v6-c-expandable-section__content--TransitionDuration--fade);
20 --pf-v6-c-expandable-section__content--Opacity: 0;
21 --pf-v6-c-expandable-section__content--TranslateY: 0;
22 --pf-v6-c-expandable-section__content--PaddingInlineStart: 0;
23 --pf-v6-c-expandable-section__content--MaxHeight: 0px;
24 --pf-v6-c-expandable-section__content--Visibility: hidden;
25 --pf-v6-c-expandable-section__content--Opacity: 0;
26 --pf-v6-c-expandable-section--m-expand-top__content--TranslateY: 0;
27 --pf-v6-c-expandable-section--m-expand-bottom__content--TranslateY: 0;
28 --pf-v6-c-expandable-section--m-expanded__content--Opacity: 1;
29 --pf-v6-c-expandable-section--m-expanded__content--TranslateY: 0;
30 }
31 @media screen and (prefers-reduced-motion: no-preference) {
32 .pf-v6-c-expandable-section {
33 --pf-v6-c-expandable-section__content--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
34 --pf-v6-c-expandable-section__content--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
35 --pf-v6-c-expandable-section__content--TranslateY: -.5rem;
36 --pf-v6-c-expandable-section--m-expand-top__content--TranslateY: .5rem;
37 --pf-v6-c-expandable-section--m-expand-bottom__content--TranslateY: -.5rem;
38 }
39 }
40 .pf-v6-c-expandable-section {
41 --pf-v6-c-expandable-section__content--MaxWidth: auto;
42 --pf-v6-c-expandable-section--m-limit-width__content--MaxWidth: 46.875rem;
43 --pf-v6-c-expandable-section--m-display-lg--PaddingBlockStart: var(--pf-t--global--spacer--sm);
44 --pf-v6-c-expandable-section--m-display-lg--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
45 --pf-v6-c-expandable-section--m-display-lg--PaddingInlineStart: var(--pf-t--global--spacer--md);
46 --pf-v6-c-expandable-section--m-display-lg--PaddingInlineEnd: var(--pf-t--global--spacer--md);
47 --pf-v6-c-expandable-section--m-display-lg--m-expanded--PaddingBlockEnd: var(--pf-t--global--spacer--md);
48 --pf-v6-c-expandable-section--m-display-lg--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
49 --pf-v6-c-expandable-section--m-display-lg--BorderWidth: var(--pf-t--global--border--width--box--default);
50 --pf-v6-c-expandable-section--m-display-lg--BorderColor: var(--pf-t--global--border--color--default);
51 --pf-v6-c-expandable-section--m-display-lg--BorderRadius: var(--pf-t--global--border--radius--medium);
52 --pf-v6-c-expandable-section--m-display-lg--TransitionDelay: var(--pf-v6-c-expandable-section__content--TransitionDuration--collapse--fade);
53 --pf-v6-c-expandable-section--m-indented__content--PaddingInlineStart: calc(var(--pf-t--global--spacer--action--horizontal--plain--default) + var(--pf-t--global--spacer--gap--text-to-element--default) + var(--pf-v6-c-expandable-section__toggle-icon--MinWidth));
54 --pf-v6-c-expandable-section--m-truncate__content--LineClamp: 3;
55 --pf-v6-c-expandable-section--m-truncate--Gap: var(--pf-t--global--spacer--xs);
56 }
57
58 .pf-v6-c-expandable-section {
59 display: flex;
60 flex-direction: column;
61 gap: 0;
62 transition-delay: var(--pf-v6-c-expandable-section__content--TransitionDelay--hide);
63 transition-duration: 0s;
64 transition-property: gap, padding-block-end;
65 }
66 .pf-v6-c-expandable-section.pf-m-expanded {
67 --pf-v6-c-expandable-section__toggle-icon--Rotate: var(--pf-v6-c-expandable-section--m-expanded__toggle-icon--Rotate);
68 --pf-v6-c-expandable-section__toggle-icon--m-expand-top--Rotate: var(--pf-v6-c-expandable-section--m-expanded__toggle-icon--m-expand-top--Rotate);
69 --pf-v6-c-expandable-section--m-display-lg--PaddingBlockEnd: var(--pf-v6-c-expandable-section--m-display-lg--m-expanded--PaddingBlockEnd);
70 --pf-v6-c-expandable-section__content--TransitionDuration--slide: var(--pf-v6-c-expandable-section__content--TransitionDuration--expand--slide);
71 --pf-v6-c-expandable-section__content--TransitionDuration--fade: var(--pf-v6-c-expandable-section__content--TransitionDuration--expand--fade);
72 --pf-v6-c-expandable-section__content--Opacity: var(--pf-v6-c-expandable-section--m-expanded__content--Opacity);
73 --pf-v6-c-expandable-section__content--TranslateY: var(--pf-v6-c-expandable-section--m-expanded__content--TranslateY);
74 --pf-v6-c-expandable-section__content--Visibility: auto;
75 --pf-v6-c-expandable-section__content--Overflow: visible;
76 --pf-v6-c-expandable-section__content--MaxHeight: 99999px;
77 --pf-v6-c-expandable-section__content--TransitionDelay--hide: 0s;
78 gap: var(--pf-v6-c-expandable-section--Gap);
79 }
80 .pf-v6-c-expandable-section.pf-m-expand-top {
81 --pf-v6-c-expandable-section__toggle-icon--Rotate: var(--pf-v6-c-expandable-section__toggle-icon--m-expand-top--Rotate);
82 }
83 .pf-v6-c-expandable-section:has(.pf-v6-c-expandable-section__content:only-child):not(.pf-m-expand-top, .pf-m-expand-bottom) {
84 --pf-v6-c-expandable-section__content--TranslateY: 0;
85 --pf-v6-c-expandable-section__content--TransitionDuration--expand--fade: 0s;
86 --pf-v6-c-expandable-section__content--TransitionDuration--collapse--fade: 0s;
87 }
88 .pf-v6-c-expandable-section:has(.pf-v6-c-expandable-section__content:only-child).pf-m-expand-top:not(.pf-m-expanded) {
89 --pf-v6-c-expandable-section__content--TranslateY: var(--pf-v6-c-expandable-section--m-expand-top__content--TranslateY);
90 }
91 .pf-v6-c-expandable-section:has(.pf-v6-c-expandable-section__content:only-child).pf-m-expand-bottom:not(.pf-m-expanded) {
92 --pf-v6-c-expandable-section__content--TranslateY: var(--pf-v6-c-expandable-section--m-expand-bottom__content--TranslateY);
93 }
94 .pf-v6-c-expandable-section.pf-m-limit-width {
95 --pf-v6-c-expandable-section__content--MaxWidth: var(--pf-v6-c-expandable-section--m-limit-width__content--MaxWidth);
96 }
97 .pf-v6-c-expandable-section.pf-m-display-lg {
98 padding-block-start: var(--pf-v6-c-expandable-section--m-display-lg--PaddingBlockStart);
99 padding-block-end: var(--pf-v6-c-expandable-section--m-display-lg--PaddingBlockEnd);
100 padding-inline-start: var(--pf-v6-c-expandable-section--m-display-lg--PaddingInlineStart);
101 padding-inline-end: var(--pf-v6-c-expandable-section--m-display-lg--PaddingInlineEnd);
102 background-color: var(--pf-v6-c-expandable-section--m-display-lg--BackgroundColor);
103 border: var(--pf-v6-c-expandable-section--m-display-lg--BorderWidth) solid var(--pf-v6-c-expandable-section--m-display-lg--BorderColor);
104 border-radius: var(--pf-v6-c-expandable-section--m-display-lg--BorderRadius);
105 }
106 .pf-v6-c-expandable-section.pf-m-indented {
107 --pf-v6-c-expandable-section__content--PaddingInlineStart: var(--pf-v6-c-expandable-section--m-indented__content--PaddingInlineStart);
108 }
109 .pf-v6-c-expandable-section.pf-m-truncate {
110 --pf-v6-c-expandable-section--Gap: var(--pf-v6-c-expandable-section--m-truncate--Gap);
111 --pf-v6-c-expandable-section__content--TransitionDelay--hide: 0s;
112 }
113 .pf-v6-c-expandable-section.pf-m-truncate:not(.pf-m-expanded) .pf-v6-c-expandable-section__content {
114 display: -webkit-box;
115 overflow: hidden;
116 -webkit-box-orient: vertical;
117 -webkit-line-clamp: var(--pf-v6-c-expandable-section--m-truncate__content--LineClamp);
118 }
119
120 :where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-expandable-section__toggle-icon {
121 scale: -1 1;
122 }
123
124 .pf-v6-c-expandable-section__toggle-icon {
125 display: inline-block;
126 min-width: var(--pf-v6-c-expandable-section__toggle-icon--MinWidth);
127 color: var(--pf-v6-c-expandable-section__toggle-icon--Color);
128 transform: rotate(var(--pf-v6-c-expandable-section__toggle-icon--Rotate));
129 transition: var(--pf-v6-c-expandable-section__toggle-icon--Transition);
130 }
131 .pf-v6-c-expandable-section__toggle-icon.pf-m-expand-top {
132 --pf-v6-c-expandable-section__toggle-icon--Rotate: var(--pf-v6-c-expandable-section__toggle-icon--m-expand-top--Rotate);
133 }
134
135 .pf-v6-c-expandable-section__content {
136 max-width: var(--pf-v6-c-expandable-section__content--MaxWidth);
137 padding-block-end: var(--pf-v6-c-expandable-section__content--PaddingBlockEnd, 0);
138 padding-inline-start: var(--pf-v6-c-expandable-section__content--PaddingInlineStart);
139 }
140 .pf-v6-c-expandable-section__content:where([hidden]) {
141 display: revert;
142 }
143 .pf-v6-c-expandable-section:where(:not(.pf-m-truncate)) > .pf-v6-c-expandable-section__content {
144 visibility: var(--pf-v6-c-expandable-section__content--Visibility, hidden);
145 max-height: var(--pf-v6-c-expandable-section__content--MaxHeight, 0);
146 overflow: var(--pf-v6-c-expandable-section__content--Overflow, hidden);
147 opacity: var(--pf-v6-c-expandable-section__content--Opacity);
148 translate: 0 var(--pf-v6-c-expandable-section__content--TranslateY);
149 transition-delay: 0s, 0s, var(--pf-v6-c-expandable-section__content--TransitionDelay--hide, 0s), var(--pf-v6-c-expandable-section__content--TransitionDelay--hide, 0s);
150 transition-timing-function: var(--pf-v6-c-expandable-section__content--TransitionTimingFunction);
151 transition-duration: var(--pf-v6-c-expandable-section__content--TransitionDuration--fade), var(--pf-v6-c-expandable-section__content--TransitionDuration--slide), 0s, 0s;
152 transition-property: opacity, translate, visibility, max-height;
153 }