/* AGENT_SHEET */
/**
 * Firefox 4 OS X
 * Stylish
 * by wifflebunz http://userstyles.org/users/23718
 *
 * Tested with Firefox 4.0RC2
 */

@namespace "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
@namespace html "http://www.w3.org/1999/xhtml";

/**
 * Toolbar & Status bar icon
 */

@-moz-document
url("chrome://browser/content/browser.xul"),
url("chrome://global/content/customizeToolbar.xul") {


toolbar:not([customizing]) #stylish-toolbar-button:not([styles-applied~="global"]):not([styles-applied~="site"]) .toolbarbutton-icon {
opacity: .4 !important;
}

#stylish-toolbar-button,
#stylish-toolbar-button >  .toolbarbutton-icon {
opacity: 1 !important;
}
#stylish-toolbar-button,
#stylish-toolbar-button[styles-applied~="global"] {
list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACGUlEQVQ4y6WSPajSURjGXZpEXPJCohJ+o+Init+aHyh+wd9vHXTyTqKTlHe70dDU5BQ02HCXtoILTUFD0RQEObV0MSpM7tAQTW/vc/AemuJCw+8P//c8z3Pe856jIiLV/yA+arU6o9Fo3mm1WroO0MIjA3Q63Xe9Xk9Go5FMJtM/gQZaeGQAijabjZxOp8Tn8/2uVqtfQS6X2/+9Bi08MsBisZDH4xG43W6az+cfuf6YeXjg0W63OysUCvsrHTwywOFwkN/vFySTyZ/b7faE64ler/eATU8mk8k9/r9TLpcvuDOhg0cGYNdwOEyhUIgWi8UbrsWYUKVSOXe5XD8MBgNZrdYvgUDgFzTQwiMDvF4vxWIxsRCNRj9zzXXgGEfYbDZPx+PxB5h5XWjhkQHBYJDS6TTax/DQ3ttOp9PjtdsHoD7mkE+pVEpo4ZEBkUiE8vk88bRpMBhccNAek8a1mc3mc9Ycgel0+jybzQotPDIgHo8TD4iKxSJm8IJrd9fr9bPlcvl6Npud8b8GcOvfYIYWHhmQyWSoXq9TqVSiZrP5cjQa3eS6hykwSeYG3//9RCJBPFihhUcGoHVFUahWqxHOiHu22+3vmVeAzZdoGTtDB+CRAfza9jw0arfb1Gg0RCc4K4aFnfgtiF1brRZBB+CRAavV6nQ4HF72+30C/ICo2+2KQIjxf7UGoIVHBjC3GIUZXBPl4FH9Aa+sIGMoQVKzAAAAAElFTkSuQmCC") !important;
}
#stylish-toolbar-button[styles-applied~="site"] {
list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACxUlEQVQ4y6WTTWhcZRSGn++c72ZuZm4yP+lkpiFN20RjqoykFaqxC4tiCoJacSEFLa7EhSguLG6KKEghbiytFdyoFKFmJzSbQhe6kKZaLdJK06Rj/elPmibGZnDizL3f5yIh6ewEz+7A4TnnfV+O8d7zf8oCDFaix4xhTISdRloHgunWBQ5wnrMef+Dn2t9fW4BcV2q8vCnoznYFWG0FRPNJSx97+LPZ3PlHMx4HShagd2vYPfRghnRHgAh4Dypty1FYns1cSkjq9bA+d6tkVi+oNRN0qda9JiHflSLKtiMCSeLZtGHX2f3PfjwB1Ni3IvXOzZsbTrz4wv54/nYpay1dcQyAAKi1WGsxxmLizsU9j779OXD6rYP7Cq89+cQDh159RTrL5Ymaas2rYK0iKusmChaVgGbDUezcPlkqbj4HxH/dma/8c/3ayPeXp4ov3TdwfWtHJl+2FhFB1K4DjAgiFudifrr43SCwBPDJ4VPHgVPVH3/oOTl26PFGdaYnCALEGMyq28Z7z5t7d/htvXkaccJvc0tMz9bP9N5b+fDIp19OrpqfBgYPHPvivYWGr4go16YuMPHR+yupiwhiLUFbG/0DA5fv6S30z145f2L0oS2/DO/ecwy4DXyrjeULkiQEqtgWD9SiGhC7mHSudO6DsfGvTh4/suv36nTflO+5AdQBLs3M7O7uH0JVELkLoKqoDXBNT/Xq1cy7b7x8+p3Dn00COaAJLI889fzBzZUdG8MwhVXBilkHYCxGLRp4GguLz1Rnfp17emTovDFmcTZ7P2rtcLGvP5cvlmkLUmAMxtwFSKWjBdQW2kOlr1QgG6Wp1RvDzTgh0zNMKh0R5Qu0ZzpQq+AcmTBcWAM8PPrc0VsXv3k9CFwuG1g6o3Zi53HO4bZsQ3Ule4wB53CusTg6sv3oWozARuARIPyPX7wMnAFu/AuSsOtvjrznfQAAAABJRU5ErkJggg==") !important;
}

}

