record.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  1. .calendar {
  2. font-family: "Chinese Quote", "Microsoft YaHei";
  3. font-size: 14px;
  4. }
  5. .calendar-body{width: 100%; height: 100%; overflow: hidden}
  6. .calendar-header {
  7. padding: 11px 16px 11px 0;
  8. text-align: right;
  9. }
  10. .calendar-select {
  11. line-height: 1.5;
  12. color: rgba(0, 0, 0, 0.65);
  13. -webkit-box-sizing: border-box;
  14. box-sizing: border-box;
  15. margin: 0;
  16. padding: 0;
  17. list-style: none;
  18. display: inline-block;
  19. position: relative;
  20. outline: 0;
  21. }
  22. .calendar-table,
  23. .calendar-tbody {
  24. width: 100%;
  25. height: 100%;
  26. }
  27. .calendar-column-header,
  28. .calendar-cell {
  29. width: 14%
  30. }
  31. .calendar-column-header {
  32. font-weight: 400;
  33. text-align: center;
  34. padding-right: 12px;
  35. font-size: 18px;
  36. /* background: #0885D1; */
  37. color: #000;
  38. height: 50px;
  39. }
  40. .calendar-table {
  41. table-layout: fixed;
  42. }
  43. .calendar-box{
  44. position: absolute;
  45. bottom: 0px;
  46. border-radius: 5px;
  47. z-index: 9999;
  48. min-width:150px;
  49. display: none;
  50. font-family: 微软雅黑;
  51. font-size: 14px;
  52. background-color: rgb(255, 255, 255);
  53. box-sizing: border-box;
  54. box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  55. list-style: none;
  56. margin: 0px;
  57. padding: 5px;
  58. border-width: 1px;
  59. border-style: solid;
  60. border-color: rgba(0, 0, 0, 0.15);
  61. border-image: initial;
  62. border-radius: 0px;
  63. overflow: hidden;
  64. }
  65. .calendar-box a{color: #999999; display: block;}
  66. .calendar-cell {
  67. color: rgba(0, 0, 0, 0.65);
  68. border: 1px solid #DDDDDD;
  69. cursor: pointer;
  70. position: relative;
  71. z-index: 1;
  72. }
  73. .calendar-weekend.calendar-cell {
  74. /* border: 1px solid #FFFFFF;
  75. color: #FF9B00; */
  76. }
  77. /* .calendar-weekend .calendar-date{border-top: 0px ;} */
  78. .calendar-cell.calendar-last-month-cell,
  79. .calendar-cell.calendar-next-month-cell {
  80. color: rgba(0, 0, 0, 0.25);
  81. }
  82. .calendar-date {
  83. padding: 10px 10px 30px 10px;
  84. height: 100%;
  85. position: relative;
  86. z-index: 1;
  87. }
  88. /* .calendar-weekend{background: #FFEECC;} */
  89. .calendar-cell.calendar-thisMonth .calendar-date,
  90. .calendar-cell.calendar-today .calendar-date {
  91. border-top-color: #1890ff;
  92. background-color: rgba(36, 208, 184, 0.25);
  93. }
  94. .calendar-date:hover:before {
  95. background: rgba(36, 208, 184, 0.25);
  96. position: absolute;
  97. width: 100%;
  98. height: 100%;
  99. z-index: -1;
  100. top:0;
  101. left: 0;
  102. content: "";
  103. /* border: 3px solid #F07102; */
  104. }
  105. .calendar-holiday-bg{background: #EED3D7; position: absolute; z-index: -2; content: ''; width: 100%; height: 100%; left: 0px ; top:0px}
  106. .calendar-value {
  107. text-align: center;
  108. font-size:18px;
  109. font-weight: bold;
  110. }
  111. .calendar-content {
  112. overflow-x: hidden;
  113. overflow-y: auto;
  114. position: static;
  115. width: auto;
  116. left: auto;
  117. bottom: auto;
  118. }
  119. .calendar-select {
  120. font-size: 13px;
  121. vertical-align: middle;
  122. }
  123. .btn.calendar-select-active {
  124. border-color: rgba(36, 208, 184, 1);
  125. z-index: 2;
  126. background: #FFFFFF;
  127. color: rgba(36, 208, 184, 1);
  128. }
  129. .calendar-select:first-child {
  130. margin-right: 10px;
  131. }
  132. .calendar-year-select,
  133. .calendar-month-select {
  134. border-radius: 4px;
  135. border: 1px solid #d9d9d9;
  136. }
  137. .calendar-year-select:hover,
  138. .calendar-month-select:hover {
  139. border-color: rgba(36, 208, 184, 0.25);
  140. }
  141. .calendar-holiday{
  142. position: absolute;
  143. left: 0;
  144. top: 0;
  145. display: block;
  146. width: 25px;
  147. height: 25px;
  148. color: #fff;
  149. background: #f43;
  150. text-align: center;
  151. text-indent: 1px;
  152. line-height:24px;
  153. *line-height: 29px;
  154. overflow: hidden;
  155. z-index: 11;
  156. }
  157. .calendar-work{
  158. position: absolute;
  159. left: 50%;
  160. transform: translateX(-50%);
  161. bottom: 0;
  162. display: block;
  163. width: 25px;
  164. height: 25px;
  165. color: #fff;
  166. text-align: center;
  167. text-indent: 1px;
  168. line-height:24px;
  169. *line-height: 29px;
  170. overflow: hidden;
  171. z-index: 11;
  172. }
  173. .calendar-work .iconfont{
  174. color: #24D0B8;
  175. }
  176. .calendar-work-bg{
  177. position: absolute;
  178. z-index: -2;
  179. content: '';
  180. width: 100%;
  181. height: 100%;
  182. left: 0px;
  183. top: 0px;
  184. }
  185. .calendar-year-text,
  186. .calendar-month-text {
  187. margin: 0 10px;
  188. line-height: 28px;
  189. }
  190. .calendar-icon {
  191. margin: 0 10px 0 0;
  192. }
  193. .calendar-icon * {
  194. color: rgba(0, 0, 0, 0.25);
  195. }
  196. .btn {
  197. float: left;
  198. padding: 5px 10px;
  199. border-color: rgba(175, 175, 175, 1);
  200. border-radius: 4px;
  201. color: rgba(175, 175, 175, 1);
  202. }
  203. .btn-group {
  204. float: left;
  205. display: none;
  206. padding: 0 8px;
  207. }
  208. .btn-group>.btn {
  209. position: relative;
  210. float: left;
  211. }
  212. .btn-group>.btn:hover {
  213. z-index: 2;
  214. border-color: rgba(36, 208, 184, 1);
  215. color: rgba(36, 208, 184, 1);
  216. }
  217. .btn-group .btn+.btn {
  218. margin-left: -1px;
  219. }
  220. .btn-group>.btn:first-child {
  221. border-top-right-radius: 0;
  222. border-bottom-right-radius: 0;
  223. }
  224. .btn-group>.btn:last-child:not(:first-child) {
  225. border-top-left-radius: 0;
  226. border-bottom-left-radius: 0;
  227. }
  228. /*dropdown-menu*/
  229. ul.dropdown-month,
  230. .dropdown-month li,
  231. ul.dropdown-year,
  232. .dropdown-year li {
  233. list-style: none;
  234. text-align: center;
  235. padding: 0;
  236. margin: 0;
  237. }
  238. .dropdown-month.open,
  239. .dropdown-year.open {
  240. display: inline-block;
  241. margin-top: 1px;
  242. width: 100%;
  243. }
  244. .dropdown-month,
  245. .dropdown-year {
  246. height: 250px;
  247. z-index: 111;
  248. overflow-y: auto;
  249. overflow-x: hidden;
  250. display: none;
  251. position: absolute;
  252. left: 0;
  253. top: 100%;
  254. background: #fff;
  255. width: 50px;
  256. border: 1px solid #eee;
  257. box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.175);
  258. -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175)
  259. }
  260. .dropdown-month li:before,
  261. .dropdown-year li:before{
  262. content: '';
  263. position: absolute;
  264. top:0;
  265. width: 100%;
  266. height: 100%;
  267. z-index: 111;
  268. left: 0px;
  269. }
  270. .dropdown-month .month-item,
  271. .dropdown-year .year-item {
  272. font-size: 12px;
  273. position: relative;
  274. display: block;
  275. padding: 5px 2px;
  276. line-height: 20px;
  277. font-weight: normal;
  278. color: rgba(0, 0, 0, 0.65);
  279. white-space: nowrap;
  280. cursor: pointer;
  281. overflow: hidden;
  282. text-overflow: ellipsis;
  283. -webkit-transition: background 0.3s ease;
  284. transition: background 0.3s ease;
  285. }
  286. .month-item:hover,
  287. .year-item:hover {
  288. background: rgba(36, 208, 184, 0.25);
  289. }
  290. .year-item.active {
  291. background-color: #fafafa;
  292. font-weight: 600;
  293. color: rgba(0, 0, 0, 0.65);
  294. }
  295. /*自定义事件样式*/
  296. ul.events li {
  297. white-space: nowrap;
  298. font-size: 13px;
  299. padding: 1px 2px;
  300. }
  301. ul.events li span {
  302. margin-left: 5px;
  303. }
  304. ul.events li:before {
  305. /* content: "*" */
  306. }
  307. /*scrollbar*/
  308. *::-webkit-scrollbar {
  309. width: 8px;
  310. background-color: #fff;
  311. }
  312. *::-webkit-scrollbar-thumb {
  313. background-color: #ddd;
  314. border-radius: 8px;
  315. -webkit-box-shadow: inset 0 0 6px rgba(255, 255, 255, .3);
  316. }
  317. .niceScroll {
  318. height: 100%;
  319. }