Show warning icons in tabs (#260)

* Add unstyled warning to onion tab

* Style the warning icon

* Add warning for http3

* Add warning icon to global security tab

* Surface warnings for domains

* Show warning icon for duplicate domains

* Improve http3 warning string names

* Show warning message/icon for Brotli
This commit is contained in:
Matt (IPv4) Cowley
2021-05-13 15:28:17 +01:00
committed by GitHub
parent fe5f2b234d
commit 27d090daeb
22 changed files with 172 additions and 79 deletions

View File

@@ -53,6 +53,10 @@ THE SOFTWARE.
&.has-margin-top {
margin-top: .75rem;
}
&.has-small-margin-top {
margin-top: .25rem;
}
}
> p {

View File

@@ -97,17 +97,24 @@ THE SOFTWARE.
}
i {
font-size: .75em;
margin: 0;
}
}
// Handle having the remove icon as well as the add icon
i {
font-size: .75em;
// Add domain button
&.fa-plus {
font-size: .75em;
margin: 0 .35rem 0 0;
}
// Warning icon
&.fa-exclamation-triangle {
color: $warning-hover;
font-size: .9em;
margin: 0 0 .1rem .35rem;
}
}
}
}