Kanboard-Prod/assets/css/src/task.css

332 lines
5.0 KiB
CSS

/* task inside the board */
.task-board {
position: relative;
margin-bottom: 4px;
border: 1px solid #000;
padding: 2px;
font-size: 0.85em;
word-wrap: break-word;
}
div.task-board-recent {
box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
}
div.task-board-status-closed {
user-select: none;
border: 1px dotted #555;
}
.task-table a,
.task-board a {
color: #000;
text-decoration: none;
font-weight: bold;
}
.task-table a:focus,
.task-table a:hover,
.task-board a:focus,
.task-board a:hover {
text-decoration: underline;
}
.task-board-collapsed {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
a.task-board-collapsed-title {
font-weight: normal;
}
.task-board .dropdown {
font-size: 1.1em;
}
.task-board-title {
margin-top: 5px;
margin-bottom: 5px;
font-size: 1.1em;
}
.task-board-title a {
font-weight: normal;
}
.task-board-user {
font-size: 0.8em;
}
.task-board-current-user a {
text-decoration: underline;
}
.task-board-current-user a:focus,
.task-board-current-user a:hover {
text-decoration: none;
}
a.task-board-nobody {
font-weight: normal;
font-style: italic;
color: #444;
}
.task-board-category-container {
text-align: right;
}
.task-board-category {
font-weight: bold;
font-size: 0.9em;
color: #000;
border: 1px solid #555;
padding: 2px;
padding-right: 5px;
padding-left: 5px;
}
.task-board-icons {
text-align: right;
margin-top: 8px;
}
.task-board-icons a {
opacity: 0.5;
}
.task-board-icons span {
opacity: 0.5;
margin-left: 2px;
}
.task-board-icons a:hover,
.task-board-icons span:hover {
opacity: 1.0;
}
.task-board-date {
font-weight: bold;
color: #000;
}
span.task-board-date-overdue {
color: #D90000;
opacity: 1.0;
}
/* task score */
.task-score {
font-weight: bold;
}
.task-board .task-score {
font-size: 1.1em;
}
.task-show-details .task-score {
position: absolute;
bottom: 5px;
right: 5px;
font-size: 2em;
}
/* task age */
.task-board-closed,
.task-board-days {
position: absolute;
right: 5px;
top: 5px;
opacity: 0.5;
font-size: 0.8em;
}
.task-board-days:hover {
opacity: 1.0;
}
.task-days-age {
border: #666 1px solid;
padding: 1px 4px 1px 2px;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
.task-days-incolumn {
border: #666 1px solid;
border-left: none;
margin-left: -5px;
padding: 1px 2px 1px 4px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.board-container-compact .task-board-days {
display: none;
}
/* task view */
.task-show-details {
position: relative;
border-radius: 5px;
padding-bottom: 10px;
}
.task-show-details h2 {
font-size: 1.8em;
margin: 0;
margin-bottom: 25px;
padding: 0;
padding-left: 10px;
padding-right: 10px;
}
.task-show-details li {
margin-left: 25px;
list-style-type: circle;
}
.task-show-section {
margin-top: 30px;
margin-bottom: 20px;
}
.task-show-files a {
font-weight: bold;
text-decoration: none;
}
.task-show-files li {
margin-left: 25px;
list-style-type: square;
line-height: 25px;
}
.task-show-file-actions {
font-size: 0.75em;
}
.task-show-file-actions:before {
content: " [";
}
.task-show-file-actions:after {
content: "]";
}
.task-show-file-actions a {
color: #333;
}
.task-show-description {
border-left: 4px solid #333;
padding-left: 20px;
}
.task-show-description-textarea {
width: 99%;
max-width: 99%;
height: 300px;
}
.task-file-viewer {
position: relative;
}
.task-file-viewer img {
max-width: 95%;
max-height: 85%;
margin-top: 10px;
}
.task-time-form {
margin-top: 10px;
margin-bottom: 25px;
padding: 3px;
}
.task-link-closed {
text-decoration: line-through;
}
.task-show-images {
list-style-type: none;
}
.task-show-images li img {
width: 100%;
}
.task-show-images li .img_container {
width: 250px;
height: 100px;
overflow: hidden;
}
.task-show-images li {
padding: 10px;
overflow: auto;
width: 250px;
min-height: 120px;
display: inline-block;
vertical-align: top;
}
.task-show-images li p{
padding: 5px;
font-weight: bold;
}
.task-show-images li:hover {
background: #eee;
}
.task-show-image-actions {
margin-left: 5px;
}
.task-show-file-table {
width: auto;
}
.task-show-start-link {
color: #000;
}
.task-show-start-link:hover,
.task-show-start-link:focus {
color: red;
}
.flag-milestone {
color: green;
}
/* color picker */
.color-picker {
min-height: 35px;
}
.color-square {
display: inline-block;
width: 30px;
height: 30px;
margin-right: 5px;
margin-bottom: 5px;
border: 1px solid #000;
cursor: pointer;
}
.color-square:hover {
border-style: dotted;
}
div.color-square-selected {
border-width: 2px;
width: 28px;
height: 28px;
box-shadow: 3px 2px 10px 0 rgba(180,180,180,0.9);
}