You are here

tb_megamenu.backend.css in The Better Mega Menu 8

Same filename and directory in other branches
  1. 2.x css/tb_megamenu.backend.css
/* The Menu
---------------------*/
#tb-megamenu-admin-mm-container {
  float: left;
  margin-left: 20px;
}


/* Global Menu Inner padding ---*/
.tb-megamenu .mega-inner {
  padding: 10px;
}


/* Menu Grid ---*/
.tb-megamenu .row-fluid + .row-fluid {
  margin-top: 10px;
  border-top: 0;
}

.tb-megamenu .row-fluid [class*="span"] {
  border: 1px dotted #ccc;
  border-radius: 3px;
  transition: all 0.1s ease 0s;
  -webkit-transition: all 0.1s ease 0s;
  -moz-transition: all 0.1s ease 0s;
  background: white;
}


/* The Nav ---*/
.tb-megamenu .span12.mega-col-nav .mega-inner {
  padding: 10px;
}

.tb-megamenu .nav {
  list-style: none;
}

.tb-megamenu .nav > li {
  float: left;
  margin-right: 20px;
}

.tb-megamenu .nav > li > a,
.tb-megamenu .nav > li > span {
  border: 1px solid #ddd;
  padding: 8px 20px;
  background: #f2f2f2;
  font-weight: bold;
  border-radius: 3px;
  transition: all 0.1s ease 0s;
  -webkit-transition: all 0.1s ease 0s;
  -moz-transition: all 0.1s ease 0s;
}

/* The caret */
.tb-megamenu .mega-nav .dropdown-submenu > a::after {
  margin-right: -10px;
}


/* Dropdown ---*/
.tb-megamenu .dropup,
.dropdown {
  position: relative;
}

.tb-megamenu .dropdown-menu::before,
.tb-megamenu .dropdown-menu::after {
  display: none !important; /* Hide the Arrow */
}

.tb-megamenu .dropdown-menu {
  border: 1px solid #ddd;
  padding: 10px;
  margin-top: 10px;
  border-radius: 3px;
  transition: all 0.1s ease 0s;
  -webkit-transition: all 0.1s ease 0s;
  -moz-transition: all 0.1s ease 0s;
  min-width: 200px;
  background: #f2f2f2;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 99;
  /* Fixed overlap with the Joomla Toolbar */
}

.tb-megamenu .dropdown-menu .dropdown-menu {
  margin-top: 0;
  margin-left: 11px;
}

.tb-megamenu .dropdown-submenu.mega-align-right .dropdown-menu {
  margin-left: 0;
  margin-right: 11px;
}

.tb-megamenu .mega-nav li {
  margin-bottom: 5px;
}

.tb-megamenu .mega-nav li:last-child {
  margin-bottom: 0;
}

.tb-megamenu .mega-nav li > a,
.tb-megamenu .mega-nav li > span {
  padding: 5px 20px 5px 10px;
  border: 1px dotted #ddd;
  border-radius: 3px;
  font-size: 12px;
  color: #999999;
  transition: all 0.1s ease 0s;
  -webkit-transition: all 0.1s ease 0s;
  -moz-transition: all 0.1s ease 0s;
}


/* The group ---*/
.tb-megamenu .mega-nav .mega-group > .mega-group-title,
.tb-megamenu .dropdown-menu .mega-nav .mega-group > .mega-group-title {
  padding: 5px 20px 5px 10px;
  cursor: pointer;
}

.tb-megamenu .mega-group-ct {
  border: 1px solid #ddd;
  padding: 10px;
  margin: 10px 0 0;
  transition: all 0.1s ease 0s;
  -webkit-transition: all 0.1s ease 0s;
  -moz-transition: all 0.1s ease 0s;
  border-radius: 3px;
  background: #f2f2f2;
}

.tb-megamenu .mega-group-ct > .row-fluid > [class*="span"] > .mega-inner {
  padding: 10px;
}


