cat-bookmarker/priv/static/assets/app.css

215 lines
9.4 KiB
CSS
Raw Normal View History

2024-03-10 18:52:04 +00:00
/* css/app.css */
.inline {
display: inline;
}
.center-text {
text-align: center;
}
.center-box-inner {
margin-left: auto;
margin-right: auto;
}
body {
font-family:
"Lucida Sans Unicode",
"Lucida Grande",
sans-serif;
margin: 0;
padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family:
"Lucida Console",
Monaco,
monospace;
}
h2 {
font-size: 2em;
}
img {
height: 50vh;
}
button {
padding: 10px;
margin: 5px;
background-color: #bde0fe;
}
button:hover {
background-color: #a2d2ff;
}
button.active {
background-color: #ffc8dd;
}
button.active:hover {
background-color: #ffafcc;
}
.main-container {
width: 70%;
margin-left: auto;
margin-right: auto;
}
.random-image {
display: block;
}
.form-container {
width: 500px;
max-width: 80%;
margin-left: auto;
margin-right: auto;
}
.form-label {
margin-bottom: 5px;
}
input {
font-family:
"Lucida Console",
Monaco,
monospace;
width: 100%;
padding: 10px;
}
button.form-submit-button {
min-width: 40%;
}
img.collection-image {
height: auto;
max-width: 75%;
}
p.collection-note {
font-style: italic;
}
.collection-item-caption {
display: flex;
flex-direction: row;
align-items: center;
margin-top: 5px;
margin-bottom: 20px;
}
.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;
}
.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;
}
}
/*# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vLi4vLi4vYXNzZXRzL2Nzcy9hcHAuY3NzIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyIvKiBUaGlzIGZpbGUgaXMgZm9yIHlvdXIgbWFpbiBhcHBsaWNhdGlvbiBDU1MgKi9cbi8qQGltcG9ydCBcIi4vcGhvZW5peC5jc3NcIjsqL1xuXG4uaW5saW5lIHsgZGlzcGxheTogaW5saW5lOyB9XG4uY2VudGVyLXRleHQgeyB0ZXh0LWFsaWduOiBjZW50ZXI7IH1cbi5jZW50ZXItYm94LWlubmVyIHtcbiAgICBtYXJnaW4tbGVmdDogYXV0bztcbiAgICBtYXJnaW4tcmlnaHQ6IGF1dG87XG59XG5cbmJvZHkge1x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