You are here

backend.css in The Better Mega Menu 7

/* 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 .mega > .mega-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: -10px;
  left: 50%;
  margin-left: -110px;
}

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