Files
keyvault/client/src/styles.scss
Bastian Wagner 03ae75c83d ...
2024-10-23 15:16:00 +02:00

93 lines
1.8 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';
html, body {
height: 100vh;
width: 100vw;
overflow: hidden;
margin: 0;
padding: 0;
background-color: #e2e2e2;
font-family: Roboto, "Helvetica Neue", sans-serif;
}
.flex {
display: flex;
align-items: center;
justify-content: center;
}
.flex-column {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.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: 20px;
background-position: center;
background-repeat: no-repeat;
width: 38px;
height: 38px;
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-xs {
width: 28px;
height: 28px;
background-size: 20px;
}
.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");
}
.restore {
background-image: url("./assets/img/restore.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;
}