awsmug/torro-forms

View on GitHub
assets/dist/css/template-tag-fields.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)
 */
.template-tag-list-wrap {
    position: relative;
    display: inline;
}

.wp-editor-wrap .wp-editor-tools .template-tag-list-wrap {
    display: block;
    float: left;
}

.template-tag-list {
    position: absolute;
    left: 0;
    z-index: 1000;
    display: block;
    width: 200px;
    max-height: 250px;
    min-height: 100px;
    margin: 0;
    overflow-y: scroll;
    font-size: 11px;
    line-height: 20px;
    background-color: #fff;
    border: 1px solid #e3e3e3;
}

.template-tag-list-toggle[aria-expanded="false"] + .template-tag-list {
    display: none;
}

.template-tag-list ul,
.template-tag-list li,
.template-tag-list span,
.template-tag-list button {
    display: block;
    margin: 0;
}

.template-tag-list .template-tag-list-group > span {
    padding: 8px 12px;
    background-color: #e3e3e3;
}

.template-tag-list .template-tag-button {
    width: 100%;
    padding: 4px 12px;
    text-align: left;
    -webkit-appearance: none;
            appearance: none;
    background-color: #fff;
    border: 0;
    border-bottom: 1px solid #e3e3e3;
}

.template-tag-list .template-tag-button:hover,
.template-tag-list .template-tag-button:focus {
    color: #fff;
    background-color: #0073aa;
}

.template-tag-list .template-tag:last-child .template-tag-button {
    border-bottom: 0;
}