setPopupStyle method
Implementation
void setPopupStyle(Element dia, int width) {
dia.style
// ..background = "linear-gradient(to bottom, #EEEEEE, white)"
..backgroundColor = DiaAttr.attr[DiaAttr.POPUP_BACKGROUND]
// ..background = attr[DiaAttr.POPUP_BACKGROUND]
// ..color = "$dialog_text_color"
..textAlign = "center"
..padding =
"0.3em" // ths will make some room to click into to close the popup (alos needed to make round corners visible)
..margin = "1em auto"
..border = "0" //"1px solid rgba(0, 100, 0, 0.3);"//"0"
..borderTop = "1px solid ${DiaAttr.attr[DiaAttr.DIALOG_TOPBAR_COLOR]}"
..borderRadius = "8px"
..boxShadow =
"0 6px 10px rgba(0, 0, 0, 0.4)" //"0 6px 12px $dialog_border_color" // 0 3px 7px rgba(0, 0, 0, 0.3);
..fontSize = "${DiaAttr.attr[DiaAttr.DIALOG_POPUP_FONTSIZE2]}px"
..lineHeight = "110%"
..opacity = DiaAttr.attr[DiaAttr.DIALOG_WIN_OPACITY]
..zIndex = "${DiaAttr.ZINDEX_POPUP}"
// ..filter = "alpha(opacity=60)";
;
}