Skip to content

Commit 23c65ac

Browse files
authored
docs: minor UI update for drag reset button
2 parents 2561063 + df8e710 commit 23c65ac

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

docs/app/examples/drag-example/drag-example.component.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@
1616
/>
1717
</div>
1818

19-
<div class="reset-link pointer" (click)="reset()">Reset</div>
19+
<div class="pointer" (click)="reset()">
20+
<span class="reset-link"> <i class="toppy-icon icon-repeat"></i> Reset</span>
21+
</div>

docs/styles/_temp.scss

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,14 @@ strong {
8787
color: clr('dark');
8888
}
8989

90+
.reset-link {
91+
display: inline-block;
92+
background: #dcdfec;
93+
color: #83869a;
94+
padding: 2px 10px;
95+
border-radius: 3px;
96+
}
97+
9098
.pointer {
9199
cursor: pointer;
92100
}
@@ -107,9 +115,10 @@ td em {
107115
font-size: 1.1rem;
108116
}
109117
.desc span {
110-
color: clr('yellow');
118+
color: #3be1ff;
111119
position: relative;
112120
font-size: 0.95rem;
121+
font-weight: 700;
113122
&:before {
114123
content: '#';
115124
}
@@ -150,7 +159,9 @@ td em {
150159
top: 0;
151160
width: 100%;
152161
height: 100%;
153-
opacity: 0.1;
162+
// opacity: 0.1;
163+
background-color: #8bc6ec;
164+
background-image: linear-gradient(160deg, #7d61af 0%, #3f51b5 100%);
154165
}
155166
}
156167
}

0 commit comments

Comments
 (0)