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.

activity: Re-add bootstrap CSS for inputs in realm details page.

Sahil Batra0454be5d260d
diff --git a/web/styles/portico/activity.css b/web/styles/portico/activity.css
index 17ca7fad9de..d3f60f719fc 100644
--- a/web/styles/portico/activity.css
+++ b/web/styles/portico/activity.css
@@ -75,6 +75,20 @@ tr.admin td:first-child {
& input {
width: 206px;
+ padding: 4px 6px;
+ border-radius: 4px;
+ border: 1px solid hsl(0deg 0% 80%);
+ color: hsl(0deg 0% 33%);
+ margin-bottom: 10px;
+ transition: border linear 0.2s, box-shadow linear 0.2s;
+ box-shadow: inset 0 1px 1px hsla(0deg 0% 0% / 7.5%);
+
+ &:focus {
+ border-color: hsl(206deg 80% 62% / 80%);
+ outline: 0;
+ box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%),
+ 0 0 8px hsl(206.494deg 80% 62% / 60%);
+ }
}
}
@@ -92,23 +106,6 @@ tr.admin td:first-child {
.support-discount-form {
position: relative;
top: -50px;
-
- & input {
- padding: 4px 6px;
- border-radius: 4px;
- border: 1px solid hsl(0deg 0% 80%);
- color: hsl(0deg 0% 33%);
- margin-bottom: 10px;
- transition: border linear 0.2s, box-shadow linear 0.2s;
- box-shadow: inset 0 1px 1px hsla(0deg 0 0 / 7.5%);
-
- &:focus {
- border-color: hsl(206deg 80% 62% / 80%);
- outline: 0;
- box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%),
- 0 0 8px hsl(206.494deg 80% 62% / 60%);
- }
- }
}
.support-plan-type-form {
@@ -164,6 +161,20 @@ tr.admin td:first-child {
.search-query.input-xxlarge {
width: 530px;
+ padding: 4px 14px;
+ margin-bottom: 0;
+ border-radius: 15px;
+ border: 1px solid hsl(0deg 0% 80%);
+ box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%);
+ transition: border linear 0.2s, box-shadow linear 0.2s;
+ color: hsl(0deg 0% 33%);
+
+ &:focus {
+ border-color: hsl(206deg 80% 62% / 80%);
+ outline: 0;
+ box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%),
+ 0 0 8px hsl(206.494deg 80% 62% / 60%);
+ }
}
@media (width <= 767px) {
diff --git a/web/third/bootstrap/css/bootstrap.css b/web/third/bootstrap/css/bootstrap.css
index b17771e5fba..d87f6646c64 100644
--- a/web/third/bootstrap/css/bootstrap.css
+++ b/web/third/bootstrap/css/bootstrap.css
@@ -540,14 +540,6 @@ input:focus:invalid:focus {
-moz-border-radius: 0 4px 4px 0;
border-radius: 0 4px 4px 0;
}
-input.search-query {
- padding-right: 14px;
- padding-left: 14px;
- margin-bottom: 0;
- -webkit-border-radius: 15px;
- -moz-border-radius: 15px;
- border-radius: 15px;
-}
.form-inline input,
.form-inline .help-inline,
.form-inline .input-append {