marco.pms.web/src/index.css
2025-06-09 13:10:56 +05:30

170 lines
3.0 KiB
CSS

:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
a {
font-weight: 500;
color: #646cff;
text-decoration: inherit;
}
a:hover {
color: #535bf2;
}
body {
margin: 0;
display: flex;
place-items: center;
min-width: 320px;
min-height: 100vh;
}
h1 {
font-size: 3.2em;
line-height: 1.1;
}
button {
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #1a1a1a;
cursor: pointer;
transition: border-color 0.25s;
}
button:hover {
border-color: #646cff;
}
button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}
.is-invalids{
border-color: #F06B6C !important; /* Set pure red as the border color */
color:#F06B6C
;
font-size:small ;
}
.scroll::-webkit-scrollbar {
width: 5px;
}
@media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
}
a:hover {
color: #747bff;
}
button {
background-color: #f9f9f9;
}
}
.danger-text {
color: #f08080;
}
/* for breadcrumb It Important*/
.breadcrumb-style1 .breadcrumb-item + .breadcrumb-item::before {
content: "";
font-size: 11.8px;
line-height: 1.4;
}
.li-wrapper {
display: flex;
justify-content: space-between;
align-items: center;
}
.name-column,
.role-column,
.checkbox-column {
flex: 1;
}
/* Custom Scrollbar for Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
width: 6px; /* Width of the scrollbar */
height: 6px; /* Height of the scrollbar (for horizontal scrollbar) */
}
::-webkit-scrollbar-track {
background-color: #f1f1f1; /* Background of the scrollbar track */
border-radius: 2px; /* Rounded corners for the track */
}
::-webkit-scrollbar-thumb {
background-color: #888; /* Color of the scrollbar thumb */
border-radius: 10px; /* Rounded corners for the thumb */
}
::-webkit-scrollbar-thumb:hover {
background-color: #555; /* Color of the thumb on hover */
}
@keyframes spin {
100% {
transform: rotate(-360deg); /* Counterclockwise */
}
}
.spin {
animation: spin 1s linear infinite;
}
.popover-body {
padding: 0 !important;
}
.custom-popover{
max-height: 100px;
overflow: auto;
}
.small-text{
font-size: 12px;
}
.custom-accordion-btn {
padding: 1px !important;
transition: background-color 0.3s ease;
}
.accordion-button::after {
display: none;
padding: 0px;
}
.accordion-header {
position: relative;
border-bottom: none;
}
.accordion-button.collapsed .toggle-icon {
content: "\f10b"; /* plus-circle */
}
.accordion-button:not(.collapsed) .toggle-icon {
content: "\f146"; /* minus-circle */
}
.hoverBox:hover{
background-color: #f1f3f5;
}