date.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600
  1. .textbox-icon-disabled {
  2. display: none;
  3. }
  4. .calendar-header {
  5. background: none;
  6. border-bottom: 1px solid #e2e2e2;
  7. line-height: 30px;
  8. }
  9. .calendar-title {
  10. position: relative;
  11. top: -3px;
  12. width: 160px;
  13. margin: 0 auto;
  14. }
  15. .calendar-title span {
  16. position: relative;
  17. display: inline-block;
  18. top: 2px;
  19. padding: 0 5px;
  20. height: 26px;
  21. line-height: 26px;
  22. cursor: pointer;
  23. color: black;
  24. }
  25. .calendar-title span:hover {
  26. color: #004c8b;
  27. }
  28. .calendar-day {
  29. background: #fff;
  30. transition: all 0.2s ease-in-out;
  31. }
  32. .calendar-nav-hover {
  33. background-color: #eaeaea;
  34. color: #333;
  35. }
  36. .calendar-selected {
  37. border: 1px solid #fff;
  38. background-color: #004c8b;
  39. color: #fff !important;
  40. }
  41. .calendar-today {
  42. color: #004c8b;
  43. }
  44. .calendar-nav {
  45. height: 30px;
  46. }
  47. .calendar-prevmonth, .calendar-nextmonth, .calendar-prevyear, .calendar-nextyear {
  48. top: -5px;
  49. line-height: 30px;
  50. margin-top: 0;
  51. text-align: center;
  52. cursor: pointer;
  53. color: #999;
  54. background-image: none;
  55. }
  56. .calendar-prevmonth, .calendar-nextmonth {
  57. font-size: 20px;
  58. }
  59. .calendar-prevyear, .calendar-nextyear {
  60. font-size: 24px;
  61. }
  62. .calendar-prevmonth {
  63. left: 30px;
  64. top: -4px;
  65. }
  66. .calendar-nextmonth {
  67. right: 30px;
  68. top: -4px;
  69. }
  70. .calendar-text.calendar-nav-hover, .calendar-nextmonth.calendar-nav-hover, .calendar-nextyear.calendar-nav-hover, .calendar-prevmonth.calendar-nav-hover, .calendar-prevyear.calendar-nav-hover {
  71. background-color: #fff;
  72. color: #004c8b;
  73. }
  74. .datebox-button {
  75. margin: 0;
  76. padding: 5px 5px;
  77. height: 26px !important;
  78. text-align: right;
  79. background: #fff;
  80. }
  81. .datebox-button a {
  82. height: 26px;
  83. line-height: 26px;
  84. margin-top: 10px;
  85. background-color: #004c8b;
  86. color: #fff;
  87. border-radius: 2px;
  88. transition: all 0.2s ease-in-out;
  89. opacity: 1;
  90. }
  91. .datebox-button a:hover {
  92. color: #fff;
  93. opacity: 0.8;
  94. }
  95. .datebox-button a:nth-child(1) {
  96. margin-right: 8px;
  97. }
  98. .datebox-button a:nth-child(2) {
  99. margin-right: 3px;
  100. }
  101. /* 月份 */
  102. .date-month-list {
  103. position: absolute;
  104. left: 0;
  105. top: 0;
  106. width: 100%;
  107. background-color: #fff;
  108. padding: 10px 0;
  109. }
  110. .date-month-list > li {
  111. float: left;
  112. vertical-align: middle;
  113. width: 25%;
  114. margin: 17px 0;
  115. height: 36px;
  116. line-height: 36px;
  117. text-align: center;
  118. cursor: pointer;
  119. position: relative;
  120. background: #fff;
  121. transition: all 0.2s ease-in-out;
  122. }
  123. .date-month-list > li:hover {
  124. background-color: #eaeaea;
  125. color: #333;
  126. }
  127. .date-month-this {
  128. background-color: #004c8b !important;
  129. color: #fff;
  130. }
  131. .date-month-this:hover {
  132. color: #fff !important;
  133. }
  134. /* 月份 */
  135. .date-year-titleys {
  136. / / margin: 0 3 px;
  137. top: 0 !important;
  138. height: auto;
  139. line-height: none;
  140. }
  141. .date-year-list {
  142. position: absolute;
  143. left: 0;
  144. top: 0;
  145. width: 100%;
  146. height: 100%;
  147. background-color: #fff;
  148. padding: 15px 0;
  149. }
  150. .date-year-list > li {
  151. float: left;
  152. vertical-align: middle;
  153. width: 33.3333%;
  154. margin: 3px 0;
  155. height: 36px;
  156. line-height: 36px;
  157. text-align: center;
  158. cursor: pointer;
  159. position: relative;
  160. background: #fff;
  161. transition: all 0.2s ease-in-out;
  162. }
  163. .date-year-list > li:hover {
  164. background-color: #eaeaea;
  165. color: #333;
  166. }
  167. .date-year-this {
  168. background-color: #004c8b !important;
  169. color: #fff;
  170. }
  171. .date-year-this:hover {
  172. color: #fff !important;
  173. }
  174. /* 时分秒 */
  175. .date-time-list {
  176. position: absolute;
  177. left: 0;
  178. top: 0;
  179. width: 100%;
  180. height: 100%;
  181. padding: 10px;
  182. background-color: #fff;
  183. box-sizing: border-box;
  184. -moz-box-sizing: border-box;
  185. -webkit-box-sizing: border-box;
  186. -o-box-sizing: border-box;
  187. -ms-box-sizing: border-box;
  188. }
  189. .date-time-list > li {
  190. float: left;
  191. vertical-align: middle;
  192. width: 33.3333%;
  193. margin: 3px 0;
  194. height: 36px;
  195. line-height: 36px;
  196. text-align: center;
  197. cursor: pointer;
  198. position: relative;
  199. background: #fff;
  200. }
  201. .date-time-list p {
  202. position: relative;
  203. top: -4px;
  204. line-height: 29px;
  205. }
  206. .date-time-list li:first-child ol {
  207. border-left-width: 1px;
  208. }
  209. .date-time-list li ol {
  210. margin: 0;
  211. padding: 0;
  212. border: 1px solid #e2e2e2;
  213. border-left-width: 0;
  214. height: 181px;
  215. overflow: hidden;
  216. }
  217. .date-time-list ol li {
  218. width: 120%;
  219. padding-left: 33px;
  220. line-height: 30px;
  221. text-align: left;
  222. cursor: pointer;
  223. }
  224. .date-time-list li ol:hover {
  225. overflow-y: auto;
  226. }
  227. .date-this {
  228. background-color: #004c8b !important;
  229. color: #fff !important;
  230. }
  231. .date-time-list li ol li {
  232. background: #fff;
  233. transition: all 0.2s ease-in-out;
  234. }
  235. .date-time-list li ol li:hover {
  236. background-color: #eaeaea;
  237. color: #333;
  238. }
  239. .calendar-title .year-range {
  240. display: none;
  241. }
  242. .calendar-body .calendar-menu {
  243. display: none;
  244. }
  245. .calendar-body .date-month-list {
  246. display: none;
  247. }
  248. .calendar-body .date-year-list {
  249. display: none;
  250. }
  251. /*-------- 时间范围选择------- */
  252. .calendarT {
  253. width: 523px;
  254. height: 284px;
  255. margin: 10px 10px 5px 0px;
  256. background: #fff;
  257. border: 1px solid #d2d2d2;
  258. box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
  259. padding: 10px;
  260. box-sizing: border-box;
  261. -moz-box-sizing: border-box;
  262. -webkit-box-sizing: border-box;
  263. -o-box-sizing: border-box;
  264. -ms-box-sizing: border-box;
  265. }
  266. .calendarT-header-box {
  267. height: 30px;
  268. }
  269. .calendarT-header-left {
  270. width: 250px;
  271. float: left;
  272. height: 100%;
  273. }
  274. .calendarT-header-right {
  275. margin-left: 250px;
  276. height: 100%;
  277. }
  278. .calendarT .calendar-header {
  279. border: none;
  280. }
  281. .calendarT .calendar-body {
  282. border-bottom: 1px solid #e2e2e2;
  283. border-top: 1px solid #e2e2e2;
  284. height: 232px;
  285. }
  286. .calendarT-body-left {
  287. width: 250px;
  288. float: left;
  289. height: 100%;
  290. }
  291. .calendarT-body-right {
  292. margin-left: 250px;
  293. border-left: 1px solid #e2e2e2;
  294. height: 100%;
  295. }
  296. /* 月份范围选择 */
  297. .date-monthrange-list {
  298. margin: 0 10px;
  299. padding: 8px 0;
  300. }
  301. .date-monthrange-list > li {
  302. float: left;
  303. vertical-align: middle;
  304. width: 25%;
  305. margin: 17px 0;
  306. height: 36px;
  307. line-height: 36px;
  308. text-align: center;
  309. cursor: pointer;
  310. position: relative;
  311. background: #fff;
  312. transition: all 0.2s ease-in-out;
  313. }
  314. .date-monthrange-list > li:hover {
  315. background-color: #eaeaea;
  316. color: #333;
  317. }
  318. .date-monthrange-this {
  319. background-color: #004c8b !important;
  320. color: #fff;
  321. }
  322. .date-monthrange-this:hover {
  323. color: #fff !important;
  324. }
  325. /* 年份范围选择 */
  326. .date-yearrange-list {
  327. margin: 0 10px;
  328. padding: 11px 0;
  329. }
  330. .date-yearrange-list > li {
  331. float: left;
  332. vertical-align: middle;
  333. width: 33.3333%;
  334. margin: 3px 0;
  335. height: 36px;
  336. line-height: 36px;
  337. text-align: center;
  338. cursor: pointer;
  339. position: relative;
  340. background: #fff;
  341. transition: all 0.2s ease-in-out;
  342. }
  343. .date-yearrange-list > li:hover {
  344. background-color: #eaeaea;
  345. color: #333;
  346. }
  347. .date-yearrange-this {
  348. background-color: #004c8b !important;
  349. color: #fff;
  350. }
  351. .date-yearrange-this:hover {
  352. color: #fff !important;
  353. }
  354. /* 时分秒范围选择 */
  355. .date-timerange-list {
  356. width: 250px;
  357. height: 100%;
  358. padding: 10px;
  359. background-color: #fff;
  360. box-sizing: border-box;
  361. -moz-box-sizing: border-box;
  362. -webkit-box-sizing: border-box;
  363. -o-box-sizing: border-box;
  364. -ms-box-sizing: border-box;
  365. }
  366. .date-timerange-list > li {
  367. float: left;
  368. vertical-align: middle;
  369. width: 33.3333%;
  370. margin: 3px 0;
  371. height: 36px;
  372. line-height: 36px;
  373. text-align: center;
  374. cursor: pointer;
  375. position: relative;
  376. background: #fff;
  377. }
  378. .date-timerange-list p {
  379. position: relative;
  380. top: -4px;
  381. line-height: 29px;
  382. }
  383. .date-timerange-list li:first-child ol {
  384. border-left-width: 1px;
  385. }
  386. .date-timerange-list li ol {
  387. margin: 0;
  388. padding: 0;
  389. border: 1px solid #e2e2e2;
  390. border-left-width: 0;
  391. height: 181px;
  392. overflow: hidden;
  393. }
  394. .date-timerange-list ol li {
  395. width: 120%;
  396. padding-left: 33px;
  397. line-height: 30px;
  398. text-align: left;
  399. cursor: pointer;
  400. }
  401. .date-timerange-list li ol:hover {
  402. overflow-y: auto;
  403. }
  404. .date-timerange-list li ol li {
  405. background: #fff;
  406. transition: all 0.2s ease-in-out;
  407. }
  408. .date-timerange-list li ol li:hover {
  409. background-color: #eaeaea;
  410. color: #333;
  411. }
  412. /*-------- 年月日选择------- */
  413. .show-time .calendar-dtable {
  414. float: left;
  415. padding-top: 5px;
  416. }
  417. .show-time .calendar-title {
  418. width: 260px;
  419. }
  420. .show-time .calendar-header {
  421. border: none;
  422. }
  423. .show-time .calendar-body {
  424. border-top: 1px solid #e2e2e2;
  425. border-bottom: 1px solid #e2e2e2;
  426. }
  427. .calendar-add-time {
  428. margin-left: 250px;
  429. height: 100%;
  430. border-left: 1px solid #e2e2e2;
  431. }
  432. .add-time-list {
  433. padding: 3px 0 10px 10px;
  434. background-color: #fff;
  435. box-sizing: border-box;
  436. -moz-box-sizing: border-box;
  437. -webkit-box-sizing: border-box;
  438. -o-box-sizing: border-box;
  439. -ms-box-sizing: border-box;
  440. height: 100%;
  441. }
  442. .add-time-list > li {
  443. float: left;
  444. vertical-align: middle;
  445. width: 33.3333%;
  446. margin: 3px 0;
  447. height: 36px;
  448. line-height: 36px;
  449. text-align: center;
  450. cursor: pointer;
  451. position: relative;
  452. background: #fff;
  453. }
  454. .add-time-list p {
  455. position: relative;
  456. top: -4px;
  457. line-height: 29px;
  458. }
  459. .add-time-list li:first-child ol {
  460. border-left-width: 1px;
  461. }
  462. .add-time-list li ol {
  463. margin: 0;
  464. padding: 0;
  465. border: 1px solid #e2e2e2;
  466. border-left-width: 0;
  467. height: 181px;
  468. overflow: hidden;
  469. }
  470. .add-time-list ol li {
  471. width: 110%;
  472. padding-left: 15px;
  473. line-height: 30px;
  474. text-align: left;
  475. cursor: pointer;
  476. }
  477. .add-time-list li ol:hover {
  478. overflow-y: auto;
  479. }
  480. .add-time-list li ol li {
  481. background: #fff;
  482. transition: all 0.2s ease-in-out;
  483. }
  484. .add-time-list li ol li:hover {
  485. background-color: #eaeaea;
  486. color: #333;
  487. }
  488. .calendar-menu {
  489. height: 100%;
  490. }
  491. /* jqxPopover */
  492. .jqx-date-box{
  493. border:none;
  494. }
  495. .jqx-date-box .jqx-popover-content{
  496. padding:0;
  497. }
  498. .jqx-date-box.bottom{
  499. margin:0;
  500. }
  501. .jqx-date-box .calendar{
  502. border-color:#fff;
  503. border-bottom:1px solid #ccc;
  504. }
  505. .jqx-date-box .jqx-popover-arrow{
  506. display:none!important;
  507. }
  508. .jqx-date-box .datebox-calendar-inner{
  509. height:284px;
  510. }
  511. .jqx-date-box .datebox-button{
  512. border:none;
  513. padding:3px 5px;
  514. }