You are here

field-loss.css in Accessibility toolkit 7

#a11y-sim-field-loss-area {
  display: none;
}
body.a11y-sim-field-loss #a11y-sim-field-loss-area {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000000;
  z-index: 1000000000;
  position: fixed;
  opacity: 0.8;
  pointer-events: none;
  display: block !important;
}

body.a11y-sim-field-loss-central #a11y-sim-field-loss-area {
  -moz-border-radius: 100px;
  -webkit-border-radius: 100px;
  border-radius: 100px;
  top: 25%;
  left: 25%;
  right: 25%;
  bottom: 25%;
  -webkit-filter: blur(1rem);
  -moz-filter: blur(1rem);
  -o-filter: blur(1rem);
  -ms-filter: blur(1rem);
  filter: blur(1rem);
}
body.a11y-sim-field-loss-peripheral #a11y-sim-field-loss-area {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  border-color: #242424;
  border-style: solid;
  border-width: 6rem;
  -webkit-filter: blur(1rem);
  -moz-filter: blur(1rem);
  -o-filter: blur(1rem);
  -ms-filter: blur(1rem);
  filter: blur(1rem);
}

#a11y-sim-field-loss-close {
  display: none;
}
body.a11y-sim-field-loss #a11y-sim-field-loss-close {
  z-index: 1000000001;
  bottom: 0;
  position: fixed;
  color: #242424;
  background-color: #eeeeee;
  font-size: 1.5rem;
  padding: .5rem;
  margin: 0 auto;
  text-align: center;
  right: 35%;
  left: 35%;
  display: block !important;
}

File

simulations/field-loss/field-loss.css
View source
  1. #a11y-sim-field-loss-area {
  2. display: none;
  3. }
  4. body.a11y-sim-field-loss #a11y-sim-field-loss-area {
  5. top: 0;
  6. bottom: 0;
  7. left: 0;
  8. right: 0;
  9. background-color: #000000;
  10. z-index: 1000000000;
  11. position: fixed;
  12. opacity: 0.8;
  13. pointer-events: none;
  14. display: block !important;
  15. }
  16. body.a11y-sim-field-loss-central #a11y-sim-field-loss-area {
  17. -moz-border-radius: 100px;
  18. -webkit-border-radius: 100px;
  19. border-radius: 100px;
  20. top: 25%;
  21. left: 25%;
  22. right: 25%;
  23. bottom: 25%;
  24. -webkit-filter: blur(1rem);
  25. -moz-filter: blur(1rem);
  26. -o-filter: blur(1rem);
  27. -ms-filter: blur(1rem);
  28. filter: blur(1rem);
  29. }
  30. body.a11y-sim-field-loss-peripheral #a11y-sim-field-loss-area {
  31. top: 0;
  32. left: 0;
  33. right: 0;
  34. bottom: 0;
  35. background: transparent;
  36. border-color: #242424;
  37. border-style: solid;
  38. border-width: 6rem;
  39. -webkit-filter: blur(1rem);
  40. -moz-filter: blur(1rem);
  41. -o-filter: blur(1rem);
  42. -ms-filter: blur(1rem);
  43. filter: blur(1rem);
  44. }
  45. #a11y-sim-field-loss-close {
  46. display: none;
  47. }
  48. body.a11y-sim-field-loss #a11y-sim-field-loss-close {
  49. z-index: 1000000001;
  50. bottom: 0;
  51. position: fixed;
  52. color: #242424;
  53. background-color: #eeeeee;
  54. font-size: 1.5rem;
  55. padding: .5rem;
  56. margin: 0 auto;
  57. text-align: center;
  58. right: 35%;
  59. left: 35%;
  60. display: block !important;
  61. }