123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525 |
- /**
- * Form elements.
- */
- form {
- margin: 0;
- padding: 0;
- }
- fieldset:not(.fieldgroup) {
- display: flex;
- background-color: #f5f5f5;
- border: none;
- margin: 0 0 20px 0;
- padding: 55px 20px 20px 20px;
- min-width: fit-content;
- position: relative;
- }
- fieldset:not(.fieldgroup) .form-type-checkbox {
- margin-bottom: 10px;
- }
- fieldset:not(.fieldgroup) fieldset:not(.fieldgroup) {
- padding-left: 0;
- padding-right: 0;
- }
- fieldset:not(.fieldgroup) .fieldset-wrapper {
- width: 100%;
- }
- /**
- * We've temporarily added this Firefox specific rule here to fix fieldset
- * widths.
- * @todo remove once this Mozilla bug is fixed.
- * See https://bugzilla.mozilla.org/show_bug.cgi?id=504622
- */
- @-moz-document url-prefix() {
- fieldset:not(.fieldgroup) {
- display: table-cell;
- box-sizing: border-box;
- }
- }
- fieldset:not(.fieldgroup)>legend {
- font-size: 14px;
- color: #0678be;
- font-weight: 700;
- position: absolute;
- text-transform: uppercase;
- top: 15px;
- }
- .fieldgroup {
- min-width: 0;
- }
- /**
- * We've temporarily added this Firefox specific rule here to fix fieldset
- * widths.
- * @todo remove once this Mozilla bug is fixed.
- * See https://bugzilla.mozilla.org/show_bug.cgi?id=504622
- */
- @-moz-document url-prefix() {
- .fieldgroup {
- display: table-cell;
- box-sizing: border-box;
- }
- }
- .form-item {
- margin: 0 0 20px 0;
- max-width: 100%;
- box-sizing: border-box;
- }
- .form-item>.form-item {
- margin: 0;
- }
- table .form-item {
- margin: 0;
- }
- .form-type-checkbox {
- padding: 0;
- width: auto;
- }
- .form-type-checkbox label {
- font-weight: 400;
- }
- label {
- display: table;
- margin: 0 10px 5px 0;
- padding: 0;
- font-weight: 700;
- }
- label.error {
- color: #a51b00;
- }
- label[for] {
- cursor: pointer;
- }
- .form-actions {
- display: flex;
- flex-direction: column;
- margin-top: 20px;
- }
- .form-wrapper .form-actions {
- display: inline-block;
- }
- .views-form .form-actions,
- .form--inline .form-actions {
- margin: 0 0 0 0;
- position: relative;
- width: auto;
- border: none;
- padding: 0;
- z-index: 1;
- }
- table .form-actions {
- background: transparent;
- border-top: 0;
- }
- @media screen and (min-width: 640px) {
- .form-actions {
- display: inline-flex;
- align-items: center;
- flex-direction: row;
- }
- .form-actions {
- padding: 20px;
- position: fixed;
- left: 0;
- bottom: 0;
- border-top: 1px solid #f5f5f5;
- width: 100%;
- z-index: 999;
- background-color: #fff;
- }
- .form-wrapper .form-actions {
- padding: 10px 0 0 0;
- position: relative;
- background: transparent;
- border-top: 0;
- }
- }
- .confirmation .form-actions {
- display: flex;
- margin-top: 10px;
- }
- .form-item label.option {
- text-transform: none;
- display: inline;
- margin-left: 5px;
- font-weight: 400;
- }
- .form-item label.option input {
- vertical-align: middle;
- }
- .form-disabled label {
- color: #686868;
- }
- .form-disabled input.form-text,
- .form-disabled input.form-tel,
- .form-disabled input.form-email,
- .form-disabled input.form-url,
- .form-disabled input.form-search,
- .form-disabled input.form-number,
- .form-disabled input.form-color,
- .form-disabled input.form-file,
- .form-disabled textarea.form-textarea,
- .form-disabled select.form-select {
- border-color: #d4d4d4;
- background-color: hsla(0, 0%, 0%, 0.08);
- box-shadow: none;
- color: #777;
- width: auto;
- }
- .form-item input.error,
- .form-item textarea.error,
- .form-item select.error {
- border-width: 1px;
- border-color: #e62600;
- background-color: hsla(15, 75%, 97%, 1);
- color: #a51b00;
- }
- .form-item input[type=checkbox]:checked.error {
- background: #0678be;
- box-shadow: inset 0 0 0 3px #fff;
- }
- .form-item textarea.error+.cke {
- border-width: 1px;
- border-color: #e62600;
- }
- .form-item input.error:focus,
- .form-item textarea.error:focus,
- .form-item select.error:focus {
- border-color: #e62600;
- outline: transparent;
- background-color: #fcf4f2;
- }
- .form-required::after {
- content: '*';
- color: #e32700;
- margin-left: 4px;
- }
- .form-item--error-message {
- margin-top: 0.15em;
- color: #e32700;
- }
- .fieldset-wrapper>.form-item--error-message {
- margin-top: 0;
- }
- .text-format-wrapper .form-item--error-message {
- border: solid #ccc;
- border-width: 0 1px;
- margin: 0;
- padding: 0.25em 0.666em 0;
- }
- /* Filter */
- ul.tips,
- .form-wrapper .description,
- .form-item .description {
- margin: 0;
- color: #333;
- font-size: 12px;
- line-height: 18px;
- padding-top: 5px;
- }
- .form-wrapper td.description {
- padding-top: 20px;
- }
- div.description {
- margin: 0;
- color: #333;
- }
- .form-item .description.error {
- margin-top: 0;
- color: #a51b00;
- }
- .form-item .description ul {
- margin: 0 0 0 20px;
- padding: 0;
- }
- .description .token-dialog {
- margin: 0;
- }
- .token-dialog {
- display: inline-flex;
- margin: 5px 10px 20px 0;
- }
- ul.tips li {
- margin: 0.25em 0 0.25em 1.5em;
- /* LTR */
- }
- [dir="rtl"] ul.tips li {
- margin: 0.25em 1.5em 0.25em 0;
- }
- table .form-type-radio,
- table .form-type-checkbox {
- padding-left: 0;
- }
- .form-type-radio,
- .form-type-checkbox {
- padding-left: 25px;
- }
- [dir="rtl"] .form-type-radio,
- [dir="rtl"] .form-type-checkbox {
- padding-left: 0;
- padding-right: 25px;
- }
- .form-type-checkbox .form-checkbox,
- .form-type-radio .form-radio,
- .form-type-checkbox .dummy-checkbox {
- margin-left: -25px;
- }
- table .form-type-checkbox .form-checkbox,
- table .form-type-radio .form-radio,
- table .form-type-checkbox .dummy-checkbox {
- margin-left: 0;
- }
- .text-summary-wrapper .form-textarea-wrapper {
- display: flex;
- }
- .text-summary {
- width: 100%;
- }
- .form-autocomplete,
- .form-text,
- .form-tel,
- .form-email,
- .form-url,
- .form-search,
- .form-number,
- .form-color,
- .form-file,
- .form-date,
- .form-time,
- .form-textarea,
- .form-select {
- box-sizing: border-box;
- padding: 10px 12px;
- border: 1px solid #d1d1d1;
- color: #333;
- background: #fcfcfa;
- min-height: 44px;
- -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
- transition: border linear 0.2s, box-shadow linear 0.2s;
- appearance: none;
- -webkit-appearance: none;
- -moz-appearance: none;
- border-radius: 0;
- min-width: 240px;
- width: 100%;
- font-size: 14px;
- line-height: 18px;
- }
- .form-select {
- cursor: pointer;
- background: #fcfcfa url(../../images/icons/787878/twistie-down.svg) no-repeat center right 10px;
- background-size: 11px;
- min-width: 280px;
- padding: 9px 28px 9px 12px;
- }
- .form-select[multiple] {
- background-image: none;
- }
- .tabledrag-hide .form-select {
- width: 60px;
- }
- .form-text:focus,
- .form-tel:focus,
- .form-email:focus,
- .form-url:focus,
- .form-search:focus,
- .form-number:focus,
- .form-color:focus,
- .form-file:focus,
- .form-textarea:focus,
- .form-date:focus,
- .form-time:focus,
- .form-select:focus {
- border-color: #40b6ff;
- outline: transparent;
- background-color: #fff;
- }
- .confirm-parent,
- .password-parent {
- overflow: visible;
- width: auto;
- }
- .form-item-options-group-info-identifier,
- .form-item-pass .description {
- clear: both;
- }
- .field-suffix {
- margin: 0;
- line-height: 38px;
- width: 100%;
- padding: 0;
- flex-shrink: 0;
- }
- .field-prefix {
- display: flex;
- align-items: center;
- margin-bottom: 5px;
- }
- .field-prefix span {
- margin: 0 5px;
- }
- .form-item-path {
- display: block;
- }
- .form-item-path label::after {
- content: ':';
- margin-left: 0;
- color: #333;
- }
- .field-weight,
- .menu-weight {
- min-width: 60px;
- width: 60px;
- }
- .field-ui-field-storage-add-form .field-prefix .field-suffix {
- display: none;
- }
- @media screen and (min-width: 640px) {
- .form-select {
- min-width: 280px;
- width: auto;
- }
- }
- @media screen and (max-width: 640px) {
- .form-actions input,
- .form-wrapper input[type="submit"] {
- margin-right: 0;
- width: 100%;
- }
- .form-actions input:first-child,
- .form-wrapper input[type="submit"]:first-child {
- margin-left: 0;
- }
- details summary {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- box-sizing: border-box;
- }
- .password-strength {
- width: 100%;
- }
- .form-item .password-suggestions {
- float: none;
- }
- #dblog-filter-form .form-actions {
- float: none;
- padding: 0;
- }
- #edit-cancel {
- display: block;
- margin: 10px 0 0 0;
- }
- }
- /* Exceptions */
- #diff-inline-form select,
- div.filter-options select {
- padding: 0;
- }
- abbr.tabledrag-changed {
- border-bottom: none;
- text-decoration: none;
- margin: 0 2px;
- }
- .form-item-config-name {
- position: relative;
- }
- .form-item-config-name .ajax-progress {
- position: absolute;
- top: 15px;
- left: 300px;
- }
- /* confirmation form */
- .confirmation .item-list ul {
- margin-left: 0;
- padding-left: 20px;
- }
- /* uninastll form */
- .system-modules-uninstall table thead tr th:nth-child(2) {
- width: 20%;
- }
- /* In case the entity browser has it's own buttons */
- form.entity-browser-form {
- margin-bottom: 81px;
- }
|