laydate.css 5.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /**
  2. @Name: laydate 核心样式
  3. @Author:贤心
  4. @Site:http://sentsin.com/layui/laydate
  5. **/
  6. html{_background-image:url(about:blank); _background-attachment:fixed;}
  7. .layer-date{display: inline-block!important;vertical-align:text-top;max-width:240px;}
  8. .laydate_body .laydate_box, .laydate_body .laydate_box *{margin:0; padding:0;}
  9. .laydate-icon,
  10. .laydate-icon-default,
  11. .laydate-icon-danlan,
  12. .laydate-icon-dahong,
  13. .laydate-icon-molv{height:34px; padding-right:20px;min-width:34px;vertical-align: text-top;border:1px solid #C6C6C6; background-repeat:no-repeat; background-position:right center; background-color:#fff; outline:0;}
  14. .laydate-icon-default{ background-image:url(../skins/default/icon.png)}
  15. .laydate-icon-danlan{border:1px solid #B1D2EC; background-image:url(../skins/danlan/icon.png)}
  16. .laydate-icon-dahong{background-image:url(../skins/dahong/icon.png)}
  17. .laydate-icon-molv{background-image:url(../skins/molv/icon.png)}
  18. .laydate_body .laydate_box{width:240px; font:12px '\5B8B\4F53'; z-index:99999999; *margin:-2px 0 0 -2px; *overflow:hidden; _margin:0; _position:absolute!important; background-color:#fff;}
  19. .laydate_body .laydate_box li{list-style:none;}
  20. .laydate_body .laydate_box .laydate_void{cursor:text!important;}
  21. .laydate_body .laydate_box a, .laydate_body .laydate_box a:hover{text-decoration:none; blr:expression(this.onFocus=this.blur()); cursor:pointer;}
  22. .laydate_body .laydate_box a:hover{text-decoration:none;}
  23. .laydate_body .laydate_box cite, .laydate_body .laydate_box label{position:absolute; width:0; height:0; border-width:5px; border-style:dashed; border-color:transparent; overflow:hidden; cursor:pointer;}
  24. .laydate_body .laydate_box .laydate_yms, .laydate_body .laydate_box .laydate_time{display:none;}
  25. .laydate_body .laydate_box .laydate_show{display:block;}
  26. .laydate_body .laydate_box input{outline:0; font-size:14px; background-color:#fff;}
  27. .laydate_body .laydate_top{position:relative; height:26px; padding:5px; *width:100%; z-index:99;}
  28. .laydate_body .laydate_ym{position:relative; float:left; height:24px; cursor:pointer;}
  29. .laydate_body .laydate_ym input{float:left; height:24px; line-height:24px; text-align:center; border:none; cursor:pointer;}
  30. .laydate_body .laydate_ym .laydate_yms{position:absolute; left: -1px; top: 24px; height:181px;}
  31. .laydate_body .laydate_y{width:121px;}
  32. .laydate_body .laydate_y input{width:64px; margin-right:15px;}
  33. .laydate_body .laydate_y .laydate_yms{width:121px; text-align:center;}
  34. .laydate_body .laydate_y .laydate_yms a{position:relative; display:block; height:20px;}
  35. .laydate_body .laydate_y .laydate_yms ul{height:139px; padding:0; *overflow:hidden;}
  36. .laydate_body .laydate_y .laydate_yms ul li{float:left; width:60px; height:20px; line-height: 20px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;}
  37. .laydate_box *{box-sizing:content-box!important;}
  38. .laydate_body .laydate_m{width:99px;float: right;margin-right:-2px;}
  39. .laydate_body .laydate_m .laydate_yms{width:99px; padding:0;}
  40. .laydate_body .laydate_m input{width:42px; margin-right:15px;}
  41. .laydate_body .laydate_m .laydate_yms span{display:block; float:left; width:42px; margin: 5px 0 0 5px; line-height:24px; text-align:center; _display:inline;}
  42. .laydate_body .laydate_choose{display:block; float:left; position:relative; width:20px; height:24px;}
  43. .laydate_body .laydate_choose cite, .laydate_body .laydate_tab cite{left:50%; top:50%;}
  44. .laydate_body .laydate_chtop cite{margin:-7px 0 0 -5px; border-bottom-style:solid;}
  45. .laydate_body .laydate_chdown cite, .laydate_body .laydate_ym label{top:50%; margin:-2px 0 0 -5px; border-top-style:solid;}
  46. .laydate_body .laydate_chprev cite{margin:-5px 0 0 -7px;}
  47. .laydate_body .laydate_chnext cite{margin:-5px 0 0 -2px;}
  48. .laydate_body .laydate_ym label{right:28px;}
  49. .laydate_body .laydate_table{ width:230px; margin:0 5px; border-collapse:collapse; border-spacing:0px; }
  50. .laydate_body .laydate_table td{width:31px; height:19px; line-height:19px; text-align: center; cursor:pointer; font-size: 12px;}
  51. .laydate_body .laydate_table thead{height:22px; line-height:22px;}
  52. .laydate_body .laydate_table thead th{font-weight:400; font-size:12px; text-align:center;}
  53. .laydate_body .laydate_bottom{position:relative; height:22px; line-height:20px; padding:5px; font-size:12px;}
  54. .laydate_body .laydate_bottom #laydate_hms{position: relative; z-index: 1; float:left; }
  55. .laydate_body .laydate_time{ position:absolute; left:5px; bottom: 26px; width:129px; height:125px; *overflow:hidden;}
  56. .laydate_body .laydate_time .laydate_hmsno{ padding:5px 0 0 5px;}
  57. .laydate_body .laydate_time .laydate_hmsno span{display:block; float:left; width:24px; height:19px; line-height:19px; text-align:center; cursor:pointer; *margin-bottom:-5px;}
  58. .laydate_body .laydate_time1{width:228px; height:154px;}
  59. .laydate_body .laydate_time1 .laydate_hmsno{padding: 6px 0 0 8px;}
  60. .laydate_body .laydate_time1 .laydate_hmsno span{width:21px; height:20px; line-height:20px;}
  61. .laydate_body .laydate_msg{left:49px; bottom:67px; width:141px; height:auto; overflow: hidden;}
  62. .laydate_body .laydate_msg p{padding:5px 10px;}
  63. .laydate_body .laydate_bottom li{float:left; height:20px; line-height:20px; border-right:none; font-weight:900;}
  64. .laydate_body .laydate_bottom .laydate_sj{width:33px; text-align:center; font-weight:400;}
  65. .laydate_body .laydate_bottom input{float:left; width:21px; height:20px; line-height:20px; border:none; text-align:center; cursor:pointer; font-size:12px; font-weight:400;}
  66. .laydate_body .laydate_bottom .laydte_hsmtex{height:20px; line-height:20px; text-align:center;}
  67. .laydate_body .laydate_bottom .laydte_hsmtex span{position:absolute; width:20px; top:0; right:0px; cursor:pointer;}
  68. .laydate_body .laydate_bottom .laydte_hsmtex span:hover{font-size:14px;}
  69. .laydate_body .laydate_bottom .laydate_btn{position:absolute; right:5px; top:5px;}
  70. .laydate_body .laydate_bottom .laydate_btn a{float:left; height:20px; padding:0 6px; _padding:0 5px;}
  71. .laydate_body .laydate_bottom .laydate_v{position:absolute; left:10px; top:6px; font-family:Courier; z-index:0;}