You are here

dropdownmenu.css in Notifications widget 8

.dropdown-menu:after,
.dropdown-menu:before {
  bottom: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

@media only screen and (min-width: 992px) {
  .dropdown-menu: before {
    border-color: rgba(221, 221, 221, 0);
    border-bottom-color: #fff;
    border-width: 9px;
    margin-left: -15px;
  }
  .dropdown-menu:after {
    border-color: rgba(221, 221, 221, 0);
    border-bottom-color: #fff;
    border-width: 9px;
    margin-left: -15px;
  }
  .dropdown-menu {
    background: #fff!important;
    border: 0;
  }

  .open .dropdown-menu a {
    background: #fff;
    color: #333!important;
    text-decoration: none;
  }


}
@media only screen and (max-width: 767px) {
  .navbar-collapse .dropdown-menu {
    background: #666!important;
    border: 0;
    box-shadow: 0 2px 2px #e5e5e5;
    border: solid 1px #e5e5e5;
  }

  .navbar-collapse .open .dropdown-menu a {
    background: #666!important;
    color: #fff!important;
    text-decoration: none;
  }
}

@media (min-width:  768px) and (max-width: 991px) {
  .navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  .navbar-nav .open .dropdown-menu > li > a {
    line-height: 20px;
  }
  .navbar-nav .open .dropdown-menu > li > a,
  .navbar-nav .open .dropdown-menu .dropdown-header {
    padding: 5px 15px 5px 25px;
  }
  .dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
  }
  .navbar-header {
    float: none;
  }
  .navbar-toggle {
    display: block;
  }
  .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .navbar-collapse.collapse {
    display: none!important;
  }
  .navbar-nav {
    float: none!important;
    /*margin: 7.5px -15px;*/
    margin: 7.5px 50px 7.5px -15px;
  }
  .navbar-nav>li {
    float: none;
  }
  .navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .navbar-text {
    float: none;
    margin: 15px 0;
  }
  /* since 3.1.0 */
  .navbar-collapse.collapse.in {
    display: block!important;
  }
  .collapsing {
    overflow: hidden!important;
  }

  .navbar-header .navbar-collapse {
    position: absolute;
    left: -25px;
    right: -25px;
    top: 60px;
    background: #333;
  }
  .navbar-header .navbar-collapse ul li a {
    text-align: left;
    position: relative;
  }
  .navbar-header .navbar-collapse ul li.dropdown a .caret {
    position: absolute;
    right: 25px;
    top: 49%;
  }
  .navbar-collapse {
    padding: 0;
    border: 0;
  }
  header ul.nav li a {
    padding: 10px 25px!important;
  }

  .navbar-collapse ul li {
    border-bottom: solid 1px #666;
  }
  .navbar-toggle {
    padding: 9px 0!important;
    border: 0!important;
    border-radius: 0!important;
  }
  .navbar-default .navbar-toggle .icon-bar {
    background-color: #fff!important;
  }
  .navbar-toggle .icon-bar {
    width: 35px;
    height: 4px;
  }
  .navbar-toggle .icon-bar + .icon-bar {
    margin-top: 7px!important;
  }
  .navbar-default .navbar-toggle:hover,
  .navbar-default .navbar-toggle:focus {
    background: transparent!important;
  }
  .navbar-default .navbar-toggle:hover .icon-bar,
  .navbar-default .navbar-toggle:focus .icon-bar {
    background: #ed9649!important;
  }
  .navbar-collapse .dropdown-menu {
    background: #666!important;
    border: 0;
    box-shadow: 0 2px 2px #e5e5e5;
    border: solid 1px #e5e5e5;
  }

  .navbar-collapse .open .dropdown-menu a {
    background: #666;
    color: #fff!important;
    text-decoration: none;
  }
}

File

