Skip to content

Commit 6e29518

Browse files
committed
fix designs of the single item link
1 parent bcc34fb commit 6e29518

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Est",
3-
"version": "0.4.1",
3+
"version": "0.4.2",
44
"description": "Estimate your day better",
55
"homepage": "https://insert.black",
66
"repository": "https://github.com/drecodeam/stors",

src/app/components/home/home.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
[class.active]="item.id === currentTaskID"
4444
[class.complete] = "!!item.isComplete"
4545
>
46-
<div class="item-title">{{ item.name }}</div>
46+
<div class="item-title">{{ item.displayTime}} | {{ item.name }}</div>
4747
<div class="item-toolbar">
4848
<div class="toolbar-item" *ngIf="!item.isComplete" (click)="markItemComplete(item)">
4949
<i class="ion ion-ios-checkmark-circle"></i>
@@ -77,13 +77,13 @@
7777
</div>
7878
</div>
7979
<div class="item-time" *ngIf="!item.isComplete && !item.isTicked">
80-
{{ item.displayTime }} left
80+
<!-- {{ item.displayTime }} left -->
8181
</div>
82-
<div
82+
<!-- <div
8383
class="item-progress-bar-ghost"
8484
*ngIf="!item.isComplete"
8585
[style.width.%]="100 - item.progress + 2"
86-
></div>
86+
></div> -->
8787

8888
<div
8989
class="item-progress-bar"

src/app/components/home/home.component.scss

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ $grey: #CDCDCD;
1616
position: relative;
1717
overflow: hidden;
1818
padding: 2rem;
19-
background: $haiti;
20-
background: linear-gradient(270deg, darken( #F97C24, 10%), darken( #D9497D, 10%));
19+
background: $mirage;
20+
// background: linear-gradient(270deg, darken( #F97C24, 10%), darken( #D9497D, 10%));
2121
.title {
2222
position: relative;
2323
overflow: hidden;
@@ -153,13 +153,12 @@ $grey: #CDCDCD;
153153
position: absolute;
154154
transition: 0.4s all ease-in-out;
155155
height: 2px;
156-
bottom: 2rem;
156+
bottom: 2px;
157157
margin-bottom: -2px;
158158
vertical-align: middle;
159159
background: linear-gradient(270deg, darken( #F97C24, 10%), darken( #D9497D, 10%));;
160160
width: 100%;
161161
display: none;
162-
border-radius: 50%;
163162
}
164163
.item-progress-bar-ghost {
165164
position: absolute;
@@ -238,7 +237,7 @@ $grey: #CDCDCD;
238237
opacity: 1;
239238
background: white;
240239
border: 1px solid rgba( white, 0.01 );
241-
padding-bottom: 3rem;
240+
// padding-bottom: 3rem;
242241
background: black;
243242
.item-progress-bar {
244243
display: block;

src/styles.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ body {
99

1010
body {
1111
background: #000000;
12-
background: #0c0c0c;
13-
background: #141414;
12+
// background: #0c0c0c;
13+
// background: #141414;
1414
}
1515

1616
* {

0 commit comments

Comments
 (0)