You are here

form.css in AT Tools 8

@charset "UTF-8";
/**
 * Form Base
 * Set base styles for form elements.
 ============================================================================ */
input,
select,
button,
textarea {
  font-size: 16px;
  font-size: 1rem;
  line-height: 21px;
  line-height: 1.3125rem;
}

textarea,
select,
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"] {
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 2px;
  border: 1px solid;
  transition: all, 225ms, ease-in-out;
}
textarea:focus,
select:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus {
  outline: 0;
  outline: thin dotted \9;
}
textarea[disabled],
select[disabled],
input[type="date"][disabled],
input[type="datetime"][disabled],
input[type="datetime-local"][disabled],
input[type="email"][disabled],
input[type="month"][disabled],
input[type="number"][disabled],
input[type="password"][disabled],
input[type="search"][disabled],
input[type="tel"][disabled],
input[type="text"][disabled],
input[type="time"][disabled],
input[type="url"][disabled],
input[type="week"][disabled] {
  cursor: not-allowed;
}

input {
  min-width: 13px;
  line-height: 1;
  vertical-align: middle;
  height: 32px;
  height: 2rem;
  padding: 0 7px;
  padding: 0 0.4375rem;
}

input[type="checkbox"], input[type="radio"] {
  display: inline-block;
  position: relative;
  bottom: 1px;
  bottom: 0.0625rem;
  margin-left: 3px;
  margin-left: 0.1875rem;
  width: auto;
  height: auto;
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}

textarea,
button,
.button,
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="submit"],
input[type="tel"],
input[type="text"],
input[type="url"] {
  -webkit-appearance: none;
}

input[type="time"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="month"] {
  background-clip: padding-box;
}

input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-results-button, input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

select {
  height: 32px;
  height: 2rem;
}

textarea {
  padding: 7px;
  padding: 0.4375rem;
}

textarea,
select[size],
select[multiple] {
  height: auto;
}