/* Module in Menu ---*/
.tb-megamenu .tb-block {
  pointer-events: none;
  cursor: default;
  position: relative;
  margin: 0;
  transition: all 0.1s ease 0s;
  -webkit-transition: all 0.1s ease 0s;
  -moz-transition: all 0.1s ease 0s;
}

.tb-megamenu .tb-block:after {
  display: block;
  position: absolute;
  background: #eeeeee;
  right: -10px;
  bottom: -10px;
  content: "Block";
  width: 60px;
  padding: 2px 0;
  text-align: center;
  font-size: 10px;
  text-transform: uppercase;
  color: #999999;
  border-radius: 3px 0 0 0;
  border: 1px dotted #ddd;
  border-width: 1px 0 0 1px;
}

.tb-megamenu .tb-block .block-inner {
  opacity: .3;
  font-size: 12px;
}

.tb-megamenu .tb-block .block-title {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 14px;
}

.tb-megamenu .tb-block .block-ct {
  overflow: hidden;
  zoom: 1;
}

/* Reset List Style in Module */
.tb-megamenu .tb-block ul,
.tb-megamenu .tb-block .nav,
.tb-megamenu .dropdown-menu .nav {
  margin: 0 0 0 15px;
}
.tb-megamenu .tb-block ul li,
.tb-megamenu .tb-block .nav li,
.tb-megamenu .dropdown-menu .nav li {
  list-style: disc;
  display: list-item;
  float: none;
  margin: 0;
  padding: 0;
  border: 0;
}
.tb-megamenu .tb-block ul li a,
.tb-megamenu .tb-block .nav li a,
.tb-megamenu .dropdown-menu .tb-block li a {
  display: inline;
  padding: 0;
  margin: 0;
  border: 0;
  font-size: 100%;
  background: none;
  font: inherit;
  white-space: normal;
}
.tb-megamenu .tb-block ul li a:hover,
.tb-megamenu .tb-block .nav li a:hover,
.tb-megamenu .dropdown-menu .tb-block li a:hover,
.tb-megamenu .tb-block ul li a:active,
.tb-megamenu .tb-block .nav li a:active,
.tb-megamenu .dropdown-menu .tb-block li a:active,
.tb-megamenu .tb-block ul li a:focus,
.tb-megamenu .tb-block .nav li a:focus,
.tb-megamenu .dropdown-menu .tb-block li a:focus,
.tb-megamenu .tb-block ul li a:visited,
.tb-megamenu .tb-block .nav li a:visited,
.tb-megamenu .dropdown-menu .tb-block li a:visited {
  background: none;
  color: inherit;
  font: inherit;
}


.tb-megamenu [class*="span"].hover .tb-block:after,
.tb-megamenu [class*="span"].selected .tb-block:after {
  border-style: solid;
  border-color: #666666;
  background: #ffbb00;
  color: #fff;
}

/* Fix Form display problem in Modules */
.tb-megamenu .tb-block .control-group {
  margin-bottom: 5px;
}

.tb-megamenu .tb-block .controls {
  margin-left: 3px;
}


/* Open Item ---*/
.tb-megamenu .nav > li.open > a,
.tb-megamenu .open > a {
  background: #333333 !important;
  color: #fff !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5) !important;
}


/* Hover Item ---*/
.tb-megamenu .nav-child.hover,
.tb-megamenu ul[class*="level"] > li > a.hover,
.tb-megamenu ul[class*="level"] > li > span.hover,
.tb-megamenu .row-fluid [class*="span"].hover {
  background: #fffbf0 !important;
  color: #333333 !important;
  border: 1px solid #666666 !important;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
  border-radius: 3px;
}

.tb-megamenu ul[class*="level"] > li > a:hover,
.tb-megamenu ul[class*="level"] > li > a:focus,
.tb-megamenu ul[class*="level"] > li > a:active {
  background: #fffbf0 !important;
  color: #333333 !important;
  text-decoration: none !important;
  text-shadow: 0 1px 1px #fff !important;
}

