Skip to content
filefield.css 1.52 KiB
Newer Older
Nate Lampton's avatar
Nate Lampton committed
/* $Id$ */

/**
 * Overall styles
 */
.filefield-icon {
Nate Lampton's avatar
Nate Lampton committed
/* End formatter styles. */
Nate Lampton's avatar
Nate Lampton committed
 * General widget form styles (applicable to all widgets).
.filefield-row {
}

.filefield-row .filefield-info  {
Nate Lampton's avatar
Nate Lampton committed
  float: left;
  padding-right: 1em;
}
.filefield-row .filefield-edit {
Nate Lampton's avatar
Nate Lampton committed
  float: left;
.filefield-row .filefield-description  {
  width: 70%;
}

.filefield-row .filefield-list  {
Nate Lampton's avatar
Nate Lampton committed
  float: right;
 float: left;
}

/* Only applies to single-value fields, for which we provide our own table. */
.filefield-file-container-table {
  width: 90%;
  margin-top: 3px;
  margin-bottom: 2px;
}

.filefield-file-upload {
  margin-bottom: 5px;
.filefield-js-error {
  /* For some reason, the JS error message doesn't wrap by default. */
  white-space: normal;
}

Nate Lampton's avatar
Nate Lampton committed
/* End general widget form styles. */

/**
 * Generic file edit widget styles. Not applicable to other widgets that
 * might hook into filefield (say, a widget with an image preview).
 */

.filefield-generic-edit .filefield-icon {
  float: left;
  margin-right: 0.7em;
Nate Lampton's avatar
Nate Lampton committed
/* The text field is made unnecessarily long by node.css - shorten it. */
.filefield-generic-edit .form-text {
Nate Lampton's avatar
Nate Lampton committed

.filefield-generic-edit .description {
  white-space: normal;
  margin-bottom: 0;
Nate Lampton's avatar
Nate Lampton committed
  overflow: auto; /* Indent on line wraps, don't float around the icon. */
Nate Lampton's avatar
Nate Lampton committed
/* End widget form styles. */