@charset "UTF-8";
/* 任务新版 ver3.0 本日本周本月插件 */

/***************************** 本周本月相关 *****************************/

.calendar_box {
  display: none;
  width: 100%;
  padding: 0 24px;
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 14px;
  height: calc(100vh - 300px);
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}

.calendar_wrap {
  display: none;
  padding: 20px 0px;
  /* margin-bottom: 40px; */
  font-size: 14px;
  height: 100%;
}

.calendar_wrap.task_day {
  border: 0;
  padding-top: 10px;
}

.calendar_wrap.task_week {
  border: 0;
  padding-top: 10px;
}

.calendar_wrap.task_month {
  border: 0;
  padding-top: 10px;
}

/* 插件头部按钮不换行 */

.calendar_wrap .fc .fc-toolbar-title {
  display: inline-block;
  vertical-align: middle;
  padding: 0 12px;
  height: 32px;
  font-size: 16px;
  font-weight: 400;
  color: #333333;
  line-height: 32px;
}

/* 插件 选中的日期 */
.calendar_wrap .fc .fc-highlight {
  background: #fafafa;
}

/* 插件 prev 按钮 */

.calendar_wrap .fc-prev-button.fc-button.fc-button-primary {
  background-color: transparent !important;
  border-color: transparent !important;
  color: #333;
  outline: transparent !important;
}

.calendar_wrap .fc-prev-button.fc-button.fc-button-primary:hover,
.calendar_wrap .fc-prev-button.fc-button.fc-button-primary:focus,
.calendar_wrap .fc-prev-button.fc-button.fc-button-primary:active {
  background-color: transparent !important;
  border-color: transparent !important;
  color: #333;
  outline: transparent !important;
}

/* 插件 next 按钮 */

.calendar_wrap .fc-next-button.fc-button.fc-button-primary {
  background-color: transparent !important;
  border-color: transparent !important;
  color: #333;
  outline: transparent !important;
}

.calendar_wrap .fc-next-button.fc-button.fc-button-primary:hover,
.calendar_wrap .fc-next-button.fc-button.fc-button-primary:focus,
.calendar_wrap .fc-next-button.fc-button.fc-button-primary:active {
  background-color: transparent !important;
  border-color: transparent !important;
  color: #333;
  outline: transparent !important;
}

/* 插件 头部 宽度 */

.calendar_wrap .fc .fc-col-header-cell-cushion {
  display: block;
  width: 100%;
}

/* 插件 自定义按钮 */

.calendar_wrap .fc .fc-button-primary {
  background: transparent;
  border-color: transparent;
  color: var(--color-theme);
  padding: 0;
}

.calendar_wrap .fc .fc-button-primary:hover,
.calendar_wrap .fc .fc-button-primary:focus,
.calendar_wrap .fc .fc-button-primary:active {
  background: transparent;
  border-color: transparent;
  color: #bf8a4f;
}

.calendar_wrap .fc .fc-button-primary:disabled {
  background: var(--color-theme);
  border-color: transparent;
  color: #fff;
}

.calendar_wrap .fc .fc-button-primary:focus {
  box-shadow: none;
}

.calendar_wrap .fc .fc-button-primary:not(:disabled).fc-button-active,
.calendar_wrap .fc .fc-button-primary:not(:disabled):active {
  background: transparent;
  border-color: transparent;
  color: #bf8a4f;
}

.calendar_wrap .fc .fc-button-primary.fc-goToday-button,
.calendar_wrap .fc .fc-button-primary.fc-goThisWeek-button,
.calendar_wrap .fc .fc-button-primary.fc-goThisMonth-button {
  padding-left: 22px;
  position: relative;
  margin-left: 10px;
}

