UNPKG

iep-ui

Version:

An enterprise-class UI design language and Vue-based implementation

211 lines (210 loc) 6.12 kB
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/ ::-webkit-scrollbar { width: 6px; background-color: transparent; } /*定义滚动条轨道 内阴影+圆角*/ ::-webkit-scrollbar-track { -webkit-box-shadow: none; border-radius: 4px; background-color: transparent; } /*定义滑块 内阴影+圆角*/ ::-webkit-scrollbar-thumb { border-radius: 6px; -webkit-box-shadow: none; background-color: rgba(144, 147, 153, 0.3); } /*定义最上方和最下方的按钮*/ ::-webkit-scrollbar-button { display: none; background-color: #252540; border: 1px solid #252540; } .comp-full-calendar { padding: 20px; margin: 0 auto; } .comp-full-calendar ul, .comp-full-calendar p { margin: 0; padding: 0; } .comp-full-calendar .full-calendar-body { margin-top: 20px; } .comp-full-calendar .full-calendar-body .weeks { display: flex; border-radius: 4px 4px 0 0; background: #f8f8f8; height: 50px; line-height: 50px; border-bottom: 1px solid #e0e0e0; } .comp-full-calendar .full-calendar-body .weeks .week { flex: 1; text-align: center; } .comp-full-calendar .full-calendar-body .dates { position: relative; } .comp-full-calendar .full-calendar-body .dates .week-row { border-left: 1px solid #e0e0e0; display: flex; } .comp-full-calendar .full-calendar-body .dates .week-row .day-cell { flex: 1; min-height: 120px; padding: 4px; border-right: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; } .comp-full-calendar .full-calendar-body .dates .week-row .day-cell .day-number { text-align: right; } .comp-full-calendar .full-calendar-body .dates .week-row .day-cell.today { background-color: #fcf8e3; } .comp-full-calendar .full-calendar-body .dates .week-row .day-cell.not-cur-month .day-number { color: rgba(0, 0, 0, 0.24); } .comp-full-calendar .full-calendar-body .dates .dates-events { position: absolute; top: 0; left: 0; z-index: 1; width: 100%; } .comp-full-calendar .full-calendar-body .dates .dates-events .events-week { display: flex; } .comp-full-calendar .full-calendar-body .dates .dates-events .events-week .events-day { cursor: pointer; flex: 1; min-height: 120px; overflow: hidden; text-overflow: ellipsis; } .comp-full-calendar .full-calendar-body .dates .dates-events .events-week .events-day .day-number { text-align: right; padding: 4px 5px 4px 4px; opacity: 0; } .comp-full-calendar .full-calendar-body .dates .dates-events .events-week .events-day.not-cur-month .day-number { color: rgba(0, 0, 0, 0.24); } .comp-full-calendar .full-calendar-body .dates .dates-events .events-week .events-day .event-box .event-item { cursor: pointer; font-size: 14px; text-indent: 8px; background-color: #c7e6fd; margin-bottom: 2px; color: rgba(0, 0, 0, 0.87); padding: 0 0 0 4px; height: 20px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .comp-full-calendar .full-calendar-body .dates .dates-events .events-week .events-day .event-box .event-item.is-start { margin-left: 4px; border-top-left-radius: 10px; border-bottom-left-radius: 10px; } .comp-full-calendar .full-calendar-body .dates .dates-events .events-week .events-day .event-box .event-item.is-end { margin-right: 4px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; } .comp-full-calendar .full-calendar-body .dates .dates-events .events-week .events-day .event-box .event-item.is-opacity { opacity: 0; } .comp-full-calendar .full-calendar-body .dates .dates-events .events-week .events-day .event-box .event-item p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .comp-full-calendar .full-calendar-body .dates .dates-events .events-week .events-day .event-box .more-link { cursor: pointer; padding-left: 8px; padding-right: 2px; color: rgba(0, 0, 0, 0.38); font-size: 14px; } .comp-full-calendar .full-calendar-body .dates .more-events { position: absolute; width: 150px; z-index: 2; border: 1px solid #eee; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); } .comp-full-calendar .full-calendar-body .dates .more-events .more-header { background-color: #eee; padding: 5px; display: flex; align-items: center; font-size: 14px; } .comp-full-calendar .full-calendar-body .dates .more-events .more-header .title { flex: 1; } .comp-full-calendar .full-calendar-body .dates .more-events .more-header .close { margin-right: 2px; cursor: pointer; font-size: 16px; } .comp-full-calendar .full-calendar-body .dates .more-events .more-body { height: 146px; overflow: hidden; } .comp-full-calendar .full-calendar-body .dates .more-events .more-body .body-list { height: 144px; padding: 5px; overflow: auto; background-color: #fff; } .comp-full-calendar .full-calendar-body .dates .more-events .more-body .body-list .body-item { cursor: pointer; font-size: 12px; background-color: #c7e6fd; margin-bottom: 2px; color: rgba(0, 0, 0, 0.87); padding: 0 0 0 4px; height: 18px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .comp-full-calendar .full-calendar-header { display: flex; align-items: center; line-height: 30px; } .comp-full-calendar .full-calendar-header .header-left, .comp-full-calendar .full-calendar-header .header-right { flex: 1; } .comp-full-calendar .full-calendar-header .header-center { flex: 3; text-align: center; } .comp-full-calendar .full-calendar-header .header-right { text-align: right; } .comp-full-calendar .full-calendar-header .header-right .title { padding: 0 10px; display: inline-block; border: 1px solid #e5e5e5; border-radius: 4px; margin: 0 8px; } .comp-full-calendar .full-calendar-header .header-right .prev-month, .comp-full-calendar .full-calendar-header .header-right .next-month { cursor: pointer; }