(21 intermediate revisions by 2 users not shown) | |||
Line 364: | Line 364: | ||
.igem_content_wrapper a:hover { | .igem_content_wrapper a:hover { | ||
color: #13c0d7; | color: #13c0d7; | ||
+ | text-decoration:none; | ||
+ | } | ||
+ | |||
+ | /*for images that are href*/ | ||
+ | a.image_href{ | ||
text-decoration:none; | text-decoration:none; | ||
} | } | ||
Line 378: | Line 383: | ||
.igem_content_wrapper td > ul li, .igem_content_wrapper ol ol li, .igem_content_wrapper ul ol li, .igem_content_wrapper ol ul li, .igem_content_wrapper ul ul li { | .igem_content_wrapper td > ul li, .igem_content_wrapper ol ol li, .igem_content_wrapper ul ol li, .igem_content_wrapper ol ul li, .igem_content_wrapper ul ul li { | ||
font-size: 75%; | font-size: 75%; | ||
+ | margin-bottom: 10px; | ||
+ | line-height: 18px; | ||
} | } | ||
Line 407: | Line 414: | ||
/* table headers */ | /* table headers */ | ||
.igem_content_wrapper th { | .igem_content_wrapper th { | ||
− | + | background-color: #f2f2f2; | |
− | + | border: 1px solid #d3d3d3; | |
− | + | border-collapse: collapse; | |
− | + | font-size: 110%; | |
− | + | padding: 10px; | |
− | + | vertical-align: text-top; | |
+ | text-align: left; | ||
} | } | ||
Line 745: | Line 753: | ||
/* center content */ | /* center content */ | ||
− | .center_content | + | p.center_content, |
− | .center_content | + | h1.center_content, |
− | .center_content | + | h2.center_content, |
− | .center_content | + | h3.center_content, |
− | .center_content | + | h4.center_content, |
− | .center_content | + | h5.center_content, |
− | .center_content | + | h6.center_content, |
− | text-align:center; | + | img.center_content { |
+ | margin:auto; | ||
+ | text-align:center!important; | ||
} | } | ||
Line 862: | Line 872: | ||
.navigation_support_title { | .navigation_support_title { | ||
− | + | background-color: #f2f2f2; | |
− | + | border-radius: 7px; | |
− | + | color: #797979; | |
− | + | cursor: pointer; | |
− | + | float: left; | |
− | + | font-size: 120%; | |
− | + | font-weight: bold; | |
− | + | height: 25px; | |
− | + | margin: 0px 10px 0px 0px; | |
− | + | padding: 8px 3.5px 2px 3.5px; | |
− | + | text-align: center; | |
− | + | width: 200px; | |
} | } | ||
.navigation_button { | .navigation_button { | ||
− | border: 2px solid #c1c1c1; | + | border: 2px solid #c1c1c1; |
− | + | border-radius: 15%; | |
− | + | color: #797979; | |
− | + | cursor: pointer; | |
− | + | display: block; | |
− | + | float: left; | |
− | + | font-size: 120%; | |
− | + | font-weight: bold; | |
− | + | height: 25px; | |
− | + | margin-right: 15px; | |
− | + | padding: 6px 1.5px 0px 1.5px; | |
− | + | text-align: center; | |
− | + | width: 30px; | |
} | } | ||
Line 909: | Line 919: | ||
.navigation_button:hover, .title_extra:hover+.navigation_button, .navigation_button.active_navigation_button:hover { | .navigation_button:hover, .title_extra:hover+.navigation_button, .navigation_button.active_navigation_button:hover { | ||
background-color: #00a19c; | background-color: #00a19c; | ||
− | |||
border: 2px solid #00a19c; | border: 2px solid #00a19c; | ||
+ | color: #ffffff; | ||
} | } | ||
Line 919: | Line 929: | ||
.navigation_button.active_navigation_button { | .navigation_button.active_navigation_button { | ||
+ | color: #00a19c; | ||
background-color: #f2f2f2; | background-color: #f2f2f2; | ||
− | |||
border: 2px solid #00a19c; | border: 2px solid #00a19c; | ||
} | } | ||
− | |||
− | |||
Line 930: | Line 938: | ||
.title_extra { | .title_extra { | ||
color: #00a19c; | color: #00a19c; | ||
+ | display:none; | ||
float:left; | float:left; | ||
+ | margin-right: 20px; | ||
padding: 7px 0px; | padding: 7px 0px; | ||
− | |||
− | |||
} | } | ||
Line 943: | Line 951: | ||
.title_extra.support_item { | .title_extra.support_item { | ||
display:block; | display:block; | ||
− | |||
margin-left: -17px; | margin-left: -17px; | ||
+ | margin-right:0px; | ||
} | } | ||
Line 961: | Line 969: | ||
.track_navigation{ | .track_navigation{ | ||
− | |||
float:left; | float:left; | ||
+ | width:8.33%; | ||
} | } | ||
.track_navigation> img { | .track_navigation> img { | ||
− | + | opacity: 1.0; | |
} | } | ||
.track_navigation> img:hover{ | .track_navigation> img:hover{ | ||
− | + | opacity: 0.5; | |
} | } | ||
Line 1,044: | Line 1,052: | ||
} | } | ||
− | + | ||
+ | |||
+ | /*read more class for large sections of text*/ | ||
+ | |||
+ | .read_more { | ||
+ | background-color:#00A19B; | ||
+ | border: 1px solid #00A19B; | ||
+ | border-radius:5px; | ||
+ | color: #ffffff; | ||
+ | font-weight: bold; | ||
+ | padding: 0px 12px; | ||
+ | } | ||
+ | |||
+ | |||
+ | .read_more:hover { | ||
+ | background-color:#0a5157; | ||
+ | border: 1px solid #0a5157; | ||
+ | color: #ffffff; | ||
+ | cursor:pointer; | ||
+ | } | ||
+ | |||
+ | |||
+ | .read_more::before{ | ||
+ | content: "Read more"; | ||
+ | white-space:nowrap; | ||
+ | } | ||
+ | |||
+ | .read_more.show_less::before{ | ||
+ | content: "Show less"; | ||
+ | } | ||
+ | |||
+ | .read_more_text{ | ||
+ | display:none; | ||
+ | } | ||
+ | |||
/*mobile*/ | /*mobile*/ | ||
Line 1,086: | Line 1,128: | ||
.submenu_item.with_subsub_menu{ width:68%;} | .submenu_item.with_subsub_menu{ width:68%;} | ||
.subsubmenu_item {font-size:70%;} | .subsubmenu_item {font-size:70%;} | ||
+ | .igem_column_wrapper{padding-top:0px;} | ||
} | } | ||
Line 1,095: | Line 1,138: | ||
.igem_content_wrapper {width:100%; margin-left:0px;} | .igem_content_wrapper {width:100%; margin-left:0px;} | ||
− | + | .igem_column_wrapper{padding-top:25px;} | |
+ | |||
.half_size, .two_thirds_size, .third_size, .three_quarter_size, .quarter_size, | .half_size, .two_thirds_size, .third_size, .three_quarter_size, .quarter_size, | ||
.column.full_size > .highlight.news_item > .column.quarter_size, | .column.full_size > .highlight.news_item > .column.quarter_size, | ||
Line 1,152: | Line 1,196: | ||
if ($("#HQ_info").length){ | if ($("#HQ_info").length){ | ||
hide_HQ_info(); | hide_HQ_info(); | ||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 1,164: | Line 1,203: | ||
}); | }); | ||
− | |||
− | |||
− | |||
− | |||
− | |||
if( $(".igem_mobile_menu_bar").is(":visible") ){ | if( $(".igem_mobile_menu_bar").is(":visible") ){ | ||
Line 1,175: | Line 1,209: | ||
}); | }); | ||
} | } | ||
+ | |||
+ | |||
+ | //expand collapse functionality | ||
+ | $(".collapsible_accordion_access").click(function(){ | ||
+ | $(this).toggleClass("displaying_content"); | ||
+ | $(this).parent().next().toggleClass("hide_content"); | ||
+ | }); | ||
+ | |||
+ | //read more functionality | ||
+ | $(".read_more").click(function(){ | ||
+ | $(this).toggleClass("show_less"); | ||
+ | $(this).prev(".read_more_text").fadeToggle(400); | ||
+ | }); | ||
+ | |||
+ | //if image_slider exists, activate the automatic rotation slider and functionality | ||
+ | if ($("#image_carrousel").length){ | ||
+ | image_slider_rotation(); | ||
+ | } | ||
+ | |||
Latest revision as of 18:02, 20 November 2019