Project

General

Profile

Patch #31441 » tooltip_v2.patch

Marius BĂLTEANU, 2019-06-19 10:01

View differences:

public/javascripts/application.js
934 934
  $(window).resize(setFilecontentContainerHeight);
935 935
}
936 936

  
937
$(function () {
938
    $('[title]').tooltip({
939
        show: {
940
          delay: 400
941
        },
942
        position: {
943
          my: "center bottom-5",
944
          at: "center top"
945
        }
946
    });
947
});
937 948
$(document).ready(setupAjaxIndicator);
938 949
$(document).ready(hideOnLoad);
939 950
$(document).ready(addFormObserversForDoubleSubmit);
public/stylesheets/application.css
1405 1405
  color: #1D781D;
1406 1406
  border: 1px solid #1D781D;
1407 1407
}
1408
/***** Tooltips *****/
1409
.ui-tooltip {
1410
  background: #000;
1411
  color: #fff;
1412
  font-size: 0.9em;
1413
  border-radius: 3px;
1414
  border: 0;
1415
  box-shadow: none
1416
}
1417

  
1408 1418
/***** Icons *****/
1409 1419
.icon {
1410 1420
  background-position: 0% 50%;
(4-4/8)