2021-03-11 21:12:55 -05:00
|
|
|
@import "tailwindcss/base";
|
|
|
|
@import "tailwindcss/components";
|
|
|
|
@import "tailwindcss/utilities";
|
|
|
|
|
2021-09-02 23:31:15 -04:00
|
|
|
$fa-font-path: "@fortawesome/fontawesome-free/webfonts";
|
|
|
|
@import "@fortawesome/fontawesome-free/scss/fontawesome";
|
|
|
|
@import "@fortawesome/fontawesome-free/scss/regular";
|
|
|
|
@import "@fortawesome/fontawesome-free/scss/solid";
|
|
|
|
@import "@fortawesome/fontawesome-free/scss/brands";
|
|
|
|
|
2024-10-26 14:21:00 -04:00
|
|
|
@import "slim-select/styles";
|
|
|
|
|
2021-03-11 21:12:55 -05:00
|
|
|
@import "components";
|
|
|
|
|
2022-02-05 14:18:03 -05:00
|
|
|
/* fix firefox scrollbars */
|
|
|
|
* {
|
|
|
|
scrollbar-width: auto;
|
|
|
|
scrollbar-color: rgba(161, 161, 170, var(--tw-bg-opacity)) white;
|
|
|
|
}
|
|
|
|
|
2022-02-18 17:43:08 -05:00
|
|
|
.fa-fade {
|
|
|
|
animation: pulse 1s ease-in-out 0s infinite alternate;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes pulse {
|
|
|
|
0% { scale: 0.95; opacity: 0.5; }
|
|
|
|
100% { scale: 1.0; opacity: 1; }
|
|
|
|
}
|
|
|
|
|
2023-01-22 23:47:28 -05:00
|
|
|
// disconnect toast
|
2023-01-22 23:39:34 -05:00
|
|
|
.phx-connected > #disconnect {
|
2022-02-18 17:43:08 -05:00
|
|
|
opacity: 0 !important;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2023-01-22 23:39:34 -05:00
|
|
|
.phx-error > #disconnect {
|
2022-02-18 17:43:08 -05:00
|
|
|
opacity: 0.95 !important;
|
|
|
|
}
|
|
|
|
|
2022-01-21 20:36:25 -05:00
|
|
|
/* Alerts and form errors used by phx.new */
|
2021-03-11 21:12:55 -05:00
|
|
|
.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;
|
2022-01-21 20:36:25 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 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; }
|
|
|
|
}
|
2024-10-26 14:21:00 -04:00
|
|
|
|
|
|
|
.ss-main {
|
|
|
|
@apply input;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ss-main.input-primary {
|
|
|
|
@apply border-primary-500 hover:border-primary-600 active:border-primary-600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ss-content {
|
|
|
|
@apply input;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ss-content.input-primary {
|
|
|
|
@apply border-primary-500 hover:border-primary-600 active:border-primary-600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ss-content.ss-open-above {
|
|
|
|
border-bottom-left-radius: 0px;
|
|
|
|
border-bottom-right-radius: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ss-content.ss-open-below {
|
|
|
|
border-top-left-radius: 0px;
|
|
|
|
border-top-right-radius: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ss-search input[type="search"] {
|
|
|
|
@apply input;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ss-content.input-primary .ss-search input[type="search"] {
|
|
|
|
@apply border-primary-500 hover:border-primary-600 active:border-primary-600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ss-content.ss-open-above .ss-search {
|
|
|
|
padding: var(--ss-spacing-l) 0 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ss-content.ss-open-below .ss-search {
|
|
|
|
padding: 0 0 var(--ss-spacing-l) 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ss-content.ss-open-above .ss-list > *:not(:first-child) {
|
|
|
|
margin: var(--ss-spacing-l) 0 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ss-content.ss-open-below .ss-list > *:not(:last-child) {
|
|
|
|
margin: 0 0 var(--ss-spacing-l) 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ss-content .ss-list .ss-option {
|
|
|
|
border-radius: var(--ss-border-radius);
|
|
|
|
}
|