@arche-mc2/arche-controls
Version:
We know that there are a ton of react UI library projects to choose from. Our hope with this one is to provide the next generation of react components that you can use to bootstrap your next project, or as a reference for building a UIKit. Read on to get
46 lines • 1.94 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var typestyle_1 = require("typestyle");
var device_1 = require("../../../Common/utils/device");
var animations_1 = require("../../../Common/theming/animations");
var utils_1 = require("../../../Common/theming/utils");
exports.AutoSizedComponent = {
padding: utils_1.toRem(6),
fontSize: utils_1.toRem(11),
width: 'auto',
};
exports.BulleStyle = function (props) { return typestyle_1.style({
position: 'relative',
fontSize: utils_1.toRem(12),
cursor: 'pointer',
borderRadius: utils_1.toRem(4),
boxShadow: '0 4px 8px 0 rgba(0, 0, 0, 0.2)',
padding: utils_1.toRem(12) + " " + utils_1.toRem(16),
opacity: 1,
}, typestyle_1.media(device_1.DeviceSmartphones, exports.AutoSizedComponent), typestyle_1.media(device_1.DeviceSmallSmartphones, exports.AutoSizedComponent)); };
exports.IconStyle = typestyle_1.style({
color: '#ffff',
});
var IconifiedValue = {
position: 'absolute',
fontSize: utils_1.toRem(10),
top: utils_1.toRem(3),
left: utils_1.toRem(20),
};
var HiddenMessage = {
display: 'none',
opacity: 0,
};
exports.ValueStyle = typestyle_1.style({
marginLeft: utils_1.toRem(12),
color: '#ffff',
fontSize: utils_1.toRem(24),
fontWeight: 500,
}, typestyle_1.media(device_1.DeviceSmartphones, IconifiedValue), typestyle_1.media(device_1.DeviceSmallSmartphones, IconifiedValue));
exports.MessageStyle = typestyle_1.style(tslib_1.__assign({ margin: "0 0 0 " + utils_1.toRem(12), color: '#ffff', opacity: 1 }, (animations_1.fadeInAnimation(2))), typestyle_1.media(device_1.DeviceSmartphones, HiddenMessage), typestyle_1.media(device_1.DeviceSmallSmartphones, HiddenMessage));
exports.ChildrenStyle = typestyle_1.style({
margin: utils_1.toRem(5),
color: '#ffff',
});
//# sourceMappingURL=styles.js.map