live_beats/assets/css/app.css

138 lines
2.3 KiB
CSS
Raw Permalink Normal View History

2021-09-02 18:00:57 +00:00
/* This file is for your main application CSS */
2021-09-03 13:57:15 +00:00
@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";
2021-09-02 18:00:57 +00:00
2021-10-27 20:02:56 +00:00
/* animations */
.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;
}
2021-11-08 18:46:23 +00:00
2021-10-27 20:02:56 +00:00
.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; }
}
@keyframes slide-in-right-keys{
100%{ transform: translateX(0%); }
}
2021-09-02 18:00:57 +00:00
/* Alerts and form errors used by phx.new */
.alert {
padding: 15px;
margin-bottom: 20px;
border: 1px solid transparent;
border-radius: 4px;
}
.alert-info {
color: #31708f;
background-color: #d9edf7;
border-color: #bce8f1;
}
.alert-warning {
color: #8a6d3b;
background-color: #fcf8e3;
border-color: #faebcc;
}
.alert-danger {
color: #a94442;
background-color: #f2dede;
border-color: #ebccd1;
}
.alert p {
margin-bottom: 0;
}
.alert:empty {
display: none;
}
.invalid-feedback {
2021-11-08 18:46:23 +00:00
display: inline-block;
2021-09-02 18:00:57 +00:00
}
/* LiveView specific classes for your customization */
.phx-no-feedback.invalid-feedback,
.phx-no-feedback .invalid-feedback {
display: none;
}
2024-04-09 00:53:14 +00:00
tbody.phx-click-loading { animation: none; }
2021-09-02 18:00:57 +00:00
.phx-click-loading {
2024-04-09 00:53:14 +00:00
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% {
opacity: 0.8;
}
50% {
opacity: 0.5;
}
2021-09-02 18:00:57 +00:00
}
2021-10-29 16:12:23 +00:00
.phx-loading{
2021-09-02 18:00:57 +00:00
cursor: wait;
}
2021-10-29 16:12:23 +00:00
2021-09-02 18:00:57 +00:00
.phx-modal {
opacity: 1!important;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0,0,0);
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;
}