264 lines
4.7 KiB
SCSS
264 lines
4.7 KiB
SCSS
/* You can add global styles to this file, and also import other style files */
|
|
/* Core Data Grid CSS */
|
|
// @import "ag-grid-community/styles/ag-grid.css";
|
|
/* Quartz Theme Specific CSS */
|
|
// @import 'ag-grid-community/styles/ag-theme-quartz.css';
|
|
|
|
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
|
|
html, body {
|
|
height: 100vh;
|
|
width: 100vw;
|
|
overflow: hidden;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #e2e2e2;
|
|
font-family: Roboto, "Helvetica Neue", sans-serif;
|
|
}
|
|
|
|
.icon {
|
|
border: 1px solid #d0d5dd;
|
|
background-color: white;
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
box-sizing: border-box;
|
|
border-radius: 6px;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
transition: box-shadow 0.1s ease-in-out;
|
|
|
|
&:hover {
|
|
// box-shadow: 0 0 0 4px transparent,0 1px 2px #0c111d11;
|
|
box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
|
|
0px 6px 10px 0px rgba(0, 0, 0, 0.14),
|
|
0px 1px 18px 0px rgba(0, 0, 0, 0.12);
|
|
}
|
|
}
|
|
|
|
.icon-btn-sm {
|
|
// box-shadow: 0 0 0 4px transparent,0 1px 2px #0c111d11;
|
|
border: 1px solid #d0d5dd;
|
|
background-color: white;
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
box-sizing: border-box;
|
|
border-radius: 6px;
|
|
background-size: 16px;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
width: 28px;
|
|
height: 28px;
|
|
transition: box-shadow 0.1s ease-in-out;
|
|
|
|
&:hover {
|
|
// box-shadow: 0 0 0 4px transparent,0 1px 2px #0c111d11;
|
|
box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
|
|
0px 6px 10px 0px rgba(0, 0, 0, 0.14),
|
|
0px 1px 18px 0px rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
}
|
|
|
|
.download-pdf {
|
|
background-image: url("./assets/img/pdf.png");
|
|
background-size: 22px;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease-in-out;
|
|
// background-color: red;
|
|
&:hover {
|
|
background-color: #ccc;
|
|
}
|
|
}
|
|
|
|
.icon-btn-xs {
|
|
width: 28px;
|
|
height: 28px;
|
|
background-size: 20px;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.loading-spinner {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(255, 255, 255, 0.4);
|
|
z-index: 1000;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.delete {
|
|
background-image: url("./assets/img/delete.svg");
|
|
}
|
|
|
|
.edit {
|
|
background-image: url("./assets/img/edit.svg");
|
|
}
|
|
|
|
.restore {
|
|
background-image: url("./assets/img/restore.svg");
|
|
}
|
|
|
|
.magnifying-glass {
|
|
background-image: url("./assets/img/magnifying-glass.svg");
|
|
}
|
|
|
|
.lost {
|
|
background-image: url("./assets/img/lost.svg");
|
|
}
|
|
|
|
.ag-row {
|
|
transition: background-color 0.2s ease-in-out;
|
|
}
|
|
|
|
.ag-row .ag-cell {
|
|
display: flex;
|
|
// justify-content: center; /* align horizontal */
|
|
align-items: center;
|
|
}
|
|
|
|
|
|
div.ag-row {
|
|
// font-size: 16px !important;
|
|
}
|
|
|
|
.floating-btn-container {
|
|
position: absolute;
|
|
bottom: 48px;
|
|
right: 24px;
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.warning-message {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
padding: 1rem;
|
|
|
|
mat-icon {
|
|
font-size: 48px;
|
|
height: 48px;
|
|
width: 48px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.additional-info {
|
|
margin-top: 1rem;
|
|
color: rgba(0, 0, 0, 0.6);
|
|
}
|
|
}
|
|
|
|
.key-lost{
|
|
span, div {
|
|
|
|
text-decoration: line-through !important;
|
|
}
|
|
}
|
|
|
|
.mdc-notched-outline__notch
|
|
{
|
|
border-right: none;
|
|
}
|
|
|
|
|
|
.p-4 {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.bg-gray-50 {
|
|
background-color: rgb(249 250 251);
|
|
}
|
|
|
|
.rounded-md {
|
|
border-radius: 0.375rem;
|
|
}
|
|
|
|
.shadow-sm {
|
|
box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
}
|
|
|
|
.text-gray-400 {
|
|
color: rgb(156 163 175);
|
|
}
|
|
|
|
.mr-2 {
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
.spacer-y8 {
|
|
height: 8px;
|
|
}
|
|
|
|
.spacer-y16 {
|
|
height: 16px;
|
|
}
|
|
|
|
.spacer-y32 {
|
|
height: 32px;
|
|
}
|
|
|
|
.mat-mdc-button, .mat-mdc-raised-button:not(.mat-mdc-button-disabled) {
|
|
.mdc-button__label, .mat-icon {
|
|
color: #000;
|
|
}
|
|
}
|
|
|
|
|
|
.btn-warning:not(.mat-mdc-button-disabled) {
|
|
.mdc-button__label, .mat-icon {
|
|
color: rgb(197, 0, 0);
|
|
}
|
|
}
|
|
|
|
.btn-primary:not(.mat-mdc-button-disabled).mat-mdc-raised-button {
|
|
.mdc-button__label, .mat-icon {
|
|
color: rgb(32, 100, 0);
|
|
}
|
|
}
|
|
|
|
.ag-filter-body-wrapper {
|
|
padding: 8px 12px;
|
|
gap: 6px;
|
|
}
|
|
|
|
.active-link {
|
|
// background-color: rgba(0, 0, 0, 0.08) !important;
|
|
font-weight: 500 !important;
|
|
box-shadow: 0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);
|
|
// border-top-right-radius: 0 !important;
|
|
// border-bottom-right-radius: 0 !important;
|
|
color: #2D6B05;
|
|
}
|
|
|
|
.flex-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.loading-overlay {
|
|
position: absolute;
|
|
height: 100%;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
margin: 0;
|
|
box-sizing: border-box;
|
|
z-index: 2;
|
|
background: rgba(255, 255, 255, 0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
} |