modals.less 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. .modal-body {
  21. padding-top: @line-height-computed;
  22. padding-bottom: @line-height-computed * 1.5;
  23. }
  24. .message-icon {
  25. float: left;
  26. .material-icon {
  27. font-size: @line-height-computed * 2.5;
  28. }
  29. }
  30. .message-body {
  31. margin-left: @line-height-computed * 3.75;
  32. margin-top: @line-height-computed * .6 - 2px;
  33. .lead {
  34. margin-bottom: 0px;
  35. }
  36. }
  37. }
  38. }
  39. // Modal loader
  40. .modal-loader {
  41. padding: @line-height-computed * 2.5 0px;
  42. .loader {
  43. width: 100%;
  44. height: @loader-size;
  45. text-align: center;
  46. }
  47. .loader-spinning-wheel {
  48. width: @loader-size;
  49. height: @loader-size;
  50. }
  51. }
  52. // Registration modal
  53. .modal-register .modal-footer a {
  54. float: left;
  55. margin-top: @line-height-computed / 3;
  56. }
  57. @media screen and (max-width: @screen-sm-max) {
  58. .modal-register .modal-footer {
  59. text-align: center;
  60. a {
  61. display: block;
  62. }
  63. .btn {
  64. display: block;
  65. float: none;
  66. margin-top: @line-height-computed / 2;
  67. width: 100%;
  68. }
  69. }
  70. }