Skip to content

Commit 9b93713

Browse files
committed
imroved top nav display and files bar
1 parent bbe271e commit 9b93713

File tree

4 files changed

+22
-12
lines changed

4 files changed

+22
-12
lines changed

css/stylesheet.css

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ nav {
8888
height: 30px;
8989
width: 100%;
9090
padding: 0 16px;
91+
box-shadow: 0px 0px 3px 1px black;
9192
}
9293

9394
nav h3 {
@@ -274,15 +275,19 @@ section {
274275
border-bottom: 1px solid #505050;
275276
}
276277

277-
.files_bar > * {
278-
position: absolute;
279-
height: 100%
278+
.files_bar button {
279+
height: 29px;
280+
float: left;
281+
position: relative;
282+
}
283+
284+
.files_bar button.active {
285+
border: 1px solid #505050;
286+
border-bottom: none;
280287
}
281288

282289
.files_bar > button {
283290
width: 30px;
284-
float: left;
285-
position: relative;
286291
}
287292

288293
.files_bar > button:disabled {

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ <h3>
117117
<div class="editor_container">
118118
<section class="files_bar">
119119
<button class="btn-left"><i class="fa fa-angle-left" aria-hidden="true"></i></button>
120-
<div class="wrapper"></div>
121120
<button class="btn-right"><i class="fa fa-angle-right" aria-hidden="true"></i></button>
121+
<div class="wrapper"></div>
122122
</section>
123123
<section class="explanation_container">
124124
<span id="explanation"></span>

public/algorithm_visualizer.css

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ nav {
208208
height: 30px;
209209
width: 100%;
210210
padding: 0 16px;
211+
box-shadow: 0px 0px 3px 1px black;
211212
}
212213

213214
nav h3 {
@@ -394,15 +395,19 @@ section {
394395
border-bottom: 1px solid #505050;
395396
}
396397

397-
.files_bar > * {
398-
position: absolute;
399-
height: 100%
398+
.files_bar button {
399+
height: 29px;
400+
float: left;
401+
position: relative;
402+
}
403+
404+
.files_bar button.active {
405+
border: 1px solid #505050;
406+
border-bottom: none;
400407
}
401408

402409
.files_bar > button {
403410
width: 30px;
404-
float: left;
405-
position: relative;
406411
}
407412

408413
.files_bar > button:disabled {

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)