Difference between revisions of "Team:UChile OpenBio-CeBiB/Template/2"

 
(142 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
 
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
 
<link rel="stylesheet" type="text/css" href="https://2017.igem.org/Template:UChile_OpenBio-CeBiB/CSS-bootstrap?action=raw&ctype=text/css">
 
<link rel="stylesheet" type="text/css" href="https://2017.igem.org/Template:UChile_OpenBio-CeBiB/CSS-bootstrap?action=raw&ctype=text/css">
<link rel="stylesheet" type="text/css" href="https://2017.igem.org/Template:UChile_OpenBio-CeBiB/CSS-estilosPrueba?action=raw&ctype=text/css">
 
  
  
Line 15: Line 14:
 
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
 
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
  
<script type="text/javascript">
+
    <script>
// Add slideDown animation to dropdown
+
        $(document).ready(function () {
$('.dropdown').on('show.bs.dropdown', function(e){
+
            current=null;
  $(this).find('.dropdown-menu').first().stop(true, true).slideDown(300);
+
            $('.item_actividad-titulo').click(function () {
});
+
                current=$(this).siblings('.item_actividad-cuerpo');
 +
                if (current.css('display') == 'none') {
 +
                    $('.item_actividad-cuerpo').slideUp();
 +
                }
 +
                current.slideToggle();
 +
            });
 +
        });
 +
    </script>
  
// Add slideUp animation to dropdown
 
$('.dropdown').on('hide.bs.dropdown', function(e){
 
  $(this).find('.dropdown-menu').first().stop(true, true).slideUp(300);
 
});
 
</script>
 
  
<script type="text/javascript">
 
(function () {
 
  
var app = angular.module('sampleApp',['ngRoute']);
+
<style>
  
app.config(function ($routeProvider){
+
/********************************* DEFAULT WIKI SETTINGS  ********************************/
    $routeProvider
+
        .when('/',{
+
            templateUrl:'home.html'
+
        })
+
        .when('/about',{
+
            templateUrl:'about.html'
+
        })
+
        .otherwise({ redirectTo:'/'});
+
});
+
})();
+
</script
+
  
<script type="text/javascript">
+
html,body{
(function () {  
+
min-height:100%;
 +
}
  
var headerController = function ($scope, $location)
+
#container {
{  
+
  position: relative;
    $scope.isActive = function (viewLocation) {
+
}
        return viewLocation === $location.path();
+
    };
+
};
+
  
angular.module('sampleApp').controller('HeaderController',headerController);
+
@font-face {
}());
+
  font-family: "Hero";
</script>
+
  src: url(https://static.igem.org/mediawiki/2017/1/14/T--UChile_OpenBio-CeBiB--FontHero.otf) format("truetype");
 +
}
  
  
<style>
+
a, a:hover {
 
+
color: #ffffff;
/********************************* DEFAULT WIKI SETTINGS ********************************/
+
  text-decoration: none;
 +
-webkit-transition: all .4s ease;
 +
-moz-transition: all .4s ease;
 +
-o-transition: all .4s ease;
 +
transition: all .4s ease-in-out;
 +
}
  
 
#sideMenu,
 
#sideMenu,
Line 72: Line 64:
 
   padding: 0px;
 
   padding: 0px;
 
   width: 100%;
 
   width: 100%;
 +
  background-color: transparent;
 
}
 
}
  
body {
 
  background-color: white;
 
  width: 100%;
 
}
 
  
 
#bodyContent h1,
 
#bodyContent h1,
Line 85: Line 74:
 
#bodyContent h5 {
 
#bodyContent h5 {
 
   margin-bottom: 0px;
 
   margin-bottom: 0px;
 +
  font-family: Hero;
 
}
 
}
  
 
#bodyContent {
 
#bodyContent {
 
   padding-right: 0px;
 
   padding-right: 0px;
 +
  background-color: transparent;
 
}
 
}
  
Line 98: Line 89:
  
  
 +
ul, li, h1, h2, h3, h4, h5 {
 +
  font-family: Hero;
 +
}
  
  
 +
h1 {
 +
  font-size: 40px;
 +
}
 +
 +
 +
h2 {
 +
  font-size: 36px;
 +
}
 +
 +
h3 {
 +
  font-size: 32px;
 +
}
 +
 +
h4 {
 +
  font-size: 28px;
 +
}
 +
 +
h5 {
 +
  font-size: 24px;
 +
}
  
  
Line 125: Line 139:
 
