12.07.2015 Views

systematic-css

systematic-css

systematic-css

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Modifiers can also be used to target specific instances of an element within a widget structure..Dialog p {padding: 0.5rem 1rem;}.Dialog p.dialog-header {border-bottom: 1px solid hsl(0, 0%, 60%);font-weight: bold;}Usage:Alert!{Alert message...}OK>These techniques are covered in greater detail in the next chapter.Nested widgetsBig, complex widgets like popup dialogs can still be pretty tricky to manage. One solution is tobreak them up into lots of smaller widgets.Consider the following (simplified) example. A widget called "Dialog" is composed fromthree other sub-widgets: "DialogHeader", "DialogBody" and "DialogFooter".Popup titlePopup messageWidgets 50

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!