mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-17 00:22:40 +00:00
557 lines
8.9 KiB
SCSS
Executable file
557 lines
8.9 KiB
SCSS
Executable file
/* This file is for your main application css. */
|
|
|
|
@import "../node_modules/nprogress/nprogress.css";
|
|
@import "../node_modules/@yaireo/tagify/dist/tagify.css";
|
|
|
|
@tailwind base;
|
|
|
|
.h-90vh {
|
|
height: 90vh;
|
|
}
|
|
|
|
|
|
[x-cloak] {
|
|
display: none !important;
|
|
}
|
|
|
|
.lined:before {
|
|
position: absolute;
|
|
content: "";
|
|
display: block;
|
|
width: 100%;
|
|
height: 3px;
|
|
left: 0;
|
|
bottom: -9px;
|
|
@apply bg-primary
|
|
}
|
|
|
|
.w-center {
|
|
width: 100%;
|
|
}
|
|
@media (min-width: 580px) {
|
|
.w-center {width: 100% !important}
|
|
}
|
|
@media (min-width: 768px) {
|
|
.w-center {width: 100% !important}
|
|
}
|
|
@media (min-width: 1024px) {
|
|
.w-center {width: 580px !important}
|
|
}
|
|
|
|
@media (min-width: 1280px) {
|
|
.w-center {
|
|
width: 580px !important
|
|
}
|
|
|
|
}
|
|
|
|
details > summary {
|
|
list-style: none;
|
|
cursor: pointer;
|
|
}
|
|
details > summary::before { display: none; }
|
|
details > summary::marker { display: none; }
|
|
|
|
|
|
.dropdown.open:before {
|
|
content: " ";
|
|
background: transparent;
|
|
display: block;
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
z-index: 10;
|
|
}
|
|
|
|
.details-dropdown[open] > summary {
|
|
cursor: default;
|
|
}
|
|
|
|
.details-dropdown[open] > summary:before {
|
|
content: " ";
|
|
background: transparent;
|
|
display: block;
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
z-index: 10;
|
|
}
|
|
|
|
.details-dialog[open] > summary:before {
|
|
content: " ";
|
|
background: rgba(0,0,0,0.4);
|
|
display: block;
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
z-index: 10;
|
|
}
|
|
|
|
|
|
.details-modal {
|
|
margin-left: -16rem;
|
|
left: 50%;
|
|
}
|
|
|
|
.mh-80 {
|
|
max-height: 80vh;
|
|
}
|
|
|
|
|
|
.h-main {
|
|
height: calc(100vh - 16px);
|
|
}
|
|
|
|
.h-body {
|
|
height: calc(100vh - 84px);
|
|
}
|
|
|
|
|
|
|
|
.narrow {
|
|
width: 400px;
|
|
}
|
|
|
|
.wide {
|
|
width: 640px;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
@apply md:w-[12px]
|
|
}
|
|
|
|
.scroll::-webkit-scrollbar {
|
|
@apply md:w-[5px]
|
|
}
|
|
|
|
.main_reply_to {
|
|
padding-left: 0.75rem !important
|
|
}
|
|
|
|
|
|
.kanban-scrollbar::-webkit-scrollbar-track {
|
|
box-shadow: none !important;
|
|
border-radius: 4px !important;
|
|
}
|
|
|
|
.kanban-scrollbar::-webkit-scrollbar {
|
|
height: 8px !important;
|
|
width: 8px !important;
|
|
}
|
|
|
|
.kanban-scrollbar::-webkit-scrollbar-thumb {
|
|
background: #091e4214 !important;
|
|
border-radius: 4px !important;
|
|
}
|
|
|
|
|
|
.kanban-scrollbar::-webkit-scrollbar-track-piece {
|
|
background: #091e4214 !important;
|
|
}
|
|
|
|
|
|
/* LiveView specific classes for your customizations */
|
|
.phx-no-feedback.invalid-feedback,
|
|
.phx-no-feedback .invalid-feedback {
|
|
display: none;
|
|
}
|
|
|
|
.phx-click-loading {
|
|
opacity: 0.5;
|
|
transition: opacity 1s ease-out;
|
|
}
|
|
|
|
.phx-disconnected{
|
|
cursor: wait;
|
|
}
|
|
.phx-disconnected *{
|
|
pointer-events: none;
|
|
}
|
|
|
|
.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: 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;
|
|
}
|
|
|
|
|
|
.invalid-feedback {
|
|
color: #a94442;
|
|
display: block;
|
|
margin: -1rem 0 2rem;
|
|
}
|
|
|
|
iframe {
|
|
display: contents
|
|
}
|
|
|
|
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
|
|
/* Import with */
|
|
/* @import './scrollbar-color.css'; */
|
|
|
|
:root {
|
|
--scrollbarTrack: hsla(var(--b2));
|
|
--scrollbarThumb: hsla(var(--b3));
|
|
--scrollbarThumbHover: hsla(var(--p));
|
|
}
|
|
/* Scrollbar colors*/
|
|
/* width */
|
|
::-webkit-scrollbar {
|
|
width: 12px;
|
|
}
|
|
|
|
/* Track */
|
|
::-webkit-scrollbar-track {
|
|
background: var(--scrollbarTrack);
|
|
}
|
|
|
|
/* Handle */
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--scrollbarThumb);
|
|
border-radius: 3px
|
|
}
|
|
|
|
/* Handle on hover */
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: var(--scrollbarThumbHover);
|
|
}
|
|
|
|
.menu .menu-title>a, .menu .menu-title>span {
|
|
font-weight: normal
|
|
}
|
|
|
|
.feed_activity_action {
|
|
@apply flex items-center space-x-1 rounded cursor-pointer;
|
|
}
|
|
|
|
.feed_activity .dropdown-content {
|
|
transform: none
|
|
}
|
|
|
|
.feed_activity_text_active {
|
|
@apply text-primary;
|
|
}
|
|
|
|
.feed_activity_action:hover .feed_activity_icon {
|
|
@apply bg-base-300 bg-opacity-50;
|
|
}
|
|
|
|
.feed_activity_action:hover .feed_activity_text {
|
|
@apply text-opacity-100;
|
|
}
|
|
|
|
.feed_activity_action:hover .feed_activity_icon svg {
|
|
@apply text-base-content;
|
|
}
|
|
|
|
.feed_activity_icon_active {
|
|
@apply text-primary;
|
|
}
|
|
|
|
|
|
.feed_activity_icon {
|
|
@apply flex items-center rounded h-8 w-8 place-content-center;
|
|
}
|
|
|
|
|
|
|
|
.feed_activity_text {
|
|
@apply text-xs font-normal text-base-content flex;
|
|
}
|
|
|
|
.reply_to {
|
|
margin-left: 0 !important;
|
|
}
|
|
|
|
.dropdown_actions li a {
|
|
@apply text-neutral p-2
|
|
}
|
|
|
|
.comment_lined {
|
|
position: absolute;
|
|
content: "";
|
|
top: 50px;
|
|
bottom: -10px;
|
|
width: 2px;
|
|
left: 30px;
|
|
z-index: 999999;
|
|
@apply bg-base-200;
|
|
}
|
|
|
|
|
|
.profile_item:hover {
|
|
background-color: hsla(var(--bc)/var(--tw-bg-opacity,1));
|
|
}
|
|
|
|
.prose-valueflows ul li {
|
|
position: static;
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
.prose-valueflows ul li input {
|
|
margin: 8px !important;
|
|
margin-left: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
.sortable-ghost {
|
|
@apply bg-gray-300 text-gray-300;
|
|
}
|
|
|
|
.h-modal {
|
|
height: calc(100vh - 48px);
|
|
}
|
|
|
|
.h-bonfire-logged {
|
|
height: calc(100vh - 96px);
|
|
}
|
|
|
|
|
|
body {
|
|
scrollbar-gutter: stable both-edges;
|
|
}
|
|
|
|
html, body, a {
|
|
@apply text-base-content;
|
|
|
|
}
|
|
|
|
.ck.ck-placeholder:before, .ck .ck-placeholder:before {
|
|
@apply text-base-content text-opacity-80;
|
|
}
|
|
|
|
.write_post_content {
|
|
@apply text-base-content;
|
|
--ck-color-engine-placeholder-text: hsla(var(--bc) / 0.8);
|
|
--ck-color-mention-background: transparent ;
|
|
--ck-color-mention-text: hsla(var(--sc) / 1) ;
|
|
}
|
|
|
|
.ck.ck-editor__editable_inline>:first-child {
|
|
margin-top: 8px !important;
|
|
}
|
|
|
|
.write_post_content .mention {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.alert {
|
|
display: block;
|
|
}
|
|
.alert-error {
|
|
@apply bg-red-50;
|
|
}
|
|
|
|
.mention-item {
|
|
@apply flex items-center font-semibold;
|
|
}
|
|
|
|
.mention-item .mention-item-name {
|
|
font-size: 14px !important;
|
|
color: hsla(var(--n)) !important;
|
|
font-weight: 700 !important;
|
|
}
|
|
|
|
|
|
.mention-item .mention-item-username {
|
|
margin-left: 4px !important;
|
|
color: hsla(var(--n) / 0.7) !important;
|
|
}
|
|
|
|
.ck.ck-list__item {
|
|
cursor: pointer !important;
|
|
border-radius: 4px !important;
|
|
}
|
|
|
|
.ck.ck-list__item .ck-button {
|
|
cursor: pointer !important;
|
|
}
|
|
|
|
.ck.ck-list__item .ck-button.ck-on {
|
|
background-color: hsla(var(--p) / 0.2) !important;
|
|
}
|
|
|
|
.ck.ck-reset.ck-list.ck-mentions {
|
|
@apply p-1.5 rounded border-none;
|
|
}
|
|
|
|
.ck-content .mention {
|
|
color: hsla(var(--bc) / 0.2) !important;
|
|
}
|
|
|
|
.ck.ck-balloon-panel.ck-balloon-panel_caret_se.ck-balloon-panel_visible {
|
|
border-radius: 4px !important;
|
|
}
|
|
|
|
.editor_area#editor {
|
|
border: none !important;
|
|
}
|
|
|
|
.background-invisible:before {
|
|
content: "";
|
|
position: absolute;
|
|
z-index: -1;
|
|
background-color: hsla(var(--b3) / 1);
|
|
left: -8px;
|
|
right: -8px;
|
|
top: -1rem;
|
|
bottom: 4px;
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
emoji-picker {
|
|
--emoji-size: 1.2rem;
|
|
--emoji-padding: 0.4rem;
|
|
--background: hsla(var(--b3) / 1);
|
|
--num-columns: 6;
|
|
--border-color: hsla(var(--b3) / 1);
|
|
--button-hover-background: hsla(var(--bc) / 4);
|
|
width: 280px;
|
|
height: 300px;
|
|
|
|
}
|
|
|
|
.no-padding {
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.invisible {
|
|
font-size: 0;
|
|
line-height: 0;
|
|
display: inline-block;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
|
|
@keyframes fade-out {
|
|
from {
|
|
opacity: 1;
|
|
}
|
|
to {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
.fade-out {
|
|
animation: fade-out 1s;
|
|
animation-delay: 5s;
|
|
animation-fill-mode: forwards;
|
|
opacity: 1;
|
|
}
|
|
|
|
|
|
|
|
.scrolling-container {
|
|
@apply h-full min-h-full min-h-[100px] max-h-[150px];
|
|
}
|
|
|
|
.ql-editor {
|
|
@apply h-full min-h-full min-h-[100px];
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.ql-mention-list-container {
|
|
width:270px;
|
|
border:1px solid #f0f0f0;
|
|
border-radius:4px;
|
|
background-color:#fff;
|
|
box-shadow:0 2px 12px 0 rgba(30,30,30,.08);
|
|
z-index:9001;
|
|
overflow:auto
|
|
}
|
|
|
|
.ql-tooltip {
|
|
z-index: 999999999;
|
|
}
|
|
.ql-mention-loading{line-height:44px;padding:0 20px;vertical-align:middle;font-size:16px}
|
|
.ql-mention-list{list-style:none;margin:0;padding:0;overflow:hidden}
|
|
.ql-mention-list-item{cursor:pointer;line-height:44px;font-size:16px;padding:0 20px;vertical-align:middle}
|
|
.ql-mention-list-item.disabled{cursor:auto}
|
|
.ql-mention-list-item.selected{background-color:#d3e1eb;text-decoration:none}
|
|
.mention{
|
|
@apply bg-slate-300;
|
|
height:24px;
|
|
width:65px;
|
|
border-radius:6px;
|
|
padding:3px 0;
|
|
margin-right:2px;
|
|
user-select:all
|
|
}
|
|
.mention a {
|
|
@apply text-slate-800;
|
|
text-decoration: none !important;
|
|
}
|
|
.mention>span{margin:0 3px}
|
|
|
|
|
|
.upload-entry img {
|
|
@apply w-full h-[140px] object-cover rounded-lg;
|
|
}
|
|
|
|
.media-entry {
|
|
@apply my-4;
|
|
}
|
|
|
|
.media-entry img {
|
|
@apply max-w-full max-h-[270px] object-cover rounded-lg;
|
|
}
|
|
|
|
|
|
.tab.tab-bordered {
|
|
--tw-border-opacity: 0;
|
|
--tab-border: 3px;
|
|
}
|
|
|
|
.tab.tab-active {
|
|
@apply text-base-content font-bold border-primary;
|
|
--tab-color: hsla(var(--p) / var(--tw-text-opacity, 1));
|
|
}
|
|
|
|
|
|
.smart-bg-white-blurred:before {
|
|
content: "";
|
|
@apply absolute left-0 right-0 top-0 bottom-0 bg-slate-50 backdrop-blur flex-none transition-colors duration-500 ;
|
|
} |