-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
1,588 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
227 changes: 227 additions & 0 deletions
227
src/app/(proper_react)/(redesign)/(authenticated)/admin/qa-customs/ConfigPage.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
Oops, something went wrong.