app.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. /* This file is for your main application css. */
  2. @import "./phoenix.css";
  3. @import "../node_modules/nprogress/nprogress.css";
  4. /* LiveView specific classes for your customizations */
  5. .invalid-feedback {
  6. color: #a94442;
  7. display: block;
  8. margin: -1rem 0 2rem;
  9. }
  10. .phx-no-feedback.invalid-feedback, .phx-no-feedback .invalid-feedback {
  11. display: none;
  12. }
  13. .phx-click-loading {
  14. opacity: 0.5;
  15. transition: opacity 1s ease-out;
  16. }
  17. .phx-disconnected{
  18. cursor: wait;
  19. }
  20. .phx-disconnected *{
  21. pointer-events: none;
  22. }
  23. .phx-modal {
  24. opacity: 1!important;
  25. position: fixed;
  26. z-index: 1;
  27. left: 0;
  28. top: 0;
  29. width: 100%;
  30. height: 100%;
  31. overflow: auto;
  32. background-color: rgb(0,0,0);
  33. background-color: rgba(0,0,0,0.4);
  34. }
  35. .phx-modal-content {
  36. background-color: #fefefe;
  37. margin: 15% auto;
  38. padding: 20px;
  39. border: 1px solid #888;
  40. width: 80%;
  41. }
  42. .phx-modal-close {
  43. color: #aaa;
  44. float: right;
  45. font-size: 28px;
  46. font-weight: bold;
  47. }
  48. .phx-modal-close:hover,
  49. .phx-modal-close:focus {
  50. color: black;
  51. text-decoration: none;
  52. cursor: pointer;
  53. }
  54. /* Alerts and form errors */
  55. .alert {
  56. padding: 15px;
  57. margin-bottom: 20px;
  58. border: 1px solid transparent;
  59. border-radius: 4px;
  60. }
  61. .alert-info {
  62. color: #31708f;
  63. background-color: #d9edf7;
  64. border-color: #bce8f1;
  65. }
  66. .alert-warning {
  67. color: #8a6d3b;
  68. background-color: #fcf8e3;
  69. border-color: #faebcc;
  70. }
  71. .alert-danger {
  72. color: #a94442;
  73. background-color: #f2dede;
  74. border-color: #ebccd1;
  75. }
  76. .alert p {
  77. margin-bottom: 0;
  78. }
  79. .alert:empty {
  80. display: none;
  81. }
  82. ul.locations-list {
  83. display: flex;
  84. flex-direction: column;
  85. list-style: none;
  86. }
  87. ul.actions-list {
  88. list-style: none;
  89. display: inline-flex;
  90. }
  91. dl ul.actions-list > li ~ li {
  92. margin-left: 0.5em;
  93. }
  94. table ul.actions-list {
  95. flex-direction: column;
  96. }
  97. dl.location {
  98. display: grid;
  99. grid-template-columns: min-content 1fr;
  100. }
  101. ul.slots-list {
  102. display: inline-flex;
  103. flex-wrap: wrap;
  104. list-style: none;
  105. }
  106. ul.slots-list > li {
  107. background-color: lightgrey;
  108. }
  109. ul.slots-list > li ~ li {
  110. margin-left: 0.5em;
  111. }
  112. select#areas_filter_areas {
  113. height: min-content;
  114. width: auto;
  115. }