1 /* NOTE: SGN blue is #ccccff */
2 /******************** GENERAL SITE STYLES **********************/
3 /*various places on the site use various headline size tags, so let's try to make them all the same*/
7 background-color: white
;
8 font-family: "Helvetica Neue",Helvetica
,Arial
,sans-serif
;
21 dt
.sub
{ /* used for a second sublevel of dictionary terms */
26 /* where to put the title image */
42 vertical-align: middle
;
46 a
.toplink:link
, a
.toplink:visited
, a
.toplink:active
{
49 text-decoration: none
;
53 padding: 0px 0px 0px 0px;
54 text-decoration: underline
;
57 a
.mytools
, a
.mytools:link
, a
.mytools:visited
{
59 text-decoration: underline
;
61 padding: 0.1em 0.3em 0.1em 0.3em;
65 /*a.external, a[href ^="http:"] {
66 background: url(/documents/img/external.png) center right no-repeat;
76 background: url
(/documents/img/mail_icon.gif) center right no-repeat
;
81 border-top: 3px solid
#c0c0c0;
86 #pagefooter a
, #pagefooter
a:active
, #pagefooter
a:link
, #pagefooter
a:visited
{
91 margin: 10px 0px 0px 0px;
95 vertical-align: middle
;
101 vertical-align: middle
;
104 /* this is a centered page title, like 'BAC P00343' or 'Marker TM2' or whatever */
116 /* Developer Toolbar Style */
120 margin: -8px 0 13px -5px;
123 background-color: #eef;
124 border-bottom: 2px solid
#905;
126 /**Everything visible is in a table, use this to style fonts**/
131 /* general div to make something a little more indented */
132 div
.indentedcontent
, div
.indented_content
, div
.page_introduction
{
133 margin: 0.3em 1em 2em 2em;
135 div
.page_introduction
{
139 /* same effect as above, except for table cells. Don't make new pages that use this. */
140 td
.indentedcontent
, td
.indented_content
{
141 padding: 1em 1em 2em 2em;
143 /*generic text-align tags*/
154 /* the little tables at the top of search forms with */
155 /* the title of the search and a "select random" link */
156 table
.search_form_title
{
159 span
.search_form_title
{
164 a
.search_form_random
{
167 a
.search_form_random:before
{
170 a
.search_form_random:after
{
174 /***************************** LINKS ************************************************************/
179 text-decoration:none
;
183 text-decoration:none
;
187 text-decoration:none
;
191 text-decoration:underline
;
195 text-decoration:none
;
197 a
.hidevisited:active
{
199 text-decoration:none
;
201 a
.hidevisited:visited
{
203 text-decoration:none
;
205 a
.hidevisited:hover
{
207 text-decoration:underline
;
211 /* background: #ccccff; */
212 /* border: 1px solid #9f9fc7; */
215 /*makes a submit button that looks more like a link*/
218 text-decoration:none
;
223 /*makes a submit button that looks more like a link*/
224 input
.linkstyle:hover
{
226 text-decoration:underline
;
232 /* for little "what's this" links leading to help pages */
235 letter-spacing: -1px;
238 a
.context_help:before
{
242 a
.context_help:after
{
247 /***************************** FONTS ************************************************************/
248 /*Don't add one if you can use one that's already here. It will keep our fonts more consistent. */
251 font-family: bitstream vera sans mono
, monospace
;
255 /* sequences should be displayed in a monospace font */
256 .sequence, .monospace {
257 font-family: bitstream vera sans mono
, monospace
;
259 .sequence .methionine {
263 .sequence .stop_codon {
270 .sequence .longest_orf {
273 .threeframe_translate .frame {
278 /*some old style used by koni in est.pl and unigene.pl*/
281 font-family: bitstream vera sans mono
, monospace
;
289 /* example text used in search pages */
301 font-family: monospace
;
304 /***************************** TEXT AND BACKGROUND COLORS ***************************************/
305 /*Don't add one if you can use one that's already here. It will keep our color scheme more consistent. */
307 /*bgcolorstatuses 1-4 show statuses with color (used on BAC registry, for instance)
314 span.bgcolorselected a {
316 padding-right: 0.2em;
318 border: 1px solid #444444;
323 .bgcolorstatus1 a, .bgcolorstatus1 span.nolink {
324 background-color: #dddddd;
327 border: 1px solid black
;
329 .bgcolorstatus2 a, .bgcolorstatus2 span.nolink {
330 background-color: #ffff66;
333 border: 1px solid black
;
335 .bgcolorstatus3 a, .bgcolorstatus3 span.nolink {
336 background-color: #66ff66;
339 border: 1px solid black
;
341 .bgcolorstatus4 a, .bgcolorstatus4 span.nolink {
342 background-color: #9999ff;
345 border: 1px solid black
;
348 /*for lists of things with alternating colored backgrounds*/
350 background-color: #f5f5ff;
353 background-color: #fcfcff;
355 /*to discreetly highlight an item*/
357 background-color: #ccccff;
359 /*use class="sgnblue" instead of bgcolor="sgnblue"*/
361 background-color: #ccffcc;
363 /*important warning*/
367 background-color: #ff0000;
369 /*not quite so important warning*/
372 background-color: none
;
377 /* used to highlight things in yellow, like bad regions of sequences */
378 .highlighted, .badseq {
381 /* used to indicate something is disabled or relatively unimportant. just like, um, ghosts */
385 /* used for special notices that are unusual, and to which the user's attention should be drawn */
393 /* for things you want to put in a subtly set-off box */
395 border: 1px solid
#cccccc;
401 border:1px dashed
#772222;
402 background-color:#e5e5e5;
410 border-bottom: 1px dashed
#666;
414 /*nothing different*/
417 /***************************** INFO SECTIONS *******************************************************/
419 You will probably not need these, because you can
420 just call the info_section_html() function that uses them
424 these make a blue box like we like to use to divide
425 info pages into sections.
428 .infosectionhead_empty
,
429 .sub_infosectionhead
,
430 .sub_infosectionhead_empty
433 /*background: #e3e3cc;*/ /* NOT SGN-blue! -- cassava blue! */
435 /*margin-bottom: 6px;
437 padding: 1px 0px 3px 2px;*/
438 /*margin-right: 1em; */
439 /*border: 1px solid #9f9fc7;*/
443 border-bottom-style: solid
;
447 /* sub-infosections have a gray heading */
448 .sub_infosectionhead
,
449 .sub_infosectionhead_empty
451 /* background: #efefef;
452 border-color: #c2c2c2;
455 border-bottom-style: solid
;
460 /* empty infosections don't have such a big bottom margin */
461 .infosectionhead_empty
,
462 .sub_infosectionhead_empty
464 margin-bottom: 0.5em;
468 .sub_infosectiontitle
,
469 .infosectiontitle_empty
,
470 .sub_infosectiontitle_empty
473 vertical-align: middle
;
477 td
.infosectionsubtitle
,
478 td
.sub_infosectionsubtitle
,
479 td
.infosectionsubtitle_empty
,
480 td
.sub_infosectionsubtitle_empty
486 td
.infosectionsubtitle_empty
,
487 td
.sub_infosectionsubtitle_empty
492 div
.infosectioncontent
,
493 div
.sub_infosectioncontent
495 margin: 0.4em 1em 2em 2em;
497 td
.infosection_emptymessage
,
498 td
.sub_infosection_emptymessage
506 /************* COLLAPSIBLE THINGS (used by CXGN::Page::Widgets::collapser) ********************/
512 text-decoration: none
;
516 padding: 0 5px 0 2px;
521 /************* TABBED PAGES ********************/
522 /* You will probably not need these, because you can
523 just call the tabset function that uses them */
525 /* styles for a set of tabs generated with SGN::tabset */
526 /* like those on bulk download and direct search */
527 /* classes to make a rounded box with some fill around an */
534 td
.modesel_c
, td
.modesel_c_hi
{
536 vertical-align: middle
;
548 border-bottom: 2px solid
#c0c0c0;
551 a
.modesel
, a
.modesel:visited
, a
.modesel_hi
, a
.modesel_hi:visited
{
554 margin: -3px -2px -1px -2px;
556 /* position: absolute; */
559 a
.modesel:hover
, a
.modesel_hi:hover
{
560 text-decoration: none
;
566 td
.modesel_tl
, td
.modesel_tl_hi
{
581 td
.modesel_tr
, td
.modesel_tr_hi
{
598 td
.modesel_l
, td
.modesel_l_hi
{
604 td
.modesel_t
, td
.modesel_t_hi
{
610 td
.modesel_r
, td
.modesel_r_hi
{
631 /* now for the background images */
632 td
.modesel_l_hi
{ background: url
(/documents/img/modesel_l_back_hi.gif) repeat-y top right
; }
633 td
.modesel_r_hi
{ background: url
(/documents/img/modesel_r_back_hi.gif) repeat-y top left
; }
634 td
.modesel_t_hi
{ background: url
(/documents/img/modesel_t_hi.gif) repeat-x bottom left
; }
635 td
.modesel_b_hi
{ background: url
(/documents/img/modesel_b_hi.gif) repeat-x top left
; }
637 background: #bbbbe5 url
(/documents/img/modesel_content_back_hi.gif) repeat-x top left
;
638 /* padding-top: 2px; */
640 td
.modesel_l
{ background: url
(/documents/img/modesel_l_back.gif) repeat-y top left
; }
641 td
.modesel_r
{ background: url
(/documents/img/modesel_r_back.gif) repeat-y top left
; }
642 td
.modesel_t
{ background: url
(/documents/img/modesel_t.gif) repeat-x bottom left
; }
643 td
.modesel_b
{ background: url
(/documents/img/modesel_b.gif) repeat-x top left
; }
645 background: #dbdbdb url
(/documents/img/modesel_content_back.gif) repeat-x top left
;
648 /***************************** MULTILEVEL SELECT BOX *****************************************/
650 a
.multilevel_modesel
, a
.multilevel_modesel:visited
, a
.multilevel_modesel_active
, a
.multilevel_modesel_active:visited
,
651 a
.multilevel_modesel_parent
, a
.multilevel_modesel_parent:visited
, a
.multilevel_modesel_parent_active
, a
.multilevel_modesel_parent_active:visited
653 border: 1px solid black
;
655 -moz-border-radius: 3px;
656 -webkit-border-radius: 3px;
657 -khtml-border-radius: 3px;
659 padding: 2px 0 2px 0;
660 font-family: Arial
, sans-serif
;
662 text-decoration: none
;
666 background: #e6e6e6 url
(/documents/img/gr_wht_trans.png) top left repeat-x
;
669 a
.multilevel_modesel
, a
.multilevel_modesel:visited
,
670 a
.multilevel_modesel_parent
, a
.multilevel_modesel_parent:visited
{
671 background: #e6e6e6 url
(/documents/img/gr_wht_trans_2.png) top left repeat-x
;
674 a
.multilevel_modesel_parent_active
{
680 div
.multilevel_modesel
, div
.multilevel_modesel_active
{
681 margin: -1px auto
0 auto
;
683 div
.multilevel_modesel td
, div
.multilevel_modesel_active td
{
687 div
.multilevel_modesel table
, div
.multilevel_modesel_active table
{
688 margin: 0 auto
0 auto
;
690 div
.multilevel_modesel
{
693 div
.multilevel_modesel_active
{
697 div
.multilevel_modesel_level_1
{
698 border: 1px solid black
;
699 background-color: #c2c2ff;
702 div
.multilevel_modesel_level_2
{
703 border: 1px solid black
;
704 background-color: #9797c7;
708 div
.multilevel_modesel_level_0 a
.multilevel_modesel_active
,
709 div
.multilevel_modesel_level_0 a
.multilevel_modesel_parent_active
{
710 background-color: #c2c2ff;
712 div
.multilevel_modesel_level_1 a
.multilevel_modesel_active
,
713 div
.multilevel_modesel_level_1 a
.multilevel_modesel_parent_active
{
714 background-color: #9797c7;
717 div
.multilevel_modesel_level_2 a
.multilevel_modesel_active
,
718 div
.multilevel_modesel_level_2 a
.multilevel_modesel_parent_active
{
719 background-color: #76769b;
723 /***************************** PAGINATED SEARCH RESULTS *****************************************/
725 /* for pagination next page and previous page */
726 /* buttons on search pages */
727 a
.paginate_nav
, span
.paginate_nav_currpage
, span
.paginate_nav_ghosted
{
733 span
.paginate_nav_ghosted
{
736 span
.paginate_summary
{
738 span
.paginate_nav_currpage
{
740 border: 1px solid black
;
744 table
.columnar_table
{
745 border: 1px solid
#cccccc;
748 table
.columnar_table_noborder
{
751 td
.columnar_table
, th
.columnar_table
, th
.columnar_table_noborder
{
752 padding: 0.2em 0.6em 0.2em 0.6em;
757 border-bottom: 1px solid
#aaa;
760 caption
.columnar_table
{
766 /* styles for paginated search results pages like bacsearch.pl and markersearch.pl*/
771 text-decoration: none
;
778 /***************************** HOME PAGE STUFF *********************/
779 /*Feel free to use elsewhere if you like. */
787 border-bottom-width:1px;
788 border-top-width:0px;
789 border-left-width:0px;
790 border-right-width:0px;
791 border-color:#999999;
811 background-color:#ffffff;
817 background-color:#f0f0ff;
819 border-color:#999999;
825 background-color:#ccccff;
827 border-color:#999999;
834 background-color:#cccccc;
836 border-color:#999999;
842 background-color:#ffffff;
844 border-color:#999999;
849 background-color:#ffffaa;
851 border-color: #888888;
855 /*********** TOOLBARS W/DROPDOWN MENUS ****************/
858 margin: 0 auto
3px auto
;
870 td
.toolbar_l
, td
.toolbar_r
{
874 background: white url
(/documents/img/toolbar_content_back.gif) repeat-x top left
;
875 padding: 3px 23px 3px 4px;
879 font-family: "Bitstream Vera Sans",Arial
,Helvetica
,sans-serif
;
885 padding: 0 0.35em 0 1em;
888 a
.toolbar_menuname
, a
.toolbar_menuname:link
, a
.toolbar_menuname:visited
{
893 table
.toolbar_popmenu
{
897 border-top: 1px solid
#a6a6a6;
898 border-right: 1px solid
#666666;
899 border-bottom: 2px solid black
;
900 border-left: 1px solid
#666666;
907 a
.toolbar_item_first
, a
.toolbar_item_first:link
, a
.toolbar_item_first:visited
, a
.toolbar_item_first:active
,
908 a
.toolbar_item
, a
.toolbar_item:link
, a
.toolbar_item:visited
, a
.toolbar_item:active
, span
.toolbar_item
{
909 text-decoration: none
;
911 border: 1px solid
#f2f2f2;
912 padding: 0.2em 0.5em 0.2em 0.5em;
919 td
.toolbar_item_title
{
920 padding: 4px 2px 2px 2px;
931 border-top: 1px solid
#cfcfcf;
934 a
.toolbar_item:hover
,
935 a
.toolbar_item_first:hover
{
937 border: 1px solid
#666666;
945 input
.quicksearch
.field
{
946 border: 1px solid
#a0a0a0;
948 padding: 0 0.1em 0 0.15em;
950 font-family: "Charter","Bitstream Vera Serif",Times
,serif
;
955 input
.quicksearch
.imgbutton
{
956 margin: 4px -11px 0 0;
962 /***************************** ODDS AND ENDS ****************************************************/
963 /*If you can't find what you need above, you can make a custom style here. */
969 background-color:#f0f0ff;
971 border-color:#ff0000;
975 table#developer_message_table
{
979 .invisible, .noshow {
985 margin: 0.2em 0 1.3em 0;
986 border: 1px solid gray
;
988 -moz-border-radius: 6px;
989 -webkit-border-radius: 6px;
992 div
.optional_show
> h3
{
1001 div
.optional_show
> div
{
1003 margin: 0 10px 10px 10px;
1005 div
.optional_show
> h3
> .title
{
1009 div
.optional_show
> h3
> .icon
{
1010 background-image: url
(/img
/ui-icons
.png
);
1014 background-position: -32px -16px;
1016 div
.optional_show
> h3
.active
> .icon
{
1017 background-position: -64px -16px;
1021 /*style for displaying a link instead of a button for 'optional_show' contents */
1022 a
.abstract_optional_show
{
1025 white-space: nowrap
;
1027 div
.abstract_optional_show
{
1028 background: #f0f0ff;
1029 border: 1px solid
#9F9FC7;
1030 margin: 0.2em 1em 0.2em 1em;
1031 padding: 0.2em 0.5em 0.2em 1em;
1034 /* style for displaying lists of links to file folders */
1035 /* currently used on bulk download ftp listing */
1036 a
.folderlink:before
{
1037 content: url
(/documents/img/folder_yellow_3.png);
1038 vertical-align: -8px;
1043 /* vertical-align: top; */
1049 /* font-style: italic; */
1053 margin-bottom: 0.4em;
1057 /* styles for displaying automatic (i.e. BLAST) annotation hits */
1059 vertical-align: middle
;
1062 span
.blasthit_type
{
1071 text-decoration: underline
;
1073 a
.blasthit_db:hover
{
1074 background: #eeeeff;
1077 background: #ccccff;
1078 padding-bottom: 3px;
1080 span
.blasthit_statname
{
1084 span
.blasthit_statname:after
{
1087 span
.blasthit_statval
{
1091 font-family: monospace
;
1096 background: #EDEDFF;
1097 vertical-align: middle
;
1099 td
.blasthit_defline
{
1102 background: #f8f8ff;
1103 font-family: monospace
;
1107 vertical-align: middle
;
1112 border: 1px solid
#cccccc;
1117 /* styles for little info tables generated with CXGN::FormattingHelpers::info_table_html */
1118 table
.sub_info_table
,
1120 border: 1px solid
#DDDDDD;
1124 table
.sub_info_table_noborder
,
1125 table
.info_table_noborder
{
1130 table
.sub_info_table
,
1131 table
.sub_info_table_noborder
{
1136 /* padding: 0 0.3em 0.4em 0.3em; */
1137 padding: 0.2em 0.2em 0.1em 0.3em;
1138 white-space: nowrap
;
1139 border-bottom: 1px solid
#DDDDDD;
1140 background: #F5F5F5;
1143 span
.info_table_fieldname
{
1146 span
.sub_info_table_fieldname
{
1152 td
.info_table_field
{
1153 padding: 0.6em 0.5em 0.3em 1em;
1155 td
.sub_info_table_field
{
1156 padding: 0 0.3em 0.3em 0;
1159 div
.sub_info_table_fieldval
,
1160 div
.info_table_fieldval
{
1161 /* font-family: monospace; */
1162 margin: 0.3em 0 0 0.6em;
1164 div
.info_table_fieldval
> ul
{
1166 padding-left: 2.5em;
1170 caption
.sub_info_table
{
1171 caption-side: bottom
;
1173 span
.subinfo:after
{
1178 /* styles for numerical range input in FormattingHelpers */
1185 vertical-align: middle
;
1188 /* Styles for SOL forum */
1191 background-color:#f0f0ff;
1193 border-color:#999999;
1200 background-color:#ffffee;
1203 border-color:#999999;
1207 /* styles for gbrowse (CGI::Toggle) */
1208 .el_hidden {display:none
}
1209 .el_visible {display:inline
}
1218 .tctl { text-decoration:underline
; }
1221 /* Re-style the inline MochiKit Logging Pane!: */
1222 div#_MochiKit_LoggingPane
{
1223 text-align:left
; /* appears centered otherwise, weird */
1227 div
.publication_embedded
{
1228 text-align: justify
;
1230 /* publication styles */
1231 div
.publication_embedded
.detail
{
1233 border: 1px solid gray
;
1237 div
.publication_embedded
.citation
{
1249 #affiliated_sites ul
{
1253 #affiliated_sites li
{
1254 padding-bottom: 1em;
1257 /* styles for standard renderings of CrossReference objects */
1263 list-style: none outside none
;
1266 div
.xref_rich_gbrowse2
{
1269 -moz-border-radius: 6px;
1270 -webkit-border-radius: 6px;
1271 border: 1px outset
#666;
1272 padding-bottom: 8px;
1275 div
.xref_rich_gbrowse2 hr
{
1279 div
.xref_rich_gbrowse2 img
{
1285 /* styles for jquery.simpletooltip */
1289 border: 1px solid
#A6A7AB;
1290 background: #F2F3F5;
1293 #page_report_a_problem {
1294 margin: 20px 0 -10px 1px;
1299 #page_report_a_problem a
{
1306 /* cassavabase additions */
1319 font-family: 'Lato', sans-serif
;
1322 text-rendering: optimizelegibility
;
1325 h1
{font-size: 22px; line-height: 32px; margin: 0;}
1326 h2
{font-size: 18px; line-height: 28px; }
1327 h3
{font-size: 16px; line-height: 26px; }
1330 h6
{line-height: 18px; }
1331 h4
{font-size: 14px; }
1332 h5
{font-size: 12px; }
1333 h6
{font-size: 11px; color: #999999; text-transform: uppercase
; }
1337 display: inline-block
;
1339 padding: 4px 10px 4px;
1347 vertical-align: middle
;
1349 background-color: #9E75BF;
1350 *background-color: #9E75BF;
1351 border: 1px solid
#cccccc;
1353 border-color: rgba
(0, 0, 0, 0.1) rgba
(0, 0, 0, 0.1) rgba
(0, 0, 0, 0.25);
1354 border-color: #e6e6e6 #e6e6e6 #bfbfbf;
1355 border-bottom-color: #b3b3b3;
1360 -webkit-box-shadow: inset
0 1px 0 rgba
(255, 255, 255, 0.2), 0 1px 2px rgba
(0, 0, 0, 0.05);
1361 -moz-box-shadow: inset
0 1px 0 rgba
(255, 255, 255, 0.2), 0 1px 2px rgba
(0, 0, 0, 0.05);
1362 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, 0.2), 0 1px 2px rgba
(0, 0, 0, 0.05);
1363 -webkit-transition: background-color
.3s ease
;
1370 text-decoration: none
;
1371 background-color: #e6e6e6;
1372 *background-color: #d9d9d9;
1373 /* Buttons in IE7 don't get borders, so darken on hover */
1375 background-position: 0 -15px;
1376 -webkit-transition: background-position
0.1s linear
;
1377 -moz-transition: background-position
0.1s linear
;
1378 -ms-transition: background-position
0.1s linear
;
1379 -o-transition: background-position
0.1s linear
;
1380 transition: background-position
0.1s linear
;
1383 a
{color: #954A09; text-decoration: none
; background: none
;}
1384 a:hover
{color: #CE8E00; text-decoration: underline
; }
1389 border-top: 1px solid
#eeeeee;
1390 border-bottom: 1px solid
#ffffff;
1395 #header {width:100%; background-color:#FFFFFF; color:#fff; height:45px;}
1396 #footer {width:960px; min-height:60px; margin:0px auto
; }
1398 #footer.white
{background-color:#fff;}
1400 #footer.earth
{background-color:#472A2B; width:100%;}
1401 #footer.earth p
{color:#e6e4d1;}
1402 #footer.earth a
{color:#f2f2f2;}
1403 #footer.earth
a:hover
{color:#fff;}
1406 #footer .block
{margin-left:30px; float:left
;}
1407 #footer .first
{margin-left:0 !important
;}
1408 #footer .wide
{width:460px;}
1409 #footer .small
{width:220px;}
1411 #footer ul
{padding:0;}
1412 #footer ul li
{list-style: none outside none
;margin: 0 0 6px 0; padding: 0;}
1414 .container { width:960px; margin:0px auto
; }
1417 .is-padded {padding: 20px 10px; }
1419 .photo {margin:20px;}
1421 .pull-right {float: right
;}
1422 .pull-left {float: left
;}
1425 background: url
("/static/img/cross-pattern.png") repeat
; color: #333333;