Template:USTC-Software/header/css

From 2013.igem.org

(Difference between revisions)
 
(140 intermediate revisions not shown)
Line 1: Line 1:
-
#top {
+
.pix_diapo {
-
position: fixed;
+
background: #000;
-
background: #0D97F2;
+
-moz-box-shadow: 2px 3px 6px #000;
-
width:100%;
+
-webkit-box-shadow: 2px 3px 6px #000;
-
height:50px;
+
box-shadow: 2px 3px 6px #000;
-
z-index: 5000;
+
height: 500px;
-
top:0px;
+
margin: 0 10px;
-
left:0px;
+
overflow: hidden;
-
        border-radius: 0 0 5px 5px;  
+
position: relative;
-
-moz-border-radius: 0 0 5px 5px;  
+
width: 1000px;
-
-webkit-border-radius: 0 0 15px 15px;
+
        margin-left:1px;
}
}
-
 
+
.pix_diapo > div {
-
 
+
display: none;
-
 
+
height: 100%;
-
#header {  
+
left: 0;
-
position: relative;
+
position: absolute;
-
background: url(https://static.igem.org/mediawiki/2013/3/3f/USTC-Software_header_bg.png) no-repeat right top;  
+
top: 0;
-
        border-radius: 0 0 5px 5px;  
+
width: 100%;
-
-moz-border-radius: 0 0 5px 5px;  
+
-
-webkit-border-radius: 0 0 15px 15px;
+
-
height: 45px;
+
-
font-family: "Helvetica Neue","Arial",sans-serif;
+
-
/*font-size: 14px;*/
+
-
border: 5px #0D97F2 solid;
+
-
border-top-width:0px;
+
-
max-width:1340px;
+
-
width:100%;
+
}
}
-
 
+
#pix_prev, #pix_next {
-
#nav-strip a {
+
-
color: #fff;
+
-
text-decoration: none;
+
cursor: pointer;
cursor: pointer;
-
cursor: hand;
+
display: block;
-
}
+
height: 40px;
-
 
+
margin-top: -20px;
-
 
+
-
#nav-strip ul {
+
-
margin:0;
+
-
padding:0;
+
-
list-style:none;
+
-
}
+
-
 
+
-
 
+
-
 
+
-
#nav-strip ul li.nav-item,
+
-
#nav-strip ul li.nav-item.active ,
+
-
#nav-strip ul li.nav-item:hover{
+
-
/*border-left: 1px solid #373737;
+
-
border-right: 1px solid #181818;*/
+
-
}
+
-
 
+
-
 
+
-
#nav-strip {
+
-
margin:0;
+
-
width: 670px;/*总宽度*/
+
-
height: 45px;
+
position: absolute;
position: absolute;
-
z-index:9999;
+
top: 50%;
-
left:350px;
+
width: 40px;
-
/*border-right: solid 1px #373737;
+
z-index: 1001;
-
border-left: solid 1px #181818;
+
}
}
-
 
+
#pix_prev {
-
 
+
background: url(https://static.igem.org/mediawiki/2013/6/60/USTC_Software_Prev.png) no-repeat;
-
#nav-strip a:hover { text-decoration:none;}
+
left: 0px;
-
 
+
-
 
+
-
#nav-strip ul li.nav-item {
+
-
        display: inline;
+
-
        float: left;
+
-
position:relative;
+
-
padding-top:15px;
+
-
width:130px;/*主菜单宽*/
+
-
height: 30px;
+
-
text-align:center;
+
}
}
-
 
+
#pix_next {
-
 
+
background: url(https://static.igem.org/mediawiki/2013/5/5e/USTC_Software_Next.png) no-repeat;
-
#nav-strip ul li.nav-item:hover,
+
left: auto!important;
-
#nav-strip ul li.nav-item.hover{ background: #0D97F2;}
+
right: 0px!important;
-
 
+
-
#nav-strip ul li.nav-item:hover a,
+
-
#nav-strip ul li.nav-item.hover a{color: #FFF;}/*鼠标接触时的颜色浓绿*/
+
-
 
+
-
#nav-strip ul li a{
+
-
color: #000;
+
-
display:block;
+
-
font-size: 14px;/*主菜单字体大小*/
+
}
}
-
 
+
#pix_pag {
-
 
+
margin: 0 auto;
-
#nav-strip ul li .subnav {
+
position: relative;
-
display: none;
+
width: 930px;
-
position:absolute;
+
z-index: 1002;
-
background: #0D97F2;
+
-
top:45px;
+
}
}
-
 
+
#pix_commands {
-
 
+
cursor: pointer;
-
#nav-strip .subnav-inner {
+
display: block;
float: left;
float: left;
-
width: 130px;/*160 the width of menu when hovered*/
+
height: 26px;
 +
margin: 15px 0 0 13px;
 +
