fix: Remove unnecessary css

This commit is contained in:
Faris Ansari 2019-06-26 18:58:02 +05:30
parent f9db95551c
commit 91918b375d
3 changed files with 1 additions and 31 deletions

View file

@ -314,7 +314,7 @@ frappe.ui.Page = Class.extend({
}
$li = $(`<li><a class="grey-link dropdown-item" href="#" onClick="return false;">
<span class="menu-item-label">${label}</span>
<span class="text-muted std-shortcut">${shortcut_label}</span>
<span class="text-muted pull-right">${shortcut_label}</span>
</a><li>`);
shortcut = shortcut.toLowerCase();
frappe.ui.keys.add_shortcut(shortcut, $li.find('a'), label, this);

View file

@ -264,29 +264,3 @@
.navbar-default .navbar-brand {
color: @text-muted;
}
.keyboard-shortcuts {
.modal-dialog {
width: 23%;
}
.keyboard-shortcut {
text-align: left;
margin-left: 25px;
}
.message {
text-align: center;
margin-top: 5px;
border-top: 1px solid #e5e5e5;
}
}
.shortcut {
border: 1px solid #ccc;
border-radius: 4px;
padding: 0.1em 0.5em;
box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
background-color: #f7f7f7;
text-align: center;
display: inline-block;
}

View file

@ -395,8 +395,4 @@ select.input-sm {
.menu-item-label {
margin-right: 15px;
}
.std-shortcut {
float: right;
}
}