/**
 * @copyright 2025 USTP
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
 *
 * @author: Fabian Gabler <fabian.gabler@ustp.at>
 */

/* ### USTP index.css ### */
#content input {
	caret-color: var(--color-primary-500);
}
.tippy-box {
	background-color: var(--color-surface-900);
	color: var(--color-on-surface-900);
	width: auto;
}

/* ### CK-Editor Fixes ### */
.ck-editor {
	width: 100% !important;
	border-radius: .125rem;
	overflow: hidden;
}

.ck-editor p {
	margin-top: 1rem;
	margin-bottom: 1rem;
	margin-left: .5rem;
}

.ck-editor ul li {
	margin-left: 1.5rem;
	list-style-type: disc !important;
}

.ck-editor__editable_inline {
	max-height: 348px;
}

.ck-toolbar {
	border: 1px solid var(--color-surface-300);
}

.cke_notifications_area {
	display: none !important;
}


/* ### Primevue Fixes ### */
button:focus {
	outline: initial;
}

.ql-editor li[data-list="bullet"]::before {
	content: '\2022';
}

li[data-list="bullet"]:not(.ql-editor li) {
	list-style-type: disc;
}

.ql-editor strong {
	font-weight: bold;
}

.ql-tooltip {
	transform: translate(50%, 5px) !important;
}


/* ### Fontawesome Logo Colors ### */
:root {
	--fa-width: auto;
}

:not(button, input)>.fas.fa-file-word {
	color: var(--color-ms-word);
}

:not(button, input)>.fas.fa-file-excel {
	color: var(--color-ms-excel);
}

:not(button, input)>.fas.fa-file-powerpoint {
	color: var(--color-ms-powerpoint);
}

:not(button, input)>.fas.fa-file-pdf {
	color: var(--color-pdf);
}

#zahlungen i.fas.fa-check-circle {
	color: var(--color-green);
}

.fa-trash-alt {
	color: var(--color-red);
}


/* ### Other ### */
[v-cloak] {
	display: none;
}

.v-enter-active,
.v-leave-active {
	transition: opacity 0.2s ease;
}

.v-enter-from,
.v-leave-to {
	opacity: 0;
}

.fade-enter-active,
.fade-leave-active {
	transition: opacity .2s;
}

.fade-enter,
.fade-leave-to

/* .fade-leave-active below version 2.1.8 */
	{
	opacity: 0;
}
