Skip to content

Commit c08cc5c

Browse files
Muskan Guptaci-build
authored andcommitted
Updating style for tnc
1 parent b4a3741 commit c08cc5c

File tree

1 file changed

+120
-6
lines changed
  • ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/termsandconditions/v1/termsandconditions/_cq_styleConfig

1 file changed

+120
-6
lines changed

ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/termsandconditions/v1/termsandconditions/_cq_styleConfig/.content.xml

Lines changed: 120 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,110 @@
1919
propertySheet="/mnt/overlay/fd/af/components/stylePropertySheet/common"
2020
secondarySelectors="af_guideContainer:af_widgetAndText">
2121
<items jcr:primaryType="nt:unstructured">
22-
<tncContent
22+
<tncLabelContainer
23+
jcr:primaryType="nt:unstructured"
24+
jcr:title="Label Container"
25+
id="af_tnclabelcontainer"
26+
cssSelector=".cmp-adaptiveform-termsandcondition__label-container"
27+
longTitle="Terms and Conditions Label Container"
28+
propertySheet="/mnt/overlay/fd/af/components/stylePropertySheet/common">
29+
<items jcr:primaryType="nt:unstructured">
30+
<tncLabel
31+
jcr:primaryType="nt:unstructured"
32+
jcr:title="Label"
33+
id="af_tnclabel"
34+
cssSelector=".cmp-adaptiveform-termsandcondition__label"
35+
longTitle="Terms and Conditions Label"
36+
propertySheet="/mnt/overlay/fd/af/components/stylePropertySheet/common">
37+
<states jcr:primaryType="nt:unstructured">
38+
<hover
39+
jcr:primaryType="nt:unstructured"
40+
jcr:title="Hover"
41+
cssSelector=".cmp-adaptiveform-termsandcondition__label:hover"/>
42+
<focus
43+
jcr:primaryType="nt:unstructured"
44+
jcr:title="Focus"
45+
cssSelector=".cmp-adaptiveform-termsandcondition__label:focus"/>
46+
</states>
47+
</tncLabel>
48+
<tncHelpIcon
49+
jcr:primaryType="nt:unstructured"
50+
jcr:title="Help Icon"
51+
id="af_tnchelpicon"
52+
cssSelector=".cmp-adaptiveform-termsandcondition__questionmark"
53+
longTitle="Terms and Conditions Help Icon"
54+
propertySheet="/mnt/overlay/fd/af/components/stylePropertySheet/common"
55+
secondarySelectors="af_guideContainer:af_helpicon">
56+
<states jcr:primaryType="nt:unstructured">
57+
<focus
58+
jcr:primaryType="nt:unstructured"
59+
jcr:title="Focus"
60+
cssSelector=".cmp-adaptiveform-termsandcondition__questionmark:focus"/>
61+
<hover
62+
jcr:primaryType="nt:unstructured"
63+
jcr:title="Hover"
64+
cssSelector=".cmp-adaptiveform-termsandcondition__questionmark:hover"/>
65+
<disabled
66+
jcr:primaryType="nt:unstructured"
67+
jcr:title="Disabled"
68+
cssSelector=".cmp-adaptiveform-termsandcondition__questionmark:disabled"/>
69+
</states>
70+
</tncHelpIcon>
71+
</items>
72+
<states jcr:primaryType="nt:unstructured">
73+
<disabled
74+
jcr:primaryType="nt:unstructured"
75+
jcr:title="Disabled"
76+
cssSelector="cmp-adaptiveform-termsandcondition__label-container:disabled"/>
77+
<hover
78+
jcr:primaryType="nt:unstructured"
79+
jcr:title="Hover"
80+
cssSelector="cmp-adaptiveform-termsandcondition__label-container:hover"/>
81+
<focus
82+
jcr:primaryType="nt:unstructured"
83+
jcr:title="Focus"
84+
cssSelector="cmp-adaptiveform-termsandcondition__label-container:focus"/>
85+
</states>
86+
</tncLabelContainer>
87+
<tncContentContainer
2388
jcr:primaryType="nt:unstructured"
24-
jcr:title="Content"
25-
id="af_tnccontent"
89+
jcr:title="Container"
90+
id="af_tnccontentcontainer"
2691
cssSelector=".cmp-adaptiveform-termsandcondition__content-container"
27-
longTitle="Terms And Conditions Content"
92+
longTitle="Terms And Conditions Content Container"
2893
propertySheet="/mnt/overlay/fd/af/components/stylePropertySheet/common">
94+
<items jcr:primaryType="nt:unstructured">
95+
<tncContent
96+
jcr:primaryType="nt:unstructured"
97+
jcr:title="Content"
98+
id="af_tnccontent"
99+
cssSelector=".cmp-adaptiveform-termsandcondition__content"
100+
longTitle="Terms And Conditions Content"
101+
propertySheet="/mnt/overlay/fd/af/components/stylePropertySheet/common">
102+
<states jcr:primaryType="nt:unstructured">
103+
<hover
104+
jcr:primaryType="nt:unstructured"
105+
jcr:title="Hover"
106+
cssSelector=".cmp-adaptiveform-termsandcondition__content:hover"/>
107+
<focus
108+
jcr:primaryType="nt:unstructured"
109+
jcr:title="Hover"
110+
cssSelector=".cmp-adaptiveform-termsandcondition__content:focus"/>
111+
</states>
112+
</tncContent>
113+
</items>
29114
<states jcr:primaryType="nt:unstructured">
30115
<hover
31116
jcr:primaryType="nt:unstructured"
32117
jcr:title="Hover"
33118
cssSelector=".cmp-adaptiveform-termsandcondition__content-container:hover"/>
34119
</states>
35-
</tncContent>
120+
</tncContentContainer>
36121
<tncConsentArea
37122
jcr:primaryType="nt:unstructured"
38123
jcr:title="Consent Area"
39124
id="af_tncconsentarea"
40-
cssSelector=".cmp-adaptiveform-termsandcondition__approvalcheckbox .cmp-adaptiveform-checkbox__widget-container"
125+
cssSelector=".cmp-adaptiveform-termsandcondition__approvalcheckbox"
41126
longTitle="Terms And Conditions Consent Area"
42127
propertySheet="/mnt/overlay/fd/af/components/stylePropertySheet/common">
43128
<items jcr:primaryType="nt:unstructured">
@@ -90,7 +175,36 @@
90175
</states>
91176
</tncCheckBoxLabel>
92177
</items>
178+
<states
179+
jcr:primaryType="nt:unstructured"
180+
sling:hideResource="{Boolean}true"/>
93181
</tncConsentArea>
182+
<tncDescriptionShort
183+
jcr:primaryType="nt:unstructured"
184+
jcr:title="Short Description"
185+
id="af_tncdescriptionshort"
186+
cssSelector=".cmp-adaptiveform-termsandcondition__shortdescription"
187+
longTitle="Terms And Conditions Short Description"
188+
propertySheet="/mnt/overlay/fd/af/components/stylePropertySheet/common">
189+
</tncDescriptionShort>
190+
<tncDescriptionLong
191+
jcr:primaryType="nt:unstructured"
192+
jcr:title="Long Description"
193+
id="af_tncdescriptionlong"
194+
cssSelector=".cmp-adaptiveform-termsandcondition__longdescription"
195+
longTitle="Terms And Conditions Long Description"
196+
propertySheet="/mnt/overlay/fd/af/components/stylePropertySheet/common">
197+
<states jcr:primaryType="nt:unstructured">
198+
<focus
199+
jcr:primaryType="nt:unstructured"
200+
jcr:title="Focus"
201+
cssSelector=".cmp-adaptiveform-termsandcondition__longdescription:focus"/>
202+
<hover
203+
jcr:primaryType="nt:unstructured"
204+
jcr:title="Hover"
205+
cssSelector=".cmp-adaptiveform-termsandcondition__longdescription:hover"/>
206+
</states>
207+
</tncDescriptionLong>
94208
</items>
95209
<states
96210
jcr:primaryType="nt:unstructured"

0 commit comments

Comments
 (0)