nav.css 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. .bootstrap-scope #menu_ynh,
  2. .bootstrap-scope #menu_ynh .dropdown-menu li {
  3. font-size: 12px !important;
  4. font-family: "DejaVu Sans",Verdana,Geneva,sans-serif !important;
  5. text-align:justify;
  6. }
  7. .bootstrap-scope #menu_ynh .dropdown-menu {
  8. min-width:200px;
  9. }
  10. .bootstrap-scope #menu_ynh .col-2 > .dropdown-menu {
  11. min-width:420px;
  12. padding-left:10px;
  13. padding-right:10px;
  14. }
  15. .bootstrap-scope #menu_ynh .col-2 > .dropdown-menu > li {
  16. width:199px;
  17. float:left;
  18. display:block;
  19. }
  20. .bootstrap-scope #menu_ynh .dropdown-menu li li {
  21. min-width:199px;
  22. }
  23. .bootstrap-scope #menu_ynh .dropdown-menu li li > a {
  24. width:100%;
  25. padding-left:30px;
  26. display:block;
  27. }
  28. .bootstrap-scope #menu_ynh .dropdown-menu li > a {
  29. padding: 3px 10px;
  30. }
  31. .bootstrap-scope #menu_ynh .dropdown-menu li > ul {
  32. padding-left: 0px;
  33. }
  34. .bootstrap-scope #menu_ynh .dropdown a .caret {
  35. margin-left:-50%;
  36. margin-top:25px;
  37. visibility:hidden;
  38. }
  39. .bootstrap-scope #menu_ynh .dropdown a:hover .caret,
  40. .bootstrap-scope #menu_ynh .dropdown a:focus .caret {
  41. visibility:visible;
  42. }
  43. .bootstrap-scope #menu_ynh .dropdown-menu li a .new-window { /*a:not(.modal-link)*/
  44. visibility:hidden;
  45. font-size:10px !important;
  46. }
  47. .bootstrap-scope #menu_ynh .dropdown-menu li a:hover .new-window,
  48. .bootstrap-scope #menu_ynh .dropdown-menu li a:focus .new-window {
  49. visibility:visible;
  50. }
  51. .bootstrap-scope #menu_ynh {
  52. min-height:30px !important; /*50px sur BS */
  53. margin-bottom:0;
  54. min-height:42px;
  55. }
  56. .bootstrap-scope #menu_ynh.navbar {
  57. z-index:1001;
  58. background-color: rgb(248, 248, 248) !important;
  59. }
  60. .bootstrap-scope #menu_ynh img {margin:0}
  61. .bootstrap-scope #menu_ynh .navbar-brand,
  62. .bootstrap-scope #menu_ynh .navbar-nav > li > a {
  63. padding:10px 10px; /*15px sur BS*/
  64. min-height:41px;
  65. }
  66. .bootstrap-scope #menu_ynh .dropdown-toggle {
  67. padding:7px 2px 5px 12px !important;
  68. }
  69. .bootstrap-scope #menu_ynh .nav-container {
  70. margin:auto;
  71. background-color:#f8f8f8;
  72. }
  73. @media (min-width: 768px) {
  74. .bootstrap-scope #menu_ynh .nav-container {
  75. width:930px; /* largeur fixe pour que la nav tienne sur une seule ligne */
  76. }
  77. .bootstrap-scope #menu_ynh.navbar .collapse { /* bug dans certaines config en box-sizing: content-box*/
  78. height:40px !important;
  79. }
  80. }
  81. @media (max-width: 768px) { /* la nav pour tablette/mobile n'a pas ce problème */
  82. .bootstrap-scope #menu_ynh .nav-container {
  83. width:auto;
  84. }
  85. }
  86. .bootstrap-scope #menu_ynh .popover {
  87. width : 300px;
  88. }
  89. .bootstrap-scope #menu_ynh .popover a {
  90. color:rgb(51,51,51);
  91. text-decoration:none;
  92. }
  93. .bootstrap-scope #menu_ynh .popover.right {
  94. margin-top:25px;
  95. }
  96. .bootstrap-scope #menu_ynh .popover.right .arrow {
  97. margin-top:-35px;
  98. }
  99. .bootstrap-scope #menu_ynh .popover.bottom {
  100. margin-left:-100px;
  101. }
  102. .bootstrap-scope #menu_ynh .popover.bottom .arrow {
  103. margin-left:100px;
  104. }
  105. .bootstrap-scope #menu_ynh .navbar-brand {
  106. font-weight: bold;
  107. height: 40px;
  108. padding:0 10px 0 50px;
  109. line-height:40px;
  110. }
  111. .bootstrap-scope #menu_ynh .nav-brand img {border:none;}
  112. .bootstrap-scope #menu_ynh .popover-title { font-weight: bold; }
  113. /* --- on s'assure on a bien une nav coll�e en haut en cas de petit �cran --- */
  114. @media (max-width: 979px) {
  115. .bootstrap-scope {
  116. margin-top: 0px !important;
  117. }
  118. }
  119. .bootstrap-scope .navbar-toggle {padding: 4px 6px !important;}
  120. .bootstrap-scope #nav-alert.alert-black {
  121. color: white;
  122. background-color: black;
  123. border-color: #262626;
  124. }
  125. .bootstrap-scope #nav-alert.alert {
  126. padding:10px;
  127. margin-bottom:0;
  128. font-size:14px;
  129. line-height:18px;
  130. font-family: "DejaVu Sans",Verdana,Geneva,sans-serif !important;
  131. text-shadow:none;
  132. }
  133. .bootstrap-scope #nav-alert.alert p {
  134. margin-bottom:5px;
  135. margin-top:0px;
  136. }
  137. .bootstrap-scope #nav-alert a {
  138. color:#888;
  139. border-bottom: 1px dotted #888;
  140. text-decoration:none;
  141. }
  142. .bootstrap-scope #nav-alert a:hover,.bootstrap-scope #nav-alert a:focus {
  143. color: #7E4F82;
  144. border-bottom: 1px solid #7E4F82;
  145. }
  146. .bootstrap-scope #nav-skip {
  147. position:absolute;
  148. margin-top:-50px;
  149. }
  150. .bootstrap-scope #nav-skip:focus {
  151. width: auto;
  152. line-height: 20px;
  153. margin: 0 0 0 -115px;
  154. padding: 10px;
  155. background-color: #F8F8F8;
  156. color: #333;
  157. outline: 1px dotted #000;
  158. text-decoration:none;
  159. font-size:12px;
  160. }
  161. .bootstrap-scope .navbar-default .navbar-nav li > a {
  162. color:#555;
  163. text-decoration:none;
  164. }
  165. .bootstrap-scope #menu_ynh .dropdown-menu li li > a {
  166. color:#555;
  167. }
  168. .bootstrap-scope .navbar-default .navbar-nav li li > a:hover {
  169. background-color: #2f98cf;
  170. color:white !important;
  171. }
  172. .bootstrap-scope #menu_ynh .dropdown-menu li {
  173. list-style:none;
  174. }
  175. .bootstrap-scope #menu_ynh .dropdown-menu li.nav-subheader > a {
  176. font-weight: bold;
  177. }
  178. .bootstrap-scope #menu_ynh .dropdown-menu li.nav-subheader.nav-normal > a {
  179. font-weight: normal;
  180. }
  181. .bootstrap-scope #menu_ynh .navbar-nav > li.secondary > a {
  182. background-color: #2f98cf;
  183. color: white;
  184. }
  185. .bootstrap-scope #menu_ynh .navbar-nav > li.primary > a {
  186. background-color: #bc4866;
  187. color: white;
  188. }