suomifi-ui-components
Version:
Suomi.fi UI component library
12 lines (9 loc) • 1.08 kB
JavaScript
import { __makeTemplateObject } from 'tslib';
import { css } from 'styled-components';
import { font } from '../../../../theme/reset/index.js';
var baseStyles = function baseStyles(theme) {
return css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n padding: ", ";\n\n &:focus {\n outline: none;\n }\n & .fi-select-empty-item_content_wrapper {\n display: inline-block;\n width: 100%;\n }\n\n &.loading {\n & .fi-select-empty-item_content_wrapper {\n display: block; /* Fixes \"extra padding\" issue with loading spinner */\n }\n }\n"], ["\n ", "\n padding: ", ";\n\n &:focus {\n outline: none;\n }\n & .fi-select-empty-item_content_wrapper {\n display: inline-block;\n width: 100%;\n }\n\n &.loading {\n & .fi-select-empty-item_content_wrapper {\n display: block; /* Fixes \"extra padding\" issue with loading spinner */\n }\n }\n"])), font(theme)('actionElementInnerText'), theme.spacing.insetL);
};
var templateObject_1;
export { baseStyles };
//# sourceMappingURL=SelectEmptyItem.baseStyles.js.map