4c7149c580751ee709aeb29d5c3d12cd1beb6e501dad341053df3a5338851caceaa0c0a553f07d11a263e934599e8f336979cb67f95d785f65b1c17b50bf34 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. @import "../common/var";
  2. @import "../mixins/mixins";
  3. @import "./picker-panel.scss";
  4. @include b(date-picker) {
  5. width: 322px;
  6. &.has-sidebar.has-time {
  7. width: 434px;
  8. }
  9. &.has-sidebar {
  10. width: 438px;
  11. }
  12. &.has-time .el-picker-panel__body-wrapper {
  13. position: relative;
  14. }
  15. .el-picker-panel__content {
  16. width: 292px;
  17. }
  18. table {
  19. table-layout: fixed;
  20. width: 100%;
  21. }
  22. @include e(editor-wrap) {
  23. position: relative;
  24. display: table-cell;
  25. padding: 0 5px;
  26. }
  27. @include e(time-header) {
  28. position: relative;
  29. border-bottom: 1px solid $--datepicker-inner-border-color;
  30. font-size: 12px;
  31. padding: 8px 5px 5px 5px;
  32. display: table;
  33. width: 100%;
  34. box-sizing: border-box;
  35. }
  36. @include e(header) {
  37. margin: 12px;
  38. text-align: center;
  39. @include m(bordered) {
  40. margin-bottom: 0;
  41. padding-bottom: 12px;
  42. border-bottom: solid 1px $--border-color-lighter;
  43. & + .el-picker-panel__content {
  44. margin-top: 0;
  45. }
  46. }
  47. }
  48. @include e(header-label) {
  49. font-size: 16px;
  50. font-weight: 500;
  51. padding: 0 5px;
  52. line-height: 22px;
  53. text-align: center;
  54. cursor: pointer;
  55. color: $--color-text-regular;
  56. &:hover {
  57. color: $--datepicker-hover-font-color;
  58. }
  59. &.active {
  60. color: $--datepicker-active-color;
  61. }
  62. }
  63. @include e(prev-btn) {
  64. float: left;
  65. }
  66. @include e(next-btn) {
  67. float: right;
  68. }
  69. @include e(time-wrap) {
  70. padding: 10px;
  71. text-align: center;
  72. }
  73. @include e(time-label) {
  74. float: left;
  75. cursor: pointer;
  76. line-height: 30px;
  77. margin-left: 10px;
  78. }
  79. }