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.

bootstrap: Remove bootstrap-btn file and refs.

Karl Stolley26c7fc856404
diff --git a/docs/THIRDPARTY b/docs/THIRDPARTY
index d7dc4497940..bc6e012c1d5 100644
--- a/docs/THIRDPARTY
+++ b/docs/THIRDPARTY
@@ -722,10 +722,6 @@ Copyright: 2012 Twitter, Inc.
License: Apache-2.0
Comment: The software has been modified.
-Files: web/third/bootstrap/css/bootstrap-btn.css
-Copyright: 2011-2014 Twitter, Inc.
-License: Expat
-
Files: web/src/bootstrap_typeahead.ts
Copyright: 2012 Twitter, Inc.
License: Apache-2.0
diff --git a/web/src/bundles/app.ts b/web/src/bundles/app.ts
index f38681cea98..6d9eeb0632a 100644
--- a/web/src/bundles/app.ts
+++ b/web/src/bundles/app.ts
@@ -20,7 +20,6 @@ import "katex/dist/katex.css";
import "flatpickr/dist/flatpickr.css";
import "flatpickr/dist/plugins/confirmDate/confirmDate.css";
import "../../third/bootstrap/css/bootstrap.app.css";
-import "../../third/bootstrap/css/bootstrap-btn.css";
import "../../styles/typeahead.css";
import "../../styles/app_variables.css";
import "../../styles/tooltips.css";
diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.css
index 412a177cb53..1db4f8711aa 100644
--- a/web/styles/subscriptions.css
+++ b/web/styles/subscriptions.css
@@ -16,10 +16,6 @@
overflow-wrap: break-word;
}
-.subscription_settings .bootstrap-btn {
- border-radius: 2px;
-}
-
.stream-email {
display: flex;
justify-content: space-between;
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 562a874ea92..009036f1a0a 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -727,12 +727,6 @@ li,
line-height: inherit;
}
-.bootstrap-btn {
- font-size: inherit;
- height: auto;
- line-height: 100%;
-}
-
/* Classes which style copy buttons */
.copy_button_base {
outline-color: hsl(0deg 0% 73%);
diff --git a/web/third/bootstrap/css/bootstrap-btn.css b/web/third/bootstrap/css/bootstrap-btn.css
deleted file mode 100644
index 76b1ab5a014..00000000000
--- a/web/third/bootstrap/css/bootstrap-btn.css
+++ /dev/null
@@ -1,79 +0,0 @@
-/*!
- Software from "Bootstrap" is Copyright (c) 2011-2014 Twitter, Inc. and is provided
- under the following license (the Bootstrap software has been modified):
- --
-The MIT License (MIT)
-
-Copyright (c) 2011-2014 Twitter, Inc
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
- */
-
-/*!
- * Bootstrap v3.1.1 (http://getbootstrap.com)
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */
-
-.bootstrap-btn {
- display: inline-block;
- padding: 6px 12px;
- margin-bottom: 0;
- font-size: 14px;
- font-weight: normal;
- line-height: 1.42857143;
- text-align: center;
- white-space: nowrap;
- vertical-align: middle;
- cursor: pointer;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- background-image: none;
- border: 1px solid transparent;
- border-radius: 0px;
-}
-.bootstrap-btn:focus,
-.bootstrap-btn:active:focus,
-.bootstrap-btn.active:focus {
- outline: thin dotted;
- outline: 5px auto -webkit-focus-ring-color;
- outline-offset: -2px;
-}
-.bootstrap-btn:hover,
-.bootstrap-btn:focus {
- color: #333;
- text-decoration: none;
-}
-.bootstrap-btn:active,
-.bootstrap-btn.active {
- background-image: none;
- outline: 0;
- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
-}
-.bootstrap-btn.disabled,
-.bootstrap-btn[disabled] {
- pointer-events: none;
- cursor: not-allowed;
- -webkit-box-shadow: none;
- box-shadow: none;
- opacity: .65;
-}