assets/dist/css/admin-form-builder.css
/*!
* 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)
*/
/* ----------------------------------------------------------------------------
1.0 - Torro Form Canvas
---------------------------------------------------------------------------- */
.torro-form-canvas {
margin-top: 15px;
margin-bottom: 15px;
}
.torro-form-canvas-header,
.torro-form-canvas-content,
.torro-form-canvas-footer {
padding: 12px;
margin: 0;
background-color: #fff;
border-color: #e5e5e5;
border-style: solid;
}
.torro-form-canvas-header {
padding: 0;
font-size: 13px;
font-weight: 600;
line-height: 1.4;
border-width: 1px;
}
.torro-form-canvas-content {
background-color: #fafafa;
border-width: 1px;
}
.torro-form-canvas-footer,
.torro-form-canvas-header + .torro-form-canvas-content {
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
border-top-width: 0;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
}
/* ----------------------------------------------------------------------------
2.0 - Torro Form Canvas Tabs
---------------------------------------------------------------------------- */
.torro-form-canvas-header.torro-form-canvas-tabs {
display: block;
font-size: 13px;
line-height: 1.1;
}
.torro-form-canvas-header.torro-form-canvas-tabs:after {
display: table;
clear: both;
content: "";
}
.torro-form-canvas-header.torro-form-canvas-tabs .torro-form-canvas-tab {
display: block;
float: left;
height: 38px;
padding: 0 12px;
padding: 5px 12px;
margin-left: 0;
color: #000;
font-weight: 400;
text-decoration: none;
-webkit-appearance: none;
background-color: transparent;
border: none;
border-bottom: 3px solid transparent;
cursor: pointer;
}
.torro-form-canvas-header.torro-form-canvas-tabs .torro-form-canvas-tab[aria-selected="true"] {
font-weight: 600;
border-bottom-color: #00a0d2;
}
.torro-form-canvas-header.torro-form-canvas-tabs .torro-form-canvas-tab.add-button.is-active {
font-weight: 600;
border-bottom-color: #00a0d2;
}
.torro-form-canvas-header.torro-form-canvas-tabs .torro-form-canvas-tab[disabled] {
color: #b4b9be;
cursor: not-allowed;
}
.torro-form-canvas-panel[aria-hidden="true"] {
position: absolute !important;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
}
/* ----------------------------------------------------------------------------
3.0 - Drag & Drop Area
---------------------------------------------------------------------------- */
.drag-drop-area {
position: relative;
}
.drag-drop-area .add-element-content {
display: none;
}
.drag-drop-area.is-empty {
min-height: 150px;
border: 4px dashed #b4b9be;
}
.drag-drop-area.is-empty > div {
position: absolute;
top: 50%;
left: 50%;
width: 80%;
font-size: 1.3em;
line-height: 1.4em;
transform: translate(-50%, -50%);
}
.drag-drop-area.is-empty > div.content {
text-align: center;
}
.drag-drop-area.is-empty > div.loader-content {
font-style: italic;
}
.drag-drop-area.is-empty .add-element-content {
display: block;
}
.drag-drop-area.is-empty .spinner {
float: none;
height: 1.4em;
margin: 0 10px;
}
/* ----------------------------------------------------------------------------
4.0 - Containers
---------------------------------------------------------------------------- */
.add-element-toggle-wrap .add-element-toggle {
width: 100%;
height: auto;
padding: 8px;
color: #000;
}
.add-element-content-wrap {
display: none;
padding: 1em;
}
.add-element-content-wrap.is-expanded {
display: block;
}
.torro-element-types {
align-items: stretch;
flex-wrap: wrap;
justify-content: flex-start;
display: flex;
padding: 1em 0.5em;
margin: 0;
overflow: hidden;
clear: both;
}
.torro-element-type {
flex-basis: 350px;
display: block;
margin: 0 0.5em 1em;
background-color: #fff;
border: 1px solid #e5e5e5;
cursor: pointer;
}
.torro-element-type .torro-element-type-header,
.torro-element-type .torro-element-type-content {
padding: 3px 6px;
}
.torro-element-type .torro-element-type-header {
overflow: hidden;
clear: both;
}
.torro-element-type .torro-element-type-header .torro-element-type-header-icon {
display: block;
float: left;
width: 24px;
height: 24px;
color: #00a0d2;
}
.torro-element-type .torro-element-type-header .torro-element-type-header-title {
display: block;
float: left;
margin: 0 15px;
overflow: hidden;
line-height: 24px;
}
.torro-element-type .torro-element-type-header-title {
font-weight: 600;
text-overflow: ellipsis;
white-space: nowrap;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.torro-element-type .torro-element-type-content {
min-height: 50px;
border-top: 1px solid #e5e5e5;
}
.torro-element-type .torro-element-type-content p {
margin: 0;
}
.torro-element-type:hover,
.torro-element-type:focus {
background-color: #eee;
}
.torro-element-type.is-selected {
border: 2px solid #00a0d2;
cursor: default;
}
/* ----------------------------------------------------------------------------
5.0 - Elements
---------------------------------------------------------------------------- */
.torro-element {
margin-bottom: 1em;
background-color: #fff;
border: 1px solid #e5e5e5;
}
.torro-element .form-table th {
padding: 0 0 12px 0;
font-weight: normal;
}
.torro-element .form-table td {
padding: 0 0 12px 0;
}
.torro-element-header,
.torro-element-content-footer {
padding: 6px 12px;
}
.torro-element-header {
overflow: hidden;
clear: both;
font-size: 13px;
}
.torro-element-header.ui-sortable-handle {
cursor: move;
}
.torro-element-header .torro-element-header-icon {
display: block;
float: left;
width: 24px;
height: 24px;
margin: 4px;
color: #00a0d2;
}
.torro-element-header .torro-element-header-title {
display: block;
float: left;
margin: 0 15px;
overflow: hidden;
font-weight: bold;
line-height: 32px;
}
.torro-element-header .torro-element-expand-button {
display: block;
}
.torro-element-header-title {
text-overflow: ellipsis;
white-space: nowrap;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.torro-element-expand-button {
padding: 0;
margin: 0;
color: #555d66;
-webkit-appearance: none;
appearance: none;
background: transparent;
border: 0;
cursor: pointer;
}
.torro-element-expand-button .torro-element-expand-button-icon:before {
position: relative;
display: block;
padding: 0;
content: "\f140";
font: 400 20px/1 dashicons;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
line-height: 32px;
text-align: center;
text-decoration: none !important;
text-indent: 0;
background: 0 0;
border: none;
speak: none;
}
.torro-element-expand-button:hover,
.torro-element-expand-button:focus {
color: #444;
}
.torro-element-expand-button[aria-expanded="true"] .torro-element-expand-button-icon:before {
content: "\f142";
}
.torro-element-header .torro-element-expand-button {
float: right;
}
.torro-element-content {
display: none;
}
.torro-element-content.is-expanded {
display: block;
}
.torro-element-content-main,
.torro-element-content-footer {
border-top: 1px solid #e5e5e5;
}
.torro-element-content-tabs {
display: block;
font-size: 13x;
line-height: 1.1;
}
.torro-element-content-tabs:after {
display: table;
clear: both;
content: "";
}
.torro-element-content-tabs .torro-element-content-tab {
display: block;
float: left;
height: 38px;
padding: 0 12px;
padding: 5px 12px;
margin-left: 0;
color: #000;
font-weight: 400;
text-decoration: none;
-webkit-appearance: none;
background-color: transparent;
border: none;
border-bottom: 3px solid transparent;
cursor: pointer;
}
.torro-element-content-tabs .torro-element-content-tab:focus {
outline: 0;
}
.torro-element-content-tabs .torro-element-content-tab[aria-selected="true"] {
font-weight: 600;
border-bottom-color: #00a0d2;
}
.torro-element-content-panel {
padding: 10px 12px;
border-top: 1px solid #e5e5e5;
}
.torro-element-content-panel[aria-hidden="true"] {
position: absolute !important;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
}
.torro-element-placeholder {
display: block;
height: 44px;
margin-bottom: 1em;
}
.plugin-lib-repeatable-torrochoices-wrap .plugin-lib-repeatable-item {
margin-bottom: 0.8em;
}
.torro-element-choice-move {
display: inline-block;
}
.torro-element-choice-move.ui-sortable-handle {
cursor: move;
}
.torro-element-choice-placeholder {
display: block;
height: 28px;
margin-bottom: 0.8em;
}
/* ----------------------------------------------------------------------------
6.0 - General Notice
---------------------------------------------------------------------------- */
.torro-notice {
padding: 1px 12px;
background-color: #fff;
-webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
border-left-style: solid;
border-left-width: 4px;
}
.torro-notice ul {
padding-left: 20px;
list-style: disc;
}
/* ----------------------------------------------------------------------------
7.0 - Dialogs
---------------------------------------------------------------------------- */
.torro-dialog {
z-index: 9999;
width: 300px;
text-align: center;
background-color: #fff;
-webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
border: 1px solid #ccc;
}
.torro-dialog .ui-dialog-titlebar {
display: none;
}
.torro-dialog .ui-dialog-content {
padding: 10px;
font-size: 13px;
}
.torro-dialog .ui-button {
width: 40%;
margin: 0 10px 10px 10px;
background-color: #fff;
border: 1px solid #ccc;
}
/* ----------------------------------------------------------------------------
8.0 - Torro Metabox Tabs
---------------------------------------------------------------------------- */
.torro-metabox-tab-wrapper {
display: block;
margin: -6px -12px 1em;
font-size: 13px;
line-height: 1.1;
border-bottom: 1px solid #e5e5e5;
}
.torro-metabox-tab-wrapper:not(.wp-clearfix):after {
display: table;
clear: both;
content: "";
}
.torro-metabox-tab {
display: block;
float: left;
height: 40px;
padding: 0 12px;
margin-left: 0;
color: #000;
font-weight: 400;
line-height: 40px;
text-decoration: none;
border-bottom: 3px solid transparent;
cursor: pointer;
}
.torro-metabox-tab[aria-selected="true"] {
font-weight: 600;
border-bottom-color: #00a0d2;
}
.torro-metabox-tab:hover,
.torro-metabox-tab:focus {
color: #000;
}
.torro-metabox-tab:focus {
box-shadow: none;
}
.torro-metabox-tab-panel[aria-hidden="true"] {
display: none;
}
.postbox .form-table th {
padding: 0 0 20px 0;
font-size: 13px;
font-weight: normal;
}
@media screen and (min-width: 783px) {
.postbox .form-table th {
width: 30%;
}
}
.postbox .form-table td {
padding: 0 0 20px 0;
font-size: 13px;
}
.postbox .form-table td p.description {
font-size: 13px;
}
/* ----------------------------------------------------------------------------
9.0 - Misc
---------------------------------------------------------------------------- */
.torro-required-indicator {
color: #00a0d2;
font-weight: bold;
}
#minor-publishing-actions #duplicate-action {
padding-top: 1em;
clear: both;
}