Team:UANL Mty-Mexico/slidorion/css-roundabout2
From 2013.igem.org
(4 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
/* Slidorion Stylesheet */ | /* Slidorion Stylesheet */ | ||
#slidorion { | #slidorion { | ||
- | width: | + | width: 762px; /* Set to slidorion width. Is equal to #slider + #accordion width */ |
- | height: | + | height: 412px; /* Set to slidorion height. Is equal to #slider and #accordion height */ |
position: relative; | position: relative; | ||
left:52%; | left:52%; | ||
Line 12: | Line 12: | ||
#slider { | #slider { | ||
- | width: | + | width: 450px; /* Set to slider width */ |
- | height: | + | height: 400px; /* Set to slider height */ |
position: relative; | position: relative; | ||
float: left; | float: left; | ||
Line 27: | Line 27: | ||
#accordion { | #accordion { | ||
width: 300px; /* Set to accordion width */ | width: 300px; /* Set to accordion width */ | ||
- | height: | + | height: 400px; /* Set to image height */ |
font-family: Verdana; | font-family: Verdana; | ||
background: #eee; | background: #eee; | ||
Line 41: | Line 41: | ||
#accordion > .link-header { | #accordion > .link-header { | ||
padding: 2px 4px; | padding: 2px 4px; | ||
- | height: | + | height:38px; |
font-size: 12px; | font-size: 12px; | ||
font-weight: bold; | font-weight: bold; | ||
Line 73: | Line 73: | ||
#accordion > .link-content { | #accordion > .link-content { | ||
- | height: | + | height: 140px; /* This height needs to be changed as it depends on the accordion height and number of tabs */ |
font-weight: normal; | font-weight: normal; | ||
font-size: 13px; | font-size: 13px; |
Latest revision as of 03:58, 29 October 2013
/* Slidorion Stylesheet */
- slidorion {
width: 762px; /* Set to slidorion width. Is equal to #slider + #accordion width */ height: 412px; /* Set to slidorion height. Is equal to #slider and #accordion height */ position: relative; left:52%; margin-left: -400px; padding: 5px; border: 1px solid #cccccc;
}
- slider {
width: 450px; /* Set to slider width */ height: 400px; /* Set to slider height */ position: relative; float: left; overflow: hidden; /* Hides the animations */ }
- slider > div {
position:absolute; width:100%; height:100%; }
- accordion {
width: 300px; /* Set to accordion width */ height: 400px; /* Set to image height */ font-family: Verdana; background: #eee; -webkit-box-shadow: -3px 0px 3px -1px rgba(51,51,51,0.3); -moz-box-shadow: -3px 0px 3px -1px rgba(51,51,51,0.3); box-shadow: -3px 0px 3px -1px rgba(51,51,51,0.3); position: relative; z-index:999; overflow: hidden; float: left; }
- accordion > .link-header {
padding: 2px 4px; height:38px; font-size: 12px; font-weight: bold; color: #333; background: #ededed; background: -moz-linear-gradient(top, #ededed 59%, #dcdcdc 100%); background: -webkit-linear-gradient(top, #ededed 59%,#dcdcdc 100%); background: -o-linear-gradient(top, #ededed 59%,#dcdcdc 100%); background: -ms-linear-gradient(top, #ededed 59%,#dcdcdc 100%); background: linear-gradient(top, #ededed 59%,#dcdcdc 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#dcdcdc',GradientType=0 ); border-top: 1px solid #ccc; }
- accordion > .link-header:first-child {
border-top:none; }
- accordion > .link-header:hover {
background: #ededed; cursor: pointer; }
- accordion > .link-header.active {
height:22px; border-bottom: none; background: #676767 !important; filter: none; color: #fff; }
- accordion > .link-content {
height: 140px; /* This height needs to be changed as it depends on the accordion height and number of tabs */ font-weight: normal; font-size: 13px; line-height:18px; margin: 0; padding: 16px; border: none; background: #d6d6d6; background: -moz-linear-gradient(top, #d6d6d6 0%, #ffffff 10%); background: -webkit-linear-gradient(top, #d6d6d6 0%,#ffffff 10%); background: -o-linear-gradient(top, #d6d6d6 0%,#ffffff 10%); background: -ms-linear-gradient(top, #d6d6d6 0%,#ffffff 10%); background: linear-gradient(top, #d6d6d6 0%,#ffffff 10%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d6d6d6', endColorstr='#ffffff',GradientType=0 ); overflow:auto; }