Team:Grenoble-EMSE-LSU/Design/Menu Left

From 2013.igem.org

Revision as of 19:28, 30 September 2013 by Hélène (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

/********** Menu gauche en haut quand scroll **********/

body div[id="back_home"], body div[id="back_proj"], body div[id="back_doc"], body div[id="back_hp"], body div[id="back_team"] {

   z-index: 1000000;
   /*width: 145px;*/
   width: 14.8%;
   padding: 0;
   margin: 0;
   position: absolute;
   top: 61%;

/*border: 1px solid red;*/ }

body div div[id="scroll"] {

   z-index: 1000000;
   /*width: 145px;*/
   width: 100%;
   padding: 0;
   margin: 0;
   position: absolute;

/*border: 1px solid blue;*/ }

body div div[id="scroll"].fixed {

   width: 14.8%;
   position: fixed;
   top: 0px;
   margin-top: 0;

}

/********************/

/********** Changement scrollbar dans Chrome **********/

-webkit-scrollbar {
   width: 12px;

}

-webkit-scrollbar-track {
   -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
   border-radius: 10px;

}

-webkit-scrollbar-thumb {
   border-radius: 10px;
   -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 

}

/********************/

/********** Mise en forme **********/

body div div.left div {

   width: 100%;
   padding: 0;
   margin: 0;
   text-align: center;
   position: absolute;
   top: 0%;
   left: 0%;

/*border: 1px solid green;*/ }

body div div.left div ul {

   width: 80%;
   /*max-height: 80%;*/
   padding: 0;
   margin: auto;
   /*margin-top: 65px;*/
   overflow: auto;
   border-radius: 5px;  
   list-style: none;
   display: block;

/*border: 1px solid blue;*/ }

body div div.left div ul li.title { padding: 10px; margin: 0; }

body div div.left div ul a.title { font-style: normal; text-decoration: none; }

body div div.left div ul li.sub { padding: 10px 2px; margin: 0; margin-top: 4px; border-radius: 5px; }

body div div.left div ul li.subsub { padding: 3px 2px; margin: 0; margin-top: 4px; border-radius: 5px; }

/*body div div.left div[id="Project"] ul li.sub { padding: 3px 2px; }*/

body div div.left div a.title:hover, div ul a:hover { text-decoration: none; font-style: normal; }