ninja-forms-display.css 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  1. .ninja-forms-form-wrap *,
  2. .ninja-forms-form-wrap *:after,
  3. .ninja-forms-form-wrap *:before {
  4. -webkit-box-sizing: border-box;
  5. -moz-box-sizing: border-box;
  6. -ms-box-sizing: border-box;
  7. box-sizing: border-box;
  8. }
  9. a.tooltip {outline:none; text-decoration: none; }
  10. a.tooltip strong {line-height:30px;}
  11. a.tooltip:hover {text-decoration:none;}
  12. a.tooltip span {
  13. z-index:10;display:none; padding:14px 20px;
  14. margin-top:-10px; margin-left:28px;
  15. width:240px; line-height:16px;
  16. z-index: 1;
  17. position: relative;
  18. }
  19. a.tooltip span:before {
  20. border-top: 10px solid transparent;
  21. border-right: 15px solid #ccc;
  22. border-bottom: 10px solid transparent;
  23. content: "";
  24. position: absolute;
  25. left: -15px;
  26. }
  27. a.tooltip:hover span{
  28. display:inline; position:absolute; color:#333;
  29. border:1px solid #ccc; background:#f1f1f1;}
  30. /*CSS3 extras*/
  31. a.tooltip span
  32. {
  33. border-radius:4px;
  34. -moz-border-radius: 4px;
  35. -webkit-border-radius: 4px;
  36. -moz-box-shadow: 5px 5px 8px #CCC;
  37. -webkit-box-shadow: 5px 5px 8px #CCC;
  38. box-shadow: 5px 5px 8px #CCC;
  39. }
  40. #ui-datepicker-div {
  41. background: #f1f1f1;
  42. border-radius: 3px;
  43. }
  44. #ui-datepicker-div a {
  45. text-decoration: none;
  46. cursor: pointer;
  47. }
  48. #ui-datepicker-div .ui-datepicker-header,
  49. #ui-datepicker-div .ui-datepicker-calendar th,
  50. #ui-datepicker-div .ui-datepicker-calendar td {
  51. padding: 5px;
  52. text-align: center;
  53. }
  54. #ui-datepicker-div .ui-icon {
  55. text-indent: 0px;
  56. }
  57. .ui-datepicker-prev {
  58. float: left;
  59. }
  60. .ui-datepicker-next {
  61. float: right;
  62. }
  63. .ninja-forms-no-display {
  64. display: none;
  65. }
  66. .ninja-forms-form .wp-switch-editor {
  67. height: auto;
  68. }
  69. .ninja-forms-form .mceIframeContainer {
  70. background: #fff;
  71. }
  72. .ninja-forms-req-symbol {
  73. color: #ff0000;
  74. }
  75. .ninja-forms-form .label-above label,
  76. .ninja-forms-form .label-below label {
  77. display: block;
  78. }
  79. .field-wrap,
  80. #ninja_forms_required_items {
  81. margin-bottom: 20px;
  82. }
  83. #pass-strength-result {
  84. background-color: #eee;
  85. border-color: #ddd !important;
  86. border-style: solid;
  87. border-width: 1px;
  88. margin: 13px 5px 5px 1px;
  89. padding: 3px 5px;
  90. text-align: center;
  91. width: 200px;
  92. }
  93. #pass-strength-result.bad {
  94. background-color: #ffb78c;
  95. border-color: #ff853c !important;
  96. }
  97. #pass-strength-result.good {
  98. background-color: #ffec8b;
  99. border-color: #fc0 !important;
  100. }
  101. #pass-strength-result.short {
  102. background-color: #ffa0a0;
  103. border-color: #f04040 !important;
  104. }
  105. #pass-strength-result.strong {
  106. background-color: #c3ff88;
  107. border-color: #8dff1c !important;
  108. }
  109. .ninja-forms-cont {
  110. position: relative;
  111. }
  112. .ninja-forms-cont:after {
  113. clear: both;
  114. content: "";
  115. display: block;
  116. }
  117. .ninja-forms-field-error {
  118. color: red;
  119. }
  120. .ninja-forms-form-wrap input,
  121. .ninja-forms-form-wrap select ,
  122. .ninja-forms-form-wrap textarea {
  123. width: auto;
  124. height: auto;
  125. vertical-align: inherit;
  126. }
  127. .ninja-forms-form-wrap label {
  128. font-weight: bold;
  129. }
  130. .ninja-forms-form-wrap .list-checkbox-wrap ul label,
  131. .ninja-forms-form-wrap .list-radio-wrap ul label {
  132. font-weight: normal;
  133. }
  134. .field-wrap:after {
  135. clear: both;
  136. content: "";
  137. display: block;
  138. }
  139. .field-wrap.label-left .ninja-forms-field,
  140. .field-wrap.label-left .ninja-forms-star-rating-control {
  141. margin-left: 8px;
  142. }
  143. .field-wrap.label-right .ninja-forms-field,
  144. .field-wrap.label-right .ninja-forms-star-rating-control {
  145. margin-right: 8px;
  146. }
  147. .field-wrap.label-right label,
  148. .field-wrap.label-left label {
  149. display: inline;
  150. }
  151. .label-above label {
  152. margin-bottom: 5px;
  153. }
  154. .MultiFile-wrap {
  155. display: inline-block;
  156. }
  157. /* ---------------------------------
  158. TEXT FIELDS & TEXTAREAS
  159. ----------------------------------*/
  160. .text-wrap.label-left input,
  161. .profile_pass-wrap.label-left input,
  162. .textarea-wrap.label-left textarea {
  163. margin-left: 10px;
  164. }
  165. .text-wrap.label-right input,
  166. .profile_pass-wrap.label-right input,
  167. .textarea-wrap.label-right textarea {
  168. margin-right: 10px;
  169. }
  170. .text-wrap.label-above label,
  171. .textarea-wrap.label-above label {
  172. display: block;
  173. width: 100%;
  174. }
  175. .profile_pass-wrap input,
  176. .text-wrap.label-above input,
  177. .text-wrap.label-below input,
  178. .text-wrap.label-inside input,
  179. .textarea-wrap.label-above textarea,
  180. .textarea-wrap.label-below textarea,
  181. .textarea-wrap.label-inside textarea,
  182. .list-dropdown-wrap.label-above select,
  183. .list-dropdown-wrap.label-below select {
  184. width: 100%;
  185. }
  186. .textarea-wrap textarea {
  187. height: 200px;
  188. }
  189. .profile_pass-wrap input {
  190. margin-bottom: 10px;
  191. }
  192. /* ---------------------------------
  193. RADIO & CHECKBOX LISTS
  194. ----------------------------------*/
  195. .list-radio-wrap span ul li input,
  196. .list-checkbox-wrap span ul li input {
  197. margin-right: 5px;
  198. }
  199. .list-radio-wrap span ul,
  200. .list-checkbox-wrap span ul {
  201. list-style: none;
  202. margin: 0;
  203. padding: 0;
  204. }
  205. .list-radio-wrap span ul li,
  206. .list-checkbox-wrap span ul li {
  207. list-style: none;
  208. }
  209. .list-radio-wrap span ul li,
  210. .list-checkbox-wrap span ul li {
  211. margin: 0;
  212. padding: 0;
  213. }
  214. .list-radio-wrap.label-left label,
  215. .list-radio-wrap.label-left ul,
  216. .list-radio-wrap.label-left ul li,
  217. .list-radio-wrap.label-right label,
  218. .list-radio-wrap.label-right ul,
  219. .list-radio-wrap.label-right ul li,
  220. .list-checkbox-wrap.label-left label,
  221. .list-checkbox-wrap.label-left ul,
  222. .list-checkbox-wrap.label-left ul li,
  223. .list-checkbox-wrap.label-right label,
  224. .list-checkbox-wrap.label-right ul,
  225. .list-checkbox-wrap.label-right ul li {
  226. float: left;
  227. }
  228. .rtl .list-radio-wrap.label-left label,
  229. .rtl .list-radio-wrap.label-left ul,
  230. .rtl .list-radio-wrap.label-left ul li,
  231. .rtl .list-radio-wrap.label-right label,
  232. .rtl .list-radio-wrap.label-right ul,
  233. .rtl .list-radio-wrap.label-right ul li,
  234. .rtl .list-checkbox-wrap.label-left label,
  235. .rtl .list-checkbox-wrap.label-left ul,
  236. .rtl .list-checkbox-wrap.label-left ul li,
  237. .rtl .list-checkbox-wrap.label-right label,
  238. .rtl .list-checkbox-wrap.label-right ul,
  239. .rtl .list-checkbox-wrap.label-right ul li {
  240. float: right;
  241. }
  242. .list-radio-wrap.label-left ul li,
  243. .list-radio-wrap.label-right ul li,
  244. .list-checkbox-wrap.label-left ul li,
  245. .list-checkbox-wrap.label-right ul li {
  246. padding: 0 8px;
  247. }
  248. .list-radio-wrap.label-above ul li,
  249. .list-radio-wrap.label-below ul li,
  250. .list-checkbox-wrap.label-above ul li,
  251. .list-checkbox-wrap.label-below ul li {
  252. padding: 0 0 0 10px;
  253. }
  254. /* ---------------------------------
  255. MULTI FIELD
  256. ----------------------------------*/
  257. .list-multi-wrap.label-left label {
  258. float:left;
  259. }
  260. .list-multi-wrap.label-right select {
  261. float:left;
  262. }
  263. /* ---------------------------------
  264. CREDIT CARD BLOCK
  265. ----------------------------------*/
  266. .credit_card-wrap div label,
  267. .credit_card-wrap div input {
  268. display: block;
  269. width: 100%;
  270. }
  271. .credit_card-wrap div {
  272. margin-bottom: 10px;
  273. }
  274. .credit_card-wrap div span {
  275. font-size: 0.8em;
  276. }
  277. /* ---------------------------------
  278. HONEYPOT
  279. ----------------------------------*/
  280. .hp-wrap {
  281. display: none;
  282. }
  283. .honeypot-wrap {
  284. display: none;
  285. }