b7fd6656af82687fdae1aa5ff82cf5c2069e82faf8d968f4d4ac1c1b4a6a284a9ab44b1753c04e689dce190b48dadf56e7caa012d48d526f727a36a01744dc 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. @import "../common/var";
  2. @include b(date-range-picker) {
  3. width: 646px;
  4. &.has-sidebar {
  5. width: 756px;
  6. }
  7. table {
  8. table-layout: fixed;
  9. width: 100%;
  10. }
  11. .el-picker-panel__body {
  12. min-width: 513px;
  13. }
  14. .el-picker-panel__content {
  15. margin: 0;
  16. }
  17. @include e(header) {
  18. position: relative;
  19. text-align: center;
  20. height: 28px;
  21. [class*=arrow-left] {
  22. float: left;
  23. }
  24. [class*=arrow-right] {
  25. float: right;
  26. }
  27. div {
  28. font-size: 16px;
  29. font-weight: 500;
  30. margin-right: 50px;
  31. }
  32. }
  33. @include e(content) {
  34. float: left;
  35. width: 50%;
  36. box-sizing: border-box;
  37. margin: 0;
  38. padding: 16px;
  39. @include when(left) {
  40. border-right: 1px solid $--datepicker-inner-border-color;
  41. }
  42. .el-date-range-picker__header {
  43. div {
  44. margin-left: 50px;
  45. margin-right: 50px;
  46. }
  47. }
  48. }
  49. @include e(editors-wrap) {
  50. box-sizing: border-box;
  51. display: table-cell;
  52. @include when(right) {
  53. text-align: right;
  54. }
  55. }
  56. @include e(time-header) {
  57. position: relative;
  58. border-bottom: 1px solid $--datepicker-inner-border-color;
  59. font-size: 12px;
  60. padding: 8px 5px 5px 5px;
  61. display: table;
  62. width: 100%;
  63. box-sizing: border-box;
  64. > .el-icon-arrow-right {
  65. font-size: 20px;
  66. vertical-align: middle;
  67. display: table-cell;
  68. color: $--datepicker-icon-color;
  69. }
  70. }
  71. @include e(time-picker-wrap) {
  72. position: relative;
  73. display: table-cell;
  74. padding: 0 5px;
  75. .el-picker-panel {
  76. position: absolute;
  77. top: 13px;
  78. right: 0;
  79. z-index: 1;
  80. background: $--color-white;
  81. }
  82. }
  83. }