.calendar_wrap .fc .fc-button-primary.fc-goToday-button::after,
.calendar_wrap .fc .fc-button-primary.fc-goThisWeek-button::after,
.calendar_wrap .fc .fc-button-primary.fc-goThisMonth-button::after {
  position: absolute;
  left: 0px;
  font-family: iconfont;
  content: "\e693";
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.calendar_wrap .fc .fc-button-primary:not(:disabled).fc-button-active:focus,
.calendar_wrap .fc .fc-button-primary:not(:disabled):active:focus {
  box-shadow: none;
}

/* 插件自定义按钮 选择日期  */

.calendar_wrap .fc .fc-button-primary.fc-selectDate-button {
  padding-left: 22px;
  margin-left: -10px;
  position: relative;
  font-size: 0;
  height: 32px;
  width: 16px;
  line-height: 32px;
  color: #333;
}

.calendar_wrap .fc .fc-button-primary.fc-selectDate-button::after {
  position: absolute;
  top: 0;
  left: 0px;
  font-family: iconfont;
  content: "\e62a";
  font-size: 24px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 插件 本日 全天 */

.calendar_wrap.task_day .fc .fc-daygrid-day-frame {
  min-height: 100%;
  position: relative;
  padding-left: 4px;
}

.calendar_wrap .fc .fc-daygrid-day.fc-day-today,
.calendar_wrap.task_day .fc .fc-timegrid-col.fc-day-today {
  background: #fff;
}

.day_title {
  text-align: right;
  width: 100%;
  color: #666666;
}

.day_num_text {
  color: #333333;
}

.time_grid_title {
  text-align: center;
}

/************************************************************************** 本月 **************************************************************************/

/* 本月特殊头部 */

.calendar_box .day_grid_title {
  height: 24px;
  line-height: 24px;
  padding: 0 5px;
  overflow: hidden;
}

.calendar_box .month_event_block {
  width: 100%;
  text-align: left;
  height: 20px;
  line-height: 20px;
  padding-left: 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  background-color: #ffefd5;
}

.calendar_box .month_event_block.project_task {
  background: #ffefd5;
  position: relative;
  border-radius: 4px;
}

.calendar_box .month_event_block.project_task::before {
  content: "";
  position: absolute;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 4px 0 0 4px;
  background: #feaf2b;
}

.calendar_box .month_event_block.project_task:hover {
  color: #333;
  background: #ffd07f;
}

.calendar_box .month_event_block.personal_task {
  background: #e0e6fd;
  position: relative;
  border-radius: 4px;
}

.calendar_box .month_event_block.personal_task::before {
  content: "";
  position: absolute;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 4px 0 0 4px;
  background: #6380f7;
}

.calendar_box .month_event_block.personal_task:hover {
  color: #333;
  background: #b1bffb;
}

.calendar_box .month_event_block:hover,
.calendar_box .month_event_block:focus {
  color: #ffffff;
  background: #feaf2b;
}

.calendar_box .task_month_more {
  color: var(--color-theme);
}

.calendar_box .day_num {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
}

.calendar_box .day_num .day_num_text.is_today {
  display: block;
  height: 100%;
  width: 100%;
  color: #fff;
  background: #feaf2b;
  border-radius: 50%;
  font-size: 12px;
}

/************************************************************************** 本周 **************************************************************************/

/* 本周特殊头部 */

.calendar_box .week_grid_title {
  height: 65px;
  padding: 12px 5px;
  overflow: hidden;
}

.calendar_box .week_grid_title .week_text {
  display: block;
  height: 22px;
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  line-height: 22px;
  text-align: left;
}

.calendar_box .week_grid_title .week_text.is_past {
  color: #999999;
  background: #ffffff;
}

.calendar_box .week_grid_title .week_text.is_today {
  color: #206af5;
}

.calendar_box .week_grid_title .date_text {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #333333;
  width: 100%;
  text-align: left;
  margin: 2px 0;
  margin-top: 2px;
  border-radius: 50px;
  background: #ffffff;
}

.calendar_box .week_grid_title .date_text.is_past {
  color: #999999;
  background: #ffffff;
}

.calendar_box .week_grid_title .date_text > span {
  display: block;
  width: 20px;
  height: 20px;
  text-align: center;
  border-radius: 50px;
}

.calendar_box .week_grid_title .date_text.is_today > span {
  color: #fff;
  background: #feaf2b;
}

.calendar_box .week_grid_title .date_text.is_future {
  color: #333;
  background: #fff;
}

/* 本周任务 */

.calendar_box .week_event_block {
  width: 100%;
  text-align: left;
  min-height: 24px;
  line-height: 24px;
  padding-left: 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
  color: #333;
  background: #e9e9e9;
}

.calendar_box .week_event_block.project_task {
  background: #ffefd5;
  position: relative;
  border-radius: 4px;
}

.calendar_box .week_event_block.project_task::before {
  content: "";
  position: absolute;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 4px 0 0 4px;
  background: #feaf2b;
}

.calendar_box .week_event_block.project_task:hover {
  color: #333;
  background: #ffd07f;
}

.calendar_box .week_event_block.personal_task {
  background: #e0e6fd;
  position: relative;
  border-radius: 4px;
}

.calendar_box .week_event_block.personal_task::before {
  content: "";
  position: absolute;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 4px 0 0 4px;
  background: #6380f7;
}

.calendar_box .week_event_block.personal_task:hover {
  color: #333;
  background: #b1bffb;
}

.calendar_box .week_event_block > span {
  display: block;
}

.calendar_box .week_event_block .week_event_title {
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-weight: 600;
}

/************************************************************************** 本日 **************************************************************************/

/* 本日任务 */

.calendar_box .day_event_block {
  width: 100%;
  text-align: left;
  height: 100%;
  line-height: 20px;
  padding-left: 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  background-color: #ffefd5;
}

.calendar_box .day_event_block.project_task {
  background: #ffefd5;
  position: relative;
  border-radius: 4px;
}

.calendar_box .day_event_block.project_task::before {
  content: "";
  position: absolute;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 4px 0 0 4px;
  background: #feaf2b;
}

.calendar_box .day_event_block.project_task:hover {
  color: #333;
  background: #ffd07f;
}

.calendar_box .day_event_block.personal_task {
  background: #e0e6fd;
  position: relative;
  border-radius: 4px;
}

.calendar_box .day_event_block.personal_task::before {
  content: "";
  position: absolute;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 4px 0 0 4px;
  background: #6380f7;
}

.calendar_box .day_event_block.personal_task:hover {
  color: #333;
  background: #b1bffb;
}

.calendar_box .day_event_block:hover,
.calendar_box .day_event_block:focus {
  color: #ffffff;
  background: #feaf2b;
}

.calendar_box .day_event_block > span {
  display: block;
  width: 100%;
}

.calendar_box .day_event_block .day_event_title {
  white-space: break-spaces;
  font-weight: 600;
}

/************************************************************************** 插件任务详情弹框 **************************************************************************/

#taskDetailShowPop {
  position: absolute;
  z-index: 10000;
}

#taskDetailShowPop[x-placement="top"] .task_popper__arrow,
#taskDetailShowPop[x-placement="bottom"] .task_popper__arrow {
  left: 15%;
}

