summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/components/_activityLog.scss
blob: 1e31e0681438d60c16708e312abae72afb32b757 (plain)
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
$message-info-icon-size: 16px;

@mixin status-icon-class {
  @extend .body-1-light;
  width: $message-info-icon-size;
  height: $message-info-icon-size;
  margin-left: 8px;
  color: $white;
  border-radius: $message-info-icon-size / 2;
  display: inline-block;
  text-align: center;
}

.activity-log-view {

  .list-editor-view .list-editor-view-header {
	border: none;
	.list-editor-view-title {
	  @extend .heading-1;
	  color: $blue;
	}
  }
  .list-editor-view-list {
	border: 1px solid $light-gray;
	border-bottom: none;
  }
  .activity-list-item {
	display: flex;
	height: 36px;
	@extend .body-1;
	&.header {
	  @extend .body-1-medium;
	  background-color: $tlv-light-gray;
	  color: $text-black;
	}
  }

  .activity-status {
	.svg-icon-wrapper {
	  float: right;
	}
	.check-circle {
	  fill: $green;
	  width: 16px;
	  height: 16px;
	}
	.status-icon.false:after {
	  @include status-icon-class;
	  float: right;
	  background-color: $red;
	  content: "!";
	}
  }

  .message-further-info-icon {
	@include status-icon-class;
	background-color: $gray;
  }

  .table-cell {
	border-right: 1px solid $light-gray;
	border-bottom: 1px solid $light-gray;
	&:last-child {
	  border-right: none;
	}
	flex-basis: 20%;
	display: flex;
	padding: 0 20px;
	justify-content: center;
	flex-direction: column;
	&.activity-comment {
	  min-width: 0;
	  span {
		@include ellipsis(100%);
	  }
	}
  }

  .date-header {
	cursor: pointer;
	display: flex;
	align-items: center;
	.header-sort-arrow {
	  width: 0;
	  height: 0;
	  border-left: 5px solid transparent;
	  border-right: 5px solid transparent;
	  margin-left: 9px;
	  &.up {
		border-bottom: 5px solid $black;
	  }
	  &.down {
		border-top: 5px solid $black;
	  }

	}
  }

  .date-cell {
	display: flex;
	justify-content: space-between;
  }

}