You are here

commerce_file.forms.css in Commerce File 7

/** Limit elements **/
.commerce-file-limit-element .commerce-file-limit-element-value {
  margin-left: 2em;
}

.commerce-file-limit-integer-element .commerce-file-limit-element-value,
.commerce-file-limit-duration-element .commerce-file-limit-element-value .form-text {
  text-align: center;
}

.commerce-file-limit-duration-element .container-inline div.description {
  display: block;
}

/** Commerce File widget **/
.tabledrag-processed tr.file-commerce-file .file-widget > .form-item,
.tabledrag-processed tr.file-commerce-file .file-widget > fieldset {
  margin-left: 2.5em;
}

.field-widget-commerce-file-generic .commerce-file-limit-element,
#field-ui-field-edit-form .commerce-file-limit-element {
  float: left;
  display: inline;
  vertical-align: top;
  width: 30%;
  max-width: 280px;
  margin: 0 1.5% 1.5% 1.5%;
}

.field-widget-commerce-file-generic .commerce-file-limit-duration-element,
#field-ui-field-edit-form .commerce-file-limit-duration-element {
  min-width: 180px;
}

/** inline edit form overrides **/
.node-form .ief-product-attributes .field-widget-commerce-file-generic .form-managed-file .form-wrapper,
.node-form .ief-product-details .field-widget-commerce-file-generic .form-managed-file .form-wrapper {
  float: none !important;
}

.node-form .field-widget-inline-entity-form .fieldset-wrapper .fieldset-wrapper .field-widget-commerce-file-generic .fieldset-legend {
  padding-left: 15px !important;
}

html.js .node-form .ief-product-attributes .field-widget-commerce-file-generic fieldset.collapsed,
html.js .node-form .ief-product-details .field-widget-commerce-file-generic fieldset.collapsed {
  height: auto !important;
}

.node-form .ief-product-attributes .field-widget-commerce-file-generic .form-item label,
.node-form .ief-product-details .field-widget-commerce-file-generic .form-item label {
  float: none !important;
}

File

css/commerce_file.forms.css
View source
  1. /** Limit elements **/
  2. .commerce-file-limit-element .commerce-file-limit-element-value {
  3. margin-left: 2em;
  4. }
  5. .commerce-file-limit-integer-element .commerce-file-limit-element-value,
  6. .commerce-file-limit-duration-element .commerce-file-limit-element-value .form-text {
  7. text-align: center;
  8. }
  9. .commerce-file-limit-duration-element .container-inline div.description {
  10. display: block;
  11. }
  12. /** Commerce File widget **/
  13. .tabledrag-processed tr.file-commerce-file .file-widget > .form-item,
  14. .tabledrag-processed tr.file-commerce-file .file-widget > fieldset {
  15. margin-left: 2.5em;
  16. }
  17. .field-widget-commerce-file-generic .commerce-file-limit-element,
  18. #field-ui-field-edit-form .commerce-file-limit-element {
  19. float: left;
  20. display: inline;
  21. vertical-align: top;
  22. width: 30%;
  23. max-width: 280px;
  24. margin: 0 1.5% 1.5% 1.5%;
  25. }
  26. .field-widget-commerce-file-generic .commerce-file-limit-duration-element,
  27. #field-ui-field-edit-form .commerce-file-limit-duration-element {
  28. min-width: 180px;
  29. }
  30. /** inline edit form overrides **/
  31. .node-form .ief-product-attributes .field-widget-commerce-file-generic .form-managed-file .form-wrapper,
  32. .node-form .ief-product-details .field-widget-commerce-file-generic .form-managed-file .form-wrapper {
  33. float: none !important;
  34. }
  35. .node-form .field-widget-inline-entity-form .fieldset-wrapper .fieldset-wrapper .field-widget-commerce-file-generic .fieldset-legend {
  36. padding-left: 15px !important;
  37. }
  38. html.js .node-form .ief-product-attributes .field-widget-commerce-file-generic fieldset.collapsed,
  39. html.js .node-form .ief-product-details .field-widget-commerce-file-generic fieldset.collapsed {
  40. height: auto !important;
  41. }
  42. .node-form .ief-product-attributes .field-widget-commerce-file-generic .form-item label,
  43. .node-form .ief-product-details .field-widget-commerce-file-generic .form-item label {
  44. float: none !important;
  45. }