update to phoenix 1.6
This commit is contained in:
		| @@ -10,25 +10,7 @@ $fa-font-path: "@fortawesome/fontawesome-free/webfonts"; | ||||
|  | ||||
| @import "components"; | ||||
|  | ||||
| /* LiveView specific classes for your customizations */ | ||||
| .phx-no-feedback.invalid-feedback, | ||||
| .phx-no-feedback .invalid-feedback { | ||||
|   display: none; | ||||
| } | ||||
|  | ||||
| .phx-click-loading { | ||||
|   opacity: 0.5; | ||||
|   transition: opacity 1s ease-out; | ||||
| } | ||||
|  | ||||
| .phx-disconnected{ | ||||
|   cursor: wait; | ||||
| } | ||||
| .phx-disconnected *{ | ||||
|   pointer-events: none; | ||||
| } | ||||
|  | ||||
| /* Alerts and form errors */ | ||||
| /* Alerts and form errors used by phx.new */ | ||||
| .alert { | ||||
|   padding: 15px; | ||||
|   margin-bottom: 20px; | ||||
| @@ -60,4 +42,88 @@ $fa-font-path: "@fortawesome/fontawesome-free/webfonts"; | ||||
|   color: #a94442; | ||||
|   display: block; | ||||
|   margin: -1rem 0 2rem; | ||||
| } | ||||
| } | ||||
|  | ||||
| /* LiveView specific classes for your customization */ | ||||
| .phx-no-feedback.invalid-feedback, | ||||
| .phx-no-feedback .invalid-feedback { | ||||
|   display: none; | ||||
| } | ||||
|  | ||||
| .phx-click-loading { | ||||
|   opacity: 0.5; | ||||
|   transition: opacity 1s ease-out; | ||||
| } | ||||
|  | ||||
| .phx-loading{ | ||||
|   cursor: wait; | ||||
| } | ||||
|  | ||||
| .phx-modal { | ||||
|   opacity: 1!important; | ||||
|   position: fixed; | ||||
|   z-index: 1; | ||||
|   left: 0; | ||||
|   top: 0; | ||||
|   width: 100%; | ||||
|   height: 100%; | ||||
|   overflow: auto; | ||||
|   background-color: rgba(0,0,0,0.4); | ||||
| } | ||||
|  | ||||
| .phx-modal-content { | ||||
|   background-color: #fefefe; | ||||
|   margin: 15vh auto; | ||||
|   padding: 20px; | ||||
|   border: 1px solid #888; | ||||
|   width: 80%; | ||||
| } | ||||
|  | ||||
| .phx-modal-close { | ||||
|   color: #aaa; | ||||
|   float: right; | ||||
|   font-size: 28px; | ||||
|   font-weight: bold; | ||||
| } | ||||
|  | ||||
| .phx-modal-close:hover, | ||||
| .phx-modal-close:focus { | ||||
|   color: black; | ||||
|   text-decoration: none; | ||||
|   cursor: pointer; | ||||
| } | ||||
|  | ||||
| .fade-in-scale { | ||||
|   animation: 0.2s ease-in 0s normal forwards 1 fade-in-scale-keys; | ||||
| } | ||||
|  | ||||
| .fade-out-scale { | ||||
|   animation: 0.2s ease-out 0s normal forwards 1 fade-out-scale-keys; | ||||
| } | ||||
|  | ||||
| .fade-in { | ||||
|   animation: 0.2s ease-out 0s normal forwards 1 fade-in-keys; | ||||
| } | ||||
| .fade-out { | ||||
|   animation: 0.2s ease-out 0s normal forwards 1 fade-out-keys; | ||||
| } | ||||
|  | ||||
| @keyframes fade-in-scale-keys{ | ||||
|   0% { scale: 0.95; opacity: 0; } | ||||
|   100% { scale: 1.0; opacity: 1; } | ||||
| } | ||||
|  | ||||
| @keyframes fade-out-scale-keys{ | ||||
|   0% { scale: 1.0; opacity: 1; } | ||||
|   100% { scale: 0.95; opacity: 0; } | ||||
| } | ||||
|  | ||||
| @keyframes fade-in-keys{ | ||||
|   0% { opacity: 0; } | ||||
|   100% { opacity: 1; } | ||||
| } | ||||
|  | ||||
| @keyframes fade-out-keys{ | ||||
|   0% { opacity: 1; } | ||||
|   100% { opacity: 0; } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user