X Tutup
Skip to content

Commit d68e211

Browse files
committed
Added width of the pause/resume btn so its always the same
1 parent 47e7320 commit d68e211

File tree

4 files changed

+32
-8
lines changed

4 files changed

+32
-8
lines changed

css/stylesheet.css

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ nav h3 {
107107
display: none;
108108
}
109109

110-
.buttons {
110+
.top-menu-buttons {
111111
float: right;
112112
height: 100%;
113113
}
@@ -501,11 +501,11 @@ input[type=number]::-webkit-outer-spin-button {
501501
font-weight: bold;
502502
}
503503

504-
.buttons button.active {
504+
.top-menu-buttons button.active {
505505
font-weight: bold;
506506
}
507507

508-
.buttons button.active .fa {
508+
.top-menu-buttons button.active .fa {
509509
color: #00e676;
510510
}
511511

@@ -521,3 +521,15 @@ button[disabled] {
521521
cursor: not-allowed;
522522
opacity: 0.6;
523523
}
524+
525+
#btn_pause {
526+
width: 86px;
527+
}
528+
529+
.top-menu-buttons button.active {
530+
box-shadow: 0px 0px 3px 0px black inset;
531+
}
532+
533+
.top-menu-buttons button:active {
534+
box-shadow: 0px 0px 3px 0px black inset;
535+
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h3>
3131
<i class="fa fa-caret-up nav-dropdown" aria-hidden="true"></i>
3232
</h3>
3333
</button>
34-
<div class="buttons">
34+
<div class="top-menu-buttons">
3535
<div class="btn" id="btn_share">
3636
<div class="wrapper">
3737
<i class="fa fa-share" aria-hidden="true"></i> Share <input type="text" class="collapse" id="shared">

public/algorithm_visualizer.css

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ nav h3 {
224224
display: none;
225225
}
226226

227-
.buttons {
227+
.top-menu-buttons {
228228
float: right;
229229
height: 100%;
230230
}
@@ -630,11 +630,11 @@ input[type=number]::-webkit-outer-spin-button {
630630
font-weight: bold;
631631
}
632632

633-
.buttons button.active {
633+
.top-menu-buttons button.active {
634634
font-weight: bold;
635635
}
636636

637-
.buttons button.active .fa {
637+
.top-menu-buttons button.active .fa {
638638
color: #00e676;
639639
}
640640

@@ -650,3 +650,15 @@ button[disabled] {
650650
cursor: not-allowed;
651651
opacity: 0.6;
652652
}
653+
654+
#btn_pause {
655+
width: 86px;
656+
}
657+
658+
.top-menu-buttons button.active {
659+
box-shadow: 0px 0px 3px 0px black inset;
660+
}
661+
662+
.top-menu-buttons button:active {
663+
box-shadow: 0px 0px 3px 0px black inset;
664+
}

public/algorithm_visualizer.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
X Tutup