"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
    return cooked;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var styled_components_1 = __importDefault(require("styled-components"));
var styleConstants_1 = require("../styleConstants");
var constants_1 = require("./constants");
exports.VoteTypeSummaryContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n  box-shadow: inset 0 1px 0 0 ", ";\n  font-size: 14px;\n  line-height: 17px;\n  padding: 14px 0 10px;\n"], ["\n  box-shadow: inset 0 1px 0 0 ", ";\n  font-size: 14px;\n  line-height: 17px;\n  padding: 14px 0 10px;\n"])), styleConstants_1.colors.accent.CIVIL_GRAY_4);
exports.VoteTypeSummary = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n  display: flex;\n  color: ", ";\n"], ["\n  display: flex;\n  color: ", ";\n"])), styleConstants_1.colors.accent.CIVIL_GRAY_0);
exports.BreakdownBarContainer = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n  display: flex;\n  width: 75%;\n"], ["\n  display: flex;\n  width: 75%;\n"])));
exports.BreakdownBarPercentageLabel = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n  font-weight: bold;\n  width: 60px;\n"], ["\n  font-weight: bold;\n  width: 60px;\n"])));
exports.BreakdownBarTotalContainer = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n  margin-top: 4px;\n  width: 100%;\n"], ["\n  margin-top: 4px;\n  width: 100%;\n"])));
exports.BreakdownBarTotal = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n  background-color: ", ";\n  box-sizing: border-box;\n  height: 8px;\n  position: relative;\n  width: 100%;\n"], ["\n  background-color: ", ";\n  box-sizing: border-box;\n  height: 8px;\n  position: relative;\n  width: 100%;\n"])), styleConstants_1.colors.accent.CIVIL_GRAY_4);
exports.BreakdownBarPercentage = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n  display: inline-block;\n  background-color: ", ";\n  height: 8px;\n  left: 0;\n  top: 0;\n  position: absolute;\n  transition: width 500ms ease;\n  width: ", "%;\n"], ["\n  display: inline-block;\n  background-color: ", ";\n  height: 8px;\n  left: 0;\n  top: 0;\n  position: absolute;\n  transition: width 500ms ease;\n  width: ", "%;\n"])), function (props) { return props.color; }, function (props) { return props.percentage; });
exports.VotesPerTokenContainer = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n  display: flex;\n  white-space: nowrap;\n  width: 25%;\n"], ["\n  display: flex;\n  white-space: nowrap;\n  width: 25%;\n"])));
exports.TotalVotesLabelContainer = styled_components_1.default.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n  display: flex;\n  white-space: nowrap;\n  width: 39%;\n"], ["\n  display: flex;\n  white-space: nowrap;\n  width: 39%;\n"])));
exports.VotesPerTokenVote = styled_components_1.default.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n  font-weight: bold;\n  width: 95px;\n\n  & > span {\n    color: ", ";\n    margin-right: 4px;\n  ]\n"], ["\n  font-weight: bold;\n  width: 95px;\n\n  & > span {\n    color: ",
    ";\n    margin-right: 4px;\n  ]\n"])), function (props) {
    return props.vote === constants_1.CHALLENGE_RESULTS_VOTE_TYPES.REMAIN || props.vote === constants_1.CHALLENGE_RESULTS_VOTE_TYPES.UPHOLD
        ? styleConstants_1.colors.accent.CIVIL_TEAL
        : styleConstants_1.colors.accent.CIVIL_RED;
});
exports.VotesPerTokenTotal = styled_components_1.default(exports.VotesPerTokenVote)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n  color: ", ";\n  text-transform: uppercase;\n  width: 95px;\n"], ["\n  color: ", ";\n  text-transform: uppercase;\n  width: 95px;\n"])), styleConstants_1.colors.accent.CIVIL_GRAY_3);
exports.VotesPerTokenCount = styled_components_1.default.div(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n  color: ", ";\n  font-size: 12px;\n  line-height: 15px;\n  margin: 6px 0 0;\n"], ["\n  color: ", ";\n  font-size: 12px;\n  line-height: 15px;\n  margin: 6px 0 0;\n"])), styleConstants_1.colors.primary.BLACK);
exports.TotalVotesCount = styled_components_1.default.div(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n  color: ", ";\n"], ["\n  color: ", ";\n"])), styleConstants_1.colors.primary.BLACK);
exports.StyledExplainerText = styled_components_1.default.p(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n  color: ", ";\n  font-size: 14px;\n  line-height: 20px;\n"], ["\n  color: ", ";\n  font-size: 14px;\n  line-height: 20px;\n"])), styleConstants_1.colors.primary.CIVIL_GRAY_1);
// User Voting Summary
exports.UserVotingSummaryContainer = styled_components_1.default.div(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n  display: flex;\n"], ["\n  display: flex;\n"])));
exports.UserVotingSummaryColumn = styled_components_1.default.div(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n  color: ", ";\n  width: 50%;\n"], ["\n  color: ", ";\n  width: 50%;\n"])), styleConstants_1.colors.accent.CIVIL_GRAY_0);
exports.UserVotingSummaryColHeader = styled_components_1.default.div(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n  color: ", ";\n  font-size: 12px\n  font-weight: 800;\n  letter-spacing: 0.93px;\n  line-height: 15px;\n  margin: 0 0 10px;\n  text-transform: uppercase;\n"], ["\n  color: ", ";\n  font-size: 12px\n  font-weight: 800;\n  letter-spacing: 0.93px;\n  line-height: 15px;\n  margin: 0 0 10px;\n  text-transform: uppercase;\n"])), styleConstants_1.colors.primary.CIVIL_GRAY_1);
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17;
//# sourceMappingURL=styledComponents.js.map