Project

General

Profile

Patch #31441 » tooltip.patch

Marius BĂLTEANU, 2019-05-24 11:38

View differences:

public/javascripts/application.js
926 926
  $(window).resize(setFilecontentContainerHeight);
927 927
}
928 928

  
929
$(function () {
930
    $('[title]').tooltip({
931
        content: function () {
932
            return $(this).prop('title');
933
        },
934
        show: {
935
          delay: 400
936
        },
937
        position: {
938
          my: "center bottom-5",
939
          at: "center top"
940
        }
941
    });
942
});
929 943
$(document).ready(setupAjaxIndicator);
930 944
$(document).ready(hideOnLoad);
931 945
$(document).ready(addFormObserversForDoubleSubmit);
public/stylesheets/application.css
1409 1409
  color: #1D781D;
1410 1410
  border: 1px solid #1D781D;
1411 1411
}
1412
/***** Tooltips *****/
1413
.ui-tooltip {
1414
  background: #000;
1415
  color: #fff;
1416
  font-size: 0.9em;
1417
  border-radius: 3px;
1418
  border: 0;
1419
  box-shadow: none
1420
}
1421

  
1412 1422
/***** Icons *****/
1413 1423
.icon {
1414 1424
  background-position: 0% 50%;
(3-3/8)