mirror of
https://github.com/zulip/zulip.git
synced 2026-06-24 21:08:25 +08:00
We currently use btn-link class only in buttons used for changing email and password in account settings panel and for we already bootstrap CSS rules for those so we can safely remove the CSS rules in bootstrap-btn.css.
188 lines
4.6 KiB
CSS
188 lines
4.6 KiB
CSS
/*!
|
|
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)
|
|
*/
|
|
|
|
.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;
|
|
}
|
|
.btn:focus,
|
|
.btn:active:focus,
|
|
.btn.active:focus {
|
|
outline: thin dotted;
|
|
outline: 5px auto -webkit-focus-ring-color;
|
|
outline-offset: -2px;
|
|
}
|
|
.btn:hover,
|
|
.btn:focus {
|
|
color: #333;
|
|
text-decoration: none;
|
|
}
|
|
.btn:active,
|
|
.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);
|
|
}
|
|
.btn.disabled,
|
|
.btn[disabled] {
|
|
pointer-events: none;
|
|
cursor: not-allowed;
|
|
-webkit-box-shadow: none;
|
|
box-shadow: none;
|
|
opacity: .65;
|
|
}
|
|
.btn-default {
|
|
color: #333;
|
|
background-color: #fff;
|
|
border-color: #ccc;
|
|
}
|
|
.btn-default:hover,
|
|
.btn-default:focus,
|
|
.btn-default:active,
|
|
.btn-default.active,
|
|
.open .dropdown-toggle.btn-default {
|
|
color: #333;
|
|
background-color: #ebebeb;
|
|
border-color: #adadad;
|
|
}
|
|
.btn-default:active,
|
|
.btn-default.active,
|
|
.open .dropdown-toggle.btn-default {
|
|
background-image: none;
|
|
}
|
|
.btn-default.disabled,
|
|
.btn-default[disabled],
|
|
.btn-default.disabled:hover,
|
|
.btn-default[disabled]:hover,
|
|
.btn-default.disabled:focus,
|
|
.btn-default[disabled]:focus,
|
|
.btn-default.disabled:active,
|
|
.btn-default[disabled]:active,
|
|
.btn-default.disabled.active,
|
|
.btn-default[disabled].active {
|
|
background-color: #fff;
|
|
border-color: #ccc;
|
|
}
|
|
.btn-default .badge {
|
|
color: #fff;
|
|
background-color: #333;
|
|
}
|
|
.btn-warning {
|
|
color: #fff;
|
|
background-color: #f0ad4e;
|
|
border-color: #eea236;
|
|
}
|
|
.btn-warning:hover,
|
|
.btn-warning:focus,
|
|
.btn-warning:active,
|
|
.btn-warning.active,
|
|
.open .dropdown-toggle.btn-warning {
|
|
color: #fff;
|
|
background-color: #ed9c28;
|
|
border-color: #d58512;
|
|
}
|
|
.btn-warning:active,
|
|
.btn-warning.active,
|
|
.open .dropdown-toggle.btn-warning {
|
|
background-image: none;
|
|
}
|
|
.btn-warning.disabled,
|
|
.btn-warning[disabled],
|
|
.btn-warning.disabled:hover,
|
|
.btn-warning[disabled]:hover,
|
|
.btn-warning.disabled:focus,
|
|
.btn-warning[disabled]:focus,
|
|
.btn-warning.disabled:active,
|
|
.btn-warning[disabled]:active,
|
|
.btn-warning.disabled.active,
|
|
.btn-warning[disabled].active {
|
|
background-color: #f0ad4e;
|
|
border-color: #eea236;
|
|
}
|
|
.btn-warning .badge {
|
|
color: #f0ad4e;
|
|
background-color: #fff;
|
|
}
|
|
.btn-danger {
|
|
color: #fff;
|
|
background-color: #d9534f;
|
|
border-color: #d43f3a;
|
|
}
|
|
.btn-danger:hover,
|
|
.btn-danger:focus,
|
|
.btn-danger:active,
|
|
.btn-danger.active,
|
|
.open .dropdown-toggle.btn-danger {
|
|
color: #fff;
|
|
background-color: #d2322d;
|
|
border-color: #ac2925;
|
|
}
|
|
.btn-danger:active,
|
|
.btn-danger.active,
|
|
.open .dropdown-toggle.btn-danger {
|
|
background-image: none;
|
|
}
|
|
.btn-danger.disabled,
|
|
.btn-danger[disabled],
|
|
.btn-danger.disabled:hover,
|
|
.btn-danger[disabled]:hover,
|
|
.btn-danger.disabled:focus,
|
|
.btn-danger[disabled]:focus,
|
|
.btn-danger.disabled:active,
|
|
.btn-danger[disabled]:active,
|
|
.btn-danger.disabled.active,
|
|
.btn-danger[disabled].active {
|
|
background-color: #d9534f;
|
|
border-color: #d43f3a;
|
|
}
|
|
.btn-danger .badge {
|
|
color: #d9534f;
|
|
background-color: #fff;
|
|
}
|