|
@@ -1,3 +1,4 @@
|
|
|
|
|
+@import 'variables';
|
|
|
|
|
|
|
|
:host {
|
|
:host {
|
|
|
display: block;
|
|
display: block;
|
|
@@ -5,19 +6,32 @@
|
|
|
&:first-of-type {
|
|
&:first-of-type {
|
|
|
.timeline {
|
|
.timeline {
|
|
|
&:before {
|
|
&:before {
|
|
|
- border-left-color: var(--color-timeline-thread);
|
|
|
|
|
|
|
+ border-left-color: var(--color-weight-200);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.entry-body {
|
|
.entry-body {
|
|
|
max-height: initial;
|
|
max-height: initial;
|
|
|
|
|
+ @media screen and (min-width: $breakpoint-small) {
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .featured-entry {
|
|
|
|
|
+ width: 100%;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.entry {
|
|
.entry {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
|
|
+
|
|
|
|
|
+ &:not(.collapsed):hover {
|
|
|
|
|
+ background-color: var(--color-table-row-hover-bg);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.timeline {
|
|
.timeline {
|
|
|
- border-inline-start: 2px solid var(--color-timeline-thread);
|
|
|
|
|
|
|
+ border-inline-start: 2px solid var(--color-weight-200);
|
|
|
padding-bottom: 8px;
|
|
padding-bottom: 8px;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
|
|
@@ -27,21 +41,23 @@
|
|
|
width: 2px;
|
|
width: 2px;
|
|
|
height: 32px;
|
|
height: 32px;
|
|
|
left: -2px;
|
|
left: -2px;
|
|
|
- border-inline-start: 2px solid var(--color-timeline-thread);
|
|
|
|
|
|
|
+ border-inline-start: 2px solid var(--color-weight-200);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
&:after {
|
|
&:after {
|
|
|
content: '';
|
|
content: '';
|
|
|
display: block;
|
|
display: block;
|
|
|
border-radius: 50%;
|
|
border-radius: 50%;
|
|
|
width: 8px;
|
|
width: 8px;
|
|
|
height: 8px;
|
|
height: 8px;
|
|
|
- background-color: var(--color-component-bg-200);
|
|
|
|
|
- border: 1px solid var(--color-component-border-300);
|
|
|
|
|
|
|
+ background-color: var(--color-weight-100);
|
|
|
|
|
+ border: 1px solid var(--color-weight-300);
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
left: -5px;
|
|
left: -5px;
|
|
|
- top: 32px;
|
|
|
|
|
|
|
+ top: 42%;
|
|
|
transition: top 0.2s;
|
|
transition: top 0.2s;
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
|
|
+ outline: 2px solid var(--color-card-bg);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.custom-icon {
|
|
.custom-icon {
|
|
@@ -49,24 +65,29 @@
|
|
|
width: 32px;
|
|
width: 32px;
|
|
|
height: 32px;
|
|
height: 32px;
|
|
|
left: -17px;
|
|
left: -17px;
|
|
|
- top: 32px;
|
|
|
|
|
|
|
+ top: 30%;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
justify-content: center;
|
|
|
border-radius: 50%;
|
|
border-radius: 50%;
|
|
|
color: var(--color-primary-700);
|
|
color: var(--color-primary-700);
|
|
|
- background-color: var(--color-component-bg-100);
|
|
|
|
|
- border: 1px solid var(--color-component-border-200);
|
|
|
|
|
|
|
+ background-color: var(--color-weight-100);
|
|
|
|
|
+ border: 1px solid var(--color-weight-200);
|
|
|
|
|
+ outline: 7px solid var(--color-card-bg);
|
|
|
|
|
+ padding: 6px;
|
|
|
display: none;
|
|
display: none;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.entry.has-custom-icon {
|
|
.entry.has-custom-icon {
|
|
|
.timeline:after {
|
|
.timeline:after {
|
|
|
display: none;
|
|
display: none;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.custom-icon {
|
|
.custom-icon {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.entry.last {
|
|
.entry.last {
|
|
|
.timeline {
|
|
.timeline {
|
|
|
border-left-color: transparent;
|
|
border-left-color: transparent;
|
|
@@ -74,8 +95,9 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.entry-body {
|
|
.entry-body {
|
|
|
|
|
+ font-size: var(--font-size-xs);
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
- padding-top: 24px;
|
|
|
|
|
|
|
+ padding: 16px 0;
|
|
|
padding-inline-start: 12px;
|
|
padding-inline-start: 12px;
|
|
|
line-height: 16px;
|
|
line-height: 16px;
|
|
|
margin-inline-start: 12px;
|
|
margin-inline-start: 12px;
|
|
@@ -83,14 +105,26 @@
|
|
|
overflow: visible;
|
|
overflow: visible;
|
|
|
max-height: 100px;
|
|
max-height: 100px;
|
|
|
transition: max-height 0.2s, padding-top 0.2s, opacity 0.2s 0.2s;
|
|
transition: max-height 0.2s, padding-top 0.2s, opacity 0.2s 0.2s;
|
|
|
|
|
+ @media screen and (min-width: $breakpoint-small) {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ gap: var(--space-unit);
|
|
|
|
|
+ flex-direction: row-reverse;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ padding-inline-end: var(--space-unit);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.featured-entry ::ng-deep {
|
|
.featured-entry ::ng-deep {
|
|
|
.title {
|
|
.title {
|
|
|
color: var(--color-text-100);
|
|
color: var(--color-text-100);
|
|
|
- font-size: 16px;
|
|
|
|
|
|
|
+ font-size: var(--font-size-sm);
|
|
|
line-height: 26px;
|
|
line-height: 26px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: var(--space-unit);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.note-text {
|
|
.note-text {
|
|
|
color: var(--color-text-100);
|
|
color: var(--color-text-100);
|
|
|
white-space: pre-wrap;
|
|
white-space: pre-wrap;
|
|
@@ -99,26 +133,27 @@
|
|
|
|
|
|
|
|
.detail {
|
|
.detail {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
|
|
+ gap: 12px;
|
|
|
color: var(--color-text-300);
|
|
color: var(--color-text-300);
|
|
|
- font-size: 12px;
|
|
|
|
|
- .time {
|
|
|
|
|
- }
|
|
|
|
|
- .name {
|
|
|
|
|
- margin-inline-start: 12px;
|
|
|
|
|
|
|
+ font-size: var(--font-size-xs);
|
|
|
|
|
+ @media screen and (min-width: $breakpoint-small) {
|
|
|
|
|
+ flex-direction: row-reverse;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
.muted {
|
|
.muted {
|
|
|
- .timeline, .timeline .custom-icon {
|
|
|
|
|
|
|
+ .timeline,
|
|
|
|
|
+ .timeline .custom-icon {
|
|
|
color: var(--color-text-300);
|
|
color: var(--color-text-300);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.success {
|
|
.success {
|
|
|
- .timeline, .timeline .custom-icon {
|
|
|
|
|
|
|
+ .timeline,
|
|
|
|
|
+ .timeline .custom-icon {
|
|
|
color: var(--color-success-700);
|
|
color: var(--color-success-700);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.timeline:after {
|
|
.timeline:after {
|
|
|
background-color: var(--color-success-200);
|
|
background-color: var(--color-success-200);
|
|
|
border: 1px solid var(--color-success-400);
|
|
border: 1px solid var(--color-success-400);
|
|
@@ -126,9 +161,11 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.error {
|
|
.error {
|
|
|
- .timeline, .timeline .custom-icon {
|
|
|
|
|
|
|
+ .timeline,
|
|
|
|
|
+ .timeline .custom-icon {
|
|
|
color: var(--color-error-700);
|
|
color: var(--color-error-700);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.timeline:after {
|
|
.timeline:after {
|
|
|
background-color: var(--color-error-200);
|
|
background-color: var(--color-error-200);
|
|
|
border: 1px solid var(--color-error-400);
|
|
border: 1px solid var(--color-error-400);
|
|
@@ -136,12 +173,14 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.warning {
|
|
.warning {
|
|
|
- .timeline, .timeline .custom-icon {
|
|
|
|
|
|
|
+ .timeline,
|
|
|
|
|
+ .timeline .custom-icon {
|
|
|
color: var(--color-warning-700);
|
|
color: var(--color-warning-700);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.timeline:after {
|
|
.timeline:after {
|
|
|
background-color: var(--color-warning-200);
|
|
background-color: var(--color-warning-200);
|
|
|
- border: 1px solid var(--color-warning-400);
|
|
|
|
|
|
|
+ border: 1px solid var(--color-warning-600);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -150,11 +189,13 @@
|
|
|
max-height: 0;
|
|
max-height: 0;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
opacity: 0;
|
|
opacity: 0;
|
|
|
- padding-top: 0;
|
|
|
|
|
|
|
+ padding: 0;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.timeline {
|
|
.timeline {
|
|
|
border-left-color: transparent;
|
|
border-left-color: transparent;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.timeline:after {
|
|
.timeline:after {
|
|
|
top: 0;
|
|
top: 0;
|
|
|
}
|
|
}
|