123 lines
3.9 KiB
CSS
123 lines
3.9 KiB
CSS
/*=============================================================
|
|
BOOTSTRAP DROPDOWN MENU
|
|
==============================================================*/
|
|
|
|
.dropdown-menu ul{
|
|
left:100%;
|
|
position:absolute;
|
|
top:0;
|
|
visibility:hidden;
|
|
margin-top:-1px;
|
|
}
|
|
.dropdown-menu li:hover ul{visibility:visible;}
|
|
.navbar .dropdown-menu ul:before{
|
|
border-bottom:7px solid transparent;
|
|
border-left:none;
|
|
border-right:7px solid rgba(0, 0, 0, 0.2);
|
|
border-top:7px solid transparent;
|
|
left:-7px;
|
|
top:5px;
|
|
}
|
|
.nav > li.dropdown > a:after {
|
|
border-left: 4px solid transparent;
|
|
border-right: 4px solid transparent;
|
|
border-top: 4px solid #000000;
|
|
content: "";
|
|
display: inline-block;
|
|
height: 0;
|
|
opacity: 0.7;
|
|
vertical-align: top;
|
|
width: 0;
|
|
|
|
margin-left: 2px;
|
|
margin-top: 8px;
|
|
|
|
border-bottom-color: #FFFFFF;
|
|
border-top-color: #FFFFFF;
|
|
}
|
|
.dropdown-menu span{display:inline-block;}
|
|
ul.dropdown-menu li.dropdown > a:after {
|
|
border-left: 4px solid #000;
|
|
border-right: 4px solid transparent;
|
|
border-bottom: 4px solid transparent;
|
|
border-top: 4px solid transparent;
|
|
content: "";
|
|
display: inline-block;
|
|
height: 0;
|
|
opacity: 0.7;
|
|
vertical-align: top;
|
|
width: 0;
|
|
|
|
margin-left: 8px;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
ul.nav li.dropdown:hover ul.dropdown-menu {
|
|
display: block;
|
|
}
|
|
|
|
.open >.dropdown-menu ul{display:block;} /* fix menu issue when BS2.0.4 is applied */
|
|
|
|
/*=============================================================
|
|
BOOTSTRAP SUBMIT BUTTON
|
|
==============================================================*/
|
|
|
|
input[type='submit']:not(.btn) {
|
|
display: inline-block;
|
|
padding: 4px 14px;
|
|
margin-bottom: 0;
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
color: #333;
|
|
text-align: center;
|
|
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
|
|
vertical-align: middle;
|
|
cursor: pointer;
|
|
background-color: whiteSmoke;
|
|
background-image: -webkit-gradient(linear,0 0,0 100%,from(white),to(#E6E6E6));
|
|
background-image: -webkit-linear-gradient(top,white,#E6E6E6);
|
|
background-image: -o-linear-gradient(top,white,#E6E6E6);
|
|
background-image: linear-gradient(to bottom,white,#E6E6E6);
|
|
background-image: -moz-linear-gradient(top,white,#E6E6E6);
|
|
background-repeat: repeat-x;
|
|
border: 1px solid #BBB;
|
|
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
|
border-bottom-color: #A2A2A2;
|
|
-webkit-border-radius: 4px;
|
|
-moz-border-radius: 4px;
|
|
border-radius: 4px;
|
|
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);
|
|
filter: progid:dximagetransform.microsoft.gradient(enabled=false);
|
|
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);
|
|
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
input[type='submit']:not(.btn):hover {
|
|
color: #333;
|
|
text-decoration: none;
|
|
background-color: #E6E6E6;
|
|
background-position: 0 -15px;
|
|
-webkit-transition: background-position .1s linear;
|
|
-moz-transition: background-position .1s linear;
|
|
-o-transition: background-position .1s linear;
|
|
transition: background-position .1s linear;
|
|
}
|
|
|
|
input[type='submit']:not(.btn).active, input[type='submit']:not(.btn):active {
|
|
background-color: #E6E6E6;
|
|
background-color: #D9D9D9 9;
|
|
background-image: none;
|
|
outline: 0;
|
|
-webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);
|
|
-moz-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
|
|
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
/*=============================================================
|
|
OTHER
|
|
==============================================================*/
|
|
|
|
.ie-lte8 .navbar-fixed-top {position:static;}
|
|
|