UNPKG

@tomino/dynamic-form-semantic-ui

Version:

Semantic UI form renderer based on dynamic form generation

96 lines (89 loc) 1.98 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const common_1 = require("../common"); exports.addButton = (theme) => common_1.css ` border: 0px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; height: 25px; width: 25px; background: ${theme.buttonBackground}; color: ${theme.inputColor}; label: addButton; `; exports.controlMargin = common_1.css ` padding: 0px 6px; width: 100% !important; `; exports.styledTableRow = (theme) => common_1.css ` display: flex; align-items: center; height: 27px; margin-bottom: 4px; input { border: 0px !important; color: ${theme.inputColor} !important; background-color: ${theme.inputBackground} !important; border-left: solid 1px ${theme.borderColor} !important; padding-left: 6px; } `; exports.celled = (theme) => common_1.css ` > div { border: 1px solid ${theme.borderColor}; border-radius: 3px; } label: celled; `; exports.tableRowWithDelete = common_1.css ` display: flex; align-items: center; height: 26px; border: solid 1px #ccc; margin-top: -1px; > .only { flex: 1 1 100%; width: 100%; } > .first { flex: 1 1 40%; width: 100%; } > .second { flex: 1 1 calc(60% - 20px); width: 100%; border-left: 1px solid #ccc !important; min-width: 20px; } > button { border: 0px !important; border-left: 1px solid #ccc !important; background-color: #eee !important; flex: 1 1 20px; height: 24px !important; } button { height: 24px; } `; exports.tableRowFull = common_1.css ` flex: 1 1 100%; border-right: solid 1px #111; > * { width: 100%; } `; exports.tableRowAuto = common_1.css ` flex: 1 1 auto; `; exports.tableRowFlex = common_1.css ` flex: 1; `; exports.tableHeader = common_1.css ` font-weight: bold; font-style: italic; color: #666; margin-bottom: 6px; margin-top: 6px; `; //# sourceMappingURL=properties_styles.js.map