/**
 * Stylish Editor
 */

@-moz-document url-prefix("chrome://stylish/content/edit.xul") {

#stylish {
padding: 0 !important;
}

/**
 * Stylish Editor - Style Properties
 */

#stylish > vbox > grid {
margin: 0 !important;
padding: 2px 96px 2px 6px !important;
z-index: 1 !important;
overflow: hidden !important;
-moz-appearance: -moz-mac-unified-toolbar !important;
}
#stylish > vbox > grid label,
#wrap-lines .checkbox-label {
text-shadow: 0 1px 0 rgba(255,255,255,.4) !important;
}

#name, #tags {
margin-top: 2px !important;
margin-bottom: 2px !important;
}

/**
 * Stylish Editor - Editor Buttons
 */

#editor-tools {
margin: -46px 0 0 0 !important;
padding: 0 6px 0 0 !important;
border: 0 !important;
display: -moz-box !important;
height: 45px !important;
z-index: 0 !important;
-moz-box-flex: 0 !important;
-moz-appearance: none !important;
-moz-box-align: end !important;
-moz-box-pack: start !important;
-moz-box-orient: vertical !important;
}

#editor-tools > * {
margin: 0 4px !important;
}

#wrap-lines {
margin-top: 4px !important;
margin-right: 6px !important;
}

/****************/
/** Uncomment to hide "Tags" input field */
/*
#stylish > vbox > grid > rows > row:last-child { visibility: collapse !important; }
#stylish > vbox > grid { padding-right: 174px !important; }
#editor-tools {
margin-top: -29px !important;
height: 28px !important;
-moz-box-align: center !important;
-moz-box-pack: end !important;
-moz-box-orient: horizontal !important;
}
*/
/****************/

/**
 * Stylish Editor - Code
 */

#internal-code {
-moz-appearance: none !important;
-moz-box-ordinal-group: 10 !important;
margin: 0 !important;
border: 0 solid #999 !important;
border-radius: 0 !important;
border-top-width: 1px !important;
}

#internal-code html|textarea {
font-family: Menlo, Consolas, "DejaVu Sans Mono", Monaco, "Courier New", monospace !important;
font-size: 11px !important;
letter-spacing: 0em !important;
color: #000 !important;
margin: 0 !important;
padding: 0 !important;
}

#internal-code html|textarea > html|* {
padding: 5px !important;
margin: 0 !important;
}

/**
 * Stylish Editor - Find Bar
 */

findbar {
-moz-box-ordinal-group: 1 !important;
background: -moz-linear-gradient(top,#e8e8e8,#d0d0d0) center no-repeat !important;
border: none !important;
min-width: 1px !important;
padding: 0 8px !important;
text-shadow: 0 1px 0 rgba(255,255,255,.4) !important;
min-height: 26px !important;
margin: 1px 0 0 !important;
}
findbar:-moz-window-inactive {
background: none !important;
}

/**
 * Stylish Editor - Error Box
 */

#errors {
-moz-box-ordinal-group: 30 !important;
margin: 0 !important;
padding: 2px 4px !important;
max-height: 12em !important;
min-height: 0 !important;
height: auto !important;
overflow: auto !important;
border-radius: 0 !important;
color: #000 !important;
background-color: #fbb;
background-image: -moz-linear-gradient(top,rgba(150,0,0,.1),rgba(255,255,255,0)) !important;
box-shadow:
  inset 0 1px 0 0 rgba(0,0,0,.4),
  inset 0 3px 2px -2px rgba(0,0,0,.5),
  inset 0 -2px 2px -2px rgba(0,0,0,.2)
  !important;
}
#errors:-moz-window-inactive {
background-image: none !important;
box-shadow:
  inset 0 1px 0 0 rgba(0,0,0,.2),
  inset 0 3px 2px -2px rgba(0,0,0,.5),
  inset 0 -2px 2px -2px rgba(0,0,0,.2)
  !important;
}

#errors > label {
text-indent: -15px !important;
padding: 0 0 0 15px !important;
margin: 0 !important;
color: inherit !important;
}

