(13 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 409: | 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 1,051: | Line 1,057: | ||
.read_more { | .read_more { | ||
− | background-color: # | + | background-color:#00A19B; |
− | border: 1px solid # | + | border: 1px solid #00A19B; |
border-radius:5px; | border-radius:5px; | ||
− | color: # | + | color: #ffffff; |
font-weight: bold; | font-weight: bold; | ||
padding: 0px 12px; | padding: 0px 12px; | ||
Line 1,061: | Line 1,067: | ||
.read_more:hover { | .read_more:hover { | ||
− | background-color:# | + | background-color:#0a5157; |
− | border: 1px solid # | + | border: 1px solid #0a5157; |
color: #ffffff; | color: #ffffff; | ||
cursor:pointer; | cursor:pointer; | ||
Line 1,069: | Line 1,075: | ||
.read_more::before{ | .read_more::before{ | ||
− | content: "Read more | + | content: "Read more"; |
+ | white-space:nowrap; | ||
} | } | ||
Line 1,121: | 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,130: | 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,187: | Line 1,196: | ||
if ($("#HQ_info").length){ | if ($("#HQ_info").length){ | ||
hide_HQ_info(); | hide_HQ_info(); | ||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 1,199: | Line 1,203: | ||
}); | }); | ||
− | |||
− | |||
− | |||
− | |||
− | |||
if( $(".igem_mobile_menu_bar").is(":visible") ){ | if( $(".igem_mobile_menu_bar").is(":visible") ){ | ||
Line 1,210: | 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