mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 03:29:20 +03:00
Cleanup bootstrap
This commit is contained in:
parent
1802dda136
commit
eb5fb5342e
34 changed files with 192 additions and 3044 deletions
9
dev/External/ko.js
vendored
9
dev/External/ko.js
vendored
|
|
@ -119,13 +119,8 @@ ko.bindingHandlers.dropdownCloser = {
|
|||
|
||||
ko.bindingHandlers.popover = {
|
||||
init: (element, fValueAccessor) => {
|
||||
console.log('TODO: $(element).popover removed', element, fValueAccessor);
|
||||
/*
|
||||
$(element).popover(ko.unwrap(fValueAccessor()));
|
||||
ko.utils.domNodeDisposal.addDisposeCallback(element, () => {
|
||||
$(element).popover('destroy');
|
||||
});
|
||||
*/
|
||||
const conf = ko.unwrap(fValueAccessor());
|
||||
element.title = conf.content; // conf.title
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -198,45 +198,6 @@ select {
|
|||
box-shadow: 0px 1px 2px rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
.tooltip {
|
||||
font-size: 14px;
|
||||
z-index: 2000 !important;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
&.show {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.tooltip-inner {
|
||||
max-width: 380px;
|
||||
text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
|
||||
padding: 5px 10px;
|
||||
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;
|
||||
word-break: normal;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-group > .btn {
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
|
|
@ -322,10 +283,6 @@ select {
|
|||
color: #555;
|
||||
}
|
||||
|
||||
.popover {
|
||||
z-index: 2000;
|
||||
}
|
||||
|
||||
html.no-rgba .modal {
|
||||
border-width: 0px !important;
|
||||
}
|
||||
|
|
@ -364,12 +321,7 @@ html.no-rgba .modal {
|
|||
}
|
||||
|
||||
.modal.fade {
|
||||
.transition(none);
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.modal.fade.show {
|
||||
top: 0;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.modal-backdrop {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue