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.
This commit is contained in:
417
module/ticketcenter/css/cardform.css
Normal file
417
module/ticketcenter/css/cardform.css
Normal file
@@ -0,0 +1,417 @@
|
||||
:root {
|
||||
--main-nav-hight: 200px;
|
||||
--ticket-nav-hight: 200px;
|
||||
--cardform_header-height: 90px;
|
||||
}
|
||||
|
||||
@media (width < 1200px) {
|
||||
:root {
|
||||
--main-nav-hight: 260px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (width < 991px) {
|
||||
:root {
|
||||
--main-nav-hight: 0px;
|
||||
}
|
||||
|
||||
#hero_content {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.cardform_body_left {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ticket_edit {
|
||||
.cardform_content .container {
|
||||
padding: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
#area-2 {
|
||||
padding: 0px;
|
||||
|
||||
>.container {
|
||||
padding-left: 0px !important;
|
||||
padding-right: 0px !important;
|
||||
}
|
||||
}
|
||||
|
||||
.tickets_cardform {
|
||||
min-height: calc(100dvh - var(--main-nav-hight));
|
||||
max-height: calc(100dvh - var(--main-nav-hight));
|
||||
height: calc(100dvh - var(--main-nav-hight));
|
||||
background: var(--bg-white);
|
||||
|
||||
.cardform_header {
|
||||
padding: 20px 30px 20px 30px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
.cardform_header_left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
|
||||
h2 {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
.cardform_header_right {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
|
||||
a {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cardform_body {
|
||||
display: flex;
|
||||
max-height: calc(100% - var(--cardform_header-height));
|
||||
height: 100%;
|
||||
|
||||
.cardform_body_left {
|
||||
flex: 1 1 25%;
|
||||
padding: 10px;
|
||||
border-right: 1px solid var(--border);
|
||||
|
||||
@media (width < 991px) {
|
||||
display: none;
|
||||
|
||||
}
|
||||
|
||||
&.is-closed {
|
||||
width: 40px;
|
||||
flex: unset;
|
||||
|
||||
.ticket_list {
|
||||
display: none;
|
||||
}
|
||||
|
||||
h3 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.body_left_line {
|
||||
button {
|
||||
i {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.body_left_line {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
|
||||
button {
|
||||
background: var(--blur);
|
||||
color: var(--fc-dark);
|
||||
font-size: var(--fs-500);
|
||||
padding: 8px;
|
||||
text-align: left;
|
||||
font-size: var(--fs-500);
|
||||
padding: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.ticket_list {
|
||||
height: calc(100% - 33px);
|
||||
overflow-y: scroll;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
-ms-overflow-style: none;
|
||||
/* IE and old Edge */
|
||||
scrollbar-width: none;
|
||||
|
||||
/* Firefox */
|
||||
.ticket_card {
|
||||
position: relative;
|
||||
|
||||
a {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
font-size: 14px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 5px;
|
||||
padding: 10px;
|
||||
margin-bottom: 10px;
|
||||
transition-duration: 200ms;
|
||||
|
||||
&:hover {
|
||||
border-color: var(--primary);
|
||||
background-color: #FAFAFA;
|
||||
transition-duration: 200ms;
|
||||
}
|
||||
|
||||
&.active {
|
||||
background-color: #FAFAFA;
|
||||
}
|
||||
|
||||
.card_header {
|
||||
display: flex;
|
||||
|
||||
.ticket_status {
|
||||
font-size: 12px;
|
||||
padding: 2px 5px;
|
||||
border-radius: 3px;
|
||||
background-color: #000;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.card_body {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
margin-top: 3px;
|
||||
|
||||
.ticket_no {
|
||||
font-weight: var(--fw-bold);
|
||||
}
|
||||
|
||||
.ticket_desc {
|
||||
font-weight: var(--fw-bold);
|
||||
}
|
||||
}
|
||||
|
||||
.card_footer {
|
||||
color: gray;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cardform_body_middle {
|
||||
flex: 1 1 45%;
|
||||
/* padding-left: 20px; */
|
||||
/* padding-right: 20px; */
|
||||
background-color: #F6F5F8;
|
||||
|
||||
.communication {
|
||||
height: 100%;
|
||||
|
||||
.messages_scroll_container {
|
||||
min-height: calc(100% - 200px);
|
||||
max-height: calc(100% - 200px);
|
||||
overflow-y: auto;
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.communication_toolbar {
|
||||
max-height: 200px;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
background: #fff;
|
||||
height: 200px;
|
||||
border-top: 1px solid var(--border);
|
||||
|
||||
&.communication_toolbar--closed {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
color: gray;
|
||||
font-size: var(--fs-500);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cardform_body_right {
|
||||
flex: 1 1 30%;
|
||||
border-left: 1px solid var(--border);
|
||||
padding: 16px;
|
||||
overflow-y: scroll;
|
||||
|
||||
@media (width < 991px) {
|
||||
position: fixed;
|
||||
top: 60px;
|
||||
right: 0px;
|
||||
width: 90dvw;
|
||||
height: calc(100dvh - 60px);
|
||||
z-index: 100;
|
||||
background-color: #fff;
|
||||
padding-bottom: 100px;
|
||||
}
|
||||
|
||||
&.is-closed {
|
||||
width: 50px;
|
||||
flex: unset;
|
||||
|
||||
@media (width < 991px) {
|
||||
position: static;
|
||||
}
|
||||
|
||||
h3 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ticketinfo_body {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ticketinfo_header_status {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.ticketinfo_header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 20px;
|
||||
|
||||
.ticketinfo_header_title {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
|
||||
h3 {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
button {
|
||||
background: var(--blur);
|
||||
color: var(--fc-dark);
|
||||
font-size: var(--fs-500);
|
||||
padding: 8px;
|
||||
text-align: left;
|
||||
font-size: var(--fs-500);
|
||||
padding: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.ticketinfo_header_status {
|
||||
font-size: 12px;
|
||||
padding: 4px 5px;
|
||||
border-radius: 3px;
|
||||
background-color: #000;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.ticketinfo_body {
|
||||
h3 {
|
||||
border-top: 1px solid var(--border);
|
||||
padding-top: 12px;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.ticketinfo_item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 6px;
|
||||
|
||||
.ticketinfo_item_links {
|
||||
font-size: var(--fs-500);
|
||||
color: gray;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.ticketinfo_item_right {
|
||||
width: 50%;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
* {
|
||||
scrollbar-color: unset;
|
||||
}
|
||||
|
||||
|
||||
@media (width < 768px) {
|
||||
form#form_ticket_card {
|
||||
padding-bottom: 85px;
|
||||
}
|
||||
|
||||
body {
|
||||
overflow: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.close-ticket-modal {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
z-index: 1000;
|
||||
|
||||
.close-ticket-modal-content {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
background: white;
|
||||
padding: 20px;
|
||||
border-radius: 8px;
|
||||
min-width: 300px;
|
||||
border: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.close-ticket-warning {
|
||||
color: #d32f2f;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.close-ticket-modal-buttons {
|
||||
text-align: right;
|
||||
gap: 10px;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
margin-top: 20px;
|
||||
|
||||
.btn-cancel {
|
||||
background: #ededed;
|
||||
text-align: center;
|
||||
padding: 10px;
|
||||
border-radius: var(--br);
|
||||
color: black;
|
||||
}
|
||||
|
||||
.btn-confirm {
|
||||
background: var(--clr-mandant);
|
||||
color: var(--fc-white-8);
|
||||
padding: 10px 15px;
|
||||
border-radius: var(--br);
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user