ash_hq/assets/css/app.css

119 lines
2 KiB
CSS
Raw Normal View History

2022-03-21 17:43:24 +13:00
/* This file is for your main application CSS */
2022-03-26 10:17:01 +13:00
@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";
2022-03-21 17:43:24 +13:00
2022-03-29 08:47:43 +13:00
@import "syntax.css";
2022-03-26 10:17:01 +13:00
.search-hit {
2022-09-08 02:48:10 +12:00
color: #fb923c;
2022-03-26 10:17:01 +13:00
}
2022-03-29 08:47:43 +13:00
2022-03-21 17:43:24 +13:00
/* Alerts and form errors used by phx.new */
.alert {
padding: 15px;
margin-bottom: 20px;
border: 1px solid transparent;
border-radius: 4px;
}
2022-03-29 08:47:43 +13:00
2022-03-21 17:43:24 +13:00
.alert-info {
color: #31708f;
background-color: #d9edf7;
border-color: #bce8f1;
}
2022-03-29 08:47:43 +13:00
2022-03-21 17:43:24 +13:00
.alert-warning {
color: #8a6d3b;
background-color: #fcf8e3;
border-color: #faebcc;
}
2022-03-29 08:47:43 +13:00
2022-03-21 17:43:24 +13:00
.alert-danger {
color: #a94442;
background-color: #f2dede;
border-color: #ebccd1;
}
2022-03-29 08:47:43 +13:00
2022-03-21 17:43:24 +13:00
.alert p {
margin-bottom: 0;
}
2022-03-29 08:47:43 +13:00
2022-03-21 17:43:24 +13:00
.alert:empty {
display: none;
}
2022-03-29 08:47:43 +13:00
2022-03-21 17:43:24 +13:00
.invalid-feedback {
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;
}
2022-03-29 08:47:43 +13:00
.phx-loading {
2022-03-21 17:43:24 +13:00
cursor: wait;
}
.phx-modal {
2022-03-29 08:47:43 +13:00
opacity: 1 !important;
2022-03-21 17:43:24 +13:00
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
2022-03-29 08:47:43 +13:00
background-color: rgba(0, 0, 0, 0.4);
2022-03-21 17:43:24 +13:00
}
.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;
2022-09-08 02:48:10 +12:00
}
/* Hide scrollbar for Chrome, Safari and Opera */
.custom-scrollbar::-webkit-scrollbar {
width: 8px;
padding: 0px 4px 0px 4px;
margin-right: 12px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background-color: #888888;
border-radius: 12px;
}
/* Hide scrollbar for IE, Edge and Firefox */
.custom-scrollbar {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: 8px; /* Firefox */
scrollbar-color: #888888 transparent;
}