modals.less 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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: 2px 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. }