position: relative;
 +
width: 24px;
}
}
-
 
+
#pix_play {
-
 
+
background: url(https://static.igem.org/mediawiki/2013/4/45/USTC_Software_play.png) center no-repeat;
-
#nav-strip ul li .subnav ul{
+
height: 24px;
 +
left: 0;
 +
position: absolute;
 +
top: 0;
 +
width: 24px;
 +
}
 +
#pix_stop {
 +
background: url(https://static.igem.org/mediawiki/2013/c/ce/USTC_Software_Stop.png) center no-repeat;
 +
height: 24px;
 +
left: 0;
 +
position: absolute;
 +
top: 0;
 +
width: 24px;
 +
}
 +
#pix_pag_ul {
 +
float: right;
 +
margin: 0;
 +
padding: 0;
 +
}
 +
#pix_pag_ul > li {
 +
cursor: pointer;
 +
display: block;
 +
.display: inline-block;
float: left;
float: left;
-
width: 130px;/*115*/
+
list-style: none;
-
list-style:none;
+
margin: 0 10px 0 0;
 +
padding: 20px 8px 0;
 +
text-align: center;
 +
text-indent: -9999px;
 +
width: 16px;
}
}
-
 
+
#pix_pag_ul > li > span {
-
 
+
background: #222;
-
#nav-strip ul li .subnav ul li{
+
-webkit-border-radius: 8px;
-
        display:block;
+
-moz-border-radius: 8px;
-
border-bottom:1px solid #fff;
+
border-radius: 8px;
-
float:left;
+
display: block;
-
width: 130px;/*160px*/
+
height: 16px;
 +
width: 16px;
 +
}
 +
#pix_pag_ul > li:hover > span > span {
 +
background: #ccc;
}
}
-
 
+
#pix_pag_ul > li > span > span {
-
 
+
-webkit-border-radius: 8px;
-
#nav-strip ul li .subnav ul li a{font-weight: normal;margin-top:5px;height:20px; margin-bottom:2px;}
+
-moz-border-radius: 8px;
-
 
+
border-radius: 8px;
-
#nav-strip ul li .subnav ul li a,
+
display: block;
-
#nav-strip ul li.nav-item:hover .subnav ul li a{
+
float: left;
 +
height: 8px;
 +
margin: 4px;
 +
width: 8px;
 +
}
 +
#pix_pag_ul > li.diapocurrent > span > span {
 +
background: #ff0;
 +
-webkit-border-radius: 8px;
 +
-moz-border-radius: 8px;
 +
border-radius: 8px;
 +
}
 +
#pix_pag_ul > li > .pix_thumb {
 +
border: 4px solid #f2f2f2;
 +
.border: 4px solid #e6e6e6;
 +
border: 4px solid #e6e6e6\9;
 +
-moz-box-shadow: 0 1px 8px #000;
 +
-webkit-box-shadow: 0 1px 8px #000;
 +
box-shadow: 0 1px 8px #000;
 +
height: 58px;
 +
left: -42px;
 +
position: absolute;
 +
top: -40px;
 +
width: 108px;
 +
}
 +
#pix_pag_ul > li > .thumb_arrow {
 +
    border-left: 4px solid transparent;
 +
    border-right: 4px solid transparent;
 +
    border-top: 4px solid  #e6e6e6;
 +
top: 26px;
 +
left: 12px;
 +
position: absolute;
 +
}
 +
.pix_relativize {
 +
overflow: hidden;
position: relative;
position: relative;
-
color: #fff;
 
-
text-align:center;
 
-
}<!--下拉菜单的高度-->
 
-
 
-
 
-
#nav-strip ul li .subnav ul li a,
 
-
#nav-strip ul li.nav-item:hover .subnav ul li a { white-space: normal;}
 
-
 
-
 
-
#nav-strip ul li .subnav ul li.active a,
 
-
#nav-strip ul li .subnav ul li a:hover { color:#000!important;}
 
-
 
-
 
-
#team_logo {
 
-
    width:290px;
 
-
    height: 15px;
 
-
    float: left;
 
-
    margin-top:0px;
 
-
    margin-left:60px;
 
-
    font-size:36px;
 
-
    font-family:"汉仪蝶语体简";
 
-
    -webkit-transition: all .5s ease-out;
 
-
    -moz-transition: all .5s ease-out;
 
-
    -o-transition: all .5s ease-out;
 
-
    -ms-transition: all .5s ease-out;
 
-
    transition: all .5s ease-out;
 
}
}
-
 
+
.imgFake {
-
 
+
cursor: pointer;
-
#team_logo a{
+
-
    color:#99cc99;
+
-
    text-decoration:none;
+
-
    text-shadow: 4px 3px 0.5px #666666;
+
-
    position:relative;
+
-
    -webkit-transition: color .5s ease-out;
+
-
    -moz-transition: color .5s ease-out;
+
-
    -o-transition: color .5s ease-out;
+
-
    -ms-transition: color .5s ease-out;
+
-
    transition: color .5s ease-out;
+
}
}
-
 