.navbar .dropdown-menu {
 
.navbar .dropdown-menu {
 
   margin-top: 0;
 
   margin-top: 0;
 +
  background-color: #48ba5b;
 +
  border-radius:10px;
 +
}
 +
 +
.nabar-nav .dropdown-menu li:hover,
 +
.navbar .dropdown-menu li:hover {
 +
  background-color: #2c3e50
 +
}
 +
 +
 
}.color2{
 
}.color2{
 
background: #2c3e50;
 
background: #2c3e50;
Line 131: Line 155:
 
.navbar-brand,
 
.navbar-brand,
 
.navbar-nav li a {
 
.navbar-nav li a {
     line-height: 100px;
+
     line-height: 80px;
     height: 100px;
+
     height: 80px;
     padding-top: 30;
+
     padding-top: 10;
 
}
 
}
  
Line 163: Line 187:
  
  
.dropdown-menu {
+
.header {
background-color: #8CFF80;
+
background: transparent;
}
+
 
+
.navbar-mainnav .dropdown-menu > li > a:hover {
+
  background-color: #CC6666;
+
  background-image: none;
+
}
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
 
+
.dropdown-menu>li>a {
+
color: #000000;
+
}
+
 
+
.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {
+
color: #000000;
+
}
+
 
+
.navbar .nav > li.dropdown.open.active > a:hover,
+
.navbar .nav > li.dropdown.open > a
+
{
+
  color: #fff;
+
  background-color: #b91773;
+
  border-color: #fff;
+
}
+
 
+
header {
+
background: none;
+
 
color: #fff;
 
color: #fff;
 +
        position:relative;
 +
        width:100%;
 
}
 
}
  
 
.main {
 
.main {
background: none;
+
background: transparent;
 
}
 
}
  
 
.color1 {
 
.color1 {
background: none;
+
background: transparent;
 
color: #fff;
 
color: #fff;
 
}
 
}
  
 
aside{
 
aside{
background: none;
+
background: transparent;
 
color: #fff;
 
color: #fff;
 
}
 
}
  
 
footer{
 
footer{
background: none;
+
background: transparent;
 
color: #fff;
 
color: #fff;
 
}
 
}
  
  
 +
a.dropdown-item:hover{
 +
    background-color:#00590e;
 +
    color: #fff;
 +
}
  
 +
a.dropdown-item{
 +
    color: #000000;
 +
}
  
  
 
+
p {
 
+
  font-family:Hero;
 
+
  text-align:justify;
 +
  background-color:transparent;
 +
  font-size: 20px;
 +
}
  
  
Line 242: Line 239:
 
.content_wrapper {
 
.content_wrapper {
 
   width: 85%;
 
   width: 85%;
   margin-left: 150px;
+
   margin-left: 0px;
 
   padding: 0px;
 
   padding: 0px;
 
   float: left;
 
   float: left;
   background-color: white;
+
   background-color: none;
 
}
 
}
  
Line 254: Line 251:
 
   padding: 10px 0px;
 
   padding: 10px 0px;
 
   float: left;
 
   float: left;
   background-color: white;
+
   background-color: none;
 
}
 
}
  
Line 562: Line 559:
  
  
 +
 +
 +
 +
 +
 +
 +
 +
<style>
 +
.dropdown-submenu {
 +
    position: relative;
 +
}
 +
 +
.dropdown-submenu>.dropdown-menu {
 +
    top: 0;
 +
    left: 100%;
 +
    margin-top: -6px;
 +
    margin-left: -1px;
 +
    -webkit-border-radius: 0 6px 6px 6px;
 +
    -moz-border-radius: 0 6px 6px;
 +
    border-radius: 0 6px 6px 6px;
 +
}
 +
 +
.dropdown-submenu:hover>.dropdown-menu {
 +
    display: block;
 +
}
 +
 +
.dropdown-submenu>a:after {
 +
    display: block;
 +
    content: " ";
 +
    float: right;
 +
    width: 0;
 +
    height: 0;
 +
    border-color: transparent;
 +
    border-style: solid;
 +
    border-width: 5px 0 5px 5px;
 +
    border-left-color: #ccc;
 +
    margin-top: 5px;
 +
    margin-right: -10px;
 +
}
 +
 +
.dropdown-submenu:hover>a:after {
 +
    border-left-color: #fff;
 +
}
 +
 +
.dropdown-submenu.pull-left {
 +
    float: none;
 +
}
 +
 +
.dropdown-submenu.pull-left>.dropdown-menu {
 +
    left: -100%;
 +
    margin-left: 10px;
 +
    -webkit-border-radius: 6px 0 6px 6px;
 +
    -moz-border-radius: 6px 0 6px 6px;
 +
    border-radius: 6px 0 6px 6px;
 +
}
 +
