term_reference_tree.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. .item-list .field--widget-term-reference-tree ul,
  2. .block .field--widget-term-reference-tree ul,
  3. .field--widget-term-reference-tree ul {
  4. list-style-type: none;
  5. margin-top: 0;
  6. margin-bottom: 0;
  7. margin-left: 0;
  8. }
  9. .item-list .field--widget-term-reference-tree ul ul,
  10. .block .field--widget-term-reference-tree ul ul,
  11. .field--widget-term-reference-tree ul ul {
  12. margin-left: 1.5em;
  13. }
  14. .item-list .field--widget-term-reference-tree ul .form-item,
  15. .block .field--widget-term-reference-tree ul .form-item,
  16. .field--widget-term-reference-tree ul .form-item {
  17. margin: 0;
  18. padding: 0;
  19. }
  20. .term-reference-tree-button,
  21. .no-term-reference-tree-button {
  22. width: 16px;
  23. height: 16px;
  24. display: inline-block;
  25. *display: inline;
  26. zoom: 1;
  27. vertical-align: middle;
  28. margin-right: 4px;
  29. }
  30. .term-reference-tree-button {
  31. background-image: url('images/bullet_toggle_minus.png');
  32. }
  33. .no-term-reference-tree-button {
  34. background-color: #ddd;
  35. }
  36. .term-reference-tree-button.term-reference-tree-collapsed {
  37. background-image: url('images/bullet_toggle_plus.png');
  38. }
  39. .field--widget-term-reference-tree .form-item {
  40. display: inline-block;
  41. *display: inline;
  42. zoom: 1;
  43. }
  44. .field--widget-term-reference-tree .disabled {
  45. opacity: .5;
  46. }
  47. .field--widget-term-reference-tree .parent-term {
  48. display: inline-block;
  49. *display: inline;
  50. zoom: 1;
  51. font-weight: bold;
  52. }
  53. .form-type-checkbox-tree .error {
  54. background-image: none;
  55. border: 2px solid red;
  56. padding: 3px;
  57. }
  58. .region-content ul.term-reference-tree-level,
  59. .term-reference-tree-level {
  60. padding: 0;
  61. }
  62. /*
  63. * Styles for track list of selected options.
  64. */
  65. .term-reference-tree-track-list li {
  66. list-style-type: none;
  67. list-style-image: none;
  68. margin-left: 10px;
  69. padding-left: 20px;
  70. min-height: 16px;
  71. cursor: pointer;
  72. }
  73. .term-reference-tree-track-list li.track-item:hover {
  74. color: red;
  75. background-image: url("images/bullet_delete.png");
  76. background-repeat: no-repeat;
  77. background-position: middle left;
  78. }
  79. .term-reference-tree-track-list li.term_ref_tree_nothing_message {
  80. list-style-type: none;
  81. list-style-image: none;
  82. font-style: italic;
  83. cursor: default;
  84. }
  85. .term-reference-track-list-container {
  86. padding: 5px;
  87. }
  88. .term-reference-track-list-label {
  89. font-weight: bold;
  90. }
  91. /*
  92. * Styles for display element
  93. */
  94. .term-tree-list .selected {
  95. font-weight: bold;
  96. }
  97. .term-tree-list .unselected {
  98. font-weight: normal;
  99. }
  100. .term-tree-list ul {
  101. margin-top: 0;
  102. }
  103. .field--type-entity-reference ul.links .term-tree-list ul.term li {
  104. float: none;
  105. }