modals.less 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. //
  2. // Misago Modals
  3. // --------------------------------------------------
  4. // Modals displaying messages
  5. // Small displays
  6. @media screen and (max-width: @screen-sm-max) {
  7. .modal-message {
  8. text-align: center;
  9. .message-icon {
  10. margin: @line-height-computed * 1.5;
  11. .material-icon {
  12. font-size: @message-page-icon-size * 2;
  13. }
  14. }
  15. }
  16. }
  17. // Full displays
  18. @media screen and (min-width: @screen-md-min) {
  19. .modal-message {
  20. .message-icon {
  21. float: left;
  22. .material-icon {
  23. font-size: @message-page-icon-size;
  24. }
  25. }
  26. .message-body {
  27. margin-left: @message-page-icon-size + @line-height-computed;
  28. }
  29. }
  30. }
  31. // Registration modal
  32. .modal-register .modal-footer a {
  33. float: left;
  34. margin-top: @line-height-computed / 3;
  35. }
  36. @media screen and (max-width: @screen-sm-max) {
  37. .modal-register .modal-footer {
  38. text-align: center;
  39. a {
  40. display: block;
  41. }
  42. .btn {
  43. display: block;
  44. float: none;
  45. margin-top: @line-height-computed / 2;
  46. width: 100%;
  47. }
  48. }
  49. }