js-interaction-test-blocker-element.css

Same filename in other branches
  1. 10 core/modules/system/tests/modules/js_interaction_test/css/js-interaction-test-blocker-element.css
  2. 11.x core/modules/system/tests/modules/js_interaction_test/css/js-interaction-test-blocker-element.css
.blocker-element {
  /* Position the box over the target. */
  position: relative;
  z-index: 1;
  top: -30px;
  left: -5px;
  /* Size the box to cover the target. */
  width: 500px;
  height: 40px;
  opacity: 0.5;
  /* Make the blocker element visible. */
  background-color: black;
}

File

core/modules/system/tests/modules/js_interaction_test/css/js-interaction-test-blocker-element.css

View source
  1. .blocker-element {
  2. /* Position the box over the target. */
  3. position: relative;
  4. z-index: 1;
  5. top: -30px;
  6. left: -5px;
  7. /* Size the box to cover the target. */
  8. width: 500px;
  9. height: 40px;
  10. opacity: 0.5;
  11. /* Make the blocker element visible. */
  12. background-color: black;
  13. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.