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

From 2013.igem.org

(Difference between revisions)
(Created page with "div { z-index: 1; } ul.menu { padding: 0; } ul.menu li { padding: 15px; list-style: none; } ul.menu li a { text-decoration: none; text-align: center; padding: 10px 1...")
 
(339 intermediate revisions not shown)
Line 1: Line 1:
-
div
+
/********** Menu gauche en haut quand scroll **********/
-
{
+
-
    z-index: 1;
+
-
}
+
-
ul.menu
+
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"]
{
{
-
padding: 0;
+
    z-index: 1000000;
 +
    /*width: 145px;*/
 +
    width: 14.8%;
 +
    padding: 0;
 +
    margin: 0;
 +
    position: absolute;
 +
    top: 61%;
 +
/*border: 1px solid red;*/
}
}
-
ul.menu li
+
body div div[id="scroll"]
{
{
-
padding: 15px;
+
    z-index: 1000000;
-
list-style: none;
+
    /*width: 145px;*/
 +
    width: 100%;
 +
    padding: 0;
 +
    margin: 0;
 +
    position: absolute;
 +
/*border: 1px solid blue;*/
}
}
-
ul.menu li a
+
body div div[id="scroll"].fixed
{
{
-
text-decoration: none;
+
    width: 14.8%;
-
text-align: center;
+
    position: fixed;
-
padding: 10px 15px 10px 15px;
+
    top: 0px;
-
border-radius: 5px;
+
    margin-top: 0;
}
}
-
ul.subnav
+
/********************/
-
{
+
 
-
position: relative;
+
/********** Changement scrollbar dans Chrome **********/
-
top: 10px;
+
 
-
right: 25px;
+
::-webkit-scrollbar {
-
border: none;
+
    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);
}
}
-
ul.subnav li
+
/********************/
 +
 
 +
/********** Mise en forme **********/
 +
 
 +
body div div.left div
{
{
-
margin: 0;
+
    width: 100%;
-
padding: 8px;
+
    padding: 0;
-
text-align: center;
+
    margin: 0;
 +
    text-align: center;
 +
    position: absolute;
 +
    top: 0%;
 +
    left: 0%;
 +
/*border: 1px solid green;*/
}
}
-
ul[id="network"] li
+
body div div.left div ul
{
{
-
width: 180px;
+
    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;*/
}
}
-
ul[id="arduino"] li
+
body div div.left div ul li.title
{
{
-
width: 110px;
+
padding: 10px;
 +
margin: 0;
}
}
-
ul.subnav li:last-child
+
body div div.left div ul a.title
{
{
-
border-radius: 0 0 5px 5px;
+
font-style: normal;
 +
text-decoration: none;
}
}
-
ul.subnav li a
+
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
{
{
-
padding: 0px;
+
text-decoration: none;
-
border: none;
+
font-style: normal;
}
}

Latest revision as of 19:28, 30 September 2013

/********** 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; }