Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QA tool for custom data #4857

Merged
merged 18 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,227 @@
@import "../../../../../tokens";

.wrapper {
display: grid;
grid-template-rows: 120px min-content;
gap: $spacing-md;
height: 100%;
padding: $layout-sm;
background-color: $color-grey-05;
align-items: center;
justify-content: center;
}

.wrapperHibp {
grid-template-rows: 120px min-content 100px;
justify-content: center;
}

.header {
font: $text-title-xs;
font-weight: normal;
margin: auto;
width: 100%;
b {
font-weight: bold;
}
text-align: center;
}

.formAndListWrapper {
margin-top: 40px;
display: grid;
grid-template-rows: 1fr;
grid-template-columns: 3fr 2fr;
justify-content: center;
}

.hibpFormAndListWrapper {
grid-template-columns: 1fr 1fr;
}

.formWrapper {
display: grid;
grid-template-rows: 50px 4fr 100px;
justify-content: center;
}

.h2 {
text-align: center;
}

.allBreachesWrapper {
display: grid;
grid-template-rows: 50px 4fr;
justify-content: center;
}

.listButtonsWrapper {
display: grid;
grid-template-rows: auto 100px;
justify-content: center;
}

.listContainer {
max-height: 330px;
overflow-y: auto;
}

.searchBox {
background-color: white;
border: 1px solid rgb(139, 139, 139);
border-radius: 3px;
height: 240px;
width: 100%;
}

.buttonsWrapper {
height: auto;
display: grid;
grid-template-columns: 1fr 1fr;
}

.buttonsStandalone {
height: 100px;
width: 100%;
display: flex;
justify-content: center;
}

.listWrapper {
height: min-content;
display: grid;
grid-template-rows: 50px auto;
justify-content: center;
align-items: flex-start;
}

.hibpSelectedBoxWrapper {
width: 100%;
grid-template-columns: 100%;
.listContainer {
margin-left: 10px;
margin-right: 10px;
margin-top: 8px;
height: 300px;
}
p {
margin-left: 10px;
}
}

.button {
display: block;
margin: auto;
max-height: 100px;
max-width: 100px;
margin-top: 10px;
margin-bottom: 10px;
}

.buttonUnderList {
margin-left: 10px;
margin-right: 10px;
}

.buttonsHibp {
margin: 10px;
justify-self: center;
}

@keyframes shake {
0% {
transform: translateX(0);
}
25% {
transform: translateX(-5px);
}
75% {
transform: translateX(5px);
}
100% {
transform: translateX(0);
}
}

.error {
border-color: red; /* Example: Highlight border in red for error */
animation: shake 0.5s ease-in-out; /* Example animation */
}

.form {
display: flex;
flex-direction: column;
gap: $spacing-sm;
align-items: center;
width: min-content;

.userPicker {
flex: 1 0 auto;
align-items: center;
display: flex;
flex-wrap: wrap;
gap: $spacing-md;
min-height: $layout-md;

label {
display: flex;
flex-direction: column;
gap: $spacing-sm;
min-width: 50%;
width: 350px;
}

input {
padding: $spacing-sm;
font: $text-body-md;
transition: border-color 0.3s ease;
}
}
}

.listItem:hover {
background-color: #f0f0f0; /* Light grey background on hover */
cursor: pointer; /* Change cursor to indicate clickable item */
text-decoration: line-through;
}

.allBreachesItem:hover {
background-color: #f0f0f0; /* Light grey background on hover */
cursor: pointer; /* Change cursor to indicate clickable item */
}

.selectedBox {
margin: 0;
}

.breachName {
color: black;
margin-left: 10px;
}

.selected {
background-color: red;
}

.unselected {
background-color: white;
}

.configContainer {
display: flex;
background-color: $color-grey-05;
}

.configLeft {
flex: 1;
padding: 20px; /* Optional: add some padding */
}

.configRight {
flex: 1;
padding: 20px; /* Optional: add some padding */
}

.buttonContainer {
display: flex;
}
Loading
Loading