Skip to content

Commit

Permalink
Merge pull request #2095 from pi-hole/fix_warning_triangle
Browse files Browse the repository at this point in the history
Adjusting the notification icon
  • Loading branch information
rdwebdesign authored Jan 23, 2022
2 parents 903c40e + e8807fb commit a302e9f
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 15 deletions.
35 changes: 20 additions & 15 deletions style/pi-hole.css
Original file line number Diff line number Diff line change
Expand Up @@ -475,12 +475,6 @@ td.details-control {
right: 12px;
}

.icon-bounce {
display: inline-block;
position: relative;
animation: icon-bounce 1.5s 2 linear;
}

/* Fix some datatables layout on small screens */
@media screen and (max-width: 660px), screen and (min-width: 767px) and (max-width: 960px) {
#domainsTable_wrapper .table-responsive {
Expand Down Expand Up @@ -560,23 +554,34 @@ td.details-control {
}
}

.icon-bounce {
display: inline-block;
position: relative;
animation: icon-bounce 2.4s 3 ease-in-out;
font-size: 1.6em;
}

@keyframes icon-bounce {
0%,
20%,
15%,
50%,
70%,
90%,
100% {
transform: translateY(0);
}
40% {
transform: translateY(-15px);
25% {
transform: translateY(-5px);
}
60% {
transform: translateY(-8px);
30% {
transform: translateY(4px);
}
35% {
transform: translateY(-3px);
}
40% {
transform: translateY(2px);
}
80% {
transform: translateY(-4px);
45% {
transform: translateY(-1px);
}
}

Expand Down
1 change: 1 addition & 0 deletions style/themes/default-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ h4 {
.main-header .navbar .nav > li > a,
.main-header .navbar .nav > li > .navbar-text {
color: #bec5cb;
max-height: 50px;
}
.main-header .navbar .nav > li > a:hover,
.main-header .navbar .nav > li > a:active,
Expand Down
1 change: 1 addition & 0 deletions style/themes/default-darker.css
Original file line number Diff line number Diff line change
Expand Up @@ -5456,6 +5456,7 @@ link-muted {
.main-header .navbar .nav > li > a,
.main-header .navbar .nav > li > .navbar-text {
color: rgb(232, 230, 227);
max-height: 50px;
}
.main-header .navbar .nav > li > a:hover,
.main-header .navbar .nav > li > a:active,
Expand Down
1 change: 1 addition & 0 deletions style/themes/default-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
.main-header .navbar .nav > li > a,
.main-header .navbar .nav > li > .navbar-text {
color: #fff;
max-height: 50px;
}
.main-header .navbar .nav > li > a:hover,
.main-header .navbar .nav > li > a:active,
Expand Down

0 comments on commit a302e9f

Please sign in to comment.