download, download[state="-1"] {
  -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-starting');
  -moz-box-orient: vertical;
}

download[state="-1"] {
  -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-starting');
}

download[state="0"] {
  -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-downloading');
}

download[state="1"] {
  -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-done');
}

download[state="2"] {
  -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-failed');
}

download[state="3"] {
  -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-canceled');
}

download[state="4"] {
  -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-paused');
}

download[state="5"] {
  -moz-binding: url('chrome://mozapps/content/downloads/download.xml#install-downloading');
}

download[state="6"] {
  -moz-binding: url('chrome://mozapps/content/downloads/download.xml#install-installing');
}

download[state="7"] {
  -moz-binding: url('chrome://mozapps/content/downloads/download.xml#install-done');
}

/* Only focus links in the selected item*/
download:not([selected="true"]) .text-link {
  -moz-user-focus: none;
}
