app.css 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. /* This file is for your main application CSS */
  2. @import "./phoenix.css";
  3. /* Alerts and form errors used by phx.new */
  4. .alert {
  5. padding: 15px;
  6. margin-bottom: 20px;
  7. border: 1px solid transparent;
  8. border-radius: 4px;
  9. }
  10. .alert-info {
  11. color: #31708f;
  12. background-color: #d9edf7;
  13. border-color: #bce8f1;
  14. }
  15. .alert-warning {
  16. color: #8a6d3b;
  17. background-color: #fcf8e3;
  18. border-color: #faebcc;
  19. }
  20. .alert-danger {
  21. color: #a94442;
  22. background-color: #f2dede;
  23. border-color: #ebccd1;
  24. }
  25. .alert p {
  26. margin-bottom: 0;
  27. }
  28. .alert:empty {
  29. display: none;
  30. }
  31. .invalid-feedback {
  32. color: #a94442;
  33. display: block;
  34. margin: -1rem 0 2rem;
  35. }
  36. /* LiveView specific classes for your customization */
  37. .phx-no-feedback.invalid-feedback,
  38. .phx-no-feedback .invalid-feedback {
  39. display: none;
  40. }
  41. .phx-click-loading {
  42. opacity: 0.5;
  43. transition: opacity 1s ease-out;
  44. }
  45. .phx-disconnected{
  46. cursor: wait;
  47. }
  48. .phx-disconnected *{
  49. pointer-events: none;
  50. }
  51. .phx-modal {
  52. opacity: 1!important;
  53. position: fixed;
  54. z-index: 1;
  55. left: 0;
  56. top: 0;
  57. width: 100%;
  58. height: 100%;
  59. overflow: auto;
  60. background-color: rgb(0,0,0);
  61. background-color: rgba(0,0,0,0.4);
  62. }
  63. .phx-modal-content {
  64. background-color: #fefefe;
  65. margin: 15vh auto;
  66. padding: 20px;
  67. border: 1px solid #888;
  68. width: 80%;
  69. }
  70. .phx-modal-close {
  71. color: #aaa;
  72. float: right;
  73. font-size: 28px;
  74. font-weight: bold;
  75. }
  76. .phx-modal-close:hover,
  77. .phx-modal-close:focus {
  78. color: black;
  79. text-decoration: none;
  80. cursor: pointer;
  81. }