move of context menu to top of thumb
This commit is contained in:
parent
0188d2296f
commit
063ad6fb7f
|
@ -753,14 +753,14 @@ form .g-error {
|
||||||
|
|
||||||
.g-context-menu {
|
.g-context-menu {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
bottom: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
.g-item .g-context-menu {
|
.g-item .g-context-menu {
|
||||||
display: none;
|
display: none;
|
||||||
margin-top: 2em;
|
margin-top: 0em;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -41,6 +41,7 @@ $(document).ready(function() {
|
||||||
var iconClass = $(this).parent().attr("class").match(/ui-icon-.[^\s]+/).toString();
|
var iconClass = $(this).parent().attr("class").match(/ui-icon-.[^\s]+/).toString();
|
||||||
$(this).addClass(iconClass);
|
$(this).addClass(iconClass);
|
||||||
});
|
});
|
||||||
|
$("ul.g-context-menu > li a span").addClass("ui-icon-carat-1-s");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove titles for menu options since we're displaying that text anyway
|
// Remove titles for menu options since we're displaying that text anyway
|
||||||
|
|
Reference in New Issue
Block a user