You are here

token-input.css in Webform CiviCRM Integration 7.4

Same filename and directory in other branches
  1. 8.5 css/token-input.css
  2. 7.5 css/token-input.css
/* tokeninput vertical list - modified for webform_civicrm */
form ul.token-input-list {
    overflow: hidden;
    height: auto !important;
    height: 1%;
    width: 100%;
    max-width: 400px;
    border: 1px solid #999;
    cursor: text;
    font-size: 12px;
    font-family: Verdana;
    margin: 0;
    padding: 0;
    background-color: #fff;
    list-style-type: none;
    clear: left;
}

form .webform-container-inline ul.token-input-list {
    display: inline-block;
    position: relative;
    top: 10px;
}

form ul.token-input-list li {
    list-style-type: none;
    list-style-image: none;
}

form ul.token-input-list li input {
    border: 0;
    width: 350px;
    padding: 3px 8px;
    background-color: white;
    -webkit-appearance: caret;
}

form li.token-input-token {
    overflow: hidden;
    height: auto !important;
    height: 1%;
    margin: 3px;
    padding: 3px 5px;
    background-color: #d0efa0;
    color: #000;
    font-weight: bold;
    cursor: default;
    display: block;
}

form .webform-component.static li.token-input-token {
    background-color: #D9E4C9;
}

form li.token-input-token p {
    float: left;
    padding: 0;
    margin: 0;
}

form li.token-input-token span {
    float: right;
    color: #777;
    cursor: pointer;
}

form li.token-input-selected-token {
    background-color: #08844e;
    color: #fff;
}

form li.token-input-selected-token span {
    color: #bbb;
}

div.token-input-dropdown {
    position: absolute;
    width: 400px;
    background-color: #fff;
    overflow: hidden;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    cursor: default;
    font-size: 12px;
    font-family: Verdana;
}

div.token-input-dropdown p {
    margin: 0;
    padding: 5px;
    font-weight: bold;
    color: #777;
}

div.token-input-dropdown ul {
    margin: 0;
    padding: 0;
}

div.token-input-dropdown ul li {
    background-color: #fff;
    padding: 3px;
    list-style-type: none;
}

div.token-input-dropdown ul li.token-input-dropdown-item {
    background-color: #fafafa;
}

div.token-input-dropdown ul li.token-input-dropdown-item2 {
    background-color: #fff;
}

div.token-input-dropdown ul li em {
    font-weight: bold;
    font-style: normal;
}

div.token-input-dropdown ul li.token-input-selected-dropdown-item {
    background-color: #d0efa0;
}

form.contact-loading,
form.contact-loading * {
    cursor: progress !important;
}

File

css/token-input.css
View source
  1. /* tokeninput vertical list - modified for webform_civicrm */
  2. form ul.token-input-list {
  3. overflow: hidden;
  4. height: auto !important;
  5. height: 1%;
  6. width: 100%;
  7. max-width: 400px;
  8. border: 1px solid #999;
  9. cursor: text;
  10. font-size: 12px;
  11. font-family: Verdana;
  12. margin: 0;
  13. padding: 0;
  14. background-color: #fff;
  15. list-style-type: none;
  16. clear: left;
  17. }
  18. form .webform-container-inline ul.token-input-list {
  19. display: inline-block;
  20. position: relative;
  21. top: 10px;
  22. }
  23. form ul.token-input-list li {
  24. list-style-type: none;
  25. list-style-image: none;
  26. }
  27. form ul.token-input-list li input {
  28. border: 0;
  29. width: 350px;
  30. padding: 3px 8px;
  31. background-color: white;
  32. -webkit-appearance: caret;
  33. }
  34. form li.token-input-token {
  35. overflow: hidden;
  36. height: auto !important;
  37. height: 1%;
  38. margin: 3px;
  39. padding: 3px 5px;
  40. background-color: #d0efa0;
  41. color: #000;
  42. font-weight: bold;
  43. cursor: default;
  44. display: block;
  45. }
  46. form .webform-component.static li.token-input-token {
  47. background-color: #D9E4C9;
  48. }
  49. form li.token-input-token p {
  50. float: left;
  51. padding: 0;
  52. margin: 0;
  53. }
  54. form li.token-input-token span {
  55. float: right;
  56. color: #777;
  57. cursor: pointer;
  58. }
  59. form li.token-input-selected-token {
  60. background-color: #08844e;
  61. color: #fff;
  62. }
  63. form li.token-input-selected-token span {
  64. color: #bbb;
  65. }
  66. div.token-input-dropdown {
  67. position: absolute;
  68. width: 400px;
  69. background-color: #fff;
  70. overflow: hidden;
  71. border-left: 1px solid #ccc;
  72. border-right: 1px solid #ccc;
  73. border-bottom: 1px solid #ccc;
  74. cursor: default;
  75. font-size: 12px;
  76. font-family: Verdana;
  77. }
  78. div.token-input-dropdown p {
  79. margin: 0;
  80. padding: 5px;
  81. font-weight: bold;
  82. color: #777;
  83. }
  84. div.token-input-dropdown ul {
  85. margin: 0;
  86. padding: 0;
  87. }
  88. div.token-input-dropdown ul li {
  89. background-color: #fff;
  90. padding: 3px;
  91. list-style-type: none;
  92. }
  93. div.token-input-dropdown ul li.token-input-dropdown-item {
  94. background-color: #fafafa;
  95. }
  96. div.token-input-dropdown ul li.token-input-dropdown-item2 {
  97. background-color: #fff;
  98. }
  99. div.token-input-dropdown ul li em {
  100. font-weight: bold;
  101. font-style: normal;
  102. }
  103. div.token-input-dropdown ul li.token-input-selected-dropdown-item {
  104. background-color: #d0efa0;
  105. }
  106. form.contact-loading,
  107. form.contact-loading * {
  108. cursor: progress !important;
  109. }