Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

css: Remove unused boostrap nav-header styles.

Tim Abbottf04b54ff4743
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index 86bcc195ddd..c114393849c 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -848,8 +848,7 @@
color: inherit;
}
- .nav-list > li > a,
- .nav-list .nav-header {
+ .nav-list > li > a {
text-shadow: none;
}
diff --git a/web/styles/portico/portico.css b/web/styles/portico/portico.css
index 06899759e45..3e36a795198 100644
--- a/web/styles/portico/portico.css
+++ b/web/styles/portico/portico.css
@@ -485,12 +485,6 @@ input.text-error {
& a i {
margin-right: 5px;
}
-
- &.nav-header {
- background-color: transparent;
- cursor: default;
- font-size: 14px;
- }
}
&.dropdown-list {
diff --git a/web/third/bootstrap/css/bootstrap.css b/web/third/bootstrap/css/bootstrap.css
index 2e319d10152..7d127640beb 100644
--- a/web/third/bootstrap/css/bootstrap.css
+++ b/web/third/bootstrap/css/bootstrap.css
@@ -297,26 +297,12 @@ input:focus:invalid:focus {
.nav > li > a > img {
max-width: none;
}
-.nav-header {
- display: block;
- padding: 3px 15px;
- font-size: 11px;
- font-weight: bold;
- line-height: 20px;
- color: #999999;
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
- text-transform: uppercase;
-}
-.nav li + .nav-header {
- margin-top: 9px;
-}
.nav-list {
padding-left: 15px;
padding-right: 15px;
margin-bottom: 0;
}
-.nav-list > li > a,
-.nav-list .nav-header {
+.nav-list > li > a {
margin-left: -15px;
margin-right: -15px;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
@@ -545,10 +531,6 @@ input:focus:invalid:focus {
bottom: 100%;
margin-bottom: 1px;
}
-.dropdown .dropdown-menu .nav-header {
- padding-left: 20px;
- padding-right: 20px;
-}
.typeahead {
z-index: 1051;
margin-top: 2px;