agreement-overlay.less 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. //
  2. // Agreement overlay
  3. // --------------------------------------------------
  4. .agreement-overlay {
  5. position: fixed;
  6. width: 100%;
  7. height: 100%;
  8. top: 0px;
  9. left: 0px;
  10. z-index: @zindex-modal + 10;
  11. background-color: fadeOut(@modal-backdrop-bg, @modal-backdrop-opacity * 100);
  12. overflow-x: scroll;
  13. .container {
  14. max-width: @modal-lg;
  15. padding: @line-height-computed @grid-gutter-width;
  16. }
  17. }
  18. .agreement-content {
  19. background-color: @modal-content-bg;
  20. border: 1px solid @modal-content-fallback-border-color; //old browsers fallback (ie8 etc)
  21. border: 1px solid @modal-content-border-color;
  22. border-radius: @border-radius-large;
  23. .box-shadow(0 3px 9px rgba(0,0,0,.5));
  24. background-clip: padding-box;
  25. outline: 0;
  26. padding: @padding-large-vertical @padding-large-horizontal;
  27. }
  28. .agreement-header {
  29. padding: @padding-large-vertical 0;
  30. border-bottom: 1px solid @gray-lighter;
  31. h2 {
  32. margin-top: 0;
  33. }
  34. p {
  35. margin: 0;
  36. padding: 0;
  37. }
  38. }
  39. .agreement-body {
  40. padding: @line-height-computed 0;
  41. }
  42. .agreement-footer {
  43. .modal-footer();
  44. padding: @padding-large-vertical 0;
  45. }
  46. // utility class disabling scroll on body
  47. body.agreement-overlay-visible {
  48. overflow: hidden;
  49. }