jquery.validator.css 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. .n-inline-block,.nice-validator input,.nice-validator select,.nice-validator textarea,.msg-wrap,.n-icon,.n-msg{display:inline-block;*display:inline;*zoom:1}
  2. .msg-box{position:relative;*zoom:1}
  3. .msg-wrap{position:relative;white-space:nowrap}
  4. .msg-wrap,.n-icon,.n-msg{vertical-align:top}
  5. .n-arrow{position:absolute;overflow:hidden;}
  6. .n-arrow b,.n-arrow i{position:absolute;left:0;top:0;border:0;margin:0;padding:0;overflow:hidden;font-weight:400;font-style:normal;font-size:12px;font-family:serif;line-height:14px;_line-height:15px}
  7. .n-arrow i{text-shadow:none}
  8. .n-icon{width:16px;height:16px;overflow:hidden;background-repeat:no-repeat}
  9. .n-msg{display:inline-block;line-height:15px;margin-left:2px;*margin-top:-1px;_margin-top:0;font-size:12px;font-family:simsun}
  10. .n-error{color:#c33}
  11. .n-ok{color:#390}
  12. .n-tip,.n-loading{color:#808080}
  13. .n-error .n-icon{background-position:0 0}
  14. .n-ok .n-icon{background-position:-16px 0}
  15. .n-tip .n-icon{background-position:-32px 0}
  16. .n-loading .n-icon{background:url("images/loading.gif") 0 center no-repeat !important}
  17. .n-top,.n-right,.n-bottom,.n-left{display:inline-block;line-height:0;vertical-align:top;outline:0}
  18. .n-top .n-arrow,.n-bottom .n-arrow{height:6px;width:12px;left:8px}
  19. .n-left .n-arrow,.n-right .n-arrow{width:6px;height:12px;top:6px}
  20. .n-top{vertical-align:top;}
  21. .n-top .msg-wrap{margin-bottom:6px}
  22. .n-top .n-arrow{bottom:-6px;}
  23. .n-top .n-arrow b{top:-6px}
  24. .n-top .n-arrow i{top:-7px}
  25. .n-bottom{vertical-align:bottom;}
  26. .n-bottom .msg-wrap{margin-top:6px}
  27. .n-bottom .n-arrow{top:-6px;}
  28. .n-bottom .n-arrow b{top:-1px}
  29. .n-bottom .n-arrow i{top:0}
  30. .n-left .msg-wrap{right:100%;margin-right:6px}
  31. .n-left .n-arrow{right:-6px;}
  32. .n-left .n-arrow b{left:-6px}
  33. .n-left .n-arrow i{left:-7px}
  34. .n-right .msg-wrap{margin-left:6px}
  35. .n-right .n-arrow{left:-6px;}
  36. .n-right .n-arrow b{left:1px}
  37. .n-right .n-arrow i{left:2px}
  38. .n-default .n-left,.n-default .n-right{margin-top:5px}
  39. .n-default .n-top .msg-wrap{bottom:100%}
  40. .n-default .n-bottom .msg-wrap{top:100%}
  41. .n-default .msg-wrap{position:absolute;z-index:1;}
  42. .n-default .msg-wrap .n-icon{background-image:url("images/validator_default.png")}
  43. .n-default .n-tip .n-icon{display:none}
  44. .n-simple .msg-wrap{position:absolute;z-index:1;}
  45. .n-simple .msg-wrap .n-icon{background-image:url("images/validator_simple.png")}
  46. .n-simple .n-top .msg-wrap{bottom:100%}
  47. .n-simple .n-bottom .msg-wrap{top:100%}
  48. .n-simple .n-left,.n-simple .n-right{margin-top:5px}
  49. .n-simple .n-bottom .msg-wrap{margin-top:3px}
  50. .n-simple .n-tip .n-icon{display:none}
  51. .n-yellow .msg-wrap{position:absolute;z-index:1;padding:4px 6px;font-size:12px;border:1px solid transparent;background-color:#fffcef;border-color:#ffbb76;color:#db7c22;box-shadow:0 1px 3px #ccc;border-radius:2px;}
  52. .n-yellow .msg-wrap .n-arrow b{color:#ffbb76;text-shadow:0 0 2px #ccc}
  53. .n-yellow .msg-wrap .n-arrow i{color:#fffcef}
  54. .n-yellow .msg-wrap .n-icon{background-image:url("images/validator_simple.png")}
  55. .n-yellow .n-top .msg-wrap{bottom:100%}
  56. .n-yellow .n-bottom .msg-wrap{top:100%}
  57. .n-yellow .n-tip,.n-yellow .n-ok,.n-yellow .n-loading{background-color:#f8fdff;border-color:#ddd;color:#333;box-shadow:0 1px 3px #ccc;}
  58. .n-yellow .n-tip .n-arrow b,.n-yellow .n-ok .n-arrow b,.n-yellow .n-loading .n-arrow b{color:#ddd;text-shadow:0 0 2px #ccc}
  59. .n-yellow .n-tip .n-arrow i,.n-yellow .n-ok .n-arrow i,.n-yellow .n-loading .n-arrow i{color:#f8fdff}
  60. .n-yellow .n-tip .n-icon{display:none}