270 lines
6.4 KiB
CSS
270 lines
6.4 KiB
CSS
/**
|
|
* ContextJS Styles
|
|
* For use WITHOUT Twitters Bootstrap CSS
|
|
*/
|
|
|
|
._nav-header {
|
|
display: block;
|
|
padding: 3px 15px;
|
|
font-size: 11px;
|
|
font-weight: bold;
|
|
line-height: 20px;
|
|
color: #999;
|
|
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
|
|
text-transform: uppercase;
|
|
}
|
|
._dropdown-menu {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
z-index: 99999;
|
|
display: none;
|
|
float: left;
|
|
min-width: 160px;
|
|
padding: 5px 0;
|
|
margin: 2px 0 0;
|
|
list-style: none;
|
|
background-color: rgba(255, 255, 255, 0.9);
|
|
border: 1px solid #ccc;
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
font-size: 13px;
|
|
*border-right-width: 2px;
|
|
*border-bottom-width: 2px;
|
|
/* -webkit-border-radius: 6px;
|
|
-moz-border-radius: 6px;
|
|
border-radius: 6px;*/
|
|
-webkit-border-radius: 0px;
|
|
-moz-border-radius: 0px;
|
|
border-radius: 0px;
|
|
-webkit-box-shadow: 0px 10px 50px -20px #000;
|
|
-moz-box-shadow: 0px 10px 50px -20px #000;
|
|
box-shadow: 0px 10px 50px -20px #000;
|
|
-webkit-background-clip: padding-box;
|
|
-moz-background-clip: padding;
|
|
background-clip: padding-box;
|
|
text-align:left;
|
|
|
|
-moz-user-select: none;
|
|
-o-user-select:none;
|
|
-webkit-user-select:none;
|
|
user-select:none;
|
|
-ms-user-select:none;
|
|
}
|
|
._dropdown-menu ._left {
|
|
width: 15px;
|
|
height: 15px;
|
|
padding: 4px 0px;
|
|
display: inline-block;
|
|
}
|
|
._dropdown-menu ._right {
|
|
min-width: 10px;
|
|
padding: 3px 7px;
|
|
margin: 2px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
color: #fff;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
vertical-align: baseline;
|
|
background-color: #777;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
._dropdown-menu.pull-right {
|
|
right: 0;
|
|
left: auto;
|
|
}
|
|
._dropdown-menu ._divider {
|
|
*width: 100%;
|
|
height: 1px;
|
|
margin: 9px 1px;
|
|
*margin: -5px 0 5px;
|
|
overflow: hidden;
|
|
border-bottom: 1px solid #e5e5e5;
|
|
}
|
|
._dropdown-menu a {
|
|
outline: none;
|
|
display: block;
|
|
padding: 3px 14px;
|
|
clear: both;
|
|
font-weight: normal;
|
|
line-height: 22px;
|
|
color: #333333;
|
|
white-space: nowrap;
|
|
text-decoration: none;
|
|
}
|
|
._dropdown-menu li > a:hover, ._dropdown-menu li > a:focus, ._dropdown-submenu:hover > a {
|
|
color: #ffffff;
|
|
text-decoration: none;
|
|
/*background-color: #3C3C3C;*/
|
|
background-color: #898E96;
|
|
/* background-image: -moz-linear-gradient(top, #3C3C3C, #0077b3);
|
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3C3C3C), to(#0077b3));
|
|
background-image: -webkit-linear-gradient(top, #3C3C3C, #0077b3);
|
|
background-image: -o-linear-gradient(top, #3C3C3C, #0077b3);
|
|
background-image: linear-gradient(to bottom, #3C3C3C, #0077b3);*/
|
|
background-repeat: repeat-x;
|
|
/*filter: progid: dximagetransform.microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);*/
|
|
}
|
|
._dropdown-menu .active > a, ._dropdown-menu .active > a:hover {
|
|
color: #ffffff;
|
|
text-decoration: none;
|
|
/*background-color: #3C3C3C;*/
|
|
background-color: #898E96;
|
|
/* background-image: linear-gradient(to bottom, #3C3C3C, #0077b3);
|
|
background-image: -moz-linear-gradient(top, #3C3C3C, #0077b3);
|
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3C3C3C), to(#0077b3));
|
|
background-image: -webkit-linear-gradient(top, #3C3C3C, #0077b3);
|
|
background-image: -o-linear-gradient(top, #3C3C3C, #0077b3);*/
|
|
background-repeat: repeat-x;
|
|
outline: 0;
|
|
/*filter: progid: dximagetransform.microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);*/
|
|
}
|
|
._dropdown-menu .disabled > a, ._dropdown-menu .disabled > a:hover {
|
|
color: #999999;
|
|
}
|
|
._dropdown-menu .disabled > a:hover {
|
|
text-decoration: none;
|
|
cursor: not-allowed;
|
|
background-color: transparent;
|
|
}
|
|
._dropdown-menu .disabled .badge {
|
|
background: #999;
|
|
}
|
|
._dropdown-menu .disabled > a:hover {
|
|
background: rgba(51, 51, 51, 0.1);
|
|
}
|
|
.open {
|
|
*z-index: 1000;
|
|
}
|
|
.open > ._dropdown-menu {
|
|
display: block;
|
|
}
|
|
.pull-right > ._dropdown-menu {
|
|
right: 0;
|
|
left: auto;
|
|
}
|
|
.dropup .caret, .navbar-fixed-bottom .dropdown .caret {
|
|
border-top: 0;
|
|
border-bottom: 4px solid #000000;
|
|
content: "\2191";
|
|
}
|
|
.dropup ._dropdown-menu, .navbar-fixed-bottom .dropdown ._dropdown-menu {
|
|
top: auto;
|
|
bottom: 100%;
|
|
margin-bottom: 1px;
|
|
}
|
|
._dropdown-submenu {
|
|
position: relative;
|
|
}
|
|
._dropdown-submenu ._dropdown-menu a {
|
|
line-height: 23px;
|
|
}
|
|
._dropdown-submenu > ._dropdown-menu {
|
|
top: 0;
|
|
left: 100%;
|
|
margin-top: -6px;
|
|
margin-left: -1px;
|
|
border-radius: 0px;
|
|
-webkit-border-radius: 0px;
|
|
-moz-border-radius: 0px;
|
|
/* -webkit-border-radius: 0 6px 6px 6px;
|
|
-moz-border-radius: 0 6px 6px 6px;
|
|
border-radius: 0 6px 6px 6px;*/
|
|
}
|
|
._dropdown-submenu > ._dropdown-menu.drop-left{
|
|
left:-100%;
|
|
}
|
|
._dropdown-submenu:hover ._dropdown-menu {
|
|
display: block;
|
|
}
|
|
._dropdown-submenu > a:after {
|
|
display: block;
|
|
float: right;
|
|
width: 0;
|
|
height: 0;
|
|
margin-top: 5px;
|
|
margin-right: -10px;
|
|
border-color: transparent;
|
|
border-left-color: #cccccc;
|
|
border-style: solid;
|
|
border-width: 5px 0 5px 5px;
|
|
content: " ";
|
|
}
|
|
._dropdown-submenu:hover > a:after {
|
|
border-left-color: #ffffff;
|
|
}
|
|
.dropdown ._dropdown-menu ._nav-header {
|
|
padding-right: 20px;
|
|
padding-left: 20px;
|
|
}
|
|
/**
|
|
* Context Styles
|
|
*/
|
|
|
|
._dropdown-context ._nav-header {
|
|
cursor: default;
|
|
}
|
|
._dropdown-context:before, ._dropdown-context-up:before {
|
|
position: absolute;
|
|
top: -7px;
|
|
left: 9px;
|
|
display: inline-block;
|
|
border-right: 7px solid transparent;
|
|
border-bottom: 7px solid #ccc;
|
|
border-left: 7px solid transparent;
|
|
border-bottom-color: rgba(0, 0, 0, 0.2);
|
|
content: '';
|
|
}
|
|
._dropdown-context:after, ._dropdown-context-up:after {
|
|
position: absolute;
|
|
top: -6px;
|
|
left: 10px;
|
|
display: inline-block;
|
|
border-right: 6px solid transparent;
|
|
border-bottom: 6px solid #ffffff;
|
|
/*border-bottom: 6px solid rgba(255, 255, 255, 0.9);*/
|
|
border-left: 6px solid transparent;
|
|
content: '';
|
|
}
|
|
._dropdown-context-up:before, ._dropdown-context-up:after {
|
|
top: auto;
|
|
bottom: -7px;
|
|
z-index: 9999;
|
|
}
|
|
._dropdown-context-up:before {
|
|
border-right: 7px solid transparent;
|
|
border-top: 7px solid #ccc;
|
|
border-bottom: none;
|
|
border-left: 7px solid transparent;
|
|
}
|
|
._dropdown-context-up:after {
|
|
border-right: 6px solid transparent;
|
|
border-top: 6px solid #ffffff;
|
|
border-left: 6px solid transparent;
|
|
border-bottom: none;
|
|
}
|
|
._dropdown-context-sub:before, ._dropdown-context-sub:after {
|
|
display: none;
|
|
}
|
|
._dropdown-context ._dropdown-submenu:hover ._dropdown-menu {
|
|
display: none;
|
|
}
|
|
._dropdown-context ._dropdown-submenu:hover > ._dropdown-menu {
|
|
display: block;
|
|
}
|
|
|
|
.compressed-context a{
|
|
padding-left: 14px;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
font-size: 13px;
|
|
}
|
|
.compressed-context ._divider{
|
|
margin: 5px 1px;
|
|
}
|
|
.compressed-context ._nav-header{
|
|
padding:1px 13px;
|
|
} |