Skip to content

Commit 37f6c6e

Browse files
committed
fix tab pagination
1 parent 07420b9 commit 37f6c6e

File tree

3 files changed

+31
-24
lines changed

3 files changed

+31
-24
lines changed

css/stylesheet.css

+24-18
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ button:not([disabled]):hover {
6363
button.active {
6464
background: rgb(38, 38, 38);
6565
}
66+
6667
.btn input,
6768
button input {
6869
outline: none;
@@ -88,7 +89,6 @@ nav {
8889
height: 30px;
8990
width: 100%;
9091
padding: 0 16px;
91-
box-shadow: 0px 0px 3px 1px black;
9292
}
9393

9494
nav h3 {
@@ -153,7 +153,7 @@ button.indent {
153153
}
154154

155155
.algorithms {
156-
box-shadow: inset 0 2px 2px rgba(0,0,0,0.36),inset 0 -2px 2px rgba(0,0,0,0.24);
156+
box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.36), inset 0 -2px 2px rgba(0, 0, 0, 0.24);
157157
}
158158

159159
.algorithms.collapse {
@@ -261,24 +261,26 @@ section {
261261

262262
.tab_bar button,
263263
.files_bar button {
264-
height: 29px;
265-
float: left;
266-
position: relative;
267-
border-top-left-radius: 3px;
268-
border-top-right-radius: 3px;
264+
height: 29px;
265+
border-top-left-radius: 3px;
266+
border-top-right-radius: 3px;
269267
}
270268

271269
.tab_bar button.active,
272270
.files_bar button.active {
273-
border: 1px solid #505050;
274-
border-bottom: none;
271+
border: 1px solid #505050;
272+
border-bottom: none;
275273
}
276274

277275
.files_bar {
278276
height: 30px;
279277
border-bottom: 1px solid #505050;
280278
}
281279

280+
.files_bar > * {
281+
position: absolute;
282+
}
283+
282284
.files_bar > button {
283285
width: 30px;
284286
}
@@ -287,12 +289,12 @@ section {
287289
background: rgba(0, 0, 0, .15);
288290
}
289291

290-
.files_bar .btn-right {
291-
float: right;
292+
.files_bar .btn-left {
293+
left: 0;
292294
}
293295

294-
.files_bar .btn-left {
295-
float: left;
296+
.files_bar .btn-right {
297+
right: 0;
296298
}
297299

298300
.files_bar > .wrapper {
@@ -557,7 +559,7 @@ button[disabled] {
557559
}
558560

559561
.executing {
560-
background: rgba(0, 174, 255, 0.4);
562+
background: rgba(0, 174, 255, 0.4);
561563
border: 1px solid #0091ea;
562564
position: absolute;
563565
width: 100% !important;
@@ -567,11 +569,15 @@ button[disabled] {
567569
}
568570

569571
@keyframes line_highlight {
570-
from { background: rgba(0, 174, 255, 0.1); }
571-
to { background: rgba(0, 174, 255, 0.4); }
572+
from {
573+
background: rgba(0, 174, 255, 0.1);
574+
}
575+
to {
576+
background: rgba(0, 174, 255, 0.4);
577+
}
572578
}
573579

574580
.ace_editor {
575-
border-left: none;
576-
border-bottom: none;
581+
border-left: none;
582+
border-bottom: none;
577583
}

public/algorithm_visualizer.css

+6-5
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ nav {
208208
height: 30px;
209209
width: 100%;
210210
padding: 0 16px;
211-
box-shadow: 0px 0px 3px 1px black;
212211
}
213212

214213
nav h3 {
@@ -382,8 +381,6 @@ section {
382381
.tab_bar button,
383382
.files_bar button {
384383
height: 29px;
385-
float: left;
386-
position: relative;
387384
border-top-left-radius: 3px;
388385
border-top-right-radius: 3px;
389386
}
@@ -399,6 +396,10 @@ section {
399396
border-bottom: 1px solid #505050;
400397
}
401398

399+
.files_bar > * {
400+
position: absolute;
401+
}
402+
402403
.files_bar > button {
403404
width: 30px;
404405
}
@@ -408,11 +409,11 @@ section {
408409
}
409410

410411
.files_bar .btn-right {
411-
float: right;
412+
right: 0;
412413
}
413414

414415
.files_bar .btn-left {
415-
float: left;
416+
left: 0;
416417
}
417418

418419
.files_bar > .wrapper {

public/algorithm_visualizer.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)