Skip to content

Commit

Permalink
cleaned/monotonized zmi dtmls
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr. Frank Hoffmann authored and Dr. Frank Hoffmann committed Jun 18, 2018
1 parent b55817b commit 30e5d88
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 18 deletions.
46 changes: 31 additions & 15 deletions src/zmi/styles/resources/zmi_base.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,7 @@ a:hover {
input.btn.btn-primary:hover {
background-color:#e9ecef !important;
}
.zmi .breadcrumb {
background:none !important;
margin-bottom:0.85rem;
}

.zmi {
background-color:#fcfcfc;
}
Expand Down Expand Up @@ -120,21 +117,33 @@ form.zmi-upload {
}


.breadcrumb .breadcrumb-item.meta_type {
padding-right: .25rem;
/* BREADCRUMB NAV */

/* Remove default delimiter */
.breadcrumb .breadcrumb-item+.breadcrumb-item::before {
content: none;
}
.breadcrumb .breadcrumb-item a:hover {
color: #007bff !important;
.zmi .breadcrumb {
background:none !important;
margin-bottom:0.85rem;
}
.breadcrumb .breadcrumb-item a:hover strong[title='Root Folder']{
text-shadow: 0 0 5px #007bff !important;
.zmi .breadcrumb li.breadcrumb-item {
padding: 0 .2rem;
}
.breadcrumb .breadcrumb-item+.breadcrumb-item {
padding-left: .25rem;
.zmi .breadcrumb li.breadcrumb-item.meta_type {
padding-left: 0;
}
.breadcrumb .breadcrumb-item+.breadcrumb-item::before {
content: none;
.zmi .breadcrumb li.breadcrumb-item,
.zmi .breadcrumb li.breadcrumb-item.meta_type:hover{
border:1px solid transparent;
}
.zmi .breadcrumb li.breadcrumb-item:hover {
border:1px solid #c0c0c080;
}
.zmi .breadcrumb .breadcrumb-item a:hover {
color: #007bff !important;
}

/* MAIN / OBJECTLIST */


Expand Down Expand Up @@ -577,8 +586,13 @@ header select.form-control-sm {
border: 0;
border-radius: 0;
}
header a:hover,
header select.form-control-sm:not([disabled="disabled"]):hover {
color:#e8e8e8;
}
header select.form-control-sm:focus {
outline-color:transparent;
color:#e8e8e8;
}

/* MODAL DIALOG */
Expand All @@ -590,7 +604,9 @@ header select.form-control-sm:focus {
#zmi-modal i.zmi-help-icon.active {
color:#007bff;
}

p.form-help {
margin-bottom:2rem;
}
#zmi-modal p.form-help {
padding: 1rem;
border: 1px solid #ced4da;
Expand Down
7 changes: 4 additions & 3 deletions src/zmi/styles/resources/zmi_base.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ function addItem( elm, url1 ) {

// List of Object Types Inserting Without Form GUI
var no_form_types = [
'manage_addVirtualHostMonster',
'manage_addRegistry'
'manage_addRegistry',
'manage_addUserFolder',
'manage_addVirtualHostMonster'
]

if ( $.inArray(add_type, no_form_types) < 0 ) {
Expand All @@ -39,7 +40,7 @@ function addItem( elm, url1 ) {
$('#zmi-modal .modal-body p.form-help').remove();
$('#zmi-modal .modal-body').prepend('<p class="form-help">' + help_text +'</p>');
}
$('#zmi-modal .modal-body p.form-help').before('<i title="Help" class="zmi-help-icon fas fa-question-circle" onclick="$(\'.form-help\').toggle();$(this).toggleClass(\'active\')"></i>');
$('#zmi-modal .modal-body p.form-help').before('<i title="Help" class="zmi-help-icon fas fa-question-circle" onclick="$(\'#zmi-modal .form-help\').toggle();$(this).toggleClass(\'active\')"></i>');
$('#zmi-modal .modal-body p.form-help').hide();
});
// Clean up Modal DOM on Close
Expand Down

0 comments on commit 30e5d88

Please sign in to comment.