@web-atoms/core
Version:
53 lines (52 loc) • 1.78 kB
JavaScript
System.register(["../../core/Colors", "./AtomWindowStyle"], function (_export, _context) {
"use strict";
var Colors, AtomWindowStyle, AtomAlertWindowStyle;
_export("default", void 0);
return {
setters: [function (_coreColors) {
Colors = _coreColors.default;
}, function (_AtomWindowStyle) {
AtomWindowStyle = _AtomWindowStyle.AtomWindowStyle;
}],
execute: function () {
_export("default", AtomAlertWindowStyle = class AtomAlertWindowStyle extends AtomWindowStyle {
get titleHost() {
return Object.assign(Object.assign({}, this.getBaseProperty(AtomAlertWindowStyle, "titleHost")), {
color: Colors.black,
backgroundColor: Colors.white
});
}
get contentPresenter() {
return Object.assign(Object.assign({}, this.getBaseProperty(AtomAlertWindowStyle, "contentPresenter")), {
padding: "0px 10px 30px 10px",
textAlign: "center",
color: Colors.rgba(51, 51, 51)
});
}
get commandBar() {
return Object.assign(Object.assign({}, this.getBaseProperty(AtomAlertWindowStyle, "commandBar")), {
textAlign: "center",
subclasses: {
" button": this.buttonStyle,
" .yes-button": {
backgroundColor: Colors.rgba(0, 128, 0)
},
" .no-button": {
backgroundColor: Colors.rgba(255, 0, 0)
}
}
});
}
get buttonStyle() {
return {
border: "none",
color: Colors.white,
width: "50%",
height: "40px"
};
}
});
}
};
});
//# sourceMappingURL=AtomAlertWindowStyle.js.map