UNPKG

@instructure/quiz-interactions

Version:

A React UI component Library for quiz interaction types.

40 lines (39 loc) 1.33 kB
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); var generateStyle = function generateStyle(componentTheme) { var printMq = '@media print'; return { fileDropContent: { display: 'flex', justifyContent: 'center', alignItems: 'center', padding: "".concat(componentTheme.fileDropContentPadding, " 0"), backgroundColor: componentTheme.fileDropContentBackgroundColor }, fileDropContentIcon: { display: 'flex', fontSize: componentTheme.fileDropContentIconFontSize }, fileDropContentLabel: { paddingLeft: componentTheme.fileDropContentLabelPadding, display: 'flex', fontFamily: componentTheme.fileDropContentFontFamily }, fileDropContentLabelBrowse: { paddingLeft: componentTheme.fileDropContentLabelBrowsePadding, color: componentTheme.fileDropContentLabelBrowseColor, textDecoration: 'underline' }, printOnly: (0, _defineProperty2["default"])({ display: 'none' }, printMq, { display: 'block' }) }; }; var _default = exports["default"] = generateStyle;