Files
awo-hamburg-intranet/module/ticketcenter/css/repair.css
Jan Usenko 52ca9249c3 Refactor contact management functions and remove phpinfo.php
- Updated formatting and structure of functions in edit_contact.inc.php for better readability and consistency.
- Added comments to clarify the purpose of certain code sections, especially regarding mandant handling.
- Removed the deprecated phpinfo.php file to clean up the codebase.
2026-05-11 08:54:44 +02:00

1039 lines
17 KiB
CSS

/* Ticketcenter */
.ticketcenter {
nav {
margin-top: unset;
}
.lesezeichen_leiste {
display: none;
}
li.promoted {
padding-block-end: 0px;
}
.button_delete {
padding: 10px;
border-radius: var(--br);
color: white;
background: var(--clr-mandant);
display: inline-block;
white-space: nowrap;
margin-left: 10px;
}
}
.toolbar {
padding: 1rem 0;
}
.info_labels .label label {
border: 0;
padding: 0;
}
.ticket_weiterleiten {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.ticket_weiterleiten li.promoted {
/* width: 100%; */
margin-top: 10px;
}
a.button_forward_ticket {
display: block;
background: #ededed;
text-align: center;
padding: 10px;
border-radius: var(--br);
color: black;
}
.titlebar {
display: flex;
justify-content: space-between;
gap: 1rem;
padding: 1rem 0;
border: 1px solid var(--border);
}
.date_filter_builder {
display: none;
}
.titlebar>div {
display: flex;
align-items: center;
gap: 1rem;
}
a.primary {
background: #e4e4e4;
padding: 10px;
border-radius: var(--br);
/* color: rgb(0, 0, 0); */
background: var(--clr-mandant);
display: inline-block;
white-space: nowrap;
}
/* a.primary:hover {
color: white;
} */
a.secondary {
background: #e4e4e4;
padding: 10px;
border-radius: var(--br);
color: var(--fc-primary);
border: 1px solid transparent;
background: var(--blur_elevated);
display: inline-block;
white-space: nowrap;
border: 1px solid var(--border);
}
a.secondary.active {
border: 1px solid var(--clr-mandant);
}
.toolbar .container {
display: flex;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap;
.right_toolbar {
flex-wrap: wrap;
}
}
.outline {
border: 1px solid var(--border);
color: black;
background: transparent;
padding: 10px;
border-radius: var(--br);
min-width: 48px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
.tabbar {
display: flex;
margin-bottom: 1rem;
border-bottom: 1px solid var(--border);
padding-left: 2px;
padding-block-start: 2px;
}
.tabbar .outline {
background: transparent;
border: none;
font-weight: 600;
color: var(--pico-contrast);
border-radius: 0;
}
.tabbar .outline.active {
border-bottom: 2px solid var(--clr-mandant);
color: var(--clr-mandant);
}
.titlebar h1 span {
display: block;
font-size: 15px;
font-weight: normal;
}
.booking {
display: flex;
gap: 15px;
}
.white_section {
background: var(--blur_elevated);
padding: 1rem;
border: 1px solid var(--border);
border-radius: var(--br);
margin-bottom: 10px;
display: flex;
flex-direction: column;
gap: 10px;
}
.white_section table {
width: 100%;
text-align: left;
border-collapse: collapse;
}
.white_section table th,
.white_section table td {
padding: 5px;
border-bottom: 1px solid var(--border);
}
.verleihshop-erfolgsmeldung main {
background: var(--bg-white);
}
.white_section td li.promoted {
padding-bottom: 0;
}
.verleihshop-erfolgsmeldung img {
max-width: 200px;
margin: 0 auto;
}
p.rental_item_status svg {
width: 11px;
height: 11px;
margin-top: -1px;
display: flex;
}
.white_section h3 {
border-bottom: 1px solid var(--border);
padding-block-end: 8px;
margin: 0;
}
p.rental_item_status>span {
display: flex;
align-items: center;
gap: 5px;
}
p.rental_item_status {
display: flex;
gap: 15px;
align-items: center;
}
a[role="button"] {
padding: 10px;
border-radius: var(--br);
color: white;
background: var(--clr-mandant);
display: inline-block;
white-space: nowrap;
}
p.rental_item_status {
font-size: 13px;
opacity: 0.8;
}
.section_group.rental_items img.rental_item_image {
aspect-ratio: 4 / 3;
margin-bottom: 1rem;
border: 1px solid var(--border);
border-radius: var(--br);
max-height: 630px !important;
object-fit: contain;
background: white;
}
.rental_item img {
aspect-ratio: 4 / 3;
object-fit: contain;
}
.ticketcenter a.back:before {
display: none;
}
.rental_item h3 {
border-top: 1px solid var(--border);
padding-top: 15px;
}
.rental_item_button {
text-align: right;
padding: 10px;
text-decoration: underline;
color: var(--clr-mandant);
font-size: 13px;
}
.rental_item_list {
display: grid;
gap: 15px;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
/* Dynamische Spalten */
}
.buttons {
display: flex;
gap: 15px;
align-items: center;
flex-wrap: wrap;
}
.rental_item_list p.rental_item_status {
flex-wrap: wrap;
gap: 5px;
flex-direction: column;
align-items: flex-start;
}
.rental_item h3,
.rental_item p {
padding-inline: 15px;
margin-bottom: 15px;
}
a.rental_item_container {
background: var(--blur_elevated);
border-radius: var(--br);
overflow: hidden;
}
h2.rental_item_title {
font-size: var(--fs-900);
}
h2.rental_item_title:before {
display: none;
}
.section_group {
display: grid;
gap: calc(1rem * 1.5);
grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
align-items: flex-start;
}
.section_group.rental_items {
grid-template-columns: 2fr 1fr;
}
.cardform_section {
background: var(--blur_elevated);
padding: 2rem;
border-radius: var(--br);
border: 1px solid var(--border);
grid-column: span 3;
}
.card_ticket {
width: 100%;
background: var(--blur_elevated);
border-radius: var(--br);
display: block;
overflow: hidden;
border: 1px solid var(--border);
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
input[type="checkbox"].error_input {
outline: 1px solid red;
outline-offset: 2px;
outline-style: auto;
}
.info_labels label {
padding-block-end: 10px;
display: block;
border-bottom: 1px solid var(--border);
margin-bottom: 10px;
}
.info_labels_edit {
padding-block-end: 7px;
}
a.link {
text-decoration: underline;
color: #003bff;
}
tr.escalated td {
background: #ff000008 !important;
color: red !important;
font-weight: bold !important;
}
i.fa-solid.fa-circle-exclamation {
color: red;
}
.history {
padding: 1rem;
/* border-left: 1px solid var(--border); */
}
table#service_item_create td {
padding: 0 !important;
}
.select2-container--default .select2-selection--single {
border: 1px solid var(--border) !important;
border-radius: var(--br) !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
line-height: 40px !important;
}
.select2-container .select2-selection--single {
height: 40px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
height: 38px !important;
}
.table_titlebare {
display: flex;
align-items: center;
justify-content: space-between;
}
select#input_main_contact_all {
display: none;
}
a.button_delete.primary {
padding-inline: 17px;
}
.card_ticket input#input_description {
font-size: inherit;
}
.titlebar h1 {
margin-top: 0;
}
table#service_item_create .select2-container--default .select2-selection--single {
border-radius: 0 !important;
border: 0 !important;
}
table#service_item_create td select,
table#service_item_create td textarea,
table#service_item_create td input {
font-size: 14px !important;
border-radius: 0 !important;
border: 0 !important;
}
.create_service_items {
margin-bottom: 1rem;
}
.history_list_item {
padding-block-end: 1rem;
position: relative;
display: block;
color: inherit;
}
.history_list_item:before {
content: "";
width: 12px;
height: 12px;
position: absolute;
left: -22px;
top: 4px;
background: #dddddd;
border-radius: 999px;
}
.history_date {
font-size: 13px;
opacity: 0.7;
padding-bottom: 10px;
}
.history_link a {
text-decoration: underline !important;
color: blue;
}
.message {
background: var(--clr-light);
padding: 1rem;
border-radius: var(--br);
margin-bottom: 1rem;
max-width: 95%;
display: flex;
flex-direction: column;
gap: 10px;
border: 1px solid var(--border);
}
p.date {
font-size: 12px;
}
p.history {
font-size: 12px;
text-align: center;
color: gray;
}
textarea#send_message {
width: 100%;
max-width: unset;
}
input#files {
width: auto;
}
textarea#send_message {
min-height: 60px;
}
.communication_toolbar {
display: flex;
gap: 10px;
padding-top: 1rem;
flex-direction: column;
}
.send_message_inputs {
display: flex;
align-items: flex-start;
gap: 1rem;
}
.right_toolbar {
display: flex;
}
span.In.Bearbeitung {
display: inline-block;
background: orange;
padding: 2px 8px;
font-size: 11px;
border-radius: 99px;
color: white;
white-space: nowrap;
font-weight: 500 !important;
}
span.Offen {
display: inline-block;
background: #dddddd;
padding: 2px 8px;
font-size: 11px;
border-radius: 99px;
color: black;
font-weight: 500 !important;
}
.individual_state_span {
display: inline-block;
background: #d9f3ff;
padding: 2px 8px;
font-size: 11px;
border-radius: 99px;
color: #004084;
font-weight: 500 !important;
white-space: nowrap;
}
.order_link_text {
border-bottom: 1px solid var(--border);
padding-block-end: 1rem;
display: block;
margin-bottom: 10px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
width: 100%;
max-width: 260px;
color: blue;
text-decoration: underline;
}
/* form#form_ticket_card aside {
overflow-y: scroll;
height: 77vh;
} */
.order_link_text_label>div:last-child .order_link_text {
border-bottom: 0;
}
.select2-container {
width: 100% !important;
}
.status_container {
display: flex;
gap: 5px;
flex-wrap: wrap;
}
.send_mail_checkbox {
display: flex;
align-items: center;
flex-direction: row-reverse;
justify-content: flex-end;
gap: 5px;
}
.send_mail_checkbox input {
margin: 0;
}
.suppliers {
display: flex;
flex-wrap: wrap;
gap: 3px;
align-items: center;
}
.input.input_send_email {
display: flex;
}
span.Geschlossen {
display: inline-block;
background: #53ae37;
padding: 2px 8px;
font-size: 11px;
border-radius: 99px;
color: white;
font-weight: 500 !important;
}
section.cardform_section.new_ticket {
display: grid;
grid-template-columns: 2fr 3fr;
gap: 1rem;
}
section.cardform_section.new_ticket li.promoted {
width: 100%;
margin-top: 1rem;
margin-bottom: 1rem;
}
.ticket-instruction ol li,
.ticket-instruction ul li {
list-style: disc;
}
a.button_create_ticket {
width: 100%;
text-align: center;
display: block;
background: var(--clr-mandant);
color: white;
padding: 10px;
border-radius: var(--br);
}
.titlebar h1 {
margin-bottom: 0;
}
a.button_send_message_button {
background: var(--clr-mandant);
color: white;
padding: 1rem;
border-radius: var(--br);
display: block;
}
.message.outbound {
width: 100%;
margin-left: auto;
background: var(--bg-white);
}
.info_labels label div {
font-size: 16px;
}
.info_labels_edit label div {
font-size: 16px;
}
.titlebar li {
padding-bottom: 0 !important;
}
/* .card_header {
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid var(--border);
padding: 0.5rem;
padding-inline: 1rem;
min-height: 57px;
} */
.card_title h3 {
margin: 0;
}
p.state {
display: inline-block;
background: #e2e2e2;
padding: 5px 10px;
border-radius: var(--br);
}
aside {
grid-column: span 1;
}
fieldset {
border: 0;
}
div.dt-container.ui.grid>div.row:first-child {
padding-top: 0 !important;
padding-bottom: 0 !important;
}
.overdue {
background: #ff000008 !important;
color: red !important;
font-weight: bold !important;
}
.breadcrumb a {
color: white;
}
body.wiki .subcategory {
.pct_textcontent:after {
content: '';
width: 100%;
height: 10px;
background: var(--blur) !important;
position: absolute;
bottom: 0;
border-radius: 999px;
max-width: calc(100% - 2rem);
left: 50%;
transform: translateX(-50%);
}
.pct_read {
margin-bottom: 10px;
}
.pct_status {
height: 10px;
background: #5a9c9d;
border-radius: 999px;
z-index: 1;
position: relative;
}
}
body.wiki .category {
.pct_textcontent:after {
content: '';
width: 100%;
height: 10px;
background: var(--blur) !important;
position: absolute;
bottom: 0;
border-radius: 999px;
max-width: calc(100% - 2rem);
left: 50%;
transform: translateX(-50%);
}
.pct_read {
margin-bottom: 10px;
}
.pct_status {
height: 10px;
background: #5a9c9d;
border-radius: 999px;
z-index: 1;
position: relative;
}
}
.unreaded {
border: 1px solid red !important;
}
.ticketcenter {
.right_toolbar {
gap: 10px;
/* a {
color: var(--clr-dark);
border: unset;
} */
}
.left_toolbar {
gap: 10px;
/* a {
color: var(--clr-dark);
border: unset;
} */
}
.titlebar {
background-color: #fff;
border-radius: var(--br);
padding: 10px 20px;
}
#ticket_wrapper {
display: flex;
flex-direction: column;
background-color: #fff;
border-radius: var(--br);
padding: 10px 20px;
margin-top: 20px;
border: 1px solid var(--border);
table {
border-collapse: collapse;
}
thead {
tr {
border: 1px solid var(--border);
th {
padding: 1rem 4px;
border-left: 1px solid var(--border);
border-right: 1px solid var(--border);
}
}
}
tbody {
tr {
border: 1px solid var(--border);
td.ticket_numb {
white-space: nowrap;
word-break: keep-all;
hyphens: none;
}
td {
padding: 1rem 4px;
border-left: 1px solid var(--border);
border-right: 1px solid var(--border);
}
}
}
.row:last-of-type {
display: flex;
justify-content: space-between;
.dt-button-split.buttons {
gap: unset;
align-items: start;
button {
margin-bottom: unset;
&.ui.floating.button.dt-button-split-drop.dropdown.icon.dt-button {
height: 42px;
display: flex;
align-items: center;
justify-content: center;
}
}
}
.ui.unstackable.pagination.menu {
display: flex;
align-items: center;
gap: 10px;
li {
list-style: none;
/* .page-link {
color: var(--clr-dark);
} */
}
}
}
}
}
body.new_ticket {
.titlebar {
display: none;
}
}
body.ticket_edit {
.titlebar {
margin-bottom: 20px;
}
#input_main_tickets_status {
margin-bottom: 10px;
}
}
.ticketcenter {
.info_labels {
display: flex;
flex-direction: column;
input {
margin-bottom: 10px;
width: 100%;
}
.input {
margin-bottom: 10px;
width: 100%;
}
.promoted {
width: 100%;
}
a {
width: 100%;
}
}
}
.ticketcenter.ticket_edit {
main {
position: unset;
}
.main-screen {
position: unset;
}
/* div#hero_content {
height: unset;
} */
.modal.category_edit {
max-width: 600px;
width: calc(100% - 40px);
margin: 0px 20px;
position: absolute;
top: 50%;
left: calc(50% - 20px);
transform: translate(-50%, -50%);
background-color: #fff;
padding: 20px;
border-radius: 7px;
}
.category_edit_bg {
width: 100%;
height: 100%;
background-color: #0000002e;
top: 0px;
left: 0px;
position: absolute;
z-index: 999;
}
#category_edit {
display: block;
background: #ededed;
text-align: center;
padding: 10px;
border-radius: var(--br);
color: black;
cursor: pointer;
}
}
@media (width < 1200px) {
.ticketcenter.ticket_edit {
.section_group {
.cardform_section {
grid-column: span 2;
}
aside {
grid-column: span 2;
}
}
}
}
@media (width < 768px) {
.ticketcenter.ticket_edit {
.section_group {
.cardform_section {
grid-column: span 4;
}
aside {
grid-column: span 4;
}
}
}
}
#ticket tbody tr {
cursor: pointer;
}
/* Ticketcenter Ende */
body.ticketcenter,
body.servicecenter {
background-image: url(/userdata/01_Basis/Intranet_bg.webp) !important;
}
.ticketcenter .right_toolbar a[role="button"].active {
border-bottom: 2px solid var(--clr-mandant);
}
.ticketcenter .right_toolbar a[role="button"]:hover {
border-bottom: 2px solid var(--clr-mandant);
}
.ticketcenter .right_toolbar {
border-bottom: 1px solid var(--border);
}
.ticketcenter .right_toolbar a[role="button"] {
background: transparent;
border: 0;
color: var(--fc-primary);
padding: 5px 10px;
border-radius: 0;
}
.footer-header_1 {
display: none;
}
.footer-header_2 {
display: none;
}