modals.less 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. .legal-footnote {
  44. label {
  45. font-weight: bold;
  46. }
  47. .help-block {
  48. margin-left: 20px;
  49. color: @brand-danger;
  50. }
  51. }
  52. // Avatar crop
  53. .modal-avatar-index {
  54. .avatar-preview {
  55. background: #fff;
  56. border-radius: @border-radius-large;
  57. }
  58. }
  59. .modal-avatar-crop {
  60. .cropit-preview {
  61. background: #fff;
  62. margin: @line-height-computed 0px;
  63. }
  64. .cropit-image-zoom-input {
  65. margin-top: @line-height-computed * 2;
  66. margin-bottom: @line-height-computed;
  67. }
  68. }
  69. // Post likes
  70. .modal-post-likers {
  71. .media {
  72. border-bottom: 1px solid @gray-lighter;
  73. padding-bottom: 15px; // hardcoded in BS less
  74. img {
  75. border-radius: @border-radius-base;
  76. width: 40px;
  77. height: 40px;
  78. }
  79. &:last-child {
  80. border: none;
  81. padding-bottom: 0px;
  82. }
  83. }
  84. }