You are here

npop.css in Node pop-up 7

.npop {
  left: 0;
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, .7);
}

.npop .npop-content {
  left: 50%;
  margin-left: -360px;
  position: absolute;
  top: 150px;
  width: 720px;
  z-index: 1000;
  padding-bottom: 80px;
}

.npop .npop-content .node {
  background: none repeat scroll 0 0 #ffffff;
  padding: 30px;
}

.npop-close-btn {
  position: absolute;
  right: 10px;
  top: 10px;
}

body.npop-over {
  overflow: hidden;
}

@media (max-width: 720px) {
  .npop .npop-content {
    left: 0;
    margin-left: 0;
    position: absolute;
    top: 0px;
    width: 100%;
    z-index: 1000;
    height: 100%;
    padding-bottom: 0;
  }
}

File

css/npop.css
View source
  1. .npop {
  2. left: 0;
  3. position: fixed;
  4. top: 0;
  5. z-index: 1000;
  6. width: 100%;
  7. height: 100%;
  8. max-width: 100%;
  9. max-height: 100%;
  10. overflow: auto;
  11. background: rgba(0, 0, 0, .7);
  12. }
  13. .npop .npop-content {
  14. left: 50%;
  15. margin-left: -360px;
  16. position: absolute;
  17. top: 150px;
  18. width: 720px;
  19. z-index: 1000;
  20. padding-bottom: 80px;
  21. }
  22. .npop .npop-content .node {
  23. background: none repeat scroll 0 0 #ffffff;
  24. padding: 30px;
  25. }
  26. .npop-close-btn {
  27. position: absolute;
  28. right: 10px;
  29. top: 10px;
  30. }
  31. body.npop-over {
  32. overflow: hidden;
  33. }
  34. @media (max-width: 720px) {
  35. .npop .npop-content {
  36. left: 0;
  37. margin-left: 0;
  38. position: absolute;
  39. top: 0px;
  40. width: 100%;
  41. z-index: 1000;
  42. height: 100%;
  43. padding-bottom: 0;
  44. }
  45. }