mirror of https://github.com/zulip/zulip.git
364 lines
8.5 KiB
CSS
364 lines
8.5 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],
|
|
fieldset[disabled] .btn {
|
|
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],
|
|
fieldset[disabled] .btn-default,
|
|
.btn-default.disabled:hover,
|
|
.btn-default[disabled]:hover,
|
|
fieldset[disabled] .btn-default:hover,
|
|
.btn-default.disabled:focus,
|
|
.btn-default[disabled]:focus,
|
|
fieldset[disabled] .btn-default:focus,
|
|
.btn-default.disabled:active,
|
|
.btn-default[disabled]:active,
|
|
fieldset[disabled] .btn-default:active,
|
|
.btn-default.disabled.active,
|
|
.btn-default[disabled].active,
|
|
fieldset[disabled] .btn-default.active {
|
|
background-color: #fff;
|
|
border-color: #ccc;
|
|
}
|
|
.btn-default .badge {
|
|
color: #fff;
|
|
background-color: #333;
|
|
}
|
|
.btn-primary {
|
|
color: #fff;
|
|
background-color: #428bca;
|
|
border-color: #357ebd;
|
|
}
|
|
.btn-primary:hover,
|
|
.btn-primary:focus,
|
|
.btn-primary:active,
|
|
.btn-primary.active,
|
|
.open .dropdown-toggle.btn-primary {
|
|
color: #fff;
|
|
background-color: #3276b1;
|
|
border-color: #285e8e;
|
|
}
|
|
.btn-primary:active,
|
|
.btn-primary.active,
|
|
.open .dropdown-toggle.btn-primary {
|
|
background-image: none;
|
|
}
|
|
.btn-primary.disabled,
|
|
.btn-primary[disabled],
|
|
fieldset[disabled] .btn-primary,
|
|
.btn-primary.disabled:hover,
|
|
.btn-primary[disabled]:hover,
|
|
fieldset[disabled] .btn-primary:hover,
|
|
.btn-primary.disabled:focus,
|
|
.btn-primary[disabled]:focus,
|
|
fieldset[disabled] .btn-primary:focus,
|
|
.btn-primary.disabled:active,
|
|
.btn-primary[disabled]:active,
|
|
fieldset[disabled] .btn-primary:active,
|
|
.btn-primary.disabled.active,
|
|
.btn-primary[disabled].active,
|
|
fieldset[disabled] .btn-primary.active {
|
|
background-color: #428bca;
|
|
border-color: #357ebd;
|
|
}
|
|
.btn-primary .badge {
|
|
color: #428bca;
|
|
background-color: #fff;
|
|
}
|
|
.btn-success {
|
|
color: #fff;
|
|
background-color: #5cb85c;
|
|
border-color: #4cae4c;
|
|
}
|
|
.btn-success:hover,
|
|
.btn-success:focus,
|
|
.btn-success:active,
|
|
.btn-success.active,
|
|
.open .dropdown-toggle.btn-success {
|
|
color: #fff;
|
|
background-color: #47a447;
|
|
border-color: #398439;
|
|
}
|
|
.btn-success:active,
|
|
.btn-success.active,
|
|
.open .dropdown-toggle.btn-success {
|
|
background-image: none;
|
|
}
|
|
.btn-success.disabled,
|
|
.btn-success[disabled],
|
|
fieldset[disabled] .btn-success,
|
|
.btn-success.disabled:hover,
|
|
.btn-success[disabled]:hover,
|
|
fieldset[disabled] .btn-success:hover,
|
|
.btn-success.disabled:focus,
|
|
.btn-success[disabled]:focus,
|
|
fieldset[disabled] .btn-success:focus,
|
|
.btn-success.disabled:active,
|
|
.btn-success[disabled]:active,
|
|
fieldset[disabled] .btn-success:active,
|
|
.btn-success.disabled.active,
|
|
.btn-success[disabled].active,
|
|
fieldset[disabled] .btn-success.active {
|
|
background-color: #5cb85c;
|
|
border-color: #4cae4c;
|
|
}
|
|
.btn-success .badge {
|
|
color: #5cb85c;
|
|
background-color: #fff;
|
|
}
|
|
.btn-info {
|
|
color: #fff;
|
|
background-color: #5bc0de;
|
|
border-color: #46b8da;
|
|
}
|
|
.btn-info:hover,
|
|
.btn-info:focus,
|
|
.btn-info:active {
|
|
color: #fff;
|
|
background-color: #39b3d7;
|
|
border-color: #269abc;
|
|
}
|
|
.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],
|
|
fieldset[disabled] .btn-warning,
|
|
.btn-warning.disabled:hover,
|
|
.btn-warning[disabled]:hover,
|
|
fieldset[disabled] .btn-warning:hover,
|
|
.btn-warning.disabled:focus,
|
|
.btn-warning[disabled]:focus,
|
|
fieldset[disabled] .btn-warning:focus,
|
|
.btn-warning.disabled:active,
|
|
.btn-warning[disabled]:active,
|
|
fieldset[disabled] .btn-warning:active,
|
|
.btn-warning.disabled.active,
|
|
.btn-warning[disabled].active,
|
|
fieldset[disabled] .btn-warning.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],
|
|
fieldset[disabled] .btn-danger,
|
|
.btn-danger.disabled:hover,
|
|
.btn-danger[disabled]:hover,
|
|
fieldset[disabled] .btn-danger:hover,
|
|
.btn-danger.disabled:focus,
|
|
.btn-danger[disabled]:focus,
|
|
fieldset[disabled] .btn-danger:focus,
|
|
.btn-danger.disabled:active,
|
|
.btn-danger[disabled]:active,
|
|
fieldset[disabled] .btn-danger:active,
|
|
.btn-danger.disabled.active,
|
|
.btn-danger[disabled].active,
|
|
fieldset[disabled] .btn-danger.active {
|
|
background-color: #d9534f;
|
|
border-color: #d43f3a;
|
|
}
|
|
.btn-danger .badge {
|
|
color: #d9534f;
|
|
background-color: #fff;
|
|
}
|
|
.btn-link {
|
|
font-weight: normal;
|
|
color: #428bca;
|
|
cursor: pointer;
|
|
border-radius: 0;
|
|
}
|
|
.btn-link,
|
|
.btn-link:active,
|
|
.btn-link[disabled],
|
|
fieldset[disabled] .btn-link {
|
|
background-color: transparent;
|
|
-webkit-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
.btn-link,
|
|
.btn-link:hover,
|
|
.btn-link:focus,
|
|
.btn-link:active {
|
|
border-color: transparent;
|
|
}
|
|
.btn-link:hover,
|
|
.btn-link:focus {
|
|
color: #2a6496;
|
|
text-decoration: underline;
|
|
background-color: transparent;
|
|
}
|
|
.btn-link[disabled]:hover,
|
|
fieldset[disabled] .btn-link:hover,
|
|
.btn-link[disabled]:focus,
|
|
fieldset[disabled] .btn-link:focus {
|
|
color: #999;
|
|
text-decoration: none;
|
|
}
|
|
.btn-large,
|
|
.btn-group-large > .btn {
|
|
padding: 10px 16px;
|
|
font-size: 18px;
|
|
line-height: 1.33;
|
|
border-radius: 0px;
|
|
}
|
|
.btn-small,
|
|
.btn-group-small > .btn {
|
|
padding: 5px 10px;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
border-radius: 0px;
|
|
}
|
|
.btn-mini,
|
|
.btn-group-mini > .btn {
|
|
padding: 1px 5px;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
border-radius: 0px;
|
|
}
|
|
.btn-block {
|
|
display: block;
|
|
width: 100%;
|
|
padding-right: 0;
|
|
padding-left: 0;
|
|
}
|
|
.btn-block + .btn-block {
|
|
margin-top: 5px;
|
|
}
|
|
input[type="submit"].btn-block {
|
|
width: 100%;
|
|
}
|