fix border
This commit is contained in:
parent
2aeac63a60
commit
d3b76ef24b
6 changed files with 9 additions and 4 deletions
|
|
@ -7089,6 +7089,7 @@ function GenerateInnerHTML(db) {
|
||||||
function PageSwitchTab(clickedButton) {
|
function PageSwitchTab(clickedButton) {
|
||||||
var sectionList = document.querySelectorAll(".large-section");
|
var sectionList = document.querySelectorAll(".large-section");
|
||||||
var buttonList = document.querySelectorAll(".tab-switch");
|
var buttonList = document.querySelectorAll(".tab-switch");
|
||||||
|
/* Make Active Tab Visible */
|
||||||
|
|
||||||
for (var i = 0, length = sectionList.length; i < length; i++) {
|
for (var i = 0, length = sectionList.length; i < length; i++) {
|
||||||
/* Other tabs except the clicked one */
|
/* Other tabs except the clicked one */
|
||||||
|
|
@ -7104,6 +7105,8 @@ function PageSwitchTab(clickedButton) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/* Make Active Button stand out */
|
||||||
|
|
||||||
|
|
||||||
for (var _i5 = 0, _length = buttonList.length; _i5 < _length; _i5++) {
|
for (var _i5 = 0, _length = buttonList.length; _i5 < _length; _i5++) {
|
||||||
/* Other buttons except the clicked one */
|
/* Other buttons except the clicked one */
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -487,7 +487,7 @@ input[type="file"] {
|
||||||
.tab-active {
|
.tab-active {
|
||||||
background-color: rgb(0, 180, 156);
|
background-color: rgb(0, 180, 156);
|
||||||
color: rgb(0, 0, 0);
|
color: rgb(0, 0, 0);
|
||||||
border: 2px solid rgb(0, 180, 156);
|
border: 2px solid rgba(0, 180, 156, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-switch:focus {
|
.tab-switch:focus {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -379,7 +379,7 @@ input[type="file"] {
|
||||||
.tab-active {
|
.tab-active {
|
||||||
background-color: rgb(0, 180, 156);
|
background-color: rgb(0, 180, 156);
|
||||||
color: rgb(0, 0, 0);
|
color: rgb(0, 0, 0);
|
||||||
border: 2px solid rgb(0, 180, 156);
|
border: 2px solid rgba(0, 180, 156, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-switch:focus {
|
.tab-switch:focus {
|
||||||
|
|
|
||||||
|
|
@ -611,6 +611,7 @@ function PageSwitchTab(clickedButton) {
|
||||||
let sectionList = document.querySelectorAll(".large-section");
|
let sectionList = document.querySelectorAll(".large-section");
|
||||||
let buttonList = document.querySelectorAll(".tab-switch");
|
let buttonList = document.querySelectorAll(".tab-switch");
|
||||||
|
|
||||||
|
/* Make Active Tab Visible */
|
||||||
for (let i = 0, length = sectionList.length; i < length; i++) {
|
for (let i = 0, length = sectionList.length; i < length; i++) {
|
||||||
|
|
||||||
/* Other tabs except the clicked one */
|
/* Other tabs except the clicked one */
|
||||||
|
|
@ -629,6 +630,7 @@ function PageSwitchTab(clickedButton) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Make Active Button stand out */
|
||||||
for (let i = 0, length = buttonList.length; i < length; i++) {
|
for (let i = 0, length = buttonList.length; i < length; i++) {
|
||||||
|
|
||||||
/* Other buttons except the clicked one */
|
/* Other buttons except the clicked one */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue