@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

/* Manage Styles window
-----------------------------------*/
@-moz-document url-prefix("chrome://stylish/content/stylish.xul") {
  /* Remove margins around list */
  tree#styles { margin: 0 0 3px 0 !important; }

  /* shift over bottom buttons to the left a bit */
  button#add { margin-left: 0 !important; }

  /* Info at top about changes possibly not showing until you reload */
  description#manage-info { display: none !important; }
}


/* Code Editor
----------------------------------*/
@-moz-document url("chrome://stylish/content/stylish-edit.xul") {
  /* Remove margins and padding around textbox and dialog */
  textbox#code { margin: 0 !important; padding: 0 !important; }
  dialog#stylish { padding: 0 !important; }

  /* Remove link to userstyles.org */
  label#userstyles-link { display: none !important; }

  /* Remove top margin on bottom buttons */
  .dialog-button { margin-top: 3px !important; }

  /* move Insert button to the left a little (couldn't figure out a good selector for this) */
  hbox + hbox > button { margin-left: 1px !important; }
}