Rebuild css and js

This commit is contained in:
James Cole
2023-07-23 08:31:41 +02:00
parent 64414edf58
commit 68da1a7039
12 changed files with 129 additions and 80 deletions
+54
View File
@@ -15308,6 +15308,60 @@ html.maximized-card {
margin: 10px 0;
}
.lockscreen .lockscreen-name {
font-weight: 600;
text-align: center;
}
.lockscreen .lockscreen-logo {
margin-bottom: 25px;
font-size: 35px;
font-weight: 300;
text-align: center;
}
.lockscreen .lockscreen-logo a {
color: var(--bs-emphasis-color);
}
.lockscreen .lockscreen-wrapper {
max-width: 400px;
margin: 0 auto;
margin-top: 10%;
}
.lockscreen .lockscreen-item {
position: relative;
width: 290px;
padding: 0;
margin: 10px auto 30px;
background-color: var(--bs-body-bg);
border-radius: 4px;
}
.lockscreen .lockscreen-image {
position: absolute;
top: -25px;
left: -10px;
z-index: 10;
padding: 5px;
background-color: var(--bs-body-bg);
border-radius: 50%;
}
.lockscreen .lockscreen-image > img {
border-radius: 50%;
width: 70px;
height: 70px;
}
.lockscreen .lockscreen-credentials {
margin-left: 70px;
}
.lockscreen .lockscreen-credentials .form-control {
border: 0;
}
.lockscreen .lockscreen-credentials .btn {
padding: 0 10px;
border: 0;
}
.lockscreen .lockscreen-footer {
margin-top: 10px;
}
.img-size-64,
.img-size-50,
.img-size-32 {
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+54
View File
@@ -15273,6 +15273,60 @@ html.maximized-card {
margin: 10px 0;
}
.lockscreen .lockscreen-name {
font-weight: 600;
text-align: center;
}
.lockscreen .lockscreen-logo {
margin-bottom: 25px;
font-size: 35px;
font-weight: 300;
text-align: center;
}
.lockscreen .lockscreen-logo a {
color: var(--bs-emphasis-color);
}
.lockscreen .lockscreen-wrapper {
max-width: 400px;
margin: 0 auto;
margin-top: 10%;
}
.lockscreen .lockscreen-item {
position: relative;
width: 290px;
padding: 0;
margin: 10px auto 30px;
background-color: var(--bs-body-bg);
border-radius: 4px;
}
.lockscreen .lockscreen-image {
position: absolute;
top: -25px;
right: -10px;
z-index: 10;
padding: 5px;
background-color: var(--bs-body-bg);
border-radius: 50%;
}
.lockscreen .lockscreen-image > img {
border-radius: 50%;
width: 70px;
height: 70px;
}
.lockscreen .lockscreen-credentials {
margin-right: 70px;
}
.lockscreen .lockscreen-credentials .form-control {
border: 0;
}
.lockscreen .lockscreen-credentials .btn {
padding: 0 10px;
border: 0;
}
.lockscreen .lockscreen-footer {
margin-top: 10px;
}
.img-size-64,
.img-size-50,
.img-size-32 {
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+12 -71
View File
@@ -136,10 +136,10 @@
* Constants
* ------------------------------------------------------------------------
*/
const DATA_KEY$3 = 'lte.push-menu';
const EVENT_KEY$3 = `.${DATA_KEY$3}`;
const EVENT_OPEN = `open${EVENT_KEY$3}`;
const EVENT_COLLAPSE = `collapse${EVENT_KEY$3}`;
const DATA_KEY$2 = 'lte.push-menu';
const EVENT_KEY$2 = `.${DATA_KEY$2}`;
const EVENT_OPEN = `open${EVENT_KEY$2}`;
const EVENT_COLLAPSE = `collapse${EVENT_KEY$2}`;
const CLASS_NAME_SIDEBAR_MINI = 'sidebar-mini';
const CLASS_NAME_SIDEBAR_COLLAPSE = 'sidebar-collapse';
const CLASS_NAME_SIDEBAR_OPEN = 'sidebar-open';
@@ -282,16 +282,16 @@
* ------------------------------------------------------------------------
*/
// const NAME = 'Treeview'
const DATA_KEY$2 = 'lte.treeview';
const EVENT_KEY$2 = `.${DATA_KEY$2}`;
const EVENT_EXPANDED$2 = `expanded${EVENT_KEY$2}`;
const EVENT_COLLAPSED$2 = `collapsed${EVENT_KEY$2}`;
const DATA_KEY$1 = 'lte.treeview';
const EVENT_KEY$1 = `.${DATA_KEY$1}`;
const EVENT_EXPANDED$1 = `expanded${EVENT_KEY$1}`;
const EVENT_COLLAPSED$1 = `collapsed${EVENT_KEY$1}`;
// const EVENT_LOAD_DATA_API = `load${EVENT_KEY}`
const CLASS_NAME_MENU_OPEN = 'menu-open';
const SELECTOR_NAV_ITEM = '.nav-item';
const SELECTOR_NAV_LINK = '.nav-link';
const SELECTOR_TREEVIEW_MENU = '.nav-treeview';
const SELECTOR_DATA_TOGGLE$1 = '[data-lte-toggle="treeview"]';
const SELECTOR_DATA_TOGGLE = '[data-lte-toggle="treeview"]';
const Default$1 = {
animationSpeed: 300
};
@@ -306,7 +306,7 @@
}
open() {
var _a;
const event = new Event(EVENT_EXPANDED$2);
const event = new Event(EVENT_EXPANDED$1);
this._element.classList.add(CLASS_NAME_MENU_OPEN);
const childElement = (_a = this._element) === null || _a === void 0 ? void 0 : _a.querySelector(SELECTOR_TREEVIEW_MENU);
if (childElement) {
@@ -316,7 +316,7 @@
}
close() {
var _a;
const event = new Event(EVENT_COLLAPSED$2);
const event = new Event(EVENT_COLLAPSED$1);
this._element.classList.remove(CLASS_NAME_MENU_OPEN);
const childElement = (_a = this._element) === null || _a === void 0 ? void 0 : _a.querySelector(SELECTOR_TREEVIEW_MENU);
if (childElement) {
@@ -339,7 +339,7 @@
* ------------------------------------------------------------------------
*/
onDOMContentLoaded(() => {
const button = document.querySelectorAll(SELECTOR_DATA_TOGGLE$1);
const button = document.querySelectorAll(SELECTOR_DATA_TOGGLE);
button.forEach(btn => {
btn.addEventListener('click', event => {
const target = event.target;
@@ -356,64 +356,6 @@
});
});
/**
* --------------------------------------------
* AdminLTE direct-chat.ts
* License MIT
* --------------------------------------------
*/
/**
* Constants
* ====================================================
*/
const DATA_KEY$1 = 'lte.direct-chat';
const EVENT_KEY$1 = `.${DATA_KEY$1}`;
const EVENT_EXPANDED$1 = `expanded${EVENT_KEY$1}`;
const EVENT_COLLAPSED$1 = `collapsed${EVENT_KEY$1}`;
const SELECTOR_DATA_TOGGLE = '[data-lte-toggle="chat-pane"]';
const SELECTOR_DIRECT_CHAT = '.direct-chat';
const CLASS_NAME_DIRECT_CHAT_OPEN = 'direct-chat-contacts-open';
/**
* Class Definition
* ====================================================
*/
class DirectChat {
constructor(element) {
this._element = element;
}
toggle() {
if (this._element.classList.contains(CLASS_NAME_DIRECT_CHAT_OPEN)) {
const event = new Event(EVENT_COLLAPSED$1);
this._element.classList.remove(CLASS_NAME_DIRECT_CHAT_OPEN);
this._element.dispatchEvent(event);
}
else {
const event = new Event(EVENT_EXPANDED$1);
this._element.classList.add(CLASS_NAME_DIRECT_CHAT_OPEN);
this._element.dispatchEvent(event);
}
}
}
/**
*
* Data Api implementation
* ====================================================
*/
onDOMContentLoaded(() => {
const button = document.querySelectorAll(SELECTOR_DATA_TOGGLE);
button.forEach(btn => {
btn.addEventListener('click', event => {
event.preventDefault();
const target = event.target;
const chatPane = target.closest(SELECTOR_DIRECT_CHAT);
if (chatPane) {
const data = new DirectChat(chatPane);
data.toggle();
}
});
});
});
/**
* --------------------------------------------
* AdminLTE card-widget.ts
@@ -604,7 +546,6 @@
});
exports.CardWidget = CardWidget;
exports.DirectChat = DirectChat;
exports.Layout = Layout;
exports.PushMenu = PushMenu;
exports.Treeview = Treeview;
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long