modals.less 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. //
  2. // Modal Flavor
  3. // --------------------------------------------------
  4. // Custom header styles
  5. .modal-header {
  6. background: @modal-header-bg;
  7. border-bottom-color: @modal-header-bg;
  8. border-radius: @border-radius-large @border-radius-large 0px 0px;
  9. color: @modal-header-color;
  10. .close {
  11. padding: 0px 6px;
  12. color: @modal-header-color;
  13. font-size: 24px;
  14. line-height: 24px;
  15. text-shadow: none;
  16. }
  17. }
  18. // Color message icon
  19. .modal-message .message-icon {
  20. color: @message-icon-color;
  21. }
  22. // Even out space between form fields
  23. .modal-body>.form-group {
  24. margin: @line-height-computed 0px;
  25. &:first-child {
  26. margin-top: 0px;
  27. }
  28. &:last-child {
  29. margin-bottom: 0px;
  30. }
  31. }
  32. // Sign in modal
  33. .modal-sign-in {
  34. .modal-body {
  35. padding-top: 0px;
  36. padding-bottom: 0px;
  37. &>.form-group {
  38. margin: @line-height-computed 0px;
  39. }
  40. }
  41. }
  42. // Register modal
  43. .modal-register .legal-footnote {
  44. text-align: center;
  45. .material-icon {
  46. margin-right: 4px;
  47. position: relative;
  48. bottom: 1px;
  49. color: @gray-light;
  50. font-size: 28px;
  51. line-height: 28px;
  52. }
  53. a, a:link, a:visited {
  54. color: @gray-light;
  55. }
  56. a:focus, a:hover, a:active {
  57. color: @text-color;
  58. }
  59. }
  60. // Avatar crop
  61. .modal-avatar-index {
  62. .avatar-preview {
  63. background: #fff;
  64. border-radius: @border-radius-large;
  65. }
  66. }
  67. .modal-avatar-crop {
  68. .cropit-preview {
  69. background: #fff;
  70. margin: @line-height-computed 0px;
  71. }
  72. .cropit-image-zoom-input {
  73. margin-top: @line-height-computed * 2;
  74. margin-bottom: @line-height-computed;
  75. }
  76. }
  77. // Post likes
  78. .modal-post-likers {
  79. .media {
  80. border-bottom: 1px solid @gray-lighter;
  81. padding-bottom: 15px; // hardcoded in BS less
  82. img {
  83. border-radius: @border-radius-base;
  84. width: 40px;
  85. height: 40px;
  86. }
  87. &:last-child {
  88. border: none;
  89. padding-bottom: 0px;
  90. }
  91. }
  92. }