+
.elemHover {
-
#team_logo a:active{
+
position: absolute;
-
    text-shadow:6px 4px 1px black;
+
-
    left:1px;
+
-
    top:1px;
+
}
}
-
 
+
.caption {
-
#team_logo:hover a{
+
background: rgba(0, 0, 0, 0.8);
-
  color:#0D97F2;
+
    .filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc000000, endColorstr=#cc000000);
 +
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc000000, endColorstr=#cc000000)\9;
 +
bottom: 20px;
 +
color: #fff;
 +
display: block;
 +
font-size: 16px;
 +
        font-family: Arial, Helvetica, sans-serif;
 +
padding: 20px;
 +
width: 960px;
}
}
-
 
+
.ui-loader {
-
#igem {
+
display: none;
-
    float:right;
+
-
    margin-top:-1px;
+
-
    margin-right:100px;
+
-
    background: url(https://static.igem.org/mediawiki/2013/7/7c/USTC-Software_circle.png) no-repeat center;
+
-
    height:80px;
+
-
    width:160px;
+
-
    border-bottom-right-radius:1000px;
+
-
    border-bottom-left-radius:1000px;
+
-
    border-top-left-radius:0px;
+
-
    border-top-right-radius:0px;
+
}
}

Latest revision as of 14:30, 7 November 2013

.pix_diapo { background: #000; -moz-box-shadow: 2px 3px 6px #000; -webkit-box-shadow: 2px 3px 6px #000; box-shadow: 2px 3px 6px #000; height: 500px; margin: 0 10px; overflow: hidden; position: relative; width: 1000px;

       margin-left:1px;

} .pix_diapo > div { display: none; height: 100%; left: 0; position: absolute; top: 0; width: 100%; }

  1. pix_prev, #pix_next {

cursor: pointer; display: block; height: 40px; margin-top: -20px; position: absolute; top: 50%; width: 40px; z-index: 1001; }

  1. pix_prev {

background: url(USTC_Software_Prev.png) no-repeat; left: 0px; }

  1. pix_next {

background: url(USTC_Software_Next.png) no-repeat; left: auto!important; right: 0px!important; }

  1. pix_pag {

margin: 0 auto; position: relative; width: 930px; z-index: 1002; }

  1. pix_commands {

cursor: pointer; display: block; float: left; height: 26px; margin: 15px 0 0 13px; position: relative; width: 24px; }

  1. pix_play {

background: url(USTC_Software_play.png) center no-repeat; height: 24px; left: 0; position: absolute; top: 0; width: 24px; }

  1. pix_stop {

background: url(USTC_Software_Stop.png) center no-repeat; height: 24px; left: 0; position: absolute; top: 0; width: 24px; }

  1. pix_pag_ul {

float: right; margin: 0; padding: 0; }

  1. pix_pag_ul > li {

cursor: pointer; display: block; .display: inline-block; float: left; list-style: none; margin: 0 10px 0 0; padding: 20px 8px 0; text-align: center; text-indent: -9999px; width: 16px; }

  1. pix_pag_ul > li > span {

background: #222; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display: block; height: 16px; width: 16px; }

  1. pix_pag_ul > li:hover > span > span {

background: #ccc; }

  1. pix_pag_ul > li > span > span {

-webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display: block; float: left; height: 8px; margin: 4px; width: 8px; }

  1. pix_pag_ul > li.diapocurrent > span > span {

background: #ff0; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; }

  1. pix_pag_ul > li > .pix_thumb {

border: 4px solid #f2f2f2; .border: 4px solid #e6e6e6; border: 4px solid #e6e6e6\9; -moz-box-shadow: 0 1px 8px #000; -webkit-box-shadow: 0 1px 8px #000; box-shadow: 0 1px 8px #000; height: 58px;

	left: -42px;

position: absolute; top: -40px; width: 108px; }

  1. pix_pag_ul > li > .thumb_arrow {
   border-left: 4px solid transparent;
   border-right: 4px solid transparent;
   border-top: 4px solid  #e6e6e6;

top: 26px; left: 12px; position: absolute; } .pix_relativize { overflow: hidden; position: relative; } .imgFake { cursor: pointer; } .elemHover { position: absolute; } .caption { background: rgba(0, 0, 0, 0.8);

   .filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc000000, endColorstr=#cc000000);
   filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc000000, endColorstr=#cc000000)\9;

bottom: 20px; color: #fff; display: block; font-size: 16px;

       font-family: Arial, Helvetica, sans-serif;

padding: 20px; width: 960px; } .ui-loader { display: none; }