1 /* NOTE: SGN blue is #ccccff */
2 /******************** GENERAL SITE STYLES **********************/
5 background-color: white
;
6 font-family: verdana
, arial
, helvetica
, sans-serif
;
18 background-color:#CCCCFF;
19 border: 1px solid
#C0C0C0;
22 border:1px solid
#C0C0C0;
25 font-family: verdana
, arial
, helvetica
, sans-serif
;
31 input
, select
, textarea
{
36 margin-bottom: 0.25em;
42 /*various places on the site use various headline size tags, so let's try to make them all the same*/
44 font-family: verdana
, arial
, helvetica
, sans-serif
;
56 dt
.sub
{ /* used for a second sublevel of dictionary terms */
61 /* where to put the title image */
73 vertical-align: middle
;
77 a
.toplink:link
, a
.toplink:visited
, a
.toplink:active
{
80 text-decoration: none
;
82 font-family: "Bitstream Vera Sans",Arial
,Helvetica
,sans-serif
;
85 padding: 0px 0px 0px 0px;
86 text-decoration: underline
;
88 a
.mytools
, a
.mytools:link
, a
.mytools:visited
{
90 text-decoration: underline
;
92 padding: 0.1em 0.3em 0.1em 0.3em;
96 a
.external
, a
[href ^
="http:"] {
97 background: url
(/documents/img/external.png) center right no-repeat
;
106 a
[href ^
="mailto:"] {
107 background: url
(/documents/img/mail_icon.gif) center right no-repeat
;
112 border-top: 3px solid
#c0c0c0;
117 #pagefooter a
, #pagefooter
a:active
, #pagefooter
a:link
, #pagefooter
a:visited
{
122 margin: 10px 0px 0px 0px;
126 vertical-align: middle
;
129 #clone_shoppingcart {
132 vertical-align: middle
;
135 /* this is a centered page title, like 'BAC P00343' or 'Marker TM2' or whatever */
142 /* Developer Toolbar Style */
145 background-color: #eef;
146 font-size: 1.0em; /**Need to set baseline size **/
149 margin: -7px 0 7px 0;
150 border-bottom: 2px solid
#905;
152 /**Everything visible is in a table, use this to style fonts**/
157 /* general div to make something a little more indented */
158 div
.indentedcontent
, div
.page_introduction
{
159 margin: 0.4em 1em 2em 2em;
161 div
.page_introduction
{
165 /* same effect as above, except for table cells. Don't make new pages that use this. */
167 padding: 1em 1em 2em 2em;
169 /*generic text-align tags*/
180 /* the little tables at the top of search forms with */
181 /* the title of the search and a "select random" link */
182 table
.search_form_title
{
185 span
.search_form_title
{
190 a
.search_form_random
{
193 a
.search_form_random:before
{
196 a
.search_form_random:after
{
200 /***************************** LINKS ************************************************************/
205 text-decoration:none
;
209 text-decoration:none
;
213 text-decoration:none
;
216 text-decoration:underline
;
220 text-decoration:none
;
222 a
.hidevisited:active
{
224 text-decoration:none
;
226 a
.hidevisited:visited
{
228 text-decoration:none
;
230 a
.hidevisited:hover
{
232 text-decoration:underline
;
236 /* background: #ccccff; */
237 /* border: 1px solid #9f9fc7; */
240 /*makes a submit button that looks more like a link*/
243 text-decoration:none
;
248 /*makes a submit button that looks more like a link*/
249 input
.linkstyle:hover
{
251 text-decoration:underline
;
257 /* for little "what's this" links leading to help pages */
260 letter-spacing: -1px;
263 a
.context_help:before
{
267 a
.context_help:after
{
272 /***************************** FONTS ************************************************************/
273 /*Don't add one if you can use one that's already here. It will keep our fonts more consistent. */
276 font-family: bitstream vera sans mono
, monospace
;
280 /* sequences should be displayed in a monospace font */
281 .sequence, .monospace {
282 font-family: bitstream vera sans mono
, monospace
;
284 .sequence .methionine {
288 .sequence .stop_codon {
295 .sequence .longest_orf {
298 .threeframe_translate .frame {
303 /*some old style used by koni in est.pl and unigene.pl*/
306 font-family: bitstream vera sans mono
, monospace
;
314 /* example text used in search pages */
326 font-family: monospace
;
329 /***************************** TEXT AND BACKGROUND COLORS ***************************************/
330 /*Don't add one if you can use one that's already here. It will keep our color scheme more consistent. */
332 /*bgcolorstatuses 1-4 show statuses with color (used on BAC registry, for instance)
339 span.bgcolorselected a {
341 padding-right: 0.2em;
343 border: 1px solid #444444;
348 .bgcolorstatus1 a, .bgcolorstatus1 span.nolink {
349 background-color: #dddddd;
352 border: 1px solid black
;
354 .bgcolorstatus2 a, .bgcolorstatus2 span.nolink {
355 background-color: #ffff66;
358 border: 1px solid black
;
360 .bgcolorstatus3 a, .bgcolorstatus3 span.nolink {
361 background-color: #66ff66;
364 border: 1px solid black
;
366 .bgcolorstatus4 a, .bgcolorstatus4 span.nolink {
367 background-color: #9999ff;
370 border: 1px solid black
;
373 /*for lists of things with alternating colored backgrounds*/
375 background-color: #d5d5ff;
378 background-color: #f0f0ff;
380 /*to discreetly highlight an item*/
382 background-color: #ccccff;
384 /*use class="sgnblue" instead of bgcolor="sgnblue"*/
386 background-color: #ccccff;
388 /*important warning*/
392 background-color: #ff0000;
394 /*not quite so important warning*/
397 background-color: #ffffff
402 /* used to highlight things in yellow, like bad regions of sequences */
403 .highlighted, .badseq {
406 /* used to indicate something is disabled or relatively unimportant. just like, um, ghosts */
410 /* used for special notices that are unusual, and to which the user's attention should be drawn */
418 /* for things you want to put in a subtly set-off box */
420 border: 1px solid
#cccccc;
426 border:1px dashed
#772222;
427 background-color:#e5e5e5;
433 /* for things with tooltips. This styling indicates that a tooltip is available; you must remember to supply the tooltip also. For example:
434 <span class="help" onmouseover="return escape('have no fear, help is here')>Asdf</span>
435 <script language="javascript" type="text/javascript" src="/documents/inc/wz_tooltip.js></script>" */
439 border-bottom: 1px dashed
#666;
443 /*nothing different*/
446 /***************************** INFO SECTIONS *******************************************************/
448 You will probably not need these, because you can
449 just call the info_section_html() function that uses them
453 these make a blue box like we like to use to divide
454 info pages into sections.
457 .infosectionhead_empty
,
458 .sub_infosectionhead
,
459 .sub_infosectionhead_empty
462 background: #ccccff; /* this is "SGN blue" */
466 padding: 1px 0px 3px 2px;
467 /* margin-right: 1em; */
468 border: 1px solid
#9f9fc7;
470 /* sub-infosections have a gray heading */
471 .sub_infosectionhead
,
472 .sub_infosectionhead_empty
475 border-color: #c2c2c2;
479 /* empty infosections don't have such a big bottom margin */
480 .infosectionhead_empty
,
481 .sub_infosectionhead_empty
483 margin-bottom: 0.5em;
487 .sub_infosectiontitle
,
488 .infosectiontitle_empty
,
489 .sub_infosectiontitle_empty
493 vertical-align: middle
;
495 td
.infosectionsubtitle
,
496 td
.sub_infosectionsubtitle
,
497 td
.infosectionsubtitle_empty
,
498 td
.sub_infosectionsubtitle_empty
504 td
.infosectionsubtitle_empty
,
505 td
.sub_infosectionsubtitle_empty
510 div
.infosectioncontent
,
511 div
.sub_infosectioncontent
513 margin: 0.4em 1em 2em 2em;
515 td
.infosection_emptymessage
,
516 td
.sub_infosection_emptymessage
524 /************* COLLAPSIBLE THINGS (used by CXGN::Page::Widgets::collapser) ********************/
530 text-decoration: none
;
534 padding: 0 5px 0 2px;
539 /************* TABBED PAGES ********************/
540 /* You will probably not need these, because you can
541 just call the tabset function that uses them */
543 /* styles for a set of tabs generated with SGN::tabset */
544 /* like those on bulk download and direct search */
545 /* classes to make a rounded box with some fill around an */
552 td
.modesel_c
, td
.modesel_c_hi
{
554 vertical-align: middle
;
566 border-bottom: 2px solid
#c0c0c0;
569 a
.modesel
, a
.modesel:visited
, a
.modesel_hi
, a
.modesel_hi:visited
{
572 margin: -3px -2px -1px -2px;
574 /* position: absolute; */
577 a
.modesel:hover
, a
.modesel_hi:hover
{
578 text-decoration: none
;
584 td
.modesel_tl
, td
.modesel_tl_hi
{
599 td
.modesel_tr
, td
.modesel_tr_hi
{
616 td
.modesel_l
, td
.modesel_l_hi
{
622 td
.modesel_t
, td
.modesel_t_hi
{
628 td
.modesel_r
, td
.modesel_r_hi
{
649 /* now for the background images */
650 td
.modesel_l_hi
{ background: url
(/documents/img/modesel_l_back_hi.gif) repeat-y top right
; }
651 td
.modesel_r_hi
{ background: url
(/documents/img/modesel_r_back_hi.gif) repeat-y top left
; }
652 td
.modesel_t_hi
{ background: url
(/documents/img/modesel_t_hi.gif) repeat-x bottom left
; }
653 td
.modesel_b_hi
{ background: url
(/documents/img/modesel_b_hi.gif) repeat-x top left
; }
655 background: #bbbbe5 url
(/documents/img/modesel_content_back_hi.gif) repeat-x top left
;
656 /* padding-top: 2px; */
658 td
.modesel_l
{ background: url
(/documents/img/modesel_l_back.gif) repeat-y top left
; }
659 td
.modesel_r
{ background: url
(/documents/img/modesel_r_back.gif) repeat-y top left
; }
660 td
.modesel_t
{ background: url
(/documents/img/modesel_t.gif) repeat-x bottom left
; }
661 td
.modesel_b
{ background: url
(/documents/img/modesel_b.gif) repeat-x top left
; }
663 background: #dbdbdb url
(/documents/img/modesel_content_back.gif) repeat-x top left
;
666 /***************************** MULTILEVEL SELECT BOX *****************************************/
668 a
.multilevel_modesel
, a
.multilevel_modesel:visited
, a
.multilevel_modesel_active
, a
.multilevel_modesel_active:visited
,
669 a
.multilevel_modesel_parent
, a
.multilevel_modesel_parent:visited
, a
.multilevel_modesel_parent_active
, a
.multilevel_modesel_parent_active:visited
671 border: 1px solid black
;
673 -moz-border-radius: 3px;
674 -webkit-border-radius: 3px;
675 -khtml-border-radius: 3px;
677 padding: 2px 0 2px 0;
678 font-family: Arial
, sans-serif
;
680 text-decoration: none
;
684 background: #e6e6e6 url
(/documents/img/gr_wht_trans.png) top left repeat-x
;
687 a
.multilevel_modesel
, a
.multilevel_modesel:visited
,
688 a
.multilevel_modesel_parent
, a
.multilevel_modesel_parent:visited
{
689 background: #e6e6e6 url
(/documents/img/gr_wht_trans_2.png) top left repeat-x
;
692 a
.multilevel_modesel_parent_active
{
698 div
.multilevel_modesel
, div
.multilevel_modesel_active
{
699 margin: -1px auto
0 auto
;
701 div
.multilevel_modesel td
, div
.multilevel_modesel_active td
{
705 div
.multilevel_modesel table
, div
.multilevel_modesel_active table
{
706 margin: 0 auto
0 auto
;
708 div
.multilevel_modesel
{
711 div
.multilevel_modesel_active
{
715 div
.multilevel_modesel_level_1
{
716 border: 1px solid black
;
717 background-color: #c2c2ff;
720 div
.multilevel_modesel_level_2
{
721 border: 1px solid black
;
722 background-color: #9797c7;
726 div
.multilevel_modesel_level_0 a
.multilevel_modesel_active
,
727 div
.multilevel_modesel_level_0 a
.multilevel_modesel_parent_active
{
728 background-color: #c2c2ff;
730 div
.multilevel_modesel_level_1 a
.multilevel_modesel_active
,
731 div
.multilevel_modesel_level_1 a
.multilevel_modesel_parent_active
{
732 background-color: #9797c7;
735 div
.multilevel_modesel_level_2 a
.multilevel_modesel_active
,
736 div
.multilevel_modesel_level_2 a
.multilevel_modesel_parent_active
{
737 background-color: #76769b;
741 /***************************** PAGINATED SEARCH RESULTS *****************************************/
743 /* for pagination next page and previous page */
744 /* buttons on search pages */
745 a
.paginate_nav
, span
.paginate_nav_currpage
, span
.paginate_nav_ghosted
{
751 span
.paginate_nav_ghosted
{
754 span
.paginate_summary
{
756 span
.paginate_nav_currpage
{
758 border: 1px solid black
;
762 table
.columnar_table
{
763 border: 1px solid
#cccccc;
765 table
.columnar_table_noborder
{
767 td
.columnar_table
, th
.columnar_table
, th
.columnar_table_noborder
{
768 padding: 0.2em 0.4em 0.2em 0.4em;
773 border-bottom: 1px solid
#aaa;
777 /* styles for paginated search results pages like bacsearch.pl and markersearch.pl*/
782 text-decoration: none
;
789 /***************************** HOME PAGE STUFF *********************/
790 /*Feel free to use elsewhere if you like. */
797 border-bottom-width:1px;
798 border-top-width:0px;
799 border-left-width:0px;
800 border-right-width:0px;
801 border-color:#999999;
821 background-color:#ffffff;
827 background-color:#f0f0ff;
829 border-color:#999999;
835 background-color:#ccccff;
837 border-color:#999999;
844 background-color:#cccccc;
846 border-color:#999999;
852 background-color:#ffffff;
854 border-color:#999999;
859 background-color:#ffffaa;
861 border-color: #888888;
870 /*********** TOOLBARS W/DROPDOWN MENUS ****************/
873 margin: 0 auto
3px auto
;
882 td
.toolbar_l
, td
.toolbar_r
{
886 background: white url
(/documents/img/toolbar_content_back.gif) repeat-x top left
;
887 padding: 3px 23px 3px 4px;
891 font-family: "Bitstream Vera Sans",Arial
,Helvetica
,sans-serif
;
897 padding: 0 0.35em 0 1em;
900 a
.toolbar_menuname
, a
.toolbar_menuname:link
, a
.toolbar_menuname:visited
{
905 table
.toolbar_popmenu
{
909 border-top: 1px solid
#a6a6a6;
910 border-right: 1px solid
#666666;
911 border-bottom: 2px solid black
;
912 border-left: 1px solid
#666666;
919 a
.toolbar_item_first
, a
.toolbar_item_first:link
, a
.toolbar_item_first:visited
, a
.toolbar_item_first:active
,
920 a
.toolbar_item
, a
.toolbar_item:link
, a
.toolbar_item:visited
, a
.toolbar_item:active
, span
.toolbar_item
{
921 text-decoration: none
;
923 border: 1px solid
#f2f2f2;
924 padding: 0.2em 0.5em 0.2em 0.5em;
931 td
.toolbar_item_title
{
932 padding: 4px 2px 2px 2px;
943 border-top: 1px solid
#cfcfcf;
946 a
.toolbar_item:hover
,
947 a
.toolbar_item_first:hover
{
949 border: 1px solid
#666666;
957 input
.quicksearch
.field
{
958 border: 1px solid
#a0a0a0;
960 padding: 0 0.1em 0 0.15em;
962 font-family: "Charter","Bitstream Vera Serif",Times
,serif
;
967 input
.quicksearch
.imgbutton
{
968 margin: 4px -11px 0 0;
974 /***************************** ODDS AND ENDS ****************************************************/
975 /*If you can't find what you need above, you can make a custom style here. */
981 background-color:#f0f0ff;
983 border-color:#ff0000;
987 table#developer_message_table
{
996 a
.optional_show:visited
,
997 a
.optional_show:hover
1001 text-decoration: none
;
1002 padding: 1px 6px 1px 6px;
1003 background: #eeeeee;
1004 border-left: 1px solid
#e0e0e0;
1005 border-right: 1px solid gray
;
1006 border-top: 1px solid
#e0e0e0;
1007 border-bottom: 1px solid gray
;
1009 a
.optional_show:after
{
1010 content: url
(/documents/img/expand_arrow_blue.gif);
1011 vertical-align: middle
;
1013 a
.optional_show_active
,
1014 a
.optional_show_active:visited
,
1015 a
.optional_show_active:hover
,
1016 a
.optional_show:active
{
1017 border-right: 1px solid
#e0e0e0;
1018 border-left: 1px solid gray
;
1019 border-bottom: 1px solid
#e0e0e0;
1020 border-top: 1px solid gray
;
1021 background: #dddddd;
1024 a
.optional_show_active:after
,
1025 a
.optional_show:active:after
{
1026 content: url
(/documents/img/expand_arrow_gray.gif);
1027 vertical-align: middle
;
1031 margin: 0.2em 0 1.3em 0;
1034 /*style for displaying a link instead of a button for 'optional_show' contents */
1035 a
.abstract_optional_show
{
1038 white-space: nowrap
;
1040 div
.abstract_optional_show
{
1041 background: #f0f0ff;
1042 border: 1px solid
#9F9FC7;
1043 margin: 0.2em 1em 0.2em 1em;
1044 padding: 0.2em 0.5em 0.2em 1em;
1047 /* style for displaying lists of links to file folders */
1048 /* currently used on bulk download ftp listing */
1049 a
.folderlink:before
{
1050 content: url
(/documents/img/folder_yellow_3.png);
1051 vertical-align: -8px;
1056 /* vertical-align: top; */
1062 /* font-style: italic; */
1066 margin-bottom: 0.4em;
1070 /* styles for displaying automatic (i.e. BLAST) annotation hits */
1072 vertical-align: middle
;
1075 span
.blasthit_type
{
1084 text-decoration: underline
;
1086 a
.blasthit_db:hover
{
1087 background: #eeeeff;
1090 background: #ccccff;
1091 padding-bottom: 3px;
1093 span
.blasthit_statname
{
1097 span
.blasthit_statname:after
{
1100 span
.blasthit_statval
{
1104 font-family: monospace
;
1109 background: #EDEDFF;
1110 vertical-align: middle
;
1112 td
.blasthit_defline
{
1115 background: #f8f8ff;
1116 font-family: monospace
;
1120 vertical-align: middle
;
1125 border: 1px solid
#cccccc;
1130 /* styles for little info tables generated with CXGN::FormattingHelpers::info_table_html */
1131 table
.sub_info_table
,
1133 border: 1px solid
#DDDDDD;
1137 table
.sub_info_table_noborder
,
1138 table
.info_table_noborder
{
1143 table
.sub_info_table
,
1144 table
.sub_info_table_noborder
{
1149 /* padding: 0 0.3em 0.4em 0.3em; */
1150 padding: 0.2em 0.2em 0.1em 0.3em;
1151 white-space: nowrap
;
1152 border-bottom: 1px solid
#DDDDDD;
1153 background: #F5F5F5;
1156 span
.info_table_fieldname
{
1159 span
.sub_info_table_fieldname
{
1165 td
.info_table_field
{
1166 padding: 0.6em 0.5em 0.3em 1em;
1168 td
.sub_info_table_field
{
1169 padding: 0 0.3em 0.3em 0;
1172 div
.sub_info_table_fieldval
,
1173 div
.info_table_fieldval
{
1174 /* font-family: monospace; */
1175 margin: 0.3em 0 0 0.6em;
1177 td
.sub_info_table_fieldval
,
1178 td
.info_table_fieldval
{
1179 padding: 0.5em 0.3em 0.3em 0.3em;
1180 /* background: #F5F5F5; */
1181 /* border: 1px solid #E5E5E5; */
1184 caption
.sub_info_table
{
1185 caption-side: bottom
;
1187 span
.subinfo:after
{
1192 /* styles for numerical range input in FormattingHelpers */
1199 vertical-align: middle
;
1202 /* Styles for SOL forum */
1205 background-color:#f0f0ff;
1207 border-color:#999999;
1214 background-color:#ffffee;
1217 border-color:#999999;
1226 /* styles for gbrowse (CGI::Toggle) */
1227 .el_hidden {display:none
}
1228 .el_visible {display:inline
}
1237 .tctl { text-decoration:underline
; }
1240 /* Re-style the inline MochiKit Logging Pane!: */
1241 div#_MochiKit_LoggingPane
{
1242 text-align:left
; /* appears centered otherwise, weird */
1247 /* ----------------------------------------------------------------------------------------------------------------*/
1248 /* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
1249 /* ----------------------------------------------------------------------------------------------------------------*/
1251 /* ----------------------------------------------------------------------------------------------------------------*/
1252 /* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
1253 /* ----------------------------------------------------------------------------------------------------------------*/
1255 font: 12px Arial
, Helvetica
, sans-serif
;
1260 font: 10px Arial
, Helvetica
, sans-serif
;
1264 #TB_window a:link
{color: #666666;}
1265 #TB_window a:visited
{color: #666666;}
1266 #TB_window a:hover
{color: #000;}
1267 #TB_window a:active
{color: #666666;}
1268 #TB_window a:focus
{color: #666666;}
1270 /* ----------------------------------------------------------------------------------------------------------------*/
1271 /* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
1272 /* ----------------------------------------------------------------------------------------------------------------*/
1282 .TB_overlayMacFFBGHack {background: url
(macFFBgHack.png) repeat
;}
1284 background-color:#000;
1285 filter:alpha
(opacity
=75);
1290 * html #TB_overlay
{ /* ie6 hack */
1292 height: expression
(document
.body
.scrollHeight
> document
.body
.offsetHeight ? document
.body
.scrollHeight : document
.body
.offsetHeight
+ 'px');
1297 background: #ffffff;
1301 border: 4px solid
#525252;
1307 * html #TB_window
{ /* ie6 hack */
1309 margin-top: expression
(0 - parseInt
(this
.offsetHeight
/ 2) + (TBWindowMargin
= document
.documentElement
&& document
.documentElement
.scrollTop || document
.body
.scrollTop
) + 'px');
1312 #TB_window img#TB_Image
{
1314 margin: 15px 0 0 15px;
1315 border-right: 1px solid
#ccc;
1316 border-bottom: 1px solid
#ccc;
1317 border-top: 1px solid
#666;
1318 border-left: 1px solid
#666;
1323 padding:7px 30px 10px 25px;
1329 padding:11px 25px 10px 0;
1333 #TB_closeAjaxWindow{
1334 padding:7px 10px 5px 0;
1340 #TB_ajaxWindowTitle{
1342 padding:7px 0 5px 10px;
1347 background-color:#e8e8e8;
1353 padding:2px 15px 15px 15px;
1359 #TB_ajaxContent.TB_modal
{
1364 padding:5px 0px 5px 0px;
1375 margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
1378 * html #TB_load
{ /* ie6 hack */
1380 margin-top: expression
(0 - parseInt
(this
.offsetHeight
/ 2) + (TBWindowMargin
= document
.documentElement
&& document
.documentElement
.scrollTop || document
.body
.scrollTop
) + 'px');
1388 background-color:#fff;
1390 filter:alpha
(opacity
=0);
1397 * html #TB_HideSelect
{ /* ie6 hack */
1399 height: expression
(document
.body
.scrollHeight
> document
.body
.offsetHeight ? document
.body
.scrollHeight : document
.body
.offsetHeight
+ 'px');