label {
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  display: block;
}
label.option {
  font-weight: normal;
  display: inline-block;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

details {
  border: 1px solid;
  border-radius: 2px;
  display: block;
  margin: 16px 0;
  margin: 1rem 0;
  max-height: 50px;
  max-height: 3.125rem;
  overflow-y: hidden;
  transition: all 450ms ease-in-out;
}
details:focus {
  outline: none !important;
}
details .details-wrapper {
  transition: all 650ms ease-in-out;
}
.js details:not([open]) .details-wrapper {
  display: block;
  visibility: hidden;
  opacity: 0.1;
}
.js details[open] {
  max-height: 2000px;
}
.js details[open] .details-wrapper {
  opacity: 1;
  visibility: visible;
}

summary {
  cursor: pointer;
  display: block;
  padding: 10px;
  padding: 0.625rem;
  outline: 0;
}

button[disabled],
input[disabled],
select[disabled],
select[disabled] option,
select[disabled] optgroup,
textarea[disabled],
a.button_disabled {
  box-shadow: none;
  opacity: 0.7;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  cursor: default;
}

input:invalid,
button:invalid,
.button:invalid,
select:invalid,
textarea:invalid {
  box-shadow: none;
}

input:focus::-webkit-input-placeholder {
  opacity: 0.2;
}

input:focus:-moz-placeholder {
  opacity: 0.2;
}

input:focus::-moz-placeholder {
  opacity: 0.2;
}

input:focus:-ms-input-placeholder {
  opacity: 0.2;
}

/**
 * Form Component
 *  - common styles for form elements and classes.
 ============================================================================ */
.form-text {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
.form-text[name="subject[0][value]"] {
  width: 50%;
}

@media all and (max-width: 45em) {
  .form-text[name="subject[0][value]"] {
    width: 100%;
  }
}
.form-select {
  min-width: 50%;
}

.form-item,
.form-radios,
.form-checkboxes {
  margin: 0 0 16px;
  margin: 0 0 1rem;
}

.form-type-radio,
.form-type-checkbox {
  margin-left: 6px;
  margin-left: 0.375rem;
}
.form-type-radio .option,
.form-type-checkbox .option {
  padding: 4px 7px 4px 29px;
  padding: 0.25rem 0.4375rem 0.25rem 1.8125rem;
  margin-left: -30px;
  margin-left: -1.875rem;
  min-height: 29px;
  min-height: 1.8125rem;
  min-width: 50%;
  border: 1px solid;
  border-radius: 2px;
}
.form-type-radio .option:focus, .form-type-radio .option:hover,
.form-type-checkbox .option:focus,
.form-type-checkbox .option:hover {
  cursor: pointer;
}

.ui-dialog {
  margin: 6px;
  margin: 0.375rem;
}
.ui-dialog .form-type-radio,
.ui-dialog .form-type-checkbox {
  display: block;
}
.ui-dialog .form-type-radio *,
.ui-dialog .form-type-checkbox * {
  margin: 0;
  padding: 0;
}
.ui-dialog .form-type-radio .option,
.ui-dialog .form-type-checkbox .option {
  padding: 4px;
  padding: 0.25rem;
  min-width: 0;
  border: none;
  border-radius: 0;
}
.ui-dialog .form-type-radio.js-form-item-attributes-data-align {
  float: left;
  margin-right: 12px;
  margin-right: 0.75rem;
}
.ui-dialog .container-inline label:after {
  content: '';
}
.ui-dialog .form-file {
  padding: 7px 0;
  padding: 0.4375rem 0;
}

.form-actions {
  margin: 16px 0;
  margin: 1rem 0;
}

.field-type-text-long textarea {
  border-radius: 2px 2px 0 0;
}

.form-textarea-wrapper textarea {
  display: block;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

.text-format-wrapper .text-full {
  width: 100%;
}

.filter-wrapper {
  border: 1px solid;
  border-top: 0;
}

.tips {
  padding-left: 0;
}
.tips li {
  list-style: none;
}

.description {
  font-size: 11px;
  font-size: 0.6875rem;
  line-height: 15px;
  line-height: 0.9375rem;
}

h4.label,
.form-composite > legend {
  font-size: inherit;
  font-weight: 600;
  margin: 0;
  padding: 0;
}

.form-required:after {
  content: " \204E ";
  line-height: 1;
  vertical-align: super;
}

abbr.form-required, abbr.tabledrag-changed, abbr.ajax-changed {
  border-bottom: none;
}

.form-item input.error,
.form-item textarea.error,
.form-item select.error {
  border: 1px solid;
}

.container-inline {
  display: inline-block;
}
.container-inline label:after {
  content: ':';
}
.container-inline .form-actions, .container-inline.form-actions {
  margin-top: 0;
  margin-bottom: 0;
}

.form-type-radios .container-inline label:after {
  content: none;
}
.form-type-radios .container-inline .form-type-radio {
  margin: 0 16px;
  margin: 0 1rem;
}

.form-composite--inline legend {
  float: left;
  margin-right: 0.5em;
  margin-top: 1px;
}
@media screen and (min-width: 321px) {
  .form-composite--inline legend {
    margin-right: 1em;
  }
}
.form-composite--inline .fieldset-legend:after {
  content: ':';
}
.form-composite--inline input[type="radio"],
.form-composite--inline label {
  vertical-align: middle;
}
.form-composite--inline label:after {
  content: none;
}
@media screen and (min-width: 480px) {
  .form-composite--inline .form-item {
    margin-right: 1.25em;
  }
}

form .field-type-image .image-preview {
  padding: 0;
  background: transparent;
  margin: 0 16px 16px 0;
  margin: 0 1rem 1rem 0;
}
[dir="rtl"] form .field-type-image .image-preview {
  margin: 0 0 16px 16px;
  margin: 0 0 1rem 1rem;
}
form .field-type-image .image-widget-data > div:first-child {
  margin-top: 0;
}
form .field-edit-link {
  margin: 0 0.3em;
}
form .field-multiple-table {
  margin: 0;
}
form .field-multiple-table .field-multiple-drag {
  width: 30px;
  padding-right: 0;
}
form .field-multiple-table .field-multiple-drag .tabledrag-handle {
  padding-right: .5em;
}
[dir="rtl"] form .field-multiple-table .field-multiple-drag {
  padding-left: 0;
}
[dir="rtl"] form .field-multiple-table .field-multiple-drag .tabledrag-handle {
  padding-left: .5em;
}
form .field-add-more-submit {
  margin: .5em 0 0;
}

.ui-autocomplete li.ui-menu-item a.ui-state-focus,
.autocomplete li.ui-menu-item a.ui-state-hover {
  background-color: #0072b9;
  color: #fff;
  margin: 0;
}

details > .details-wrapper {
  margin: 16px;
  margin: 1rem;
}

.collapse-processed > summary {
  padding: 10px;
  padding: 0.625rem;
}
.collapse-processed > summary:before {
  font-family: FontAwesome, sans-serif;
  content: "";
  float: left;
  margin: -1px 0 0;
  height: 16px;
  height: 1rem;
  width: 16px;
  width: 1rem;
  display: none;
}
.fa-loaded .collapse-processed > summary:before {
  display: block;
}
[dir="rtl"] .collapse-processed > summary:before {
  float: right;
}

.collapse-processed:not([open]) > summary:before {
  content: "";
}
[dir="rtl"] .collapse-processed:not([open]) > summary:before {
  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
  -webkit-transform: scale(-1, 1);
  -ms-transform: scale(-1, 1);
  transform: scale(-1, 1);
}

.vertical-tabs {
  background-color: #ffffff;
}

.block-list-secondary {
  border-bottom-width: 1px;
  box-sizing: border-box;
  padding: 0 11px;
  padding: 0 0.6875rem;
}

.reset-appearance {
  transition: none;
  box-shadow: none;
  border-radius: 0;
}
.reset-appearance:hover, .reset-appearance:focus {
  background: none;
  color: inherit;
}

.cke_editable {
  padding: 5px 10px;
}

.field-storage-config-edit-form .container-inline {
  display: block;
}
.field-storage-config-edit-form .form-select {
  min-width: unset;
}

/**
 * Buttons
 * We include button styling separate (from _forms.scss, Form Base/Theme in base.css)
 * mainly because the form styles are quite long already and we often want to add
 * unique button variants.
 *
 *  - applies to elements with class "button", includes styles for:
 *  - input buttons
 *  - anchor links styled as buttons
 *  - drop buttons
 *  - action link buttons
 ============================================================================ */
button,
.button {
  max-width: 100%;
  width: auto;
  position: relative;
  box-sizing: border-box;
  border-radius: 2px;
  border-width: 1px;
  border-style: solid;
  transition: background-color, .15s, ease-in-out;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  font-weight: 400;
  white-space: nowrap;
  height: 32px;
  height: 2rem;
  padding: 0 10px;
  padding: 0 0.625rem;
}
button:hover, button:focus,
.button:hover,
.button:focus {
  text-decoration: none;
}

.un-button,
.un-button:hover,
.un-button:focus,
.un-button:active {
  border: none;
  box-shadow: none;
  background-color: inherit;
  color: inherit;
  padding: 0;
  margin: 0;
  opacity: 1;
  height: auto;
}

.button--danger {
  border: 0;
  float: right;
  position: relative;
  top: 3px;
  top: 0.1875rem;
}

.button-action {
  display: inline-block;
}
.button-action:before {
  font-family: FontAwesome, sans-serif;
  content: "";
  vertical-align: middle;
  font-size: 11px;
  font-size: 0.6875rem;
  padding-right: 4px;
  padding-right: 0.25rem;
  line-height: 32px;
  line-height: 2rem;
  display: none;
}
.fa-loaded .button-action:before {
  display: inline-block;
}
.button-action[data-drupal-link-system-path="user/login"]:before {
  content: "";
  vertical-align: baseline;
  font-size: 16px;
  font-size: 1rem;
  padding-right: 7px;
  padding-right: 0.4375rem;
}

.action-links__button {
  padding: 0;
  margin: 16px 0;
  margin: 1rem 0;
}
@media all and (max-width: 45em) {
  .action-links__button a {
    display: block;
  }
}

li[class*="action--"] {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  margin: 1rem 0;
}

/* Drop buttons */
.dropbutton-widget {
  border: 1px solid;
  border-radius: 2px;
}

.dropbutton-wrapper {
  display: block;
  position: relative;
  min-height: 32px;
  min-height: 2rem;
  margin-right: 4px;
  margin-right: 0.25rem;
  margin-bottom: 16px;
  margin-bottom: 1rem;
}

.dropbutton input {
  text-align: left;
  height: 30px;
  height: 1.875rem;
}
.dropbutton .dropbutton-action > * {
  white-space: nowrap;
  line-height: normal;
  padding: 0 10px;
  padding: 0 0.625rem;
}
.dropbutton .dropbutton-action a {
  padding: 2px 10px;
  padding: 0.125rem 0.625rem;
}
.dropbutton .secondary-action {
  border-top: 1px solid;
  border-radius: 0 0 0 2px;
}
.dropbutton .secondary-action .button {
  border: 0;
  width: 100%;
}
.dropbutton .secondary-action .button:hover, .dropbutton .secondary-action .button:focus {
  border-radius: 0 0 0 2px;
}
.dropbutton .dropbutton-toggle button {
  background: none;
  box-shadow: none;
}
.dropbutton .dropbutton-toggle button:hover, .dropbutton .dropbutton-toggle button:focus, .dropbutton .dropbutton-toggle button:active {
  background: none;
  box-shadow: none;
}
[dir="rtl"] .dropbutton {
  margin: 0 3px 0 0;
}
[dir="rtl"] .dropbutton input {
  text-align: right;
}

.dropbutton-multiple .dropbutton {
  border-right: 1px solid;
}
.dropbutton-multiple .dropbutton .dropbutton-action > * {
  margin-right: 0;
  border: 0;
}
.dropbutton-multiple .dropbutton .dropbutton-action .button {
  border-radius: 2px 0 0 2px;
  width: 100%;
}
[dir="rtl"] .dropbutton-multiple .dropbutton {
  border-left: 1px solid;
  border-right: 0;
}
[dir="rtl"] .dropbutton-multiple .dropbutton .dropbutton-action > * {
  margin-left: 0;
}
.dropbutton-multiple.open .dropbutton-action .button {
  border-radius: 2px 0 0 0;
}
.dropbutton-multiple .dropbutton .secondary-action .button {
  border-radius: 0 0 0 2px;
}
.dropbutton-multiple .dropbutton .secondary-action .button:hover, .dropbutton-multiple .dropbutton .secondary-action .button:focus {
  border-radius: 0 0 0 2px;
}

button.link, button.link:hover, button.link:focus {
  color: #0066cc;
  background-color: transparent;
  border: 0;
  box-shadow: none;
  opacity: 1;
  margin: 0;
  padding: 0;
  cursor: pointer;
}
button.tableresponsive-toggle {
  float: right;
  overflow: hidden;
}

label button.link {
  font-weight: 700;
}

.ui-button-text-only .ui-button-text {
  padding: 0;
}
.ui-button-text-only button:hover, .ui-button-text-only button:focus,
.ui-button-text-only .button:hover,
.ui-button-text-only .button:focus {
  background: inherit !important;
  color: #292929 !important;
}

/**
 * Inline form styles.
 ============================================================================ */
.form--inline .form-item {
  float: left;
  margin-right: 11px;
  margin-right: 0.6875rem;
}
.form--inline .form-item-separator {
  margin-top: 18px;
  margin-top: 1.125rem;
  margin-right: 16px;
  margin-right: 1rem;
  margin-left: 11px;
  margin-left: 0.6875rem;
}
.form--inline .form-actions {
  clear: left;
}

/**
 * Progress bar.
 *  - unlike Drupal core we don't include all the vendor prefixes, instead
 *    we just rely on autoprefixer doing it's thing.
 * @see progress.js
 ============================================================================ */
.progress {
  margin: 18px 0;
  margin: 1.125rem 0;
}
.progress__track {
  border-color: #b3b3b3;
  border-radius: 10em;
  background-color: #f2f1eb;
  background-image: linear-gradient(#e7e7df, #f0f0f0);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.16);
}
.progress__bar {
  border: 1px #07629a solid;
  background-color: #057ec9;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)), linear-gradient(to right bottom, #0094f0 0%, #0094f0 25%, #007ecc 25%, #007ecc 50%, #0094f0 50%, #0094f0 75%, #0094f0 100%);
  background-size: 40px 40px;
  margin-top: -1px;
  margin-left: -1px;
  padding: 0 1px;
  height: 16px;
  border-radius: 10em;
  -webkit-animation: animate-stripes 3s linear infinite;
          animation: animate-stripes 3s linear infinite;
  transition: width 0.5s ease-out;
}

@-webkit-keyframes animate-stripes {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 0 0, -80px 0;
  }
}

@keyframes animate-stripes {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 0 0, -80px 0;
  }
}
/**
 * Form Tables
 * Table select and table drag are form elements.
 ============================================================================ */
tr.drag {
  background-color: #fffff1;
}
tr.drag-previous {
  background-color: #ffd;
}

a.tabledrag-handle .handle {
  height: auto;
  margin: -0.2em 0.5em 0;
  width: auto;
}

body div.tabledrag-changed-warning {
  margin-bottom: 0.5em;
}

tr.selected td {
  background-color: #ffc;
}

td.checkbox,
th.checkbox {
  text-align: center;
}

[dir="rtl"] td.checkbox,
[dir="rtl"] th.checkbox {
  /* This is required to win over specificity of [dir="rtl"] td */
  text-align: center;
}

tr .form-item {
  margin-top: 0;
  margin-bottom: 0;
}

.js .field--widget-entity-reference-paragraphs td {
  padding: 16px;
  padding: 1rem;
}
.js .field--widget-entity-reference-paragraphs td.field-multiple-drag {
  padding: 16px 6px;
  padding: 1rem 0.375rem;
}
.js .field--widget-entity-reference-paragraphs a.tabledrag-handle .handle {
  margin: -0.4em 0.5em 0 0;
}

/**
 * Vertical tabs.
 ============================================================================ */
.vertical-tabs {
  border: 1px solid;
}

.vertical-tabs__menu {
  border-top: 1px solid;
}

.vertical-tabs__menu-item {
  border: 1px solid;
  border-top: 0;
}

/**
 * Exposed Filters.
 ============================================================================ */
.exposed-filters .filters,
.exposed-filters .additional-filters {
  float: left;
  margin-right: 16px;
  margin-right: 1rem;
}
.exposed-filters .form-item {
  margin: 0 0 0.1em 0;
  padding: 0;
}
.exposed-filters .form-item label {
  float: left;
  font-weight: 400;
  width: 10em;
}
.exposed-filters .form-select {
  width: 14em;
}
.exposed-filters .current-filters {
  margin-bottom: 16px;
  margin-bottom: 1rem;
}
.exposed-filters .current-filters .placeholder {
  font-style: normal;
  font-weight: 700;
}

/*# sourceMappingURL=maps/form.css.map */

File

at_theme_generator/starterkits/starterkit/styles/css/components/form.css
View source
  1. @charset "UTF-8";
  2. /**
  3. * Form Base
  4. * Set base styles for form elements.
  5. ============================================================================ */
  6. input,
  7. select,
  8. button,
  9. textarea {
  10. font-size: 16px;
  11. font-size: 1rem;
  12. line-height: 21px;
  13. line-height: 1.3125rem;
  14. }
  15. textarea,
  16. select,
  17. input[type="date"],
  18. input[type="datetime"],
  19. input[type="datetime-local"],
  20. input[type="email"],
  21. input[type="month"],
  22. input[type="number"],
  23. input[type="password"],
  24. input[type="search"],
  25. input[type="tel"],
  26. input[type="text"],
  27. input[type="time"],
  28. input[type="url"],
  29. input[type="week"] {
  30. max-width: 100%;
  31. box-sizing: border-box;
  32. border-radius: 2px;
  33. border: 1px solid;
  34. transition: all, 225ms, ease-in-out;
  35. }
  36. textarea:focus,
  37. select:focus,
  38. input[type="date"]:focus,
  39. input[type="datetime"]:focus,
  40. input[type="datetime-local"]:focus,
  41. input[type="email"]:focus,
  42. input[type="month"]:focus,
  43. input[type="number"]:focus,
  44. input[type="password"]:focus,
  45. input[type="search"]:focus,
  46. input[type="tel"]:focus,
  47. input[type="text"]:focus,
  48. input[type="time"]:focus,
  49. input[type="url"]:focus,
  50. input[type="week"]:focus {
  51. outline: 0;
  52. outline: thin dotted \9;
  53. }
  54. textarea[disabled],
  55. select[disabled],
  56. input[type="date"][disabled],
  57. input[type="datetime"][disabled],
  58. input[type="datetime-local"][disabled],
  59. input[type="email"][disabled],
  60. input[type="month"][disabled],
  61. input[type="number"][disabled],
  62. input[type="password"][disabled],
  63. input[type="search"][disabled],
  64. input[type="tel"][disabled],
  65. input[type="text"][disabled],
  66. input[type="time"][disabled],
  67. input[type="url"][disabled],
  68. input[type="week"][disabled] {
  69. cursor: not-allowed;
  70. }
  71. input {
  72. min-width: 13px;
  73. line-height: 1;
  74. vertical-align: middle;
  75. height: 32px;
  76. height: 2rem;
  77. padding: 0 7px;
  78. padding: 0 0.4375rem;
  79. }
  80. input[type="checkbox"], input[type="radio"] {
  81. display: inline-block;
  82. position: relative;
  83. bottom: 1px;
  84. bottom: 0.0625rem;
  85. margin-left: 3px;
  86. margin-left: 0.1875rem;
  87. width: auto;
  88. height: auto;
  89. -webkit-transform: scale(1);
  90. -ms-transform: scale(1);
  91. transform: scale(1);
  92. }
  93. textarea,
  94. button,
  95. .button,
  96. input[type="email"],
  97. input[type="number"],
  98. input[type="password"],
  99. input[type="search"],
  100. input[type="submit"],
  101. input[type="tel"],
  102. input[type="text"],
  103. input[type="url"] {
  104. -webkit-appearance: none;
  105. }
  106. input[type="time"],
  107. input[type="date"],
  108. input[type="datetime"],
  109. input[type="datetime-local"],
  110. input[type="month"] {
  111. background-clip: padding-box;
  112. }
  113. input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-results-button, input[type="search"]::-webkit-search-results-decoration {
  114. -webkit-appearance: none;
  115. }
  116. select {
  117. height: 32px;
  118. height: 2rem;
  119. }
  120. textarea {
  121. padding: 7px;
  122. padding: 0.4375rem;
  123. }
  124. textarea,
  125. select[size],
  126. select[multiple] {
  127. height: auto;
  128. }
  129. label {
  130. font-weight: 600;
  131. text-decoration: none;
  132. white-space: nowrap;
  133. display: block;
  134. }
  135. label.option {
  136. font-weight: normal;
  137. display: inline-block;
  138. }
  139. fieldset {
  140. border: 0;
  141. margin: 0;
  142. padding: 0;
  143. }
  144. details {
  145. border: 1px solid;
  146. border-radius: 2px;
  147. display: block;
  148. margin: 16px 0;
  149. margin: 1rem 0;
  150. max-height: 50px;
  151. max-height: 3.125rem;
  152. overflow-y: hidden;
  153. transition: all 450ms ease-in-out;
  154. }
  155. details:focus {
  156. outline: none !important;
  157. }
  158. details .details-wrapper {
  159. transition: all 650ms ease-in-out;
  160. }
  161. .js details:not([open]) .details-wrapper {
  162. display: block;
  163. visibility: hidden;
  164. opacity: 0.1;
  165. }
  166. .js details[open] {
  167. max-height: 2000px;
  168. }
  169. .js details[open] .details-wrapper {
  170. opacity: 1;
  171. visibility: visible;
  172. }
  173. summary {
  174. cursor: pointer;
  175. display: block;
  176. padding: 10px;
  177. padding: 0.625rem;
  178. outline: 0;
  179. }
  180. button[disabled],
  181. input[disabled],
  182. select[disabled],
  183. select[disabled] option,
  184. select[disabled] optgroup,
  185. textarea[disabled],
  186. a.button_disabled {
  187. box-shadow: none;
  188. opacity: 0.7;
  189. -webkit-user-select: none;
  190. -moz-user-select: none;
  191. -ms-user-select: none;
  192. user-select: none;
  193. cursor: default;
  194. }
  195. input:invalid,
  196. button:invalid,
  197. .button:invalid,
  198. select:invalid,
  199. textarea:invalid {
  200. box-shadow: none;
  201. }
  202. input:focus::-webkit-input-placeholder {
  203. opacity: 0.2;
  204. }
  205. input:focus:-moz-placeholder {
  206. opacity: 0.2;
  207. }
  208. input:focus::-moz-placeholder {
  209. opacity: 0.2;
  210. }
  211. input:focus:-ms-input-placeholder {
  212. opacity: 0.2;
  213. }
  214. /**
  215. * Form Component
  216. * - common styles for form elements and classes.
  217. ============================================================================ */
  218. .form-text {
  219. -webkit-appearance: none;
  220. -moz-appearance: none;
  221. appearance: none;
  222. }
  223. .form-text[name="subject[0][value]"] {
  224. width: 50%;
  225. }
  226. @media all and (max-width: 45em) {
  227. .form-text[name="subject[0][value]"] {
  228. width: 100%;
  229. }
  230. }
  231. .form-select {
  232. min-width: 50%;
  233. }
  234. .form-item,
  235. .form-radios,
  236. .form-checkboxes {
  237. margin: 0 0 16px;
  238. margin: 0 0 1rem;
  239. }
  240. .form-type-radio,
  241. .form-type-checkbox {
  242. margin-left: 6px;
  243. margin-left: 0.375rem;
  244. }
  245. .form-type-radio .option,
  246. .form-type-checkbox .option {
  247. padding: 4px 7px 4px 29px;
  248. padding: 0.25rem 0.4375rem 0.25rem 1.8125rem;
  249. margin-left: -30px;
  250. margin-left: -1.875rem;
  251. min-height: 29px;
  252. min-height: 1.8125rem;
  253. min-width: 50%;
  254. border: 1px solid;
  255. border-radius: 2px;
  256. }
  257. .form-type-radio .option:focus, .form-type-radio .option:hover,
  258. .form-type-checkbox .option:focus,
  259. .form-type-checkbox .option:hover {
  260. cursor: pointer;
  261. }
  262. .ui-dialog {
  263. margin: 6px;
  264. margin: 0.375rem;
  265. }
  266. .ui-dialog .form-type-radio,
  267. .ui-dialog .form-type-checkbox {
  268. display: block;
  269. }
  270. .ui-dialog .form-type-radio *,
  271. .ui-dialog .form-type-checkbox * {
  272. margin: 0;
  273. padding: 0;
  274. }
  275. .ui-dialog .form-type-radio .option,
  276. .ui-dialog .form-type-checkbox .option {
  277. padding: 4px;
  278. padding: 0.25rem;
  279. min-width: 0;
  280. border: none;
  281. border-radius: 0;
  282. }
  283. .ui-dialog .form-type-radio.js-form-item-attributes-data-align {
  284. float: left;
  285. margin-right: 12px;
  286. margin-right: 0.75rem;
  287. }
  288. .ui-dialog .container-inline label:after {
  289. content: '';
  290. }
  291. .ui-dialog .form-file {
  292. padding: 7px 0;
  293. padding: 0.4375rem 0;
  294. }
  295. .form-actions {
  296. margin: 16px 0;
  297. margin: 1rem 0;
  298. }
  299. .field-type-text-long textarea {
  300. border-radius: 2px 2px 0 0;
  301. }
  302. .form-textarea-wrapper textarea {
  303. display: block;
  304. margin: 0;
  305. width: 100%;
  306. box-sizing: border-box;
  307. }
  308. .text-format-wrapper .text-full {
  309. width: 100%;
  310. }
  311. .filter-wrapper {
  312. border: 1px solid;
  313. border-top: 0;
  314. }
  315. .tips {
  316. padding-left: 0;
  317. }
  318. .tips li {
  319. list-style: none;
  320. }
  321. .description {
  322. font-size: 11px;
  323. font-size: 0.6875rem;
  324. line-height: 15px;
  325. line-height: 0.9375rem;
  326. }
  327. h4.label,
  328. .form-composite > legend {
  329. font-size: inherit;
  330. font-weight: 600;
  331. margin: 0;
  332. padding: 0;
  333. }
  334. .form-required:after {
  335. content: " \204E ";
  336. line-height: 1;
  337. vertical-align: super;
  338. }
  339. abbr.form-required, abbr.tabledrag-changed, abbr.ajax-changed {
  340. border-bottom: none;
  341. }
  342. .form-item input.error,
  343. .form-item textarea.error,
  344. .form-item select.error {
  345. border: 1px solid;
  346. }
  347. .container-inline {
  348. display: inline-block;
  349. }
  350. .container-inline label:after {
  351. content: ':';
  352. }
  353. .container-inline .form-actions, .container-inline.form-actions {
  354. margin-top: 0;
  355. margin-bottom: 0;
  356. }
  357. .form-type-radios .container-inline label:after {
  358. content: none;
  359. }
  360. .form-type-radios .container-inline .form-type-radio {
  361. margin: 0 16px;
  362. margin: 0 1rem;
  363. }
  364. .form-composite--inline legend {
  365. float: left;
  366. margin-right: 0.5em;
  367. margin-top: 1px;
  368. }
  369. @media screen and (min-width: 321px) {
  370. .form-composite--inline legend {
  371. margin-right: 1em;
  372. }
  373. }
  374. .form-composite--inline .fieldset-legend:after {
  375. content: ':';
  376. }
  377. .form-composite--inline input[type="radio"],
  378. .form-composite--inline label {
  379. vertical-align: middle;
  380. }
  381. .form-composite--inline label:after {
  382. content: none;
  383. }
  384. @media screen and (min-width: 480px) {
  385. .form-composite--inline .form-item {
  386. margin-right: 1.25em;
  387. }
  388. }
  389. form .field-type-image .image-preview {
  390. padding: 0;
  391. background: transparent;
  392. margin: 0 16px 16px 0;
  393. margin: 0 1rem 1rem 0;
  394. }
  395. [dir="rtl"] form .field-type-image .image-preview {
  396. margin: 0 0 16px 16px;
  397. margin: 0 0 1rem 1rem;
  398. }
  399. form .field-type-image .image-widget-data > div:first-child {
  400. margin-top: 0;
  401. }
  402. form .field-edit-link {
  403. margin: 0 0.3em;
  404. }
  405. form .field-multiple-table {
  406. margin: 0;
  407. }
  408. form .field-multiple-table .field-multiple-drag {
  409. width: 30px;
  410. padding-right: 0;
  411. }
  412. form .field-multiple-table .field-multiple-drag .tabledrag-handle {
  413. padding-right: .5em;
  414. }
  415. [dir="rtl"] form .field-multiple-table .field-multiple-drag {
  416. padding-left: 0;
  417. }
  418. [dir="rtl"] form .field-multiple-table .field-multiple-drag .tabledrag-handle {
  419. padding-left: .5em;
  420. }
  421. form .field-add-more-submit {
  422. margin: .5em 0 0;
  423. }
  424. .ui-autocomplete li.ui-menu-item a.ui-state-focus,
  425. .autocomplete li.ui-menu-item a.ui-state-hover {
  426. background-color: #0072b9;
  427. color: #fff;
  428. margin: 0;
  429. }
  430. details > .details-wrapper {
  431. margin: 16px;
  432. margin: 1rem;
  433. }
  434. .collapse-processed > summary {
  435. padding: 10px;
  436. padding: 0.625rem;
  437. }
  438. .collapse-processed > summary:before {
  439. font-family: FontAwesome, sans-serif;
  440. content: "";
  441. float: left;
  442. margin: -1px 0 0;
  443. height: 16px;
  444. height: 1rem;
  445. width: 16px;
  446. width: 1rem;
  447. display: none;
  448. }
  449. .fa-loaded .collapse-processed > summary:before {
  450. display: block;
  451. }
  452. [dir="rtl"] .collapse-processed > summary:before {
  453. float: right;
  454. }
  455. .collapse-processed:not([open]) > summary:before {
  456. content: "";
  457. }
  458. [dir="rtl"] .collapse-processed:not([open]) > summary:before {
  459. -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
  460. -webkit-transform: scale(-1, 1);
  461. -ms-transform: scale(-1, 1);
  462. transform: scale(-1, 1);
  463. }
  464. .vertical-tabs {
  465. background-color: #ffffff;
  466. }
  467. .block-list-secondary {
  468. border-bottom-width: 1px;
  469. box-sizing: border-box;
  470. padding: 0 11px;
  471. padding: 0 0.6875rem;
  472. }
  473. .reset-appearance {
  474. transition: none;
  475. box-shadow: none;
  476. border-radius: 0;
  477. }
  478. .reset-appearance:hover, .reset-appearance:focus {
  479. background: none;
  480. color: inherit;
  481. }
  482. .cke_editable {
  483. padding: 5px 10px;
  484. }
  485. .field-storage-config-edit-form .container-inline {
  486. display: block;
  487. }
  488. .field-storage-config-edit-form .form-select {
  489. min-width: unset;
  490. }
  491. /**
  492. * Buttons
  493. * We include button styling separate (from _forms.scss, Form Base/Theme in base.css)
  494. * mainly because the form styles are quite long already and we often want to add
  495. * unique button variants.
  496. *
  497. * - applies to elements with class "button", includes styles for:
  498. * - input buttons
  499. * - anchor links styled as buttons
  500. * - drop buttons
  501. * - action link buttons
  502. ============================================================================ */
  503. button,
  504. .button {
  505. max-width: 100%;
  506. width: auto;
  507. position: relative;
  508. box-sizing: border-box;
  509. border-radius: 2px;
  510. border-width: 1px;
  511. border-style: solid;
  512. transition: background-color, .15s, ease-in-out;
  513. cursor: pointer;
  514. text-decoration: none;
  515. text-align: center;
  516. font-weight: 400;
  517. white-space: nowrap;
  518. height: 32px;
  519. height: 2rem;
  520. padding: 0 10px;
  521. padding: 0 0.625rem;
  522. }
  523. button:hover, button:focus,
  524. .button:hover,
  525. .button:focus {
  526. text-decoration: none;
  527. }
  528. .un-button,
  529. .un-button:hover,
  530. .un-button:focus,
  531. .un-button:active {
  532. border: none;
  533. box-shadow: none;
  534. background-color: inherit;
  535. color: inherit;
  536. padding: 0;
  537. margin: 0;
  538. opacity: 1;
  539. height: auto;
  540. }
  541. .button--danger {
  542. border: 0;
  543. float: right;
  544. position: relative;
  545. top: 3px;
  546. top: 0.1875rem;
  547. }
  548. .button-action {
  549. display: inline-block;
  550. }
  551. .button-action:before {
  552. font-family: FontAwesome, sans-serif;
  553. content: "";
  554. vertical-align: middle;
  555. font-size: 11px;
  556. font-size: 0.6875rem;
  557. padding-right: 4px;
  558. padding-right: 0.25rem;
  559. line-height: 32px;
  560. line-height: 2rem;
  561. display: none;
  562. }
  563. .fa-loaded .button-action:before {
  564. display: inline-block;
  565. }
  566. .button-action[data-drupal-link-system-path="user/login"]:before {
  567. content: "";
  568. vertical-align: baseline;
  569. font-size: 16px;
  570. font-size: 1rem;
  571. padding-right: 7px;
  572. padding-right: 0.4375rem;
  573. }
  574. .action-links__button {
  575. padding: 0;
  576. margin: 16px 0;
  577. margin: 1rem 0;
  578. }
  579. @media all and (max-width: 45em) {
  580. .action-links__button a {
  581. display: block;
  582. }
  583. }
  584. li[class*="action--"] {
  585. list-style: none;
  586. padding: 0;
  587. margin: 16px 0;
  588. margin: 1rem 0;
  589. }
  590. /* Drop buttons */
  591. .dropbutton-widget {
  592. border: 1px solid;
  593. border-radius: 2px;
  594. }
  595. .dropbutton-wrapper {
  596. display: block;
  597. position: relative;
  598. min-height: 32px;
  599. min-height: 2rem;
  600. margin-right: 4px;
  601. margin-right: 0.25rem;
  602. margin-bottom: 16px;
  603. margin-bottom: 1rem;
  604. }
  605. .dropbutton input {
  606. text-align: left;
  607. height: 30px;
  608. height: 1.875rem;
  609. }
  610. .dropbutton .dropbutton-action > * {
  611. white-space: nowrap;
  612. line-height: normal;
  613. padding: 0 10px;
  614. padding: 0 0.625rem;
  615. }
  616. .dropbutton .dropbutton-action a {
  617. padding: 2px 10px;
  618. padding: 0.125rem 0.625rem;
  619. }
  620. .dropbutton .secondary-action {
  621. border-top: 1px solid;
  622. border-radius: 0 0 0 2px;
  623. }
  624. .dropbutton .secondary-action .button {
  625. border: 0;
  626. width: 100%;
  627. }
  628. .dropbutton .secondary-action .button:hover, .dropbutton .secondary-action .button:focus {
  629. border-radius: 0 0 0 2px;
  630. }
  631. .dropbutton .dropbutton-toggle button {
  632. background: none;
  633. box-shadow: none;
  634. }
  635. .dropbutton .dropbutton-toggle button:hover, .dropbutton .dropbutton-toggle button:focus, .dropbutton .dropbutton-toggle button:active {
  636. background: none;
  637. box-shadow: none;
  638. }
  639. [dir="rtl"] .dropbutton {
  640. margin: 0 3px 0 0;
  641. }
  642. [dir="rtl"] .dropbutton input {
  643. text-align: right;
  644. }
  645. .dropbutton-multiple .dropbutton {
  646. border-right: 1px solid;
  647. }
  648. .dropbutton-multiple .dropbutton .dropbutton-action > * {
  649. margin-right: 0;
  650. border: 0;
  651. }
  652. .dropbutton-multiple .dropbutton .dropbutton-action .button {
  653. border-radius: 2px 0 0 2px;
  654. width: 100%;
  655. }
  656. [dir="rtl"] .dropbutton-multiple .dropbutton {
  657. border-left: 1px solid;
  658. border-right: 0;
  659. }
  660. [dir="rtl"] .dropbutton-multiple .dropbutton .dropbutton-action > * {
  661. margin-left: 0;
  662. }
  663. .dropbutton-multiple.open .dropbutton-action .button {
  664. border-radius: 2px 0 0 0;
  665. }
  666. .dropbutton-multiple .dropbutton .secondary-action .button {
  667. border-radius: 0 0 0 2px;
  668. }
  669. .dropbutton-multiple .dropbutton .secondary-action .button:hover, .dropbutton-multiple .dropbutton .secondary-action .button:focus {
  670. border-radius: 0 0 0 2px;
  671. }
  672. button.link, button.link:hover, button.link:focus {
  673. color: #0066cc;
  674. background-color: transparent;
  675. border: 0;
  676. box-shadow: none;
  677. opacity: 1;
  678. margin: 0;
  679. padding: 0;
  680. cursor: pointer;
  681. }
  682. button.tableresponsive-toggle {
  683. float: right;
  684. overflow: hidden;
  685. }
  686. label button.link {
  687. font-weight: 700;
  688. }
  689. .ui-button-text-only .ui-button-text {
  690. padding: 0;
  691. }
  692. .ui-button-text-only button:hover, .ui-button-text-only button:focus,
  693. .ui-button-text-only .button:hover,
  694. .ui-button-text-only .button:focus {
  695. background: inherit !important;
  696. color: #292929 !important;
  697. }
  698. /**
  699. * Inline form styles.
  700. ============================================================================ */
  701. .form--inline .form-item {
  702. float: left;
  703. margin-right: 11px;
  704. margin-right: 0.6875rem;
  705. }
  706. .form--inline .form-item-separator {
  707. margin-top: 18px;
  708. margin-top: 1.125rem;
  709. margin-right: 16px;
  710. margin-right: 1rem;
  711. margin-left: 11px;
  712. margin-left: 0.6875rem;
  713. }
  714. .form--inline .form-actions {
  715. clear: left;
  716. }
  717. /**
  718. * Progress bar.
  719. * - unlike Drupal core we don't include all the vendor prefixes, instead
  720. * we just rely on autoprefixer doing it's thing.
  721. * @see progress.js
  722. ============================================================================ */
  723. .progress {
  724. margin: 18px 0;
  725. margin: 1.125rem 0;
  726. }
  727. .progress__track {
  728. border-color: #b3b3b3;
  729. border-radius: 10em;
  730. background-color: #f2f1eb;
  731. background-image: linear-gradient(#e7e7df, #f0f0f0);
  732. box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.16);
  733. }
  734. .progress__bar {
  735. border: 1px #07629a solid;
  736. background-color: #057ec9;
  737. background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)), linear-gradient(to right bottom, #0094f0 0%, #0094f0 25%, #007ecc 25%, #007ecc 50%, #0094f0 50%, #0094f0 75%, #0094f0 100%);
  738. background-size: 40px 40px;
  739. margin-top: -1px;
  740. margin-left: -1px;
  741. padding: 0 1px;
  742. height: 16px;
  743. border-radius: 10em;
  744. -webkit-animation: animate-stripes 3s linear infinite;
  745. animation: animate-stripes 3s linear infinite;
  746. transition: width 0.5s ease-out;
  747. }
  748. @-webkit-keyframes animate-stripes {
  749. 0% {
  750. background-position: 0 0, 0 0;
  751. }
  752. 100% {
  753. background-position: 0 0, -80px 0;
  754. }
  755. }
  756. @keyframes animate-stripes {
  757. 0% {
  758. background-position: 0 0, 0 0;
  759. }
  760. 100% {
  761. background-position: 0 0, -80px 0;
  762. }
  763. }
  764. /**
  765. * Form Tables
  766. * Table select and table drag are form elements.
  767. ============================================================================ */
  768. tr.drag {
  769. background-color: #fffff1;
  770. }
  771. tr.drag-previous {
  772. background-color: #ffd;
  773. }
  774. a.tabledrag-handle .handle {
  775. height: auto;
  776. margin: -0.2em 0.5em 0;
  777. width: auto;
  778. }
  779. body div.tabledrag-changed-warning {
  780. margin-bottom: 0.5em;
  781. }
  782. tr.selected td {
  783. background-color: #ffc;
  784. }
  785. td.checkbox,
  786. th.checkbox {
  787. text-align: center;
  788. }
  789. [dir="rtl"] td.checkbox,
  790. [dir="rtl"] th.checkbox {
  791. /* This is required to win over specificity of [dir="rtl"] td */
  792. text-align: center;
  793. }
  794. tr .form-item {
  795. margin-top: 0;
  796. margin-bottom: 0;
  797. }
  798. .js .field--widget-entity-reference-paragraphs td {
  799. padding: 16px;
  800. padding: 1rem;
  801. }
  802. .js .field--widget-entity-reference-paragraphs td.field-multiple-drag {
  803. padding: 16px 6px;
  804. padding: 1rem 0.375rem;
  805. }
  806. .js .field--widget-entity-reference-paragraphs a.tabledrag-handle .handle {
  807. margin: -0.4em 0.5em 0 0;
  808. }
  809. /**
  810. * Vertical tabs.
  811. ============================================================================ */
  812. .vertical-tabs {
  813. border: 1px solid;
  814. }
  815. .vertical-tabs__menu {
  816. border-top: 1px solid;
  817. }
  818. .vertical-tabs__menu-item {
  819. border: 1px solid;
  820. border-top: 0;
  821. }
  822. /**
  823. * Exposed Filters.
  824. ============================================================================ */
  825. .exposed-filters .filters,
  826. .exposed-filters .additional-filters {
  827. float: left;
  828. margin-right: 16px;
  829. margin-right: 1rem;
  830. }
  831. .exposed-filters .form-item {
  832. margin: 0 0 0.1em 0;
  833. padding: 0;
  834. }
  835. .exposed-filters .form-item label {
  836. float: left;
  837. font-weight: 400;
  838. width: 10em;
  839. }
  840. .exposed-filters .form-select {
  841. width: 14em;
  842. }
  843. .exposed-filters .current-filters {
  844. margin-bottom: 16px;
  845. margin-bottom: 1rem;
  846. }
  847. .exposed-filters .current-filters .placeholder {
  848. font-style: normal;
  849. font-weight: 700;
  850. }
  851. /*# sourceMappingURL=maps/form.css.map */