/* The caret */
.tb-megamenu .mega-nav li a.hover:after,
.tb-megamenu .mega-nav li a.selected:after {
  border-left-color: #333333;
}


/* Selected Item ---*/
.tb-megamenu .selected {
  background: #fffbf0 !important;
  color: #333333 !important;
  border: 1px solid #666666 !important;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
  border-radius: 3px;
  text-shadow: 0 1px 1px white !important;
}

/* The caption ---*/
.tb-megamenu .mega-caption {
  color: #999;
  font-size: 11px;
  margin-top: 2px;
}


/* Fix for Joomla! Default Admin Template
--------------------------------------------------*/
#tb-megamenu-admin .dropdown-menu a {
  white-space: normal;
}
#tb-megamenu-admin .row-fluid [class*="span"] {
  margin-left: 2.12766%;
}
#tb-megamenu-admin .row-fluid [class*="span"]:first-child {
  margin-left: 0;
}

/* Fix right spacing for chzn chosen in Megamenu Admin UI */
#tb-megamenu-admin ul.chzn-results {
  margin-right: 0;
  float: none;
}

/* Fix submenu auto open on hover */
#tb-megamenu-admin .dropdown-submenu:hover .dropdown-menu {
  display: none;
}

#tb-megamenu-admin .dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

#tb-megamenu-admin-mm-tb #toolbox-loading {
  background-image: url('../images/ajax-loader.gif');
  width: 220px;
  height: 19px;
  display: none;
  position: absolute;
  top: 20px;
  left: 50%;
  margin-left: -110px;
}

#tb-megamenu-admin-mm-tb #toolbox-message {
  color: red;
  display: none;
  position: absolute;
  top: -7px;
  left: 50%;
  width: 50%;
  margin-left: -25%;
}

/* Megamenu Responsive */
@media (max-width: 767px) {
  .tb-megamenu .mega-inner {
    padding: 10px 20px;
  }
  .tb-megamenu .row-fluid,
  .tb-megamenu .mega-dropdown-menu,
  .tb-megamenu .row-fluid [class*="span"] {
    width: 100% !important;
    min-width: 100% !important;
    left: 0 !important;
    margin-left: 0 !important;
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
  }
  .tb-megamenu .row-fluid + .row-fluid {
    padding-top: 10px;
    border-top: 1px solid #eeeeee;
  }
  .tb-megamenu .hidden-collapse,
  .tb-megamenu .always-show .caret,
  .tb-megamenu .sub-hidden-collapse > .nav-child,
  .tb-megamenu .sub-hidden-collapse .caret,
  .tb-megamenu .sub-hidden-collapse > a:after,
  .tb-megamenu .always-show .dropdown-submenu > a:after {
    display: none !important;
  }
  .tb-megamenu .mega-caption {
    display: none !important;
  }
}

File

