liuxiaolong
2019-05-06 acc45d2ece02563964d7b8a22ff0c40bd8358889
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
@import '../_custom-variables/pages';
 
$project-attachment-width: 18rem !default;
$project-attachment-size: 4rem !default;
$project-task-item-padding: .625rem 0 !default;
 
// Attachments
 
.project-attachment {
  display: flex;
  align-items: center;
  width: 100%;
 
   > .media-body {
    min-width: 0;
  }
}
 
.project-attachment-file,
.project-attachment-img {
  display: block;
  flex-grow: 0;
  flex-shrink: 0;
  width: $project-attachment-size;
  height: $project-attachment-size;
}
 
.project-attachment-file {
  display: inline-block;
  text-align: center;
  line-height: $project-attachment-size;
}
 
.project-attachment-img {
  background-color: transparent;
  background-position: center center;
  background-size: cover;
}
 
.project-attachment-filename {
  display: block;
  overflow: hidden;
  width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}
 
// Tasks
 
.project-task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: $project-task-item-padding;
 
  .ui-todo-item {
    margin: 0;
  }
}
 
.default-style {
  @import "../_appwork/include";
 
  .project-task-item {
    background: $card-bg;
 
    + .project-task-item {
      border-top: 1px solid $gray-100;
    }
  }
}
 
.material-style {
  @import "../_appwork/include-material";
 
  .project-task-item {
    background: $card-bg;
 
    + .project-task-item {
      border-top: 1px solid $gray-100;
    }
  }
}