/*
 * This file is part of the Meeds project (https://meeds.io/).
 * Copyright (C) 2020 - 2022 Meeds Association contact@meeds.io
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or (at your option) any later version.
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 */
@import (less) "../../tasks/skin/css/tasks.css";
@import (less) "../../tasks/skin/css/tasksCommentDrawer.css";

/*
  Override Tasks CSS because the classified 'sources' artifact of task-management WAR
  doesn't have Less Files into it, thus we will force importing CSS as LESS files.
  The problem here is that the imported CSS file will be formatted by lesscss plugin and thus,
  the rlt & ltr directives will be added into a dedicated line.
*/
.taskDrawer .drawerHeader .drawerTitle #taskActionMenu .taskActionMenu {
  right: 60px;
  left: auto !important;
}
.taskDrawer .drawerHeader .drawerTitle .drawerTitleAndProject .uiArrowBAckIcon {
  margin-left: -4px;
  padding-right: 10px;
}
.taskDrawer .drawerHeader .drawerTitle .drawerTitleAndProject .taskProjectName .icon-ArrowRight {
  margin-left: 10px;
  margin-right: 0;
}
.taskDrawer .drawerHeader .drawerTitle .drawerTitleAndProject .taskProjectName .icon-ArrowRight:before {
  content: '\e9cb';
}
.taskDrawer .drawerHeader .drawerIcons {
  margin-left: 2px !important;
  margin-right: 0 !important;
}
.taskDrawer .taskProjectName .inputTaskProjectName .v-menu__content {
  left: 100px !important;
  right: auto !important;
}
.taskDrawer .lastUpdatedTask {
  padding-left: 32px;
  padding-right: 0;
}
.taskDrawer .datePickerMenu .v-menu__content {
  right: auto !important;
  left: 30px !important;
}
.taskDrawer .taskAssignement .taskAssignItem .taskAssignBtn .uiAddAssignIcon {
  padding-right: 6px;
  padding-left: 0;
}
.taskDrawer .taskAssignement .taskAssignMenu .v-menu__content {
  right: auto !important;
}
.taskDrawer .taskAssignement .assignTaskMenu .uiAssignToMeIcon:before {
  padding-right: 6px;
  padding-left: 0;
}
.taskDrawer .taskAssignement .assignTaskMenu .uiAddMeCoworkerIcon:before {
  padding-right: 8px;
  padding-left: 0;
}
.taskDrawer .taskAssignement .identitySuggester .v-input__control .v-input__slot .v-select__slot .v-select__selections {
  padding-left: 0 !important;
  padding-right: inherit !important;
}
.taskDrawer .taskDates {
  padding-right: 10px;
  padding-left: 0;
}
.taskDrawer .taskDates .datePickerComponent input {
  padding-right: 10px !important;
  padding-left: 5px !important;
}
.taskDrawer .taskDates .taskPlanDateCalender .uiIconStartDate {
  margin-left: -2px;
  margin-right: 0;
}
.taskDrawer .taskStatusAndPriority .taskPriority .v-input__control > .v-input__slot .v-select__slot .v-input__append-inner i {
  right: 0;
  left: auto;
}
.taskDrawer .taskStatusAndPriority .taskPriority .v-input__control > .v-input__slot .v-select__slot .v-select__selections .v-select__selection {
  margin-right: 0 !important;
  margin-left: inherit !important;
}
.taskDrawer .taskStatusAndPriority .taskStatus .v-input__control > .v-input__slot .v-select__slot .v-input__append-inner i {
  right: 0;
  left: auto;
}
.taskDrawer .taskStatusAndPriority .taskStatus .v-input__control > .v-input__slot .v-select__slot .v-select__selections .v-select__selection {
  margin-right: 0 !important;
  margin-left: inherit !important;
}
.taskDrawer .taskDescription .activityCharsCount {
  right: 5px;
  left: auto;
}
.taskCommentsAndChanges .taskComments .commentItem .commentHeader .removeCommentBtn {
  margin-left: auto;
  margin-right: inherit;
}
.taskCommentsAndChanges .taskComments .TaskSubComments {
  margin-left: -20px !important;
  margin-right:0 !important;
}
.taskCommentsAndChanges .taskComments .TaskSubComments .TaskSubCommentItem {
  padding-left: 60px;
  padding-right: 0;
}
.taskCommentDrawer .uiArrowBAckIcon {
  margin-left: -4px;
  margin-right: 0;
}
.taskCommentDrawer .drawerContent .dateTime.caption {
  padding-left: 10px;
  padding-right: 0;
}
.taskCommentDrawer .drawerContent .TaskCommentContent .commentItem .commentHeader .removeCommentBtn {
  margin-left: auto;
  margin-right: 0;
}
.taskCommentDrawer .drawerContent .TaskCommentContent .TaskSubComments {
  margin-left: -20px !important;
  margin-right: 0 !important;
}
.taskCommentDrawer .drawerContent .TaskCommentContent .TaskSubComments .TaskSubCommentItem {
  padding-left: 60px;
  padding-right: 0;
}
.taskCommentDrawer .drawerContent .TaskCommentContent .commentEditorContainer {
  padding-left: 40px;
  padding-right: 10px;
}
.taskCommentDrawer .drawerContent .TaskCommentContent .newCommentEditor {
  padding-left: 0;
  padding-right: 0;
}
.taskCommentDrawer .drawerContent .editorContent .activityCharsCount {
  right: 3px;
  left: auto;
}
.taskCommentDrawer .drawerContent .editorContent .cke_toolbar {
  border-right: none !important;
  border-left: inherit !important;
}
.taskContentComment blockquote {
  margin: 10px 0 7px 20px;
}
.showTaskChangesDrawer {
  right: 0;
  left: auto;
}

.VuetifyApp #task-Drawer.v-navigation-drawer .drawerContent {
  overflow-x: hidden !important;
}

.mobile-menu-slider {
  height: 2px;
  position: absolute;
  top: 0;
  display: none;
}

.selected-item .mobile-menu-slider {
  display: block;
}
