awsmug/torro-forms

View on GitHub
assets/dist/css/frontend.css

Summary

Maintainability
Test Coverage
/*!
 * Torro Forms Version 1.0.8 (https://torro-forms.com)
 * Licensed under GNU General Public License v2 (or later) (http://www.gnu.org/licenses/gpl-2.0.html)
 */
.torro-element-wrap {
    margin-bottom: 2em;
}

.torro-element-label {
    margin-bottom: 0.5em;
}

.torro-toggle input[type="radio"] + label,
.torro-toggle input[type="checkbox"] + label {
    display: inline-block;
}

.torro-pager {
    display: block;
    clear: both;
}

.torro-pager .prev,
.torro-pager .next {
    display: inline-block;
}

.torro-pager .prev > button {
    float: left;
}

.torro-pager .next > button {
    float: right;
}

.torro-required-indicator {
    font-weight: bold;
}

.torro-element-wrap input[type="text"][aria-invalid="true"],
.torro-element-wrap input[type="email"][aria-invalid="true"],
.torro-element-wrap input[type="url"][aria-invalid="true"],
.torro-element-wrap input[type="password"][aria-invalid="true"],
.torro-element-wrap input[type="search"][aria-invalid="true"],
.torro-element-wrap input[type="number"][aria-invalid="true"],
.torro-element-wrap input[type="tel"][aria-invalid="true"],
.torro-element-wrap input[type="range"][aria-invalid="true"],
.torro-element-wrap input[type="date"][aria-invalid="true"],
.torro-element-wrap input[type="month"][aria-invalid="true"],
.torro-element-wrap input[type="week"][aria-invalid="true"],
.torro-element-wrap input[type="time"][aria-invalid="true"],
.torro-element-wrap input[type="datetime"][aria-invalid="true"],
.torro-element-wrap input[type="datetime-local"][aria-invalid="true"],
.torro-element-wrap input[type="color"][aria-invalid="true"],
.torro-element-wrap input[type="radio"][aria-invalid="true"],
.torro-element-wrap input[type="checkbox"][aria-invalid="true"],
.torro-element-wrap textarea[aria-invalid="true"],
.torro-element-wrap select[aria-invalid="true"] {
    border-color: #dc3232;
}

.torro-element-errors {
    color: #dc3232;
}

.torro-notice {
    padding: 0.5em 1em;
    margin-bottom: 2em;
    background-color: #fff;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
    border-left: 4px solid #fff;
}

.torro-notice.torro-success-notice {
    background-color: #d4ffd8;
    border-left-color: #46b450;
}

.torro-notice.torro-info-notice {
    background-color: #d1f4ff;
    border-left-color: #00a0d2;
}

.torro-notice.torro-warning-notice {
    background-color: #fff3d2;
    border-left-color: #ffb900;
}

.torro-notice.torro-error-notice {
    background-color: #ffdcdc;
    border-left-color: #dc3232;
}

.torro-notice > p:last-child,
.torro-notice > ul:last-child {
    margin-bottom: 0;
}

.torro-evaluations-results {
    padding: 2em;
    margin: 0 0 2em;
    border: 1px solid #ccc;
}

.torro-evaluations-results .torro-evaluations-subtabs,
.torro-evaluations-results .torro-evaluations-subcontent {
    position: relative;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    display: block;
    min-height: 1px;
    margin: 0;
}

.torro-evaluations-results .torro-evaluations-subtabs {
    border-bottom: 1px solid #eee;
}

.torro-evaluations-results .torro-evaluations-subtab {
    display: inline-block;
    padding: 11px 12px;
}

.torro-evaluations-results .torro-evaluations-subtab[aria-selected="true"] {
    color: #555;
    font-weight: bold;
    text-decoration: none;
}

.torro-evaluations-results .torro-evaluations-subtab-panel[aria-hidden="true"] {
    display: none;
}

#torro-email-wrap {
    display: none;
}