
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
215 lines
No EOL
3.3 KiB
CSS
215 lines
No EOL
3.3 KiB
CSS
#scholar-status-bar-icon
|
|
{
|
|
width: 49px;
|
|
margin:0 0 -1px;
|
|
padding:0 5px 1px;
|
|
}
|
|
|
|
#scholar-pane
|
|
{
|
|
background: #f5f5f5;
|
|
min-height: 170px;
|
|
padding: 4px;
|
|
}
|
|
|
|
#collections-pane
|
|
{
|
|
min-width: 150px;
|
|
width: 150px;
|
|
}
|
|
|
|
#collections-tree treechildren::-moz-tree-image
|
|
{
|
|
margin-right: 5px;
|
|
}
|
|
|
|
#scholar-pane splitter
|
|
{
|
|
background: #f5f5f5;
|
|
border:0;
|
|
}
|
|
|
|
#items-tree treechildren::-moz-tree-image
|
|
{
|
|
margin-right: 5px;
|
|
}
|
|
|
|
#items-pane
|
|
{
|
|
min-width: 300px;
|
|
}
|
|
|
|
#item-pane
|
|
{
|
|
width: 300px;
|
|
min-width: 300px;
|
|
}
|
|
|
|
#scholar-pane toolbar
|
|
{
|
|
border-bottom: none;
|
|
background: #f5f5f5;
|
|
height: 24px;
|
|
}
|
|
|
|
#scholar-pane toolbar toolbarbutton
|
|
{
|
|
|
|
}
|
|
|
|
#scholar-pane toolbar .toggler
|
|
{
|
|
margin: 4px;
|
|
}
|
|
|
|
#scholar-toolbar-name
|
|
{
|
|
font-size: larger;
|
|
}
|
|
|
|
#tb-collection-add
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/toolbar-collection-add.png');
|
|
}
|
|
|
|
#tb-collection-rename
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/toolbar-collection-edit.png');
|
|
}
|
|
|
|
#tb-collection-rename[disabled="true"]
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/toolbar-collection-edit-gray.png');
|
|
}
|
|
|
|
|
|
/* These fix a rendering bug in Fx2.0b2 */
|
|
#scholar-pane .toolbarbutton-text
|
|
{
|
|
margin:0 2px;
|
|
}
|
|
#scholar-pane .toolbarbutton-menu-dropmarker
|
|
{
|
|
margin-right:4px;
|
|
}
|
|
#tb-fullscreen .toolbarbutton-text, #editpane-dynamic-fields .toolbarbutton-text
|
|
{
|
|
margin:0;
|
|
}
|
|
|
|
|
|
#tb-collection-menu
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/cog.png');
|
|
}
|
|
|
|
#tb-add
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/toolbar-item-add.png');
|
|
}
|
|
|
|
#tb-note-add
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/toolbar-note-add.png');
|
|
}
|
|
|
|
#tb-attachment-add
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/item-attachments-add.png');
|
|
}
|
|
|
|
#tb-item-attachments-file
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/treeitem-attachment-file.png');
|
|
}
|
|
|
|
#tb-item-attachments-link
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/treeitem-attachment-link.png');
|
|
}
|
|
|
|
#tb-item-attachments-snapshot
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/treeitem-attachment-snapshot.png');
|
|
}
|
|
|
|
#tb-item-attachments-web-link
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/treeitem-attachment-web-link.png');
|
|
}
|
|
|
|
#tb-fullscreen
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/toolbar-fullscreen-bottom.png');
|
|
}
|
|
|
|
#tb-fullscreen[scholartop="true"]
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/toolbar-fullscreen-top.png');
|
|
}
|
|
|
|
#tb-fullscreen[fullscreenmode="true"]
|
|
{
|
|
background: #666666;
|
|
-moz-border-radius: 6px;
|
|
}
|
|
|
|
#tb-search
|
|
{
|
|
width: 150px;
|
|
}
|
|
|
|
#tb-collection-addsearch
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/treesource-search.png');
|
|
margin-bottom:-5px;
|
|
}
|
|
|
|
#tb-search-cancel
|
|
{
|
|
margin: 0px;
|
|
padding: 0px;
|
|
cursor: default;
|
|
list-style-image: url('chrome://scholar/skin/search-cancel.png');
|
|
}
|
|
|
|
#tb-search-cancel:hover:active
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/search-cancel-active.png');
|
|
}
|
|
|
|
#tb-openurl
|
|
{
|
|
list-style-image: url('chrome://scholar/skin/toolbar-openurl.png');
|
|
}
|
|
|
|
/* creator switch button */
|
|
#editpane-dynamic-fields row hbox toolbarbutton
|
|
{
|
|
margin-right:5px;
|
|
}
|
|
|
|
#scholar-view-item vbox
|
|
{
|
|
overflow: auto;
|
|
}
|
|
|
|
#editpane-dynamic-fields row > label:first-child
|
|
{
|
|
text-align: right;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#scholar-view-item
|
|
{
|
|
margin-left: 5px;
|
|
}
|
|
|
|
#scholar-splitter
|
|
{
|
|
border-top: none;
|
|
border-bottom: 1px solid #A3A3A3;
|
|
min-height: 4px;
|
|
max-height: 4px;
|
|
background: #f5f5f5 !important;
|
|
} |