agreement-overlay.less 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. p.lead {
  42. margin: 0;
  43. padding: 0;
  44. }
  45. }
  46. .agreement-footer {
  47. .modal-footer();
  48. padding: @padding-large-vertical 0;
  49. }
  50. // utility class disabling scroll on body
  51. body.agreement-overlay-visible {
  52. overflow: hidden;
  53. }