Commit 1bdd45fd authored by enured's avatar enured
Browse files

B13767 this fix prevents marking elements with class .btn to required color,...

B13767 this fix prevents marking elements with class .btn to required color, which aren't given from forms itself (all form buttons are 'button' tags). In this case we need to filter out anchor tags with blank href (#) (sometimes used as buttons from other js frameworks like datetimepicker to trigger some functions). Also implemented new CSS lines to overwrite specific bootstrap.css rules for the datetimepicker (arrows are higher positioned, which looks better than before)
parent cdbce4ee
Pipeline #6996 passed with stage
in 2 minutes and 24 seconds
......@@ -271,8 +271,8 @@ i.@{spinner_class} {
transition: opacity 1s linear, max-height 0.25s ease-out; */
.form-group.has-error .btn {
/* all anchors in form-group divs can only be created by users using #!report in forms. These anchors without a target href (#) like some elements which use js functions (example datetimepicker) dont need to be marked as required.*/
.form-group.has-error .btn:not(a[href="#"]) {
background-color: #f0ad4e;
background-image: linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);
background-repeat: repeat-x;
......@@ -1355,4 +1355,9 @@ thead.qfq-sticky td {
input.qfq-password {
font-family: 'password';
/* bootstrap correction for better looking arrows in datetimepicker */
[data-action="decrementHours"]>span.glyphicon-chevron-down, [data-action="incrementHours"]>span.glyphicon-chevron-up, [data-action="incrementMinutes"]>span.glyphicon-chevron-up, [data-action="decrementMinutes"]>span.glyphicon-chevron-down {
top: -19px;
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment