Skip to content

Commit 5b72657

Browse files
author
rafael-pestano
committed
sync with theme and template
1 parent 37c68d2 commit 5b72657

3 files changed

Lines changed: 47 additions & 9 deletions

File tree

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
/* Inputs */
22
.ui-inputfield, .ui-widget-content .ui-inputfield, .ui-widget-header .ui-inputfield {
3-
line-height: 1.72; /*sets inputs height to 32px*/
3+
line-height: 1.72; /*sets inputs height to 32px*/
44
}
55

66
.ui-inputfield.ui-state-focus, .ui-widget-content .ui-inputfield.ui-state-focus, .ui-widget-header .ui-inputfield.ui-state-focus {
7-
.box-shadow(0 0 5px #1f89ce)
7+
.box-shadow(0 0 5px #1f89ce)
88
}
99

1010
.ui-inputfield {
11-
-webkit-transition: .2s;
12-
-moz-transition: .2s;
13-
-o-transition: .2s;
14-
transition: .2s;
11+
-webkit-transition: .2s;
12+
-moz-transition: .2s;
13+
-o-transition: .2s;
14+
transition: .2s;
1515
}
1616

1717
input:-webkit-autofill {
18-
-webkit-box-shadow: 0 0 0 30px white inset;
18+
-webkit-box-shadow: 0 0 0 30px white inset;
19+
}
20+
21+
body span.ui-inputnumber.ui-widget.ui-state-error {
22+
border:none;
1923
}

src/main/webapp/resources/admin/sidebar.xhtml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@
1616
collapseSidebar();
1717
}, 180);
1818
});
19+
20+
$(document).on("pfAjaxComplete", function () {
21+
setTimeout(function () {
22+
collapseSidebar();
23+
}, 180);
24+
});
25+
1926
</script>
2027
</ui:fragment>
2128

@@ -26,7 +33,12 @@
2633
setSidebarMini();
2734
}, 180);
2835
});
29-
36+
37+
$(document).on("pfAjaxComplete", function () {
38+
setTimeout(function () {
39+
setSidebarMini();
40+
}, 180);
41+
});
3042
</script>
3143
</ui:fragment>
3244

@@ -38,6 +50,11 @@
3850
expandSidebar();
3951
}, 180);
4052
});
53+
$(document).on("pfAjaxComplete", function () {
54+
setTimeout(function () {
55+
expandSidebar();
56+
}, 180);
57+
});
4158
</script>
4259
</ui:fragment>
4360

src/main/webapp/resources/components/admin/sidebar.xhtml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@
1616
collapseSidebar();
1717
}, 180);
1818
});
19+
20+
$(document).on("pfAjaxComplete", function () {
21+
setTimeout(function () {
22+
collapseSidebar();
23+
}, 180);
24+
});
25+
1926
</script>
2027
</ui:fragment>
2128

@@ -26,7 +33,12 @@
2633
setSidebarMini();
2734
}, 180);
2835
});
29-
36+
37+
$(document).on("pfAjaxComplete", function () {
38+
setTimeout(function () {
39+
setSidebarMini();
40+
}, 180);
41+
});
3042
</script>
3143
</ui:fragment>
3244

@@ -38,6 +50,11 @@
3850
expandSidebar();
3951
}, 180);
4052
});
53+
$(document).on("pfAjaxComplete", function () {
54+
setTimeout(function () {
55+
expandSidebar();
56+
}, 180);
57+
});
4158
</script>
4259
</ui:fragment>
4360

0 commit comments

Comments
 (0)