Difference between revisions of "Team:OUC-China/css/affix"

Line 34: Line 34:
 
}
 
}
 
#myScrollspy{display:none;}
 
#myScrollspy{display:none;}
#BtnTop{ display:inline-block; display:none; width:139px; height:40px;background:#0088cc; color:black; cursor:pointer;text-decoration:none;text-indent:16px; border-radius: 0 0 4px 4px;border: 1px solid #ddd;}
+
#BtnTop{ display:inline-block; display:none; width:139px; height:40px;background:#0088cc; color:#fff; cursor:pointer;text-decoration:none;text-indent:16px; border-radius: 0 0 4px 4px;border: 1px solid #ddd;}
 
#BtnTop span{ display:block; width:140px; height:40px; line-height:20px; font-size:14px;}
 
#BtnTop span{ display:block; width:140px; height:40px; line-height:20px; font-size:14px;}
 
 
#BtnTop:hover{ background:#0088cc; color:#fff; zoom:1;}
+
 
 
p{text-align: justify;}
 
p{text-align: justify;}

Revision as of 14:45, 4 October 2016

ul.nav-tabs{ width: 140px; margin-top: 20px; border-radius: 4px; border: 1px solid #ddd; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.067);

       font-size:14px;

} ul.nav-tabs li{ margin: 0; border-top: 1px solid #ddd; } ul.nav-tabs li:first-child{ border-top: none; } ul.nav-tabs li a{ margin: 0; padding: 8px 16px; border-radius: 0; } ul.nav-tabs li.active a, ul.nav-tabs li.active a:hover{ color: #fff; background: #0088cc; border: 1px solid #0088cc; } ul.nav-tabs li:first-child a{ border-radius: 4px 4px 0 0; } ul.nav-tabs li:last-child a{ border-radius: 0 0 4px 4px; } ul.nav-tabs.affix{ top: 60px; /* Set the top position of pinned element */ } #myScrollspy{display:none;} #BtnTop{ display:inline-block; display:none; width:139px; height:40px;background:#0088cc; color:#fff; cursor:pointer;text-decoration:none;text-indent:16px; border-radius: 0 0 4px 4px;border: 1px solid #ddd;} #BtnTop span{ display:block; width:140px; height:40px; line-height:20px; font-size:14px;}


p{text-align: justify;}