Duffer Derek
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Prevent input zoom on iOS devices */
@layer base {
@media (max-width: 1024px) {
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
max-height: none !important;
font-size: 16px !important; /* Prevents zoom on iOS when font-size is less than 16px */
}
}
}
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 0 0% 3.9%;
--card: 0 0% 100%;
--card-foreground: 0 0% 3.9%;
--popover: 0 0% 100%;
--popover-foreground: 0 0% 3.9%;
--primary: 0 0% 9%;
--primary-foreground: 0 0% 98%;
--secondary: 0 0% 96.1%;
--secondary-foreground: 0 0% 9%;
--muted: 0 0% 96.1%;
--muted-foreground: 0 0% 45.1%;
--accent: 0 0% 96.1%;
--accent-foreground: 0 0% 9%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 0 0% 98%;
--border: 0 0% 89.8%;
--input: 0 0% 89.8%;
--ring: 0 0% 3.9%;
--chart-1: 12 76% 61%;
--chart-2: 173 58% 39%;
--chart-3: 197 37% 24%;
--chart-4: 43 74% 66%;
--chart-5: 27 87% 67%;
--radius: 0.5rem;
--sidebar-background: 0 0% 100%;
--sidebar-foreground: 240 5.3% 26.1%;
--sidebar-primary: 240 5.9% 10%;
--sidebar-primary-foreground: 0 0% 98%;
--sidebar-accent: 240 4.8% 95.9%;
--sidebar-accent-foreground: 240 5.9% 10%;
--sidebar-border: 220 13% 91%;
--sidebar-ring: 217.2 91.2% 59.8%;
}
.dark {
--background: 0 0% 3.9%;
--foreground: 0 0% 98%;
--card: 0 0% 3.9%;
--card-foreground: 0 0% 98%;
--popover: 0 0% 3.9%;
--popover-foreground: 0 0% 98%;
--primary: 0 0% 98%;
--primary-foreground: 0 0% 9%;
--secondary: 0 0% 14.9%;
--secondary-foreground: 0 0% 98%;
--muted: 0 0% 14.9%;
--muted-foreground: 0 0% 63.9%;
--accent: 0 0% 14.9%;
--accent-foreground: 0 0% 98%;
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 0 0% 98%;
--border: 0 0% 14.9%;
--input: 0 0% 14.9%;
--ring: 0 0% 83.1%;
--chart-1: 220 70% 50%;
--chart-2: 160 60% 45%;
--chart-3: 30 80% 55%;
--chart-4: 280 65% 60%;
--chart-5: 340 75% 55%;
--sidebar-background: 240 5.9% 10%;
--sidebar-foreground: 240 4.8% 95.9%;
--sidebar-primary: 224.3 76.3% 48%;
--sidebar-primary-foreground: 0 0% 100%;
--sidebar-accent: 240 3.7% 15.9%;
--sidebar-accent-foreground: 240 4.8% 95.9%;
--sidebar-border: 240 3.7% 15.9%;
--sidebar-ring: 217.2 91.2% 59.8%;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
}
/* base css */
html,
body {
padding: 0px;
margin: 0px;
}
* {
box-sizing: border-box;
}
p {
font-size: 12px;
font-weight: 400;
font-style: normal;
line-height: 20px;
color: #333;
}
a {
font-size: 12px;
font-weight: 500;
line-height: normal;
text-align: right;
color: #111;
transition: all 0.3s ease;
}
a:hover {
opacity: 0.8;
}
hr {
border-color: rgba(17, 17, 17, 0.1);
}
/* Prevent automatic zooming on input elements */
@media (max-width: 1024px) {
input,
select,
textarea,
button,
[contenteditable] {
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
font-size: 16px; /* Minimum font size to prevent iOS zoom */
}
}
/* Disable double-tap to zoom */
* {
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
}
/* Ensure full-width responsiveness */
html,
body {
max-width: 100%;
/* overflow-x: hidden; */
-webkit-overflow-scrolling: touch;
}
/* Prevent pinch-zoom */
@media screen and (max-width: 768px) {
html,
body {
touch-action: none;
}
}
/* Additional zoom prevention for interactive elements */
.no-zoom {
touch-action: none;
-webkit-user-select: none;
user-select: none;
}
/*Input*/
input {
font-weight: 400;
font-style: normal;
line-height: normal;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
transition: all 0.3s ease;
outline: 0;
}
input[type="password"] {
padding-right: 30px;
}
label.label {
font-size: 12px;
font-weight: 400;
line-height: normal;
color: #333;
}
.form-group {
position: relative;
}
.password-icon {
position: absolute;
top: 50%;
right: 9px;
transform: translateY(-50%);
}
.checkbox-style span {
/* padding:5px; */
width: 20px;
height: 20px;
border: 1px solid rgba(17, 17, 17, 0.2);
border-radius: 5px;
background: #fff;
}
.checkbox-style span[data-state] {
/* top: 50%; */
width: initial;
height: initial;
padding: 0;
border: 0px;
}
.checkbox-style span[data-state] svg {
width: 14px !important;
}
.checkdropSvg svg {
width: 24px !important;
height: 24px !important;
}
.addGroupIcon svg {
width: 18px !important;
height: 18px !important;
}
.group-actions [role="menuitem"] button span {
font-size: 12px;
font-weight: 500;
line-height: normal;
color: #111;
}
.group-actions [role="menuitem"] button span:first-letter {
text-transform: capitalize;
}
.custom-event {
border: 1px solid rgba(17, 17, 17, 0.15) !important;
border-radius: 10px !important;
box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.04) !important;
color: #000 !important;
background: #fff !important;
}
/* .dhx_scale_time_slot {
border-bottom: 1px solid rgba(87, 177, 97, 0.15)!important;
}
.dhx_scale_time_slot.dhx_scale_time_slot_hour_start {
border-bottom: 1px solid rgba(87, 177, 97, 0.3)!important;
}
.dhx_scale_hour {
border: 0 !important;
background: #fff;
} */
/* calender custom styles */
.dhx_scale_holder {
border: 0px !important;
}
.dhx_scale_bar,
.dhx_cal_header,
.dhx_cal_data {
border: 0px !important;
}
[data-column-index] {
width: calc(100% / 7 - 24px) !important;
margin: 0 12px;
border: 1px solid;
border: 1px solid rgba(227, 6, 19, 0.2) !important;
border-radius: 10px;
}
[data-column-index] {
background: rgba(227, 6, 19, 0.04) !important;
}
[data-column-index] .dhx_scale_time_slot {
border-bottom: 1px solid rgba(227, 6, 19, 0.2);
border-radius: 0 !important;
}
[data-column-index] .dhx_scale_time_slot.dhx_scale_time_slot_hour_start {
border-bottom: 1px dotted rgba(227, 6, 19, 0.2);
}
[data-column-index] .dhx_scale_time_slot:first-child {
border-top-left-radius: 10px !important;
border-top-right-radius: 10px !important;
}
.dhx_scale_hour {
border-bottom: 0px !important;
}
.dhx_event_resize.dhx_footer {
width: 100%;
}
/* .dhx_scale_time_slot {
height: 12px !important;
}
.dhx_scale_hour{
height:24px!important;
} */
/* .dhx_scale_holder {
height:auto !important;
} */
.dhx_cal_navline {
display: none !important;
}
.dhx_cal_event .dhx_footer:before,
.dhx_cal_event .dhx_select_menu_footer:before {
color: #e30613 !important;
}
.dhx_scale_time_slot {
position: relative;
}
.dhx_cal_event--xsmall .dhx_event_resize.dhx_footer:before,
.dhx_cal_event--small .dhx_event_resize.dhx_footer:before {
height: 4px;
}
.dhx_cal_event {
left: 0px !important;
width: 100% !important;
}
.dhx_btn_set.dhx_left_btn_set.dhx_save_btn_set,
.dhx_btn_set.dhx_left_btn_set.dhx_cancel_btn_set {
display: inline-block;
width: 47%;
padding: 6px 0;
text-align: center;
}
.dhx_btn_set.dhx_left_btn_set.dhx_cancel_btn_set {
border: 1px solid rgb(17 17 17 / 0.15);
background-color: #fff;
}
.dhx_btn_set.dhx_left_btn_set.dhx_save_btn_set {
border: 1px solid rgba(227, 6, 19, 0.2);
background-color: rgba(227, 6, 19, 0.06);
}
.dhx_cal_event.dhx_cal_event--small,
.dhx_cal_event.dhx_cal_event--xsmall,
.dhx_cal_event {
padding: 2px !important;
}
.dhx_cal_event.dhx_cal_event--small .dhx_title,
.dhx_cal_event.dhx_cal_event--xsmall .dhx_title,
.dhx_cal_event .dhx_title {
position: relative;
width: 100%;
padding-top: 2px;
padding-left: 20px;
justify-content: flex-start !important;
font-size: 11px !important;
font-weight: 500;
line-height: normal !important;
text-align: left;
color: #111;
}
.dhx_cal_event.dhx_cal_event--small .dhx_title::before,
.dhx_cal_event.dhx_cal_event--xsmall .dhx_title::before,
.dhx_cal_event .dhx_title::before {
position: absolute;
top: 0;
left: 0;
width: 18px;
height: 18px;
background-image: url("../images/videocam_off.svg");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
content: "";
}
.dhx_cal_lcontrols .dhx_btn_set .dhx_btn_inner.apply_all_btn {
position: relative;
display: block;
width: 18px;
height: 18px;
}
.dhx_cal_lcontrols .dhx_btn_set .dhx_btn_inner.apply_all_btn:before {
position: absolute;
top: 0;
left: 0;
width: 18px;
height: 18px;
background-image: url("../images/tab_inactive.svg");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
content: "";
}
.dhx_btn_inner.dhx_delete_btn:before {
width: 18px;
height: 18px;
background-image: url("../images/delete_icon.svg");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
content: "" !important;
}
.dhx_cal_light:before {
position: absolute;
top: auto;
left: -7px;
width: 12px;
height: 12px;
border-top: 1px solid rgba(17, 17, 17, 0.15);
border-left: 1px solid rgba(17, 17, 17, 0.15);
background-color: #fdfdfd;
transform: rotate(-45deg);
content: "";
}
[data-slot-date$="23:30"] {
border: 0 !important;
}
.dhx_cal_container .dhx_scale_hour {
position: relative;
top: -8px;
justify-content: end;
font-size: 11px;
font-weight: 500;
line-height: 24px;
color: #666;
}
.dhx_cal_container .dhx_cal_data {
overflow: visible;
}
.dhx_scale_time_slot:first-child {
border-radius: 10px;
}
.dhx_cal_event.dhx_cal_event_selected.custom-event {
border: 1px solid rgba(17, 17, 17, 0.35) !important;
}
.scheduler-wrap + button {
display: none !important;
}
.scheduler_modal_box {
z-index: 101 !important;
}
.scheduler_modal_box {
pointer-events: auto;
}
.dhx_cal_light.lightbox-left:before {
right: -7px;
left: auto;
transform: scaleX(-1) rotate(-45deg);
}
.scheduler-outerWrap {
position: fixed;
top: 0;
left: 0;
z-index: 99;
display: flex;
width: 100%;
height: 100%;
flex-wrap: wrap;
align-content: center;
background-color: rgba(111, 114, 122, 0.5);
}
.scheduler-confirmation-dialog {
z-index: 99;
}
.scheduler-wrap {
width: 95%;
max-width: 989px;
max-height: 93vh;
padding: 30px 40px;
margin: auto;
border-radius: 10px;
background-color: #fff;
overflow: auto;
}
.mobile {
display: none;
}
.hamburger,
.hamburger-close {
display: none;
align-items: center;
}
.hamburger {
position: fixed;
top: 30px;
right: 20px;
}
.hamburger-close {
position: fixed;
top: 25px;
right: 14px;
background-color: #ffffff;
}
.hamburger span {
display: inline-block;
margin-right: 7px;
font-size: 13px;
font-weight: 500;
line-height: normal;
color: #111;
}
.hamburger-close span {
display: inline-block;
margin-right: 1px;
font-size: 13px;
font-weight: 500;
line-height: normal;
color: #111;
}
@media (max-width: 1440px) {
.main-dashboard .right-side {
@apply py-[90px] px-[18px];
}
}
@media (max-width: 1024px) {
.scheduler-wrap .heading-block {
margin-right: 30px;
margin-bottom: 15px;
}
.scheduler-top-section .button-block {
margin-left: auto;
}
}
@media (max-width: 767px) {
.desktop {
display: none;
}
.mobile {
display: block;
}
.mobile img {
margin: 0 0 0 18px;
}
.hamburger,
.hamburger-close {
display: flex;
}
.main-dashboard .left-side {
position: absolute;
z-index: 9;
width: 100%;
height: auto;
max-width: 100%;
}
.main-dashboard .left-side > div {
min-height: auto;
}
.main-dashboard .right-side {
max-width: 100%;
padding-top: 88px;
}
.scheduler-top-section {
flex-wrap: wrap;
}
.scheduler-wrap .heading-block h2 {
line-height: 1.5;
}
.scheduler-wrap {
padding: 20px 25px;
}
}
.main-dashboard .right-side {
position: relative;
align-content: flex-start;
}
.delete-overlay-btn-groups {
button {
@apply w-auto max-w-full bg-transparent text-[#111] text-[12px] hover:bg-transparent;
}
.delete-btn {
@apply rounded-[8px] border border-[rgba(17,17,17,0.15)] bg-white shadow-[2px_2px_4px_0px_rgba(0,0,0,0.04)] p-[6px_14px];
}
}
.custom-sidebar [data-variant="sidebar"] > .h-svh {
height: auto;
}
.dhx_cal_data {
position: relative;
}
.dhx_cal_data:before {
position: absolute;
z-index: 9;
width: 62px;
height: 100%;
background-color: transparent;
content: "";
}
.scheduler_popup_button.dhtmlx_popup_button.scheduler_cancel_button.dhtmlx_cancel_button {
border-color: rgb(17 17 17 / 0.15);
font-size: 12px;
color: #333;
}
.scheduler_popup_button.dhtmlx_popup_button.scheduler_ok_button.dhtmlx_ok_button {
border: 1px solid rgba(227, 6, 19, 0.2);
color: #333;
background-color: rgba(227, 6, 19, 0.06);
}
*:focus {
outline: 0px !important;
}
*:focus-visible {
outline: 0px !important;
}
/* Add these styles to your global CSS or component styles */
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fadeOut {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
@media (max-width: 1024px) {
.lightbox-wrapper-active {
position: fixed !important;
background-color: rgba(111, 115, 123, 0.5);
}
.lightbox-wrapper-active > div {
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%);
}
.dhx_cal_light:before {
display: none;
}
}
@media (max-width: 767px) {
/* Override default sidebar animation */
[data-sidebar="sidebar"] {
animation: none !important;
transition: opacity 1s ease-in-out !important;
transform: none !important;
}
/* Hidden state */
[data-sidebar="sidebar"][data-state="closed"] {
opacity: 0;
pointer-events: none;
}
/* Visible state */
[data-sidebar="sidebar"][data-state="open"] {
animation: fadeIn 1s ease-in-out;
opacity: 1;
}
/* Ensure sidebar is always positioned correctly on mobile */
[data-sidebar="sidebar"] {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
}
}
.custom-quarter-line:first-child {
opacity: 0 !important;
}
[data-column-index] .dhx_scale_time_slot {
border: 0px !important;
}
.dhx_scale_hour + .custom-quarter-lines {
display: none;
}
.dhx_cal_event.custom-event {
z-index: 3;
}
.custom-quarter-line {
border-top: 1px solid rgba(227, 6, 19, 5%);
}
.custom-quarter-line:nth-child(2n + 1) {
border-top: 1px solid rgba(227, 6, 19, 7%);
}
.custom-quarter-line:nth-child(4n + 1) {
border-top: 1px solid rgba(227, 6, 19, 15%);
}
.unit-status-block * {
word-break: break-word;
}
.notification {
display: flex;
align-items: center;
}
.notification svg {
width: 18px !important;
height: 18px !important;
margin-right: 10px;
}
/* Prevent body scroll when overlay is visible */
.no-scroll {
touch-action: none !important;
position: fixed !important;
width: 100% !important;
height: 100% !important;
overflow: hidden !important;
/* iOS Safari specific fixes */
-webkit-overflow-scrolling: touch !important;
}
.heading-block-wrapper {
position: initial !important;
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists