Skip to content

Commit 23c23a4

Browse files
committed
feat(API-1944): Add button component
1 parent e32fa21 commit 23c23a4

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

components/components.css

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,3 +318,37 @@ button {
318318
url("../dist/fonts/lato-bold-italic.woff2") format("woff2"),
319319
url("../dist/fonts/lato-bold-italic.woff") format("woff");
320320
}
321+
322+
.next-steps-button {
323+
width: 261px;
324+
height: 94px;
325+
padding-top: 5px; /* Fix font not centered */
326+
display: flex;
327+
justify-content: center;
328+
align-items: center;
329+
gap: 10px;
330+
331+
font-weight: 600;
332+
font-size: 24px;
333+
line-height: 29px;
334+
text-transform: uppercase;
335+
336+
background-color: #414D97;
337+
color: #F1F4F9;
338+
339+
box-shadow: 0px 0px 6px rgba(37, 38, 52, 0.5);
340+
border: none;
341+
border-radius: 57px;
342+
}
343+
.next-steps-button:hover {
344+
background-color: #2D366D;
345+
}
346+
347+
.next-steps-button-number {
348+
padding-top: 2px; /* Fix inability to align-item baseline */
349+
font-size: 63px;
350+
}
351+
352+
.next-steps-button-text {
353+
text-align: left;
354+
}

components/components.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,16 @@
8989

9090
<hr>
9191

92+
<button class="next-steps-button">
93+
<div class="next-steps-button-number">1</div>
94+
<div class="next-steps-button-text">
95+
Get your<br>
96+
App token
97+
</div>
98+
</button>
99+
100+
<hr>
101+
92102
<iframe src="./tile.html" onload="this.before((this.contentDocument.body||this.contentDocument).children[0]);this.remove()"></iframe>
93103

94104
</body>

0 commit comments

Comments
 (0)