context.standalone.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. /**
  2. * ContextJS Styles
  3. * For use WITHOUT Twitters Bootstrap CSS
  4. */
  5. .nav-header {
  6. display: block;
  7. padding: 3px 15px;
  8. font-size: 11px;
  9. font-weight: bold;
  10. line-height: 20px;
  11. color: #999;
  12. text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  13. text-transform: uppercase;
  14. }
  15. .dropdown-menu {
  16. position: absolute;
  17. top: 100%;
  18. left: 0;
  19. z-index: 1000;
  20. display: none;
  21. float: left;
  22. min-width: 160px;
  23. padding: 5px 0;
  24. margin: 2px 0 0;
  25. list-style: none;
  26. background-color: #ffffff;
  27. border: 1px solid #ccc;
  28. border: 1px solid rgba(0, 0, 0, 0.2);
  29. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  30. font-size: 14px;
  31. *border-right-width: 2px;
  32. *border-bottom-width: 2px;
  33. -webkit-border-radius: 6px;
  34. -moz-border-radius: 6px;
  35. border-radius: 6px;
  36. -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  37. -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  38. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  39. -webkit-background-clip: padding-box;
  40. -moz-background-clip: padding;
  41. background-clip: padding-box;
  42. text-align:left;
  43. }
  44. .dropdown-menu.pull-right {
  45. right: 0;
  46. left: auto;
  47. }
  48. .dropdown-menu .divider {
  49. *width: 100%;
  50. height: 1px;
  51. margin: 9px 1px;
  52. *margin: -5px 0 5px;
  53. overflow: hidden;
  54. background-color: #e5e5e5;
  55. border-bottom: 1px solid #ffffff;
  56. }
  57. .dropdown-menu a {
  58. display: block;
  59. padding: 3px 20px;
  60. clear: both;
  61. font-weight: normal;
  62. line-height: 20px;
  63. color: #333333;
  64. white-space: nowrap;
  65. text-decoration: none;
  66. }
  67. .dropdown-menu li > a:hover, .dropdown-menu li > a:focus, .dropdown-submenu:hover > a {
  68. color: #ffffff;
  69. text-decoration: none;
  70. background-color: #0088cc;
  71. background-color: #0081c2;
  72. background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
  73. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
  74. background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
  75. background-image: -o-linear-gradient(top, #0088cc, #0077b3);
  76. background-image: linear-gradient(to bottom, #0088cc, #0077b3);
  77. background-repeat: repeat-x;
  78. filter: progid: dximagetransform.microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
  79. }
  80. .dropdown-menu .active > a, .dropdown-menu .active > a:hover {
  81. color: #ffffff;
  82. text-decoration: none;
  83. background-color: #0088cc;
  84. background-color: #0081c2;
  85. background-image: linear-gradient(to bottom, #0088cc, #0077b3);
  86. background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
  87. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
  88. background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
  89. background-image: -o-linear-gradient(top, #0088cc, #0077b3);
  90. background-repeat: repeat-x;
  91. outline: 0;
  92. filter: progid
  93. : dximagetransform.microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
  94. }
  95. .dropdown-menu .disabled > a, .dropdown-menu .disabled > a:hover {
  96. color: #999999;
  97. }
  98. .dropdown-menu .disabled > a:hover {
  99. text-decoration: none;
  100. cursor: default;
  101. background-color: transparent;
  102. }
  103. .open {
  104. *z-index: 1000;
  105. }
  106. .open > .dropdown-menu {
  107. display: block;
  108. }
  109. .pull-right > .dropdown-menu {
  110. right: 0;
  111. left: auto;
  112. }
  113. .dropup .caret, .navbar-fixed-bottom .dropdown .caret {
  114. border-top: 0;
  115. border-bottom: 4px solid #000000;
  116. content: "\2191";
  117. }
  118. .dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu {
  119. top: auto;
  120. bottom: 100%;
  121. margin-bottom: 1px;
  122. }
  123. .dropdown-submenu {
  124. position: relative;
  125. }
  126. .dropdown-submenu > .dropdown-menu {
  127. top: 0;
  128. left: 100%;
  129. margin-top: -6px;
  130. margin-left: -1px;
  131. -webkit-border-radius: 0 6px 6px 6px;
  132. -moz-border-radius: 0 6px 6px 6px;
  133. border-radius: 0 6px 6px 6px;
  134. }
  135. .dropdown-submenu > .dropdown-menu.drop-left{
  136. left:-100%;
  137. }
  138. .dropdown-submenu:hover .dropdown-menu {
  139. display: block;
  140. }
  141. .dropdown-submenu > a:after {
  142. display: block;
  143. float: right;
  144. width: 0;
  145. height: 0;
  146. margin-top: 5px;
  147. margin-right: -10px;
  148. border-color: transparent;
  149. border-left-color: #cccccc;
  150. border-style: solid;
  151. border-width: 5px 0 5px 5px;
  152. content: " ";
  153. }
  154. .dropdown-submenu:hover > a:after {
  155. border-left-color: #ffffff;
  156. }
  157. .dropdown .dropdown-menu .nav-header {
  158. padding-right: 20px;
  159. padding-left: 20px;
  160. }
  161. /**
  162. * Context Styles
  163. */
  164. .dropdown-context .nav-header {
  165. cursor: default;
  166. }
  167. .dropdown-context:before, .dropdown-context-up:before {
  168. position: absolute;
  169. top: -7px;
  170. left: 9px;
  171. display: inline-block;
  172. border-right: 7px solid transparent;
  173. border-bottom: 7px solid #ccc;
  174. border-left: 7px solid transparent;
  175. border-bottom-color: rgba(0, 0, 0, 0.2);
  176. content: '';
  177. }
  178. .dropdown-context:after, .dropdown-context-up:after {
  179. position: absolute;
  180. top: -6px;
  181. left: 10px;
  182. display: inline-block;
  183. border-right: 6px solid transparent;
  184. border-bottom: 6px solid #ffffff;
  185. border-left: 6px solid transparent;
  186. content: '';
  187. }
  188. .dropdown-context-up:before, .dropdown-context-up:after {
  189. top: auto;
  190. bottom: -7px;
  191. z-index: 9999;
  192. }
  193. .dropdown-context-up:before {
  194. border-right: 7px solid transparent;
  195. border-top: 7px solid #ccc;
  196. border-bottom: none;
  197. border-left: 7px solid transparent;
  198. }
  199. .dropdown-context-up:after {
  200. border-right: 6px solid transparent;
  201. border-top: 6px solid #ffffff;
  202. border-left: 6px solid transparent;
  203. border-bottom: none;
  204. }
  205. .dropdown-context-sub:before, .dropdown-context-sub:after {
  206. display: none;
  207. }
  208. .dropdown-context .dropdown-submenu:hover .dropdown-menu {
  209. display: none;
  210. }
  211. .dropdown-context .dropdown-submenu:hover > .dropdown-menu {
  212. display: block;
  213. }
  214. .compressed-context a{
  215. padding-left: 14px;
  216. padding-top: 0;
  217. padding-bottom: 0;
  218. font-size: 13px;
  219. }
  220. .compressed-context .divider{
  221. margin: 5px 1px;
  222. }
  223. .compressed-context .nav-header{
  224. padding:1px 13px;
  225. }