css/dropdownmenu.css
View source
  1. .dropdown-menu:after,
  2. .dropdown-menu:before {
  3. bottom: 100%;
  4. left: 50%;
  5. border: solid transparent;
  6. content: " ";
  7. height: 0;
  8. width: 0;
  9. position: absolute;
  10. pointer-events: none;
  11. }
  12. @media only screen and (min-width: 992px) {
  13. .dropdown-menu: before {
  14. border-color: rgba(221, 221, 221, 0);
  15. border-bottom-color: #fff;
  16. border-width: 9px;
  17. margin-left: -15px;
  18. }
  19. .dropdown-menu:after {
  20. border-color: rgba(221, 221, 221, 0);
  21. border-bottom-color: #fff;
  22. border-width: 9px;
  23. margin-left: -15px;
  24. }
  25. .dropdown-menu {
  26. background: #fff!important;
  27. border: 0;
  28. }
  29. .open .dropdown-menu a {
  30. background: #fff;
  31. color: #333!important;
  32. text-decoration: none;
  33. }
  34. }
  35. @media only screen and (max-width: 767px) {
  36. .navbar-collapse .dropdown-menu {
  37. background: #666!important;
  38. border: 0;
  39. box-shadow: 0 2px 2px #e5e5e5;
  40. border: solid 1px #e5e5e5;
  41. }
  42. .navbar-collapse .open .dropdown-menu a {
  43. background: #666!important;
  44. color: #fff!important;
  45. text-decoration: none;
  46. }
  47. }
  48. @media (min-width: 768px) and (max-width: 991px) {
  49. .navbar-nav .open .dropdown-menu {
  50. position: static;
  51. float: none;
  52. width: auto;
  53. margin-top: 0;
  54. background-color: transparent;
  55. border: 0;
  56. -webkit-box-shadow: none;
  57. box-shadow: none;
  58. }
  59. .navbar-nav .open .dropdown-menu > li > a {
  60. line-height: 20px;
  61. }
  62. .navbar-nav .open .dropdown-menu > li > a,
  63. .navbar-nav .open .dropdown-menu .dropdown-header {
  64. padding: 5px 15px 5px 25px;
  65. }
  66. .dropdown-menu > li > a {
  67. display: block;
  68. padding: 3px 20px;
  69. clear: both;
  70. font-weight: normal;
  71. line-height: 1.42857143;
  72. color: #333;
  73. white-space: nowrap;
  74. }
  75. .navbar-header {
  76. float: none;
  77. }
  78. .navbar-toggle {
  79. display: block;
  80. }
  81. .navbar-collapse {
  82. border-top: 1px solid transparent;
  83. box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  84. }
  85. .navbar-collapse.collapse {
  86. display: none!important;
  87. }
  88. .navbar-nav {
  89. float: none!important;
  90. /*margin: 7.5px -15px;*/
  91. margin: 7.5px 50px 7.5px -15px;
  92. }
  93. .navbar-nav>li {
  94. float: none;
  95. }
  96. .navbar-nav>li>a {
  97. padding-top: 10px;
  98. padding-bottom: 10px;
  99. }
  100. .navbar-text {
  101. float: none;
  102. margin: 15px 0;
  103. }
  104. /* since 3.1.0 */
  105. .navbar-collapse.collapse.in {
  106. display: block!important;
  107. }
  108. .collapsing {
  109. overflow: hidden!important;
  110. }
  111. .navbar-header .navbar-collapse {
  112. position: absolute;
  113. left: -25px;
  114. right: -25px;
  115. top: 60px;
  116. background: #333;
  117. }
  118. .navbar-header .navbar-collapse ul li a {
  119. text-align: left;
  120. position: relative;
  121. }
  122. .navbar-header .navbar-collapse ul li.dropdown a .caret {
  123. position: absolute;
  124. right: 25px;
  125. top: 49%;
  126. }
  127. .navbar-collapse {
  128. padding: 0;
  129. border: 0;
  130. }
  131. header ul.nav li a {
  132. padding: 10px 25px!important;
  133. }
  134. .navbar-collapse ul li {
  135. border-bottom: solid 1px #666;
  136. }
  137. .navbar-toggle {
  138. padding: 9px 0!important;
  139. border: 0!important;
  140. border-radius: 0!important;
  141. }
  142. .navbar-default .navbar-toggle .icon-bar {
  143. background-color: #fff!important;
  144. }
  145. .navbar-toggle .icon-bar {
  146. width: 35px;
  147. height: 4px;
  148. }
  149. .navbar-toggle .icon-bar + .icon-bar {
  150. margin-top: 7px!important;
  151. }
  152. .navbar-default .navbar-toggle:hover,
  153. .navbar-default .navbar-toggle:focus {
  154. background: transparent!important;
  155. }
  156. .navbar-default .navbar-toggle:hover .icon-bar,
  157. .navbar-default .navbar-toggle:focus .icon-bar {
  158. background: #ed9649!important;
  159. }
  160. .navbar-collapse .dropdown-menu {
  161. background: #666!important;
  162. border: 0;
  163. box-shadow: 0 2px 2px #e5e5e5;
  164. border: solid 1px #e5e5e5;
  165. }
  166. .navbar-collapse .open .dropdown-menu a {
  167. background: #666;
  168. color: #fff!important;
  169. text-decoration: none;
  170. }
  171. }