/* head */

.task_detail_head {
  padding: 0 10px;
  max-width: 310px;
}

.task_detail_head > span {
  display: block;
  padding: 8px 0 2px;
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  line-height: 22px;
  padding-right: 40px;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  height: 32px;
}

.task_detail_head .task_detail_close {
  position: absolute;
  top: 7px;
  right: 10px;
  cursor: pointer;
}

/* option */

.task_detail_option {
  position: absolute;
  bottom: 0;
  font-size: 0;
  width: 100%;
  height: 46px;
  background: #fff;
  border-radius: 0px 0px 4px 4px;
  padding: 6px 10px;
}

.task_detail_option > button {
  font-size: 14px;
  width: 100%;
  border: 0;
  line-height: 32px;
  background: var(--color-theme);
  color: #fff;
}

.task_detail_option > button[disabled] {
  background: #ccc;
  cursor: not-allowed;
}

/* content */

.task_detail_content {
  width: 310px;
  padding: 0 10px;
  height: 212px;
  overflow: auto;
}

.task_detail_content > div {
  padding: 6px 0;
  border-top: 1px solid #f0f0f0;
}

.task_detail_content > div:first-child {
  border-top: 0;
}

.task_detail_content > div > p {
  padding: 4px 0;
  overflow: hidden;
}

.task_detail_content > div > p .line_head {
  width: 68px;
  color: #999999;
  padding-right: 12px;
  vertical-align: top;
}

.task_detail_content > div > p > span {
  line-height: 22px;
  display: block;
  float: left;
}

.task_detail_content > div > p > span:last-child {
  width: calc(100% - 70px);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
