yamlform.element.states.css in YAML Form 8
States element styles.
File
css/yamlform.element.states.cssView source
- /**
- * @file
- * States element styles.
- */
-
- .yamlform-states-table td {
- white-space: nowrap;
- }
-
- .yamlform-states-table--state {
- border-top: 2px solid #a6a6a6;
- }
-
- .yamlform-states-table--state:first-child {
- border-top: inherit;
- }
-
- .yamlform-states-table--state td select {
- width: inherit;
- max-width: inherit;
- }
-
- .yamlform-states-table--state td:first-child select,
- .yamlform-states-table--condition select,
- .yamlform-states-table--condition input[type="text"] {
- width: 100%;
- max-width: 100%;
- }
-
- .yamlform-states-table .image-button {
- margin: 0;
- }
-
- .yamlform-states-table th:last-child,
- .yamlform-states-table td:last-child {
- padding: 0 2px;
- vertical-align: middle;
- text-align: center !important;
- width: 60px !important;
- }
-
- .yamlform-states-table td:last-child input {
- margin: 0 2px;
- }
-
- .yamlform-states-table td:last-child input {
- opacity: 0.4;
- }
-
- .yamlform-states-table td:last-child input:hover,
- .yamlform-states-table td:last-child input:focus,
- .yamlform-states-table td:last-child input:active {
- opacity: 1;
- background: none;
- }
-
- /**
- * Hide AJAX throbber.
- */
- .form-type-yamlform-element-states .ajax-progress-throbber {
- display: none;
- }
-
- /**
- * Suppress table drag warnings.
- */
- .yamlform-states-table .tabledrag-changed-warning,
- .yamlform-states-table .tabledrag-changed {
- display: none !important;
- }