Difference between revisions of "Template:NYMU-sheet"

Line 31: Line 31:
 
}
 
}
  
#panel-ul
+
#panel-ul111
 
{
 
{
 
     margin: 0px;
 
     margin: 0px;
Line 39: Line 39:
 
}
 
}
  
#panel-ul li
+
#panel-ul222
 +
{
 +
    margin: 0px;
 +
    padding: 0px;
 +
    list-style-type: none;
 +
    display: inline-block;
 +
}
 +
 
 +
#panel-ul333
 +
{
 +
    margin: 0px;
 +
    padding: 0px;
 +
    list-style-type: none;
 +
    display: inline-block;
 +
}
 +
 
 +
#panel-ul111 li
 
{
 
{
 
     display: inline-block;
 
     display: inline-block;
Line 50: Line 66:
 
}
 
}
  
#panel-ul li a
+
#panel-ul222 li
 +
{
 +
    display: inline-block;
 +
    top:0px;
 +
    padding: 0px 0px;
 +
    padding: 0;
 +
    margin: 0;
 +
    float: left;
 +
    border-right: 1px solid #999;
 +
}
 +
 
 +
#panel-ul333 li
 +
{
 +
    display: inline-block;
 +
    top:0px;
 +
    padding: 0px 0px;
 +
    padding: 0;
 +
    margin: 0;
 +
    float: left;
 +
    border-right: 1px solid #999;
 +
}
 +
 
 +
#panel-ul111 li a
 
{
 
{
 
     color: #FFFFFF;
 
     color: #FFFFFF;
Line 58: Line 96:
 
}
 
}
  
#panel-ul li:hover > a, #panel-ul-logo:hover
+
#panel-ul222 li a
 +
{
 +
    color: #FFFFFF;
 +
    text-decoration: none;
 +
    margin: 0px;
 +
    padding: 0px;
 +
}
 +
 
 +
#panel-ul333 li a
 +
{
 +
    color: #FFFFFF;
 +
    text-decoration: none;
 +
    margin: 0px;
 +
    padding: 0px;
 +
}
 +
 
 +
#panel-ul111 li:hover > a, #panel-ul-logo:hover
 
{
 
{
 
     text-decoration: none;
 
     text-decoration: none;
Line 68: Line 122:
 
}
 
}
  
#panel-ul li a
+
#panel-ul222 li:hover > a, #panel-ul-logo:hover
 +
{
 +
    text-decoration: none;
 +
    transition: opacity 0.2s ease;
 +
    -webkit-transition: opacity 0.3s ease;
 +
    -moz-transition: opacity 0.3s ease;
 +
    -o-transition: opacity 0.3s ease;
 +
    opacity: 0.65;
 +
}
 +
 
 +
#panel-ul333 li:hover > a, #panel-ul-logo:hover
 +
{
 +
    text-decoration: none;
 +
    transition: opacity 0.2s ease;
 +
    -webkit-transition: opacity 0.3s ease;
 +
    -moz-transition: opacity 0.3s ease;
 +
    -o-transition: opacity 0.3s ease;
 +
    opacity: 0.65;
 +
}
 +
 
 +
#panel-ul111 li a
 
{
 
{
 
padding: 10px 15px;
 
padding: 10px 15px;
Line 76: Line 150:
 
}
 
}
  
#panel-ul li:hover ul
+
#panel-ul222 li a
 +
{
 +
padding: 10px 15px;
 +
display: block;
 +
color:#000000;
 +
text-decoration: none;
 +
}
 +
 
 +
#panel-ul333 li a
 +
{
 +
padding: 10px 15px;
 +
display: block;
 +
color:#000000;
 +
text-decoration: none;
 +
}
 +
 
 +
#panel-ul111 li:hover ul
 
{
 
{
 
display: block;
 
display: block;
Line 86: Line 176:
 
}
 
}
  
#panel-ul li:hover
+
#panel-ul222 li:hover ul
 +
{
 +
display: block;
 +
margin: 0;
 +
list-style: none;
 +
position: absolute;
 +
width: 100px;
 +
color:#303030;
 +
}
 +
 
 +
#panel-ul333 li:hover ul
 +
{
 +
display: block;
 +
margin: 0;
 +
list-style: none;
 +
position: absolute;
 +
width: 100px;
 +
color:#303030;
 +
}
 +
 
 +
#panel-ul111 li:hover
 +
{
 +
color:#CCCCCC;
 +
background-color:#CCCCCC;
 +
}
 +
 
 +
#panel-ul222 li:hover
 +
{
 +
color:#CCCCCC;
 +
background-color:#CCCCCC;
 +
}
 +
 
 +
#panel-ul333 li:hover
 
{
 
{
 
color:#CCCCCC;
 
color:#CCCCCC;
Line 93: Line 215:
  
 
/*Submenus are not displayed as default*/
 
/*Submenus are not displayed as default*/
#panel-ul li ul
+
#panel-ul111 li ul
 +
{
 +
display: none;
 +
padding-top: 15px;
 +
margin-left: 0px;
 +
}
 +
 
 +
#panel-ul222 li ul
 +
{
 +
display: none;
 +
padding-top: 15px;
 +
margin-left: 0px;
 +
}
 +
 
 +
#panel-ul333 li ul
 
{
 
{
 
display: none;
 
display: none;
Line 101: Line 237:
  
 
/*Submenus are displayed when hovering the menu button */
 
/*Submenus are displayed when hovering the menu button */
#panel-ul li:hover ul
+
#panel-ul111 li:hover ul
 
{
 
{
 
/*display: inline-block; */
 
/*display: inline-block; */
Line 110: Line 246:
 
margin-top:-11px;
 
margin-top:-11px;
 
  }
 
  }
 +
 +
#panel-ul222 li:hover ul
 +
{
 +
/*display: inline-block; */
 +
display: block;
 +
position: absolute;
 +
float:right;
 +
margin-left:-1px;
 +
margin-top:-11px;
 +
}
 +
 +
 +
#panel-ul333 li:hover ul
 +
{
 +
/*display: inline-block; */
 +
display: block;
 +
position: absolute;
 +
float:right;
 +
margin-left:-1px;
 +
margin-top:-11px;
 +
}
 +
  
 
/*Style the submenu buttons*/
 
/*Style the submenu buttons*/
#panel-ul li ul li
+
#panel-ul111 li ul li
 +
{
 +
background-color:#FFFFFF;
 +
padding-left:2px;
 +
padding-right:2px;
 +
padding-top:1px;
 +
padding-bottom: 4px;
 +
        margin-top:-5px;
 +
color:#999999;
 +
width: 120px;
 +
height:38px;
 +
border-bottom:1px solid #999;
 +
border-top:1px solid #999;
 +
border-left:1px solid #999;
 +
}
 +
 
 +
#panel-ul222 li ul li
 +
{
 +
background-color:#FFFFFF;
 +
padding-left:2px;
 +
padding-right:2px;
 +
padding-top:1px;
 +
padding-bottom: 4px;
 +
        margin-top:-5px;
 +
color:#999999;
 +
width: 120px;
 +
height:38px;
 +
border-bottom:1px solid #999;
 +
border-top:1px solid #999;
 +
border-left:1px solid #999;
 +
}
 +
 
 +
#panel-ul333 li ul li
 
{
 
{
 
background-color:#FFFFFF;  
 
background-color:#FFFFFF;  

Revision as of 11:39, 10 October 2016