css/tb_megamenu.backend.css
View source
  1. /* The Menu
  2. ---------------------*/
  3. #tb-megamenu-admin-mm-container {
  4. float: left;
  5. margin-left: 20px;
  6. }
  7. /* Global Menu Inner padding ---*/
  8. .tb-megamenu .mega-inner {
  9. padding: 10px;
  10. }
  11. /* Menu Grid ---*/
  12. .tb-megamenu .row-fluid + .row-fluid {
  13. margin-top: 10px;
  14. border-top: 0;
  15. }
  16. .tb-megamenu .row-fluid [class*="span"] {
  17. border: 1px dotted #ccc;
  18. border-radius: 3px;
  19. transition: all 0.1s ease 0s;
  20. -webkit-transition: all 0.1s ease 0s;
  21. -moz-transition: all 0.1s ease 0s;
  22. background: white;
  23. }
  24. /* The Nav ---*/
  25. .tb-megamenu .span12.mega-col-nav .mega-inner {
  26. padding: 10px;
  27. }
  28. .tb-megamenu .nav {
  29. list-style: none;
  30. }
  31. .tb-megamenu .nav > li {
  32. float: left;
  33. margin-right: 20px;
  34. }
  35. .tb-megamenu .nav > li > a,
  36. .tb-megamenu .nav > li > span {
  37. border: 1px solid #ddd;
  38. padding: 8px 20px;
  39. background: #f2f2f2;
  40. font-weight: bold;
  41. border-radius: 3px;
  42. transition: all 0.1s ease 0s;
  43. -webkit-transition: all 0.1s ease 0s;
  44. -moz-transition: all 0.1s ease 0s;
  45. }
  46. /* The caret */
  47. .tb-megamenu .mega-nav .dropdown-submenu > a::after {
  48. margin-right: -10px;
  49. }
  50. /* Dropdown ---*/
  51. .tb-megamenu .dropup,
  52. .dropdown {
  53. position: relative;
  54. }
  55. .tb-megamenu .dropdown-menu::before,
  56. .tb-megamenu .dropdown-menu::after {
  57. display: none !important; /* Hide the Arrow */
  58. }
  59. .tb-megamenu .dropdown-menu {
  60. border: 1px solid #ddd;
  61. padding: 10px;
  62. margin-top: 10px;
  63. border-radius: 3px;
  64. transition: all 0.1s ease 0s;
  65. -webkit-transition: all 0.1s ease 0s;
  66. -moz-transition: all 0.1s ease 0s;
  67. min-width: 200px;
  68. background: #f2f2f2;
  69. box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.2);
  70. z-index: 99;
  71. /* Fixed overlap with the Joomla Toolbar */
  72. }
  73. .tb-megamenu .dropdown-menu .dropdown-menu {
  74. margin-top: 0;
  75. margin-left: 11px;
  76. }
  77. .tb-megamenu .dropdown-submenu.mega-align-right .dropdown-menu {
  78. margin-left: 0;
  79. margin-right: 11px;
  80. }
  81. .tb-megamenu .mega-nav li {
  82. margin-bottom: 5px;
  83. }
  84. .tb-megamenu .mega-nav li:last-child {
  85. margin-bottom: 0;
  86. }
  87. .tb-megamenu .mega-nav li > a,
  88. .tb-megamenu .mega-nav li > span {
  89. padding: 5px 20px 5px 10px;
  90. border: 1px dotted #ddd;
  91. border-radius: 3px;
  92. font-size: 12px;
  93. color: #999999;
  94. transition: all 0.1s ease 0s;
  95. -webkit-transition: all 0.1s ease 0s;
  96. -moz-transition: all 0.1s ease 0s;
  97. }
  98. /* The group ---*/
  99. .tb-megamenu .mega-nav .mega-group > .mega-group-title,
  100. .tb-megamenu .dropdown-menu .mega-nav .mega-group > .mega-group-title {
  101. padding: 5px 20px 5px 10px;
  102. cursor: pointer;
  103. }
  104. .tb-megamenu .mega-group-ct {
  105. border: 1px solid #ddd;
  106. padding: 10px;
  107. margin: 10px 0 0;
  108. transition: all 0.1s ease 0s;
  109. -webkit-transition: all 0.1s ease 0s;
  110. -moz-transition: all 0.1s ease 0s;
  111. border-radius: 3px;
  112. background: #f2f2f2;
  113. }
  114. .tb-megamenu .mega-group-ct > .row-fluid > [class*="span"] > .mega-inner {
  115. padding: 10px;
  116. }
  117. /* Module in Menu ---*/
  118. .tb-megamenu .tb-block {
  119. pointer-events: none;
  120. cursor: default;
  121. position: relative;
  122. margin: 0;
  123. transition: all 0.1s ease 0s;
  124. -webkit-transition: all 0.1s ease 0s;
  125. -moz-transition: all 0.1s ease 0s;
  126. }
  127. .tb-megamenu .tb-block:after {
  128. display: block;
  129. position: absolute;
  130. background: #eeeeee;
  131. right: -10px;
  132. bottom: -10px;
  133. content: "Block";
  134. width: 60px;
  135. padding: 2px 0;
  136. text-align: center;
  137. font-size: 10px;
  138. text-transform: uppercase;
  139. color: #999999;
  140. border-radius: 3px 0 0 0;
  141. border: 1px dotted #ddd;
  142. border-width: 1px 0 0 1px;
  143. }
  144. .tb-megamenu .tb-block .block-inner {
  145. opacity: .3;
  146. font-size: 12px;
  147. }
  148. .tb-megamenu .tb-block .block-title {
  149. margin-top: 0;
  150. margin-bottom: 5px;
  151. font-size: 14px;
  152. }
  153. .tb-megamenu .tb-block .block-ct {
  154. overflow: hidden;
  155. zoom: 1;
  156. }
  157. /* Reset List Style in Module */
  158. .tb-megamenu .tb-block ul,
  159. .tb-megamenu .tb-block .nav,
  160. .tb-megamenu .dropdown-menu .nav {
  161. margin: 0 0 0 15px;
  162. }
  163. .tb-megamenu .tb-block ul li,
  164. .tb-megamenu .tb-block .nav li,
  165. .tb-megamenu .dropdown-menu .nav li {
  166. list-style: disc;
  167. display: list-item;
  168. float: none;
  169. margin: 0;
  170. padding: 0;
  171. border: 0;
  172. }
  173. .tb-megamenu .tb-block ul li a,
  174. .tb-megamenu .tb-block .nav li a,
  175. .tb-megamenu .dropdown-menu .tb-block li a {
  176. display: inline;
  177. padding: 0;
  178. margin: 0;
  179. border: 0;
  180. font-size: 100%;
  181. background: none;
  182. font: inherit;
  183. white-space: normal;
  184. }
  185. .tb-megamenu .tb-block ul li a:hover,
  186. .tb-megamenu .tb-block .nav li a:hover,
  187. .tb-megamenu .dropdown-menu .tb-block li a:hover,
  188. .tb-megamenu .tb-block ul li a:active,
  189. .tb-megamenu .tb-block .nav li a:active,
  190. .tb-megamenu .dropdown-menu .tb-block li a:active,
  191. .tb-megamenu .tb-block ul li a:focus,
  192. .tb-megamenu .tb-block .nav li a:focus,
  193. .tb-megamenu .dropdown-menu .tb-block li a:focus,
  194. .tb-megamenu .tb-block ul li a:visited,
  195. .tb-megamenu .tb-block .nav li a:visited,
  196. .tb-megamenu .dropdown-menu .tb-block li a:visited {
  197. background: none;
  198. color: inherit;
  199. font: inherit;
  200. }
  201. .tb-megamenu [class*="span"].hover .tb-block:after,
  202. .tb-megamenu [class*="span"].selected .tb-block:after {
  203. border-style: solid;
  204. border-color: #666666;
  205. background: #ffbb00;
  206. color: #fff;
  207. }
  208. /* Fix Form display problem in Modules */
  209. .tb-megamenu .tb-block .control-group {
  210. margin-bottom: 5px;
  211. }
  212. .tb-megamenu .tb-block .controls {
  213. margin-left: 3px;
  214. }
  215. /* Open Item ---*/
  216. .tb-megamenu .nav > li.open > a,
  217. .tb-megamenu .open > a {
  218. background: #333333 !important;
  219. color: #fff !important;
  220. text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5) !important;
  221. }
  222. /* Hover Item ---*/
  223. .tb-megamenu .nav-child.hover,
  224. .tb-megamenu ul[class*="level"] > li > a.hover,
  225. .tb-megamenu ul[class*="level"] > li > span.hover,
  226. .tb-megamenu .row-fluid [class*="span"].hover {
  227. background: #fffbf0 !important;
  228. color: #333333 !important;
  229. border: 1px solid #666666 !important;
  230. box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
  231. border-radius: 3px;
  232. }
  233. .tb-megamenu ul[class*="level"] > li > a:hover,
  234. .tb-megamenu ul[class*="level"] > li > a:focus,
  235. .tb-megamenu ul[class*="level"] > li > a:active {
  236. background: #fffbf0 !important;
  237. color: #333333 !important;
  238. text-decoration: none !important;
  239. text-shadow: 0 1px 1px #fff !important;
  240. }
  241. /* The caret */
  242. .tb-megamenu .mega-nav li a.hover:after,
  243. .tb-megamenu .mega-nav li a.selected:after {
  244. border-left-color: #333333;
  245. }
  246. /* Selected Item ---*/
  247. .tb-megamenu .selected {
  248. background: #fffbf0 !important;
  249. color: #333333 !important;
  250. border: 1px solid #666666 !important;
  251. box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
  252. border-radius: 3px;
  253. text-shadow: 0 1px 1px white !important;
  254. }
  255. /* The caption ---*/
  256. .tb-megamenu .mega-caption {
  257. color: #999;
  258. font-size: 11px;
  259. margin-top: 2px;
  260. }
  261. /* Fix for Joomla! Default Admin Template
  262. --------------------------------------------------*/
  263. #tb-megamenu-admin .dropdown-menu a {
  264. white-space: normal;
  265. }
  266. #tb-megamenu-admin .row-fluid [class*="span"] {
  267. margin-left: 2.12766%;
  268. }
  269. #tb-megamenu-admin .row-fluid [class*="span"]:first-child {
  270. margin-left: 0;
  271. }
  272. /* Fix right spacing for chzn chosen in Megamenu Admin UI */
  273. #tb-megamenu-admin ul.chzn-results {
  274. margin-right: 0;
  275. float: none;
  276. }
  277. /* Fix submenu auto open on hover */
  278. #tb-megamenu-admin .dropdown-submenu:hover .dropdown-menu {
  279. display: none;
  280. }
  281. #tb-megamenu-admin .dropdown-submenu:hover > .dropdown-menu {
  282. display: block;
  283. }
  284. #tb-megamenu-admin-mm-tb #toolbox-loading {
  285. background-image: url('../images/ajax-loader.gif');
  286. width: 220px;
  287. height: 19px;
  288. display: none;
  289. position: absolute;
  290. top: 20px;
  291. left: 50%;
  292. margin-left: -110px;
  293. }
  294. #tb-megamenu-admin-mm-tb #toolbox-message {
  295. color: red;
  296. display: none;
  297. position: absolute;
  298. top: -7px;
  299. left: 50%;
  300. width: 50%;
  301. margin-left: -25%;
  302. }
  303. /* Megamenu Responsive */
  304. @media (max-width: 767px) {
  305. .tb-megamenu .mega-inner {
  306. padding: 10px 20px;
  307. }
  308. .tb-megamenu .row-fluid,
  309. .tb-megamenu .mega-dropdown-menu,
  310. .tb-megamenu .row-fluid [class*="span"] {
  311. width: 100% !important;
  312. min-width: 100% !important;
  313. left: 0 !important;
  314. margin-left: 0 !important;
  315. transform: none !important;
  316. -webkit-transform: none !important;
  317. -moz-transform: none !important;
  318. -ms-transform: none !important;
  319. -o-transform: none !important;
  320. }
  321. .tb-megamenu .row-fluid + .row-fluid {
  322. padding-top: 10px;
  323. border-top: 1px solid #eeeeee;
  324. }
  325. .tb-megamenu .hidden-collapse,
  326. .tb-megamenu .always-show .caret,
  327. .tb-megamenu .sub-hidden-collapse > .nav-child,
  328. .tb-megamenu .sub-hidden-collapse .caret,
  329. .tb-megamenu .sub-hidden-collapse > a:after,
  330. .tb-megamenu .always-show .dropdown-submenu > a:after {
  331. display: none !important;
  332. }
  333. .tb-megamenu .mega-caption {
  334. display: none !important;
  335. }
  336. }