snappymail/dev/Styles/_BootstrapFix.less

452 lines
6.8 KiB
Text
Raw Normal View History

body {
background-color: transparent;
}
label {
cursor: pointer;
}
label.inline, span.inline {
2014-05-05 04:36:48 +08:00
display: inline-block;
}
.close-custom {
.close;
}
button.close-custom {
padding: 0;
cursor: pointer;
background: transparent;
border: 0;
-webkit-appearance: none;
}
.minimize-custom {
border: 0px solid #333;
border-bottom-width: 3px;
display: inline-block;
float: right;
height: 20px;
width: 16px;
font-size: 20px;
font-weight: bold;
line-height: 20px;
margin-right: 15px;
cursor: pointer;
}
.legend {
display: block;
width: 100%;
padding: 0;
margin-bottom: @baseLineHeight;
font-size: @baseFontSize * 1.5;
line-height: @baseLineHeight * 2;
color: @grayDark;
border: 0;
border-bottom: 1px solid #e5e5e5;
small {
font-size: @baseLineHeight * .75;
color: @grayLight;
};
}
.legend + .control-group {
margin-top: @baseLineHeight;
-webkit-margin-top-collapse: separate;
}
.input-append input, .input-append select, .input-append .uneditable-input {
.border-radius(3px);
}
select {
width: 223px;
}
2015-07-30 02:13:49 +08:00
.btn .svg-icon {
vertical-align: middle;
}
.btn-small.btn-small-small {
padding: 3px 9px;
font-size: 11px;
line-height: 11px;
}
.btn.btn-thin {
2015-02-21 22:08:09 +08:00
padding: 4px 9px;
}
2016-05-03 04:42:29 +08:00
.btn.btn-thin-2 {
padding: 4px 7px;
}
2016-04-29 04:32:54 +08:00
.btn.btn-nowrap {
white-space: nowrap;
}
.btn.btn-ellipsis {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
2016-04-30 04:28:02 +08:00
.btn.btn-transparent {
background: none !important;
border-color: transparent !important;
text-shadow: none !important;
box-shadow: none !important;
opacity: .6;
[class^="icon-"] {
width: 19px;
height: 19px;
line-height: 20px;
font-size: 19px;
}
&:hover {
opacity: 1;
}
}
.btn-group.open .btn.btn-transparent.dropdown-toggle {
color: #BD362F;
.caret {
border-top-color: #BD362F;
}
[class^="icon-"]:before {
color: #BD362F;
}
}
.btn.btn-narrow {
padding-left: 12px;
padding-right: 12px;
}
2014-03-20 06:39:36 +08:00
.btn-group.btn-group-custom-margin > .btn + .btn {
margin-left: 0px;
}
2015-01-09 07:31:31 +08:00
.btn.btn-large {
font-size: 17px;
}
.dropdown-menu {
2014-08-28 23:27:30 +08:00
border-radius: @btnBorderRadius;
}
.btn-group + .btn-group {
margin-left: 3px;
}
.btn {
2015-03-16 05:58:50 +08:00
border-radius: @btnBorderRadius;
background-image: none;
padding-left: 13px;
padding-right: 13px;
&.disabled, &[disabled] {
2016-08-09 03:54:54 +08:00
opacity: 0.8;
2014-08-28 23:27:30 +08:00
box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
}
2014-04-24 00:09:56 +08:00
border-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.25);
// &:active {
// .box-shadow(~"inset 0 2px 4px rgba(0,0,0,.3), 0 0 0 rgba(0,0,0,.1)");
// }
2016-05-11 03:52:40 +08:00
html.textshadow &{
text-shadow: 0 1px 0 #fff;
&.btn-danger, &.btn-success, &.btn-primary, &.btn-warning {
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}
}
}
.btn.btn-dark-disabled-border {
&.disabled, &[disabled] {
border-color: #aaa;
}
}
//.btn-group.open {
// .dropdown-toggle {
// .box-shadow(~"inset 0 2px 4px rgba(0,0,0,.3), 0 0 0 rgba(0,0,0,.1)");
// }
//}
2016-04-29 04:32:54 +08:00
.btn.btn-success {
2016-05-11 03:52:40 +08:00
background-color: #84AB04;
2016-04-29 04:32:54 +08:00
}
.btn-toolbar {
margin-top: 0;
margin-bottom: 0;
}
.dropdown-menu {
2014-08-28 23:27:30 +08:00
border-radius: 0;
box-shadow: 0px 1px 2px rgba(0,0,0,0.2);
}
.tooltip {
font-size: 14px;
z-index: 2000 !important;
overflow: hidden;
text-overflow: ellipsis;
&.in {
2014-08-28 23:27:30 +08:00
opacity: 1;
}
.tooltip-inner {
max-width: 380px;
text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
padding: 5px 10px;
2014-08-28 23:27:30 +08:00
border-radius: 2px;
overflow: hidden;
text-overflow: ellipsis;
}
.tooltip-big {
font-size: 18px;
padding: 0 10px;
white-space: nowrap;
}
}
.popover {
width: auto;
min-width: 250px;
max-width: 550px;
.popover-content pre {
border: none;
background: rgba(0, 0, 0, 0);
padding: 0;
2016-05-23 01:34:07 +08:00
word-break: normal;
}
}
2015-03-16 05:58:50 +08:00
.btn-group > .btn {
border-radius: 0 !important;
}
2015-03-16 05:58:50 +08:00
.btn-group > .btn.single {
border-radius: @btnBorderRadius !important;
}
2015-03-16 05:58:50 +08:00
.btn-group > .btn.first {
border-top-left-radius: @btnBorderRadius !important;
border-bottom-left-radius: @btnBorderRadius !important;
}
2015-03-16 05:58:50 +08:00
.btn-group > .btn.last {
border-top-right-radius: @btnBorderRadius !important;
border-bottom-right-radius: @btnBorderRadius !important;
}
2016-05-11 04:22:56 +08:00
.btn-group + .btn-group {
margin-left: 0;
}
.btn-group {
margin-right: 3px;
}
.btn-group.btn-group-last {
margin-right: 0;
}
.dropdown.colored-toggle.open .btn.dropdown-toggle {
color: #BD362F;
.caret {
border-top-color: #BD362F;
}
[class^="icon-"]:before {
color: #BD362F;
}
}
textarea, input[type="text"], input[type="password"], input[type="email"], input[type="search"] {
border: @rlInputBorderSize solid @inputBorder;
&:focus {
background-color: #fff;
border: @rlInputBorderSize solid darken(@inputBorder, 20%);
2014-08-28 23:27:30 +08:00
box-shadow: none;
}
}
2013-11-19 06:37:57 +08:00
input[type="text"], input[type="password"], input[type="email"], input[type="search"] {
height: @baseLineHeight - (@rlInputBorderSize - 1) * 2;
line-height: @baseLineHeight - (@rlInputBorderSize - 1) * 2;
}
select {
border: @rlInputBorderSize solid @inputBorder;
}
2013-11-19 06:37:57 +08:00
.alert a {
text-decoration: underline;
}
.alert.alert-null-left-margin {
margin-left: 0;
}
2013-11-19 06:37:57 +08:00
2014-10-24 01:59:21 +08:00
.alert a {
color: #c09853;
}
.alert.alert-info a {
color: #3a87ad;
}
.alert.alert-error a {
color: #b94a48;
}
.nav-tabs > li > a {
color: #555;
}
.popover {
z-index: 2000;
}
html.no-rgba .modal {
border-width: 0px !important;
}
.modal-backdrop, .modal-backdrop.fade.in {
2015-02-03 07:58:58 +08:00
.opacity(20);
transform: none;
}
.popups {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: 1100;
overflow: auto;
// -webkit-overflow-scrolling: touch;
.modal {
position: static;
z-index: 1101;
margin: 5% auto;
background-color: transparent;
overflow: hidden;
.modal-body {
background-color: #fff;
max-height: none;
}
2014-08-28 23:27:30 +08:00
box-shadow: 0 5px 80px rgba(0,0,0,0.3);
}
}
2013-12-28 22:11:19 +08:00
.modal.fade {
.transition(none);
top: 0;
}
.modal.fade.in {
top: 0;
}
2015-02-16 05:55:59 +08:00
.modal-backdrop {
.g-ui-user-select-none();
}
.modal.loginContent .modal-body, .modal.loginAdminContent .modal-body {
background-color: transparent !important;
}
.picker.modal-dialog-bg, .picker.picker-dialog-bg {
z-index: 2000 !important;
}
.picker.modal-dialog, .picker.picker-dialog {
z-index: 2001 !important;
}
2014-04-19 07:41:10 +08:00
.form-horizontal.long-label .control-group {
.control-label {
width: 160px;
}
.controls {
margin-left: 180px;
}
}
.control-label.remove-padding-top {
padding-top: 0;
}
2016-05-01 09:07:10 +08:00
html.rl-mobile {
.popups .modal {
width: 100% !important;
width: calc(~'100% - 20px') !important;
}
.b-settings-content {
padding: 10px;
padding-left: 20px;
}
.list-table {
width: 100%;
max-width: 100%;
}
.form-horizontal {
.control-group {
.control-label {
text-align: left;
float: none;
}
.controls {
margin-left: 0;
}
}
}
2016-05-03 04:42:29 +08:00
}
.close-input-wrp {
display: inline-block;
position: relative;
input {
padding-right: 15px;
}
.close {
position: absolute;
right: 0;
top: 5px;
margin: 0 7px;
z-index: 100;
vertical-align: middle;
opacity: .4;
&:hover {
opacity: .6;
}
}
2016-05-01 09:07:10 +08:00
}