You are here

multiselect.css in Multiselect 7

Same filename and directory in other branches
  1. 5.2 multiselect.css
  2. 6 multiselect.css
select.multiselect_unsel {
  width: 250px;
}
select.multiselect_sel {
  width: 250px;
}
/* LABELS ABOVE FIELDS */
.multiselect_labels {
	font-weight: bold;
	color: #999;
	width: 575px;
}
.multiselect_labels .label_unselected {
	float: left;
}
.multiselect_labels .label_selected {
	float: right;
	margin-right: 145px;
}
td .multiselect_labels .label_selected { /* Fix for field collection display */
  float: none;
  padding-left: 300px;
}
/* FIELDS */
.multiselect_available {
	float: left;
	width: 250px; /* Fix for IE8 - http://drupal.org/node/990806 */
}
.form-disabled select.form-multiselect {
  background-color: #eee;
  color: #777;
}
select.form-multiselect {
  padding: 2px;
  border: 1px solid #ccc;
  border-top-color: #999;
  background: #fff;
  color: #333;
}
select.form-multiselect:focus {
  color: #000;
  border-color: #ace;
}
/* BUTTONS */
ul.multiselect_btns {
  list-style: none;
  margin: 10px 10px 0px 20px;
	padding: 0px;
	float: left;
}
li.multiselect_add, li.multiselect_remove {
	background: none;
  width: 33px;
	margin: 0px;
	padding: 0px;
}
li.multiselect_add {
	margin-bottom: 15px;
}
.multiselect_add a {
  display: block;
  height: 38px;
  text-indent: -9999px;
  background: url(images/add.png) no-repeat;
  background-position: 0 0;
}
.multiselect_remove a {
  display: block;
  height: 38px;
  text-indent: -9999px;
  background: url(images/remove.png) no-repeat;
  background-position: 0 0;
}
.multiselect_add a:hover,
.multiselect_add a:focus {
  background-position: -33px 0px;
}
.multiselect_add a:active {
  background-position: -66px 0px;
}
.multiselect_remove a:hover,
.multiselect_remove a:focus {
  background-position: -33px 0px;
}
.multiselect_remove a:active {
  background-position: -66px 0px;
}
/* FIELD DESCRIPTION */
.multiselect .description {
	display: block;
	clear: both;
}
/* Hide the original label placement. */
.multiselect .form-item label, .form-type-multiselect .form-item label {
  display: none;
}

File

multiselect.css
View source
  1. select.multiselect_unsel {
  2. width: 250px;
  3. }
  4. select.multiselect_sel {
  5. width: 250px;
  6. }
  7. /* LABELS ABOVE FIELDS */
  8. .multiselect_labels {
  9. font-weight: bold;
  10. color: #999;
  11. width: 575px;
  12. }
  13. .multiselect_labels .label_unselected {
  14. float: left;
  15. }
  16. .multiselect_labels .label_selected {
  17. float: right;
  18. margin-right: 145px;
  19. }
  20. td .multiselect_labels .label_selected { /* Fix for field collection display */
  21. float: none;
  22. padding-left: 300px;
  23. }
  24. /* FIELDS */
  25. .multiselect_available {
  26. float: left;
  27. width: 250px; /* Fix for IE8 - http://drupal.org/node/990806 */
  28. }
  29. .form-disabled select.form-multiselect {
  30. background-color: #eee;
  31. color: #777;
  32. }
  33. select.form-multiselect {
  34. padding: 2px;
  35. border: 1px solid #ccc;
  36. border-top-color: #999;
  37. background: #fff;
  38. color: #333;
  39. }
  40. select.form-multiselect:focus {
  41. color: #000;
  42. border-color: #ace;
  43. }
  44. /* BUTTONS */
  45. ul.multiselect_btns {
  46. list-style: none;
  47. margin: 10px 10px 0px 20px;
  48. padding: 0px;
  49. float: left;
  50. }
  51. li.multiselect_add, li.multiselect_remove {
  52. background: none;
  53. width: 33px;
  54. margin: 0px;
  55. padding: 0px;
  56. }
  57. li.multiselect_add {
  58. margin-bottom: 15px;
  59. }
  60. .multiselect_add a {
  61. display: block;
  62. height: 38px;
  63. text-indent: -9999px;
  64. background: url(images/add.png) no-repeat;
  65. background-position: 0 0;
  66. }
  67. .multiselect_remove a {
  68. display: block;
  69. height: 38px;
  70. text-indent: -9999px;
  71. background: url(images/remove.png) no-repeat;
  72. background-position: 0 0;
  73. }
  74. .multiselect_add a:hover,
  75. .multiselect_add a:focus {
  76. background-position: -33px 0px;
  77. }
  78. .multiselect_add a:active {
  79. background-position: -66px 0px;
  80. }
  81. .multiselect_remove a:hover,
  82. .multiselect_remove a:focus {
  83. background-position: -33px 0px;
  84. }
  85. .multiselect_remove a:active {
  86. background-position: -66px 0px;
  87. }
  88. /* FIELD DESCRIPTION */
  89. .multiselect .description {
  90. display: block;
  91. clear: both;
  92. }
  93. /* Hide the original label placement. */
  94. .multiselect .form-item label, .form-type-multiselect .form-item label {
  95. display: none;
  96. }