Skip to content

Commit e258bec

Browse files
author
Kevin Nadro
committed
fixing css
1 parent 63f02ed commit e258bec

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

css/stylesheet.css

+5
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ button {
6363
.btn:hover,
6464
button:hover {
6565
background: rgba(0, 0, 0, .15);
66+
border-bottom: 0px solid #505050;
6667
}
6768

6869
.btn.active,
@@ -90,6 +91,10 @@ button input {
9091
border: none;
9192
}
9293

94+
.tab_button{
95+
border-bottom: 1px solid #505050;
96+
}
97+
9398
.divider {
9499
position: absolute !important;
95100
z-index: 3;

index.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ <h3>
117117
<div class="workspace">
118118
<div class="viewer_container">
119119
<section class="tab_bar">
120-
<button id="btn_doc" data-target="#tab_doc">Tracer API</button>
121-
<button class="active" id="btn_desc" data-target="#tab_desc">Description</button>
122-
<button id="btn_trace" data-target="#tab_module">Trace</button>
120+
<button class="tab_button" id="btn_doc" data-target="#tab_doc">Tracer API</button>
121+
<button class="tab_button active" id="btn_desc" data-target="#tab_desc">Description</button>
122+
<button class="tab_button" id="btn_trace" data-target="#tab_module">Trace</button>
123123
</section>
124124
<section class="tab_container">
125125
<div class="tab" id="tab_doc">
@@ -136,8 +136,8 @@ <h3>
136136
</div>
137137
<div class="editor_container">
138138
<section class="files_bar">
139-
<button class="btn-left"><i class="fa fa-angle-left" aria-hidden="true"></i></button>
140-
<button class="btn-right"><i class="fa fa-angle-right" aria-hidden="true"></i></button>
139+
<button class="tab_button btn-left"><i class="fa fa-angle-left" aria-hidden="true"></i></button>
140+
<button class="tab_button btn-right"><i class="fa fa-angle-right" aria-hidden="true"></i></button>
141141
<div class="wrapper"></div>
142142
</section>
143143
<section class="explanation_container">

js/dom/add_files.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ module.exports = (category, algorithm, files, requestedFile) => {
2424

2525
each(files, (file, explanation) => {
2626
var $file = addFileToDOM(category, algorithm, file, explanation);
27+
$file.addClass('tab_button');
2728
if (requestedFile && requestedFile == file) $file.click();
2829
});
2930

3031
if (!requestedFile) $('.files_bar > .wrapper > button').first().click();
3132
$('.files_bar > .wrapper').scroll();
32-
};
33+
};

0 commit comments

Comments
 (0)