livebook/assets/css/live_view.css

88 lines
1.4 KiB
CSS
Raw Normal View History

2021-01-08 04:16:54 +08:00
/* LiveView specific classes for your customizations */
2021-01-08 05:13:17 +08:00
2021-01-08 04:16:54 +08:00
.phx-no-feedback.invalid-feedback,
.phx-no-feedback .invalid-feedback {
display: none;
}
.phx-click-loading {
opacity: 0.5;
transition: opacity 1s ease-out;
}
2021-01-08 05:13:17 +08:00
.phx-disconnected {
2021-01-08 04:16:54 +08:00
cursor: wait;
}
2021-01-08 05:13:17 +08:00
.phx-disconnected * {
2021-01-08 04:16:54 +08:00
pointer-events: none;
}
.phx-modal {
2021-01-08 05:13:17 +08:00
opacity: 1 !important;
2021-01-08 04:16:54 +08:00
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
2021-01-08 05:13:17 +08:00
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.4);
2021-01-08 04:16:54 +08:00
}
.phx-modal-content {
background-color: #fefefe;
margin: 15% 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;
}
2021-01-08 03:55:45 +08:00
/* Alerts and form errors */
.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 {
color: #a94442;
display: block;
margin: -1rem 0 2rem;
}