mirror of
https://github.com/humhub/humhub.git
synced 2025-04-21 23:52:04 +02:00
Renamed base widgets
This commit is contained in:
parent
2841d6372a
commit
6d054c58c5
8
js/jquery-ui-core-int.min.js
vendored
Normal file
8
js/jquery-ui-core-int.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
51
js/panelMenu.js
Normal file
51
js/panelMenu.js
Normal file
@ -0,0 +1,51 @@
|
||||
/**
|
||||
* Collapse panel
|
||||
*/
|
||||
function togglePanelUp($id) {
|
||||
$('#' + $id + ' .panel-body').slideUp("fast", function () {
|
||||
// Animation complete.
|
||||
$('#' + $id + ' .panel-collapse').hide();
|
||||
$('#' + $id + ' .panel-expand').show();
|
||||
|
||||
$.cookie('pm_' + $id, 'collapsed', 5*365);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Expand panel
|
||||
*/
|
||||
function togglePanelDown($id) {
|
||||
$('#' + $id + ' .panel-body').slideDown("fast", function () {
|
||||
// Animation complete.
|
||||
$('#' + $id + ' .panel-expand').hide();
|
||||
$('#' + $id + ' .panel-collapse').show();
|
||||
|
||||
$.cookie('pm_' + $id, 'expanded', 5*365);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Check and change current panel state, if necessary
|
||||
*/
|
||||
function checkPanelMenuCookie($id) {
|
||||
|
||||
// check if cookie exists
|
||||
if ($.cookie('pm_' + $id) == undefined) {
|
||||
|
||||
// if not, create new cookie with current panel state
|
||||
$.cookie('pm_' + $id, 'expanded', 5*365);
|
||||
} else if ($.cookie('pm_' + $id) == 'collapsed') {
|
||||
|
||||
// collapse panel, if cookie is 'collapsed'
|
||||
$('#' + $id + ' .panel-body').css({
|
||||
overflow: 'hidden',
|
||||
display: 'none'
|
||||
});
|
||||
|
||||
// change menu to 'collapsed' state
|
||||
$('#' + $id + ' .panel-collapse').hide();
|
||||
$('#' + $id + ' .panel-expand').show();
|
||||
|
||||
}
|
||||
}
|
||||
|
76
resources/at/jquery.atwho.css
Normal file
76
resources/at/jquery.atwho.css
Normal file
@ -0,0 +1,76 @@
|
||||
.atwho-view {
|
||||
position:absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
display: none;
|
||||
margin-top: 18px;
|
||||
background: white;
|
||||
color: #555555;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
border: 1px solid #d7d7d7;
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: 0 6px 12px rgba(0,0,0,0.175);
|
||||
box-shadow: 0 6px 12px rgba(0,0,0,0.175);
|
||||
min-width: 120px;
|
||||
max-width: 265px;
|
||||
z-index: 11110 !important;
|
||||
padding: 5px 0;
|
||||
}
|
||||
|
||||
.atwho-view strong, .atwho-view b {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.atwho-view ul li.hint {
|
||||
background: #fff !important;
|
||||
border-left: 3px solid transparent !important;
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.atwho-view .cur small {
|
||||
color: red;
|
||||
}
|
||||
.atwho-view strong {
|
||||
background-color: #f9f0d2;
|
||||
}
|
||||
.atwho-view .cur strong {
|
||||
background-color: #f9f0d2;
|
||||
}
|
||||
|
||||
.atwho-view ul {
|
||||
/* width: 100px; */
|
||||
list-style:none;
|
||||
padding:0;
|
||||
margin:auto;
|
||||
}
|
||||
.atwho-view ul li {
|
||||
display: block;
|
||||
padding: 5px 10px;
|
||||
border-left: 3px solid transparent;
|
||||
padding: 4px 15px 4px 8px;
|
||||
cursor: pointer;
|
||||
/* border-top: 1px solid #C8C8C8; */
|
||||
}
|
||||
.atwho-view small {
|
||||
font-size: smaller;
|
||||
color: #777;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.atwho-input.form-control {
|
||||
min-height: 36px;
|
||||
height: auto;
|
||||
padding-right: 30px;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.atwho-input p {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.atwho-placeholder {
|
||||
color: #bebebe !important;
|
||||
}
|
6
resources/at/jquery.atwho.min.js
vendored
Normal file
6
resources/at/jquery.atwho.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
resources/at/jquery.caret.min.js
vendored
Executable file
2
resources/at/jquery.caret.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user