Skip to content

Commit

Permalink
Lista de iPhones atualizada até iPhone 12
Browse files Browse the repository at this point in the history
  • Loading branch information
brendonmm committed May 9, 2024
1 parent e912620 commit a3b88ac
Show file tree
Hide file tree
Showing 6 changed files with 427 additions and 57 deletions.
2 changes: 2 additions & 0 deletions assets/scripts/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ function getDevice() {
buffer += "<tr class=\"com-suporte\">";
} else if (dispositivo[b].status === 'sem-suporte') {
buffer += "<tr class=\"sem-suporte\">";
} else if (dispositivo[b].status === 'vintage') {
buffer += "<tr class=\"vintage\">";
} else if (dispositivo[b].status === 'obsoleto') {
buffer += "<tr class=\"obsoleto\">";
} else {
Expand Down
2 changes: 1 addition & 1 deletion assets/scripts/script.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions assets/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ pre {
background-color: #804f4f;
}

.vintage td,
.vintage td:first-child {
color: #3c3c3c!important;
background-color: #fdd;
}

.obsoleto td,
.obsoleto td:first-child {
color: #fff;
Expand Down Expand Up @@ -168,6 +174,10 @@ pre {
background-color: #804f4f;
}

.alert .span-vintage {
background-color: #fdd;
}

.alert .span-obsoleto {
color: #fff;
background-color: #3c3c3c;
Expand Down
Loading

0 comments on commit a3b88ac

Please sign in to comment.