zartui 2.0.75 → 2.0.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -248,16 +248,15 @@ export default createComponent({
248
248
  return this.getRangeDayType(day);
249
249
  }
250
250
  },
251
- getBottomInfo: function getBottomInfo(type) {
252
- if (this.type === 'range') {
253
- if (type === 'start' || type === 'end') {
254
- return t(type);
255
- }
256
-
257
- if (type === 'start-end') {
258
- return t('startEnd');
259
- }
260
- }
251
+ getBottomInfo: function getBottomInfo(type) {// 目前选择日期区间时,不需要底部展示开始与结束提示
252
+ // if (this.type === 'range') {
253
+ // if (type === 'start' || type === 'end') {
254
+ // return t(type);
255
+ // }
256
+ // if (type === 'start-end') {
257
+ // return t('startEnd');
258
+ // }
259
+ // }
261
260
  },
262
261
  getDayStyle: function getDayStyle(type, index, text) {
263
262
  var style = {
@@ -320,7 +319,9 @@ export default createComponent({
320
319
  if (item.topInfo || slot) {
321
320
  return h("div", {
322
321
  "class": bem('top-info')
323
- }, [slot ? slot(item) : item.topInfo]);
322
+ }, [h("div", {
323
+ "class": bem('top-info-content')
324
+ }, [slot ? slot(item) : item.topInfo])]);
324
325
  }
325
326
  },
326
327
  genBottomInfo: function genBottomInfo(item) {
@@ -1 +1 @@
1
- .zt2-calendar{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;height:100%;background-color:#fff;color:#2d4b73}.zt2-calendar__popup.zt2-popup--bottom,.zt2-calendar__popup.zt2-popup--top{height:80%}.zt2-calendar__popup.zt2-popup--left,.zt2-calendar__popup.zt2-popup--right{height:100%}.zt2-calendar__popup .zt2-popup__close-icon{top:11px}.zt2-calendar__header{-webkit-flex-shrink:0;flex-shrink:0;box-shadow:0 4px 8px 0 rgba(0,0,0,.1);margin-bottom:8px}.zt2-calendar__header-title{height:44px;font-weight:400;line-height:44px;position:relative;color:#2d4b73;font-size:14px;line-height:20px;opacity:.4;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;border-bottom:1px solid rgba(45,75,115,.1)}.zt2-calendar__header-title .hint-block{position:absolute;content:'';top:14px;left:0;width:4px;height:16px;background:#0091fa}.zt2-calendar__header-title::after{top:44px;left:0;content:'';position:absolute;box-sizing:border-box;content:' ';pointer-events:none;right:0;bottom:0;left:0;border-bottom:1px solid rgba(0,0,0,.1);-webkit-transform:scaleY(.5);transform:scaleY(.5)}.zt2-calendar__header-subtitle{height:44px;font-weight:400;line-height:44px;text-align:center;padding:0 16px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.zt2-calendar__header-subtitle--img{width:16px;height:16px}.zt2-calendar__header-subtitle--opt{width:32px;height:32px;line-height:32px;border-radius:50%;padding:0;margin:0 8px}.zt2-calendar__header-subtitle--opt:active{border-radius:50%;background-color:rgba(45,75,115,.1);opacity:.7}.zt2-calendar__header-subtitle--right{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.zt2-calendar__header-subtitle--unenable{opacity:.2}.zt2-calendar__header-subtitle-text{-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1}.zt2-calendar__month-title{height:44px;font-weight:400;line-height:44px;text-align:center}.zt2-calendar__header-subtitle{font-size:14px}.zt2-calendar__month-title{font-size:14px}.zt2-calendar__weekdays{display:-webkit-box;display:-webkit-flex;display:flex;background-color:rgba(0,0,0,.02)}.zt2-calendar__weekday{-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:12px;line-height:30px;font-weight:700;text-align:center}.zt2-calendar__body{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:auto;-webkit-overflow-scrolling:touch;background-color:#fff}.zt2-calendar__days{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-user-select:none;user-select:none}.zt2-calendar__month-mark{position:absolute;top:50%;left:50%;z-index:0;color:rgba(242,243,245,.8);font-size:160px;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);pointer-events:none}.zt2-calendar__day,.zt2-calendar__selected-day{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;text-align:center}.zt2-calendar__day{position:relative;width:14.285%;height:14.285vw;margin-bottom:4px;font-size:16px;font-weight:400;cursor:pointer;outline:0}.zt2-calendar__day--end,.zt2-calendar__day--multiple-middle,.zt2-calendar__day--multiple-selected,.zt2-calendar__day--start,.zt2-calendar__day--start-end{font-weight:700;color:#fff;background-color:#0091fa;box-shadow:0 0 0 3px rgba(0,145,250,.1)}@media (pointer:coarse){.zt2-calendar__day--end,.zt2-calendar__day--multiple-middle{margin-left:-1px}}.zt2-calendar__day--start{font-weight:700;border-radius:7.143vw 0 0 7.143vw;border-right:none;box-shadow:0 0 0 3px rgba(0,145,250,.1)}.zt2-calendar__day--end{font-weight:700;border-radius:0 7.143vw 7.143vw 0;border-left:none;box-shadow:0 0 0 3px rgba(0,145,250,.1)}.zt2-calendar__day--multiple-selected,.zt2-calendar__day--start-end{font-weight:700;border-radius:7.143vw;box-shadow:0 0 0 3px rgba(0,145,250,.1)}.zt2-calendar__day--middle{color:#000}.zt2-calendar__day--middle::after{position:absolute;top:0;right:0;bottom:0;left:0;color:#0091fa;background-color:currentColor;opacity:.11;content:''}.zt2-calendar__day--disabled,.zt2-calendar__day--preview{color:#c8c9cc;cursor:default}.zt2-calendar__bottom-info,.zt2-calendar__top-info{position:absolute;right:0;left:0;font-size:10px;line-height:14px}@media (max-width:350px){.zt2-calendar__bottom-info,.zt2-calendar__top-info{font-size:9px}}.zt2-calendar__top-info{top:6px}.zt2-calendar__bottom-info{display:none;bottom:6px}.zt2-calendar__selected-day{font-weight:700;width:14.285vw;height:14.285vw;color:#fff;background-color:#0091fa;border-radius:calc(14.285vw / 2);box-shadow:0 0 0 3px rgba(0,145,250,.1)}.zt2-calendar__footer{box-sizing:content-box;-webkit-flex-shrink:0;flex-shrink:0;display:-webkit-box;display:-webkit-flex;display:flex;padding:8px 16px 8px 16px;border-top:1px solid rgba(45,75,115,.1)}.zt2-calendar__footer--unfit{padding-bottom:0}
1
+ .zt2-calendar{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;height:100%;background-color:#fff;color:#2d4b73}.zt2-calendar__popup.zt2-popup--bottom,.zt2-calendar__popup.zt2-popup--top{height:80%}.zt2-calendar__popup.zt2-popup--left,.zt2-calendar__popup.zt2-popup--right{height:100%}.zt2-calendar__popup .zt2-popup__close-icon{top:11px}.zt2-calendar__header{-webkit-flex-shrink:0;flex-shrink:0;box-shadow:0 4px 8px 0 rgba(0,0,0,.1);margin-bottom:8px}.zt2-calendar__header-title{height:44px;font-weight:400;line-height:44px;position:relative;color:#2d4b73;font-size:14px;line-height:20px;opacity:.4;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;border-bottom:1px solid rgba(45,75,115,.1)}.zt2-calendar__header-title .hint-block{position:absolute;content:'';top:14px;left:0;width:4px;height:16px;background:#0091fa}.zt2-calendar__header-title::after{top:44px;left:0;content:'';position:absolute;box-sizing:border-box;content:' ';pointer-events:none;right:0;bottom:0;left:0;border-bottom:1px solid rgba(0,0,0,.1);-webkit-transform:scaleY(.5);transform:scaleY(.5)}.zt2-calendar__header-subtitle{height:44px;font-weight:400;line-height:44px;text-align:center;padding:0 16px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.zt2-calendar__header-subtitle--img{width:16px;height:16px}.zt2-calendar__header-subtitle--opt{width:32px;height:32px;line-height:32px;border-radius:50%;padding:0;margin:0 8px}.zt2-calendar__header-subtitle--opt:active{border-radius:50%;background-color:rgba(45,75,115,.1);opacity:.7}.zt2-calendar__header-subtitle--right{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.zt2-calendar__header-subtitle--unenable{opacity:.2}.zt2-calendar__header-subtitle-text{-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1}.zt2-calendar__month-title{height:44px;font-weight:400;line-height:44px;text-align:center}.zt2-calendar__header-subtitle{font-size:14px}.zt2-calendar__month-title{font-size:14px}.zt2-calendar__weekdays{display:-webkit-box;display:-webkit-flex;display:flex;background-color:rgba(0,0,0,.02)}.zt2-calendar__weekday{-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:12px;line-height:30px;font-weight:700;text-align:center}.zt2-calendar__body{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:auto;-webkit-overflow-scrolling:touch;background-color:#fff}.zt2-calendar__days{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-user-select:none;user-select:none}.zt2-calendar__month-mark{position:absolute;top:50%;left:50%;z-index:0;color:rgba(242,243,245,.8);font-size:160px;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);pointer-events:none}.zt2-calendar__day,.zt2-calendar__selected-day{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;text-align:center}.zt2-calendar__day{position:relative;width:14.285%;height:14.285vw;margin-bottom:4px;font-size:16px;font-weight:400;cursor:pointer;outline:0}.zt2-calendar__day--end,.zt2-calendar__day--multiple-middle,.zt2-calendar__day--multiple-selected,.zt2-calendar__day--start,.zt2-calendar__day--start-end{font-weight:700;color:#fff;background-color:#0091fa;box-shadow:0 0 0 3px rgba(0,145,250,.1)}.zt2-calendar__day--end .zt2-calendar__top-info-content,.zt2-calendar__day--multiple-middle .zt2-calendar__top-info-content,.zt2-calendar__day--multiple-selected .zt2-calendar__top-info-content,.zt2-calendar__day--start .zt2-calendar__top-info-content,.zt2-calendar__day--start-end .zt2-calendar__top-info-content{width:-webkit-max-content;width:max-content;margin:auto;padding:0 4px;background:rgba(255,255,255,.2);border-radius:8px;opacity:.8}@media (pointer:coarse){.zt2-calendar__day--end,.zt2-calendar__day--multiple-middle{margin-left:-1px}}.zt2-calendar__day--start{font-weight:700;border-radius:7.143vw 0 0 7.143vw;border-right:none;box-shadow:0 0 0 3px rgba(0,145,250,.1)}.zt2-calendar__day--end{font-weight:700;border-radius:0 7.143vw 7.143vw 0;border-left:none;box-shadow:0 0 0 3px rgba(0,145,250,.1)}.zt2-calendar__day--multiple-selected,.zt2-calendar__day--start-end{font-weight:700;border-radius:7.143vw;box-shadow:0 0 0 3px rgba(0,145,250,.1)}.zt2-calendar__day--middle{color:#000}.zt2-calendar__day--middle::after{position:absolute;top:0;right:0;bottom:0;left:0;color:#0091fa;background-color:currentColor;opacity:.11;content:''}.zt2-calendar__day--disabled,.zt2-calendar__day--preview{color:#c8c9cc;cursor:default}.zt2-calendar__bottom-info,.zt2-calendar__top-info{position:absolute;right:0;left:0;font-size:10px;font-weight:400;line-height:14px}@media (max-width:350px){.zt2-calendar__bottom-info,.zt2-calendar__top-info{font-size:9px}}.zt2-calendar__top-info{top:6px}.zt2-calendar__bottom-info{bottom:6px;opacity:.4}.zt2-calendar__selected-day{font-weight:700;width:14.285vw;height:14.285vw;color:#fff;background-color:#0091fa;border-radius:calc(14.285vw / 2);box-shadow:0 0 0 3px rgba(0,145,250,.1)}.zt2-calendar__footer{box-sizing:content-box;-webkit-flex-shrink:0;flex-shrink:0;display:-webkit-box;display:-webkit-flex;display:flex;padding:8px 16px 8px 16px;border-top:1px solid rgba(45,75,115,.1)}.zt2-calendar__footer--unfit{padding-bottom:0}
@@ -188,6 +188,15 @@
188
188
  color: @calendar-range-edge-color;
189
189
  background-color: @calendar-range-edge-background-color;
190
190
  box-shadow: 0 0 0 3px rgba(0,145,250,0.1);
191
+
192
+ .@{base-prefix}-calendar__top-info-content {
193
+ width: max-content;
194
+ margin: auto;
195
+ padding: 0 @padding-base;
196
+ background: rgba(255, 255, 255, 0.2);
197
+ border-radius: 8px;
198
+ opacity: 0.8;
199
+ }
191
200
  }
192
201
 
193
202
  @media (pointer: coarse) {
@@ -248,6 +257,7 @@
248
257
  right: 0;
249
258
  left: 0;
250
259
  font-size: @calendar-info-font-size;
260
+ font-weight: @plain-font-weight;
251
261
  line-height: @calendar-info-line-height;
252
262
 
253
263
  @media (max-width: 350px) {
@@ -260,8 +270,8 @@
260
270
  }
261
271
 
262
272
  &__bottom-info {
263
- display: none;
264
273
  bottom: 6px;
274
+ opacity: 0.4;
265
275
  }
266
276
 
267
277
  &__selected-day {
@@ -257,16 +257,15 @@ var _default = createComponent({
257
257
  return this.getRangeDayType(day);
258
258
  }
259
259
  },
260
- getBottomInfo: function getBottomInfo(type) {
261
- if (this.type === 'range') {
262
- if (type === 'start' || type === 'end') {
263
- return (0, _utils2.t)(type);
264
- }
265
-
266
- if (type === 'start-end') {
267
- return (0, _utils2.t)('startEnd');
268
- }
269
- }
260
+ getBottomInfo: function getBottomInfo(type) {// 目前选择日期区间时,不需要底部展示开始与结束提示
261
+ // if (this.type === 'range') {
262
+ // if (type === 'start' || type === 'end') {
263
+ // return t(type);
264
+ // }
265
+ // if (type === 'start-end') {
266
+ // return t('startEnd');
267
+ // }
268
+ // }
270
269
  },
271
270
  getDayStyle: function getDayStyle(type, index, text) {
272
271
  var style = {
@@ -329,7 +328,9 @@ var _default = createComponent({
329
328
  if (item.topInfo || slot) {
330
329
  return h("div", {
331
330
  "class": (0, _utils2.bem)('top-info')
332
- }, [slot ? slot(item) : item.topInfo]);
331
+ }, [h("div", {
332
+ "class": (0, _utils2.bem)('top-info-content')
333
+ }, [slot ? slot(item) : item.topInfo])]);
333
334
  }
334
335
  },
335
336
  genBottomInfo: function genBottomInfo(item) {
@@ -1 +1 @@
1
- .zt2-calendar{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;height:100%;background-color:#fff;color:#2d4b73}.zt2-calendar__popup.zt2-popup--bottom,.zt2-calendar__popup.zt2-popup--top{height:80%}.zt2-calendar__popup.zt2-popup--left,.zt2-calendar__popup.zt2-popup--right{height:100%}.zt2-calendar__popup .zt2-popup__close-icon{top:11px}.zt2-calendar__header{-webkit-flex-shrink:0;flex-shrink:0;box-shadow:0 4px 8px 0 rgba(0,0,0,.1);margin-bottom:8px}.zt2-calendar__header-title{height:44px;font-weight:400;line-height:44px;position:relative;color:#2d4b73;font-size:14px;line-height:20px;opacity:.4;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;border-bottom:1px solid rgba(45,75,115,.1)}.zt2-calendar__header-title .hint-block{position:absolute;content:'';top:14px;left:0;width:4px;height:16px;background:#0091fa}.zt2-calendar__header-title::after{top:44px;left:0;content:'';position:absolute;box-sizing:border-box;content:' ';pointer-events:none;right:0;bottom:0;left:0;border-bottom:1px solid rgba(0,0,0,.1);-webkit-transform:scaleY(.5);transform:scaleY(.5)}.zt2-calendar__header-subtitle{height:44px;font-weight:400;line-height:44px;text-align:center;padding:0 16px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.zt2-calendar__header-subtitle--img{width:16px;height:16px}.zt2-calendar__header-subtitle--opt{width:32px;height:32px;line-height:32px;border-radius:50%;padding:0;margin:0 8px}.zt2-calendar__header-subtitle--opt:active{border-radius:50%;background-color:rgba(45,75,115,.1);opacity:.7}.zt2-calendar__header-subtitle--right{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.zt2-calendar__header-subtitle--unenable{opacity:.2}.zt2-calendar__header-subtitle-text{-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1}.zt2-calendar__month-title{height:44px;font-weight:400;line-height:44px;text-align:center}.zt2-calendar__header-subtitle{font-size:14px}.zt2-calendar__month-title{font-size:14px}.zt2-calendar__weekdays{display:-webkit-box;display:-webkit-flex;display:flex;background-color:rgba(0,0,0,.02)}.zt2-calendar__weekday{-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:12px;line-height:30px;font-weight:700;text-align:center}.zt2-calendar__body{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:auto;-webkit-overflow-scrolling:touch;background-color:#fff}.zt2-calendar__days{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-user-select:none;user-select:none}.zt2-calendar__month-mark{position:absolute;top:50%;left:50%;z-index:0;color:rgba(242,243,245,.8);font-size:160px;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);pointer-events:none}.zt2-calendar__day,.zt2-calendar__selected-day{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;text-align:center}.zt2-calendar__day{position:relative;width:14.285%;height:14.285vw;margin-bottom:4px;font-size:16px;font-weight:400;cursor:pointer;outline:0}.zt2-calendar__day--end,.zt2-calendar__day--multiple-middle,.zt2-calendar__day--multiple-selected,.zt2-calendar__day--start,.zt2-calendar__day--start-end{font-weight:700;color:#fff;background-color:#0091fa;box-shadow:0 0 0 3px rgba(0,145,250,.1)}@media (pointer:coarse){.zt2-calendar__day--end,.zt2-calendar__day--multiple-middle{margin-left:-1px}}.zt2-calendar__day--start{font-weight:700;border-radius:7.143vw 0 0 7.143vw;border-right:none;box-shadow:0 0 0 3px rgba(0,145,250,.1)}.zt2-calendar__day--end{font-weight:700;border-radius:0 7.143vw 7.143vw 0;border-left:none;box-shadow:0 0 0 3px rgba(0,145,250,.1)}.zt2-calendar__day--multiple-selected,.zt2-calendar__day--start-end{font-weight:700;border-radius:7.143vw;box-shadow:0 0 0 3px rgba(0,145,250,.1)}.zt2-calendar__day--middle{color:#000}.zt2-calendar__day--middle::after{position:absolute;top:0;right:0;bottom:0;left:0;color:#0091fa;background-color:currentColor;opacity:.11;content:''}.zt2-calendar__day--disabled,.zt2-calendar__day--preview{color:#c8c9cc;cursor:default}.zt2-calendar__bottom-info,.zt2-calendar__top-info{position:absolute;right:0;left:0;font-size:10px;line-height:14px}@media (max-width:350px){.zt2-calendar__bottom-info,.zt2-calendar__top-info{font-size:9px}}.zt2-calendar__top-info{top:6px}.zt2-calendar__bottom-info{display:none;bottom:6px}.zt2-calendar__selected-day{font-weight:700;width:14.285vw;height:14.285vw;color:#fff;background-color:#0091fa;border-radius:calc(14.285vw / 2);box-shadow:0 0 0 3px rgba(0,145,250,.1)}.zt2-calendar__footer{box-sizing:content-box;-webkit-flex-shrink:0;flex-shrink:0;display:-webkit-box;display:-webkit-flex;display:flex;padding:8px 16px 8px 16px;border-top:1px solid rgba(45,75,115,.1)}.zt2-calendar__footer--unfit{padding-bottom:0}
1
+ .zt2-calendar{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;height:100%;background-color:#fff;color:#2d4b73}.zt2-calendar__popup.zt2-popup--bottom,.zt2-calendar__popup.zt2-popup--top{height:80%}.zt2-calendar__popup.zt2-popup--left,.zt2-calendar__popup.zt2-popup--right{height:100%}.zt2-calendar__popup .zt2-popup__close-icon{top:11px}.zt2-calendar__header{-webkit-flex-shrink:0;flex-shrink:0;box-shadow:0 4px 8px 0 rgba(0,0,0,.1);margin-bottom:8px}.zt2-calendar__header-title{height:44px;font-weight:400;line-height:44px;position:relative;color:#2d4b73;font-size:14px;line-height:20px;opacity:.4;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;border-bottom:1px solid rgba(45,75,115,.1)}.zt2-calendar__header-title .hint-block{position:absolute;content:'';top:14px;left:0;width:4px;height:16px;background:#0091fa}.zt2-calendar__header-title::after{top:44px;left:0;content:'';position:absolute;box-sizing:border-box;content:' ';pointer-events:none;right:0;bottom:0;left:0;border-bottom:1px solid rgba(0,0,0,.1);-webkit-transform:scaleY(.5);transform:scaleY(.5)}.zt2-calendar__header-subtitle{height:44px;font-weight:400;line-height:44px;text-align:center;padding:0 16px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.zt2-calendar__header-subtitle--img{width:16px;height:16px}.zt2-calendar__header-subtitle--opt{width:32px;height:32px;line-height:32px;border-radius:50%;padding:0;margin:0 8px}.zt2-calendar__header-subtitle--opt:active{border-radius:50%;background-color:rgba(45,75,115,.1);opacity:.7}.zt2-calendar__header-subtitle--right{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.zt2-calendar__header-subtitle--unenable{opacity:.2}.zt2-calendar__header-subtitle-text{-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1}.zt2-calendar__month-title{height:44px;font-weight:400;line-height:44px;text-align:center}.zt2-calendar__header-subtitle{font-size:14px}.zt2-calendar__month-title{font-size:14px}.zt2-calendar__weekdays{display:-webkit-box;display:-webkit-flex;display:flex;background-color:rgba(0,0,0,.02)}.zt2-calendar__weekday{-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:12px;line-height:30px;font-weight:700;text-align:center}.zt2-calendar__body{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:auto;-webkit-overflow-scrolling:touch;background-color:#fff}.zt2-calendar__days{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-user-select:none;user-select:none}.zt2-calendar__month-mark{position:absolute;top:50%;left:50%;z-index:0;color:rgba(242,243,245,.8);font-size:160px;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);pointer-events:none}.zt2-calendar__day,.zt2-calendar__selected-day{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;text-align:center}.zt2-calendar__day{position:relative;width:14.285%;height:14.285vw;margin-bottom:4px;font-size:16px;font-weight:400;cursor:pointer;outline:0}.zt2-calendar__day--end,.zt2-calendar__day--multiple-middle,.zt2-calendar__day--multiple-selected,.zt2-calendar__day--start,.zt2-calendar__day--start-end{font-weight:700;color:#fff;background-color:#0091fa;box-shadow:0 0 0 3px rgba(0,145,250,.1)}.zt2-calendar__day--end .zt2-calendar__top-info-content,.zt2-calendar__day--multiple-middle .zt2-calendar__top-info-content,.zt2-calendar__day--multiple-selected .zt2-calendar__top-info-content,.zt2-calendar__day--start .zt2-calendar__top-info-content,.zt2-calendar__day--start-end .zt2-calendar__top-info-content{width:-webkit-max-content;width:max-content;margin:auto;padding:0 4px;background:rgba(255,255,255,.2);border-radius:8px;opacity:.8}@media (pointer:coarse){.zt2-calendar__day--end,.zt2-calendar__day--multiple-middle{margin-left:-1px}}.zt2-calendar__day--start{font-weight:700;border-radius:7.143vw 0 0 7.143vw;border-right:none;box-shadow:0 0 0 3px rgba(0,145,250,.1)}.zt2-calendar__day--end{font-weight:700;border-radius:0 7.143vw 7.143vw 0;border-left:none;box-shadow:0 0 0 3px rgba(0,145,250,.1)}.zt2-calendar__day--multiple-selected,.zt2-calendar__day--start-end{font-weight:700;border-radius:7.143vw;box-shadow:0 0 0 3px rgba(0,145,250,.1)}.zt2-calendar__day--middle{color:#000}.zt2-calendar__day--middle::after{position:absolute;top:0;right:0;bottom:0;left:0;color:#0091fa;background-color:currentColor;opacity:.11;content:''}.zt2-calendar__day--disabled,.zt2-calendar__day--preview{color:#c8c9cc;cursor:default}.zt2-calendar__bottom-info,.zt2-calendar__top-info{position:absolute;right:0;left:0;font-size:10px;font-weight:400;line-height:14px}@media (max-width:350px){.zt2-calendar__bottom-info,.zt2-calendar__top-info{font-size:9px}}.zt2-calendar__top-info{top:6px}.zt2-calendar__bottom-info{bottom:6px;opacity:.4}.zt2-calendar__selected-day{font-weight:700;width:14.285vw;height:14.285vw;color:#fff;background-color:#0091fa;border-radius:calc(14.285vw / 2);box-shadow:0 0 0 3px rgba(0,145,250,.1)}.zt2-calendar__footer{box-sizing:content-box;-webkit-flex-shrink:0;flex-shrink:0;display:-webkit-box;display:-webkit-flex;display:flex;padding:8px 16px 8px 16px;border-top:1px solid rgba(45,75,115,.1)}.zt2-calendar__footer--unfit{padding-bottom:0}
@@ -188,6 +188,15 @@
188
188
  color: @calendar-range-edge-color;
189
189
  background-color: @calendar-range-edge-background-color;
190
190
  box-shadow: 0 0 0 3px rgba(0,145,250,0.1);
191
+
192
+ .@{base-prefix}-calendar__top-info-content {
193
+ width: max-content;
194
+ margin: auto;
195
+ padding: 0 @padding-base;
196
+ background: rgba(255, 255, 255, 0.2);
197
+ border-radius: 8px;
198
+ opacity: 0.8;
199
+ }
191
200
  }
192
201
 
193
202
  @media (pointer: coarse) {
@@ -248,6 +257,7 @@
248
257
  right: 0;
249
258
  left: 0;
250
259
  font-size: @calendar-info-font-size;
260
+ font-weight: @plain-font-weight;
251
261
  line-height: @calendar-info-line-height;
252
262
 
253
263
  @media (max-width: 350px) {
@@ -260,8 +270,8 @@
260
270
  }
261
271
 
262
272
  &__bottom-info {
263
- display: none;
264
273
  bottom: 6px;
274
+ opacity: 0.4;
265
275
  }
266
276
 
267
277
  &__selected-day {