To remove checkbox in imagemap
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 49
- Joined: Mon Mar 28, 2016 3:54 pm
To remove checkbox in imagemap
Post by Raga Mounika »
Hi Team,
I am doing CSS changes for DITA CMS GUI.For image element I have added scale(textfield) and scalefit(checkbox) attributes.For fig I have added pgwide(checkbox) attribute.
Now in imagemap it is showing both the attributes of fig and image. I want to remove pgwide attribute in imagemap.
I have tried the below code but it is not working.
And also the image attribute is not working properly when inserted in topic title.
The scale attribute is in title color whereas scalefit is in black color.I want to change the scalefit(checkbox) label also as title color.
Please help me in solving this issue.
Thank you.
Regards,
Mounika
I am doing CSS changes for DITA CMS GUI.For image element I have added scale(textfield) and scalefit(checkbox) attributes.For fig I have added pgwide(checkbox) attribute.
Now in imagemap it is showing both the attributes of fig and image. I want to remove pgwide attribute in imagemap.
I have tried the below code but it is not working.
Code: Select all
*[class~="ut-d/imagemap"] *[class~="topic/image"]:after {
content: "scale " oxy_textfield(edit, '@scale', width, 2.75em)
oxy_checkbox(edit, "@scalefit",
values, "yes",
uncheckedValues,"no",
labels, "scalefit",
fontInherit, true
);
}
And also the image attribute is not working properly when inserted in topic title.
The scale attribute is in title color whereas scalefit is in black color.I want to change the scalefit(checkbox) label also as title color.
Please help me in solving this issue.
Thank you.
Regards,
Mounika
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: To remove checkbox in imagemap
Post by alex_jitianu »
Hi Mounika,
The "imagemap" element is a specialization of the "fig" element. To ensure that @pgwide form control is not presented for the imagemap, add this CSS rule after the rule that sets form control on the "fig" element:
By default, form controls do not inherit the color (as static content does). Again, the "color" property can help you if you set it to "inherit":
Best regards,
Alex
The "imagemap" element is a specialization of the "fig" element. To ensure that @pgwide form control is not presented for the imagemap, add this CSS rule after the rule that sets form control on the "fig" element:
Code: Select all
*[class~="ut-d/imagemap"]:after {
content:"";
}
Code: Select all
*[class~="topic/image"]:after {
content: "scale " oxy_textfield(edit, '@scale', width, 2.75em)
oxy_checkbox(edit, "@scalefit",
values, "yes",
uncheckedValues,"no",
labels, "scalefit",
color,inherit,
fontInherit, true
);
}
Alex
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service