e2aa1a06db
Here's a shot at a single/double creator field toggle switch -- let me know what you think A few issues: - There's currently no comma between the last name and first name when in two-field mode -- I removed it to greatly simplify the code, hoping to be able to use the CSS :after pseudo-element, but that seems to not work with XUL -- I'll figure out a clean solution and add it back ( refs #288 ) - It's not very smart about switching between single-field mode and two-field mode, as it currently just keeps the last word (even if it's "Jr." or "III") as the last name and puts the rest in the first name field -- not a big deal, but it should at least be a bit smarter about this ( refs #289 ) - There are probably some other bugs
163 lines
No EOL
2.9 KiB
CSS
163 lines
No EOL
2.9 KiB
CSS
#scholar-toolbar-button
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/toolbar-large.png');
|
|
}
|
|
|
|
#scholar-toolbar-button:active
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/toolbar-large-active.png');
|
|
}
|
|
|
|
#scholar-toolbar-button[disabled="true"]
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/toolbar-large-disabled.png');
|
|
}
|
|
|
|
toolbar[iconsize="small"] #scholar-toolbar-button
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/toolbar-small.png');
|
|
}
|
|
|
|
toolbar[iconsize="small"] #scholar-toolbar-button:active
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/toolbar-small-active.png');
|
|
}
|
|
|
|
toolbar[iconsize="small"] #scholar-toolbar-button[disabled="true"]
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/toolbar-small-disabled.png');
|
|
}
|
|
|
|
#scholar-toolbar-button
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/toolbar-large.png');
|
|
}
|
|
|
|
toolbar[iconsize="small"] #scholar-toolbar-button
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/toolbar-small.png');
|
|
}
|
|
|
|
textbox[multiline="true"][type="timed"]
|
|
{
|
|
-moz-binding: url('chrome://scholar/content/bindings/timedtextarea.xml#timed-textarea');
|
|
}
|
|
|
|
noteeditor
|
|
{
|
|
-moz-binding: url('chrome://scholar/content/bindings/noteeditor.xml#note-editor');
|
|
}
|
|
|
|
linksbox
|
|
{
|
|
-moz-binding: url('chrome://scholar/content/bindings/noteeditor.xml#links-box');
|
|
}
|
|
|
|
tagsbox
|
|
{
|
|
-moz-binding: url('chrome://scholar/content/bindings/tagsbox.xml#tags-box');
|
|
}
|
|
|
|
tagsbox row
|
|
{
|
|
-moz-box-align:center;
|
|
}
|
|
|
|
seealsobox
|
|
{
|
|
-moz-binding: url('chrome://scholar/content/bindings/relatedbox.xml#seealso-box');
|
|
}
|
|
|
|
scholarsearch
|
|
{
|
|
-moz-binding: url('chrome://scholar/content/bindings/scholarsearch.xml#search-box');
|
|
width:60em;
|
|
}
|
|
|
|
searchcondition
|
|
{
|
|
-moz-binding: url('chrome://scholar/content/bindings/scholarsearch.xml#search-condition');
|
|
}
|
|
|
|
searchcondition menulist[id="operatorsmenu"]
|
|
{
|
|
width:15em;
|
|
}
|
|
|
|
#editpane-dynamic-fields row, tagsbox row
|
|
{
|
|
margin:0 0 1px;
|
|
}
|
|
|
|
#editpane-dynamic-fields textbox, tagsbox textbox
|
|
{
|
|
margin-top:0;
|
|
margin-bottom:-1px;
|
|
}
|
|
|
|
/* DEBUG: this doesn't seem to work, unfortunately */
|
|
#editpane-dynamic-fields label[singleField=false]:after
|
|
{
|
|
content:",";
|
|
}
|
|
|
|
.clicky, .unclicky
|
|
{
|
|
-moz-border-radius: 6px;
|
|
}
|
|
|
|
.clicky[value="-"], .clicky[value="+"],
|
|
.unclicky[value="-"], .unclicky[value="+"]
|
|
{
|
|
margin: 0px;
|
|
padding-left: 4px;
|
|
padding-right: 4px;
|
|
}
|
|
|
|
.clicky:hover
|
|
{
|
|
color: white;
|
|
background: #666666;
|
|
}
|
|
|
|
#scholar-progress-box
|
|
{
|
|
border: 2px solid #7a0000;
|
|
margin: 0;
|
|
min-height: 50px;
|
|
width: 250px;
|
|
padding-bottom: 3px;
|
|
}
|
|
|
|
.scholar-progress-item-icon
|
|
{
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.scholar-progress-item-hbox
|
|
{
|
|
padding-left: 5px;
|
|
margin-top: 3px;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.scholar-progress-item-label
|
|
{
|
|
width: 210px;
|
|
}
|
|
|
|
.scholar-progress-description
|
|
{
|
|
width: 220px;
|
|
}
|
|
|
|
.scholar-scrape-popup-library
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/treesource-library.png');
|
|
}
|
|
|
|
.scholar-scrape-popup-collection
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/treesource-collection.png');
|
|
} |