You are here

dropdown.css in Chaos Tool Suite (ctools) 6

Same filename and directory in other branches
  1. 7 css/dropdown.css
html.js div.ctools-dropdown div.ctools-dropdown-container {
  z-index: 1001;
  display: none;
  text-align: left;
  position: absolute;
}

html.js div.ctools-dropdown div.ctools-dropdown-container ul li a {
  display: block;
}

html.js div.ctools-dropdown div.ctools-dropdown-container ul {
  list-style-type: none;
}

html.js div.ctools-dropdown div.ctools-dropdown-container ul li {
  display: block;
  /* prevent excess right margin in IE */
  margin-right: 0;
  margin-left: 0;
  padding-right: 0;
  padding-left: 0;
  background-image: none; /* prevent list backgrounds from mucking things up */
}

.ctools-dropdown-no-js .ctools-dropdown-link,
.ctools-dropdown-no-js span.text {
  display: none;
}

/* Everything from here down is purely visual style and can be overridden. */

html.js div.ctools-dropdown a.ctools-dropdown-text-link {
  background: url(../images/collapsible-expanded.png) 3px 5px no-repeat;
  padding-left: 12px;
}

html.js div.ctools-dropdown div.ctools-dropdown-container {
  width: 175px;
  background: #fff;
  border: 1px solid black;
  margin: 4px 1px 0 0;
  padding: 0;
  color: #494949;
}

html.js div.ctools-dropdown div.ctools-dropdown-container ul li li a {
  padding-left: 25px;
  width: 150px; 
  color: #027AC6;
}

html.js div.ctools-dropdown div.ctools-dropdown-container ul li a {
  text-decoration: none;
  padding-left: 5px;
  width: 170px;
  color: #027AC6;
}

html.js div.ctools-dropdown div.ctools-dropdown-container ul li span {
  display: block;
}

html.js div.ctools-dropdown div.ctools-dropdown-container ul li span.text {
  font-style: italic;
  padding-left: 5px;
}

html.js .ctools-dropdown-hover {
  background-color: #ECECEC;
}

File

css/dropdown.css
View source
  1. html.js div.ctools-dropdown div.ctools-dropdown-container {
  2. z-index: 1001;
  3. display: none;
  4. text-align: left;
  5. position: absolute;
  6. }
  7. html.js div.ctools-dropdown div.ctools-dropdown-container ul li a {
  8. display: block;
  9. }
  10. html.js div.ctools-dropdown div.ctools-dropdown-container ul {
  11. list-style-type: none;
  12. }
  13. html.js div.ctools-dropdown div.ctools-dropdown-container ul li {
  14. display: block;
  15. /* prevent excess right margin in IE */
  16. margin-right: 0;
  17. margin-left: 0;
  18. padding-right: 0;
  19. padding-left: 0;
  20. background-image: none; /* prevent list backgrounds from mucking things up */
  21. }
  22. .ctools-dropdown-no-js .ctools-dropdown-link,
  23. .ctools-dropdown-no-js span.text {
  24. display: none;
  25. }
  26. /* Everything from here down is purely visual style and can be overridden. */
  27. html.js div.ctools-dropdown a.ctools-dropdown-text-link {
  28. background: url(../images/collapsible-expanded.png) 3px 5px no-repeat;
  29. padding-left: 12px;
  30. }
  31. html.js div.ctools-dropdown div.ctools-dropdown-container {
  32. width: 175px;
  33. background: #fff;
  34. border: 1px solid black;
  35. margin: 4px 1px 0 0;
  36. padding: 0;
  37. color: #494949;
  38. }
  39. html.js div.ctools-dropdown div.ctools-dropdown-container ul li li a {
  40. padding-left: 25px;
  41. width: 150px;
  42. color: #027AC6;
  43. }
  44. html.js div.ctools-dropdown div.ctools-dropdown-container ul li a {
  45. text-decoration: none;
  46. padding-left: 5px;
  47. width: 170px;
  48. color: #027AC6;
  49. }
  50. html.js div.ctools-dropdown div.ctools-dropdown-container ul li span {
  51. display: block;
  52. }
  53. html.js div.ctools-dropdown div.ctools-dropdown-container ul li span.text {
  54. font-style: italic;
  55. padding-left: 5px;
  56. }
  57. html.js .ctools-dropdown-hover {
  58. background-color: #ECECEC;
  59. }