</style>
  
 
<body>
 
<body>
Line 569: Line 622:
 
<!--NAVBAR BEGIN-->
 
<!--NAVBAR BEGIN-->
 
<header>
 
<header>
<nav class="navbar fixed-top navbar-expand-lg navbar-light" style="background-color: #acd7a4" ng-controller="HeaderController">
+
<nav class="navbar top fixed-top navbar-expand-lg navbar-light" style="background-color: #acd7a4" role="navigation">
   <a class="navbar-brand" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB">
+
   <a class="navbar-brand" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB" style="padding-left:0px;">
 
   <img src="https://static.igem.org/mediawiki/2017/9/9d/T--UChile_OpenBio-CeBiB--logo1.png" width="200" height="55" alt="">
 
   <img src="https://static.igem.org/mediawiki/2017/9/9d/T--UChile_OpenBio-CeBiB--logo1.png" width="200" height="55" alt="">
 
   </a>
 
   </a>
Line 583: Line 636:
 
           Project
 
           Project
 
         </a>
 
         </a>
         <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
+
         <div class="dropdown-menu item2" aria-labelledby="navbarDropdownMenuLink">
 
           <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Description">Description</a>
 
           <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Description">Description</a>
 
           <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Parts">Parts</a>
 
           <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Parts">Parts</a>
Line 600: Line 653:
 
           <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/HP/Silver">Silver</a>
 
           <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/HP/Silver">Silver</a>
 
           <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/HP/Gold_Integrated">Gold</a>
 
           <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/HP/Gold_Integrated">Gold</a>
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/HP/Gold_Integrated">Integrated</a>
 
 
           <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Engagement">Engagement</a>
 
           <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Engagement">Engagement</a>
 
         </div>
 
         </div>
Line 611: Line 663:
 
           <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Model">Modelling Overview</a>
 
           <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Model">Modelling Overview</a>
 
           <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Model/Procedure">Procedure</a>
 
           <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Model/Procedure">Procedure</a>
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Model/ExpectedResults">Expected Results</a>
 
 
           <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Model/Results">Results</a>
 
           <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Model/Results">Results</a>
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Model/Parameters">Parameters</a>
 
 
         </div>
 
         </div>
 +
      </li>
 
       <li class="nav-item dropdown">
 
       <li class="nav-item dropdown">
 
         <a class="nav-link dropdown-toggle" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Safety" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
 
         <a class="nav-link dropdown-toggle" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Safety" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Line 620: Line 671:
 
         </a>
 
         </a>
 
         <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
 
         <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Safety/GMM">GMM Standards/a>
 
 
           <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Safety/Biosafety">Biosafety</a>
 
           <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Safety/Biosafety">Biosafety</a>
 
           <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Safety/LabProtocols">Lab Protocols</a>
 
           <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Safety/LabProtocols">Lab Protocols</a>
 
         </div>
 
         </div>
 +
      </li>
 
       <li class="nav-item">
 
       <li class="nav-item">
 
         <a class="nav-link" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Notebook">Notebook<span class="sr-only">(current)</span></a>
 
         <a class="nav-link" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Notebook">Notebook<span class="sr-only">(current)</span></a>
Line 629: Line 680:
 
       <li class="nav-item">
 
       <li class="nav-item">
 
         <a class="nav-link" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Team">Team<span class="sr-only">(current)</span></a>
 
         <a class="nav-link" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Team">Team<span class="sr-only">(current)</span></a>
 +
      </li>
 +
      <li class="nav-item dropdown">
 +
        <a class="nav-link dropdown-toggle" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Jamboree" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Giant Jamboree </a>
 +
        <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
 +
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Jamboree/OurExperience">Our experience</a>
 +
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Jamboree/JudgingFeedback">Judging Feedback</a>
 +
          <a class="dropdown-item" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Jamboree/Photos">Photos</a>
 +
        </div>
 
       </li>
 
       </li>
 
       <li class="nav-item">
 
       <li class="nav-item">
         <a class="nav-link" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB/Future">Future<span class="sr-only">(current)</span></a>
+
         <a class="nav-link" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB">Home<span class="sr-only">(current)</span></a>
 
       </li>
 
       </li>
 
     </ul>
 
     </ul>
Line 640: Line 699:
  
 
<!--NAVBAR END-->
 
<!--NAVBAR END-->
 
 
  
  

Latest revision as of 22:59, 15 December 2017

Document