/**
 * Stylish Editor - Bottom Buttons
 */

.dialog-button-box {
-moz-appearance: statusbar !important;
padding: 0 6px 0 4px !important;
}

}






/**
 * Stylish Manager
 */

@-moz-document url-prefix("chrome://stylish/content/manage-standalone.xul") {

#userstyles-view {
list-style-image: none !important;
}

#styles-container,
#styles-deck {
margin: 0 !important;
padding: 0 !important;
overflow: hidden !important;
}

#userstyles-heading {
background: -moz-linear-gradient(top,#e8e8e8,#d0d0d0) center no-repeat !important;
border-bottom: 1px solid #878787 !important;
box-shadow: 0 2px 2px 0 rgba(0,0,0,1) !important;
text-shadow: 0 1px 0 rgba(255,255,255,.4) !important;
margin: 0 !important;
padding: 0 4px 0 2px !important;
text-shadow: 0 1px 0 rgba(255,255,255,.4) !important;
}
#userstyles-heading:-moz-window-inactive {
background: none !important;
border-bottom-color: #999 !important;
}

#styles-filter {
font-size: 11px !important;
padding-bottom: 0 !important;
padding-top: 0 !important;
}

/** Hide "Sort by:" label */
#userstyles-heading > label {
visibility: collapse !important;
}

#styles {
border: 0 !important;
margin: 0 !important;
padding: 0 !important;
border: none !important;
}

*[anonid="heading"] {
margin: 0 !important;
padding: 2px 4px !important;
border: none !important;
border-bottom: 1px solid #bdbdbd !important;
border-top: 1px solid #f3f3f3 !important;
background: -moz-linear-gradient(top,#efefef,#e5e5e5) !important;
color: #555 !important;
text-shadow: 0 1px 0 rgba(255,255,255,.4) !important;
}

*[anonid="twisty"] {
list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAf0lEQVQoz2P4//8/AymYgSwNQJAOxDPx4HQUDadOnfLl4eGZik0xSBwkj+4k7rq6ulJsGkDiIHlsftDQ09PrQVZsYGDQDRLH6en9+/dHsLOzzwApBtFAfjihUOLLy8urBmkA0SA+wWD98uWLgY+PTxuIJjYeGIHYDkpTKeJIwQAGdWD3cstNtQAAAABJRU5ErkJggg==") !important;
}
*[anonid="twisty"] .button-icon {
margin-right: 0 !important;
}
*[closed="true"] *[anonid="twisty"] {
list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAf0lEQVQoz2P4//8/AykYwWBgSAdiAVI0zGRiYuoH0tZEa0DChUAsRooGEJ4CxG5AzESsBhiOI0oDOzv7jIKCgtrv37/bE9Sgp6fXc+rUqSyguD4QM+LUwMPDM7W5ubkSyPcFYj68nra3t++8fv16KpCtQVSwArELEHMTHXHEYgBj+lVyDUJ6kgAAAABJRU5ErkJggg==") !important;
}

style-container:not([closed=true]):not(:last-child) {
border-bottom: 1px solid #ccc !important;
}

richlistitem {
padding: 5px !important;
min-height: 0 !important;
border: none !important;
}
richlistitem[isDisabled="true"] {
font-weight: normal !important;
}
richlistitem[selected="true"] {
color: highlighttext !important;
padding-bottom: 3px !important;
}
richlistitem[selected="true"]:-moz-window-inactive {
background-color: #d4d4d4 !important;
color: #000 !important;
}
richlistitem[selected="true"][isDisabled="true"]:-moz-window-inactive {
color: #666 !important;
}

*[anonid="name"],
*[anonid="tags"],
*[anonid="id"],
*[anonid="type"] {
margin: 0 6px !important;
}

/** Rearrange item buttons */

*[anonid="edit"] {
display: none !important;
}

/** Buttom button bar */

#stylish-manage-standalone > hbox {
-moz-appearance: statusbar !important;
padding: 0 6px 0 0px !important;
}

}






/**
 * Stylish Manager - Sidebar
 */

@-moz-document url-prefix("chrome://stylish/content/manage-standalone.xul?sidebar") {

#userstyles-heading {
background: #d4dde5 !important;
padding: 0 7px 0 8px !important;
}
#userstyles-heading:-moz-window-inactive {
background: #e8e8e8 !important;
}

#styles-filter {
font-size: 11px !important;
margin-left: 0 !important;
padding-bottom: 0 !important;
padding-top: 0 !important;
}

#stylish-manage-standalone > hbox {
-moz-appearance: none !important;
border-top: 1px solid #999 !important;
padding: 0 !important;
}

}