modals.less 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. // Post likes
  61. .modal-post-likers {
  62. .media {
  63. border-bottom: 1px solid @gray-lighter;
  64. padding-bottom: 15px; // hardcoded in BS less
  65. img {
  66. border-radius: @border-radius-base;
  67. width: 40px;
  68. height: 40px;
  69. }
  70. &:last-child {
  71. border: none;
  72. padding-bottom: 0px;
  73. }
  74. }
  75. }