-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Prettier formatting check to the Dashboard lint check (#3358)
Also, add more files to Prettier's ignore list, and reformat the offending files. PBENCH-1114
- Loading branch information
Showing
24 changed files
with
376 additions
and
378 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
**/*.ejs | ||
**/*.html | ||
**/*.ico | ||
**/*.jpg | ||
**/*.md | ||
**/*.png | ||
**/*.snap | ||
**/*.svg | ||
**/*.html | ||
**/*.ejs | ||
package.json |
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
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 |
---|---|---|
@@ -1,70 +1,70 @@ | ||
body, | ||
html { | ||
padding: 0; | ||
margin: 0; | ||
height: 100%; | ||
padding: 0; | ||
margin: 0; | ||
height: 100%; | ||
} | ||
|
||
ul>li { | ||
list-style-type: none; | ||
ul > li { | ||
list-style-type: none; | ||
} | ||
|
||
#root { | ||
height: 100%; | ||
height: 100%; | ||
} | ||
|
||
.App { | ||
height: 100%; | ||
height: 100%; | ||
} | ||
|
||
/* Works on Firefox */ | ||
* { | ||
scrollbar-width: thin; | ||
scrollbar-color: #F5F5F5 #a39f9f; | ||
scrollbar-width: thin; | ||
scrollbar-color: #f5f5f5 #a39f9f; | ||
} | ||
|
||
/* Works on Chrome, Edge, and Safari */ | ||
::-webkit-scrollbar-track { | ||
-webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); | ||
border-radius: 10px; | ||
background-color: #F5F5F5; | ||
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); | ||
-webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); | ||
border-radius: 10px; | ||
background-color: #f5f5f5; | ||
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); | ||
} | ||
|
||
::-webkit-scrollbar { | ||
width: 5px; | ||
background-color: #F5F5F5; | ||
width: 5px; | ||
background-color: #f5f5f5; | ||
} | ||
|
||
::-webkit-scrollbar-thumb { | ||
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); | ||
border-radius: 10px; | ||
-webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, .3); | ||
background-color: #a39f9f; | ||
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); | ||
border-radius: 10px; | ||
-webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); | ||
background-color: #a39f9f; | ||
} | ||
|
||
/* Works on Firefox */ | ||
* { | ||
scrollbar-width: thin; | ||
scrollbar-color: #F5F5F5 #a39f9f; | ||
scrollbar-width: thin; | ||
scrollbar-color: #f5f5f5 #a39f9f; | ||
} | ||
|
||
/* Works on Chrome, Edge, and Safari */ | ||
::-webkit-scrollbar-track { | ||
-webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); | ||
border-radius: 10px; | ||
background-color: #F5F5F5; | ||
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); | ||
-webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); | ||
border-radius: 10px; | ||
background-color: #f5f5f5; | ||
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); | ||
} | ||
|
||
::-webkit-scrollbar { | ||
width: 5px; | ||
background-color: #F5F5F5; | ||
width: 5px; | ||
background-color: #f5f5f5; | ||
} | ||
|
||
::-webkit-scrollbar-thumb { | ||
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); | ||
border-radius: 10px; | ||
-webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, .3); | ||
background-color: #a39f9f; | ||
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); | ||
border-radius: 10px; | ||
-webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); | ||
background-color: #a39f9f; | ||
} |
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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
export const DEFAULT_PER_PAGE=10; | ||
export const DEFAULT_PER_PAGE = 10; |
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
body { | ||
margin: 0; | ||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', | ||
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', | ||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", | ||
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", | ||
sans-serif; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
} | ||
|
||
code { | ||
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', | ||
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", | ||
monospace; | ||
} |
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
176 changes: 87 additions & 89 deletions
176
dashboard/src/modules/components/AuthComponent/index.less
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 |
---|---|---|
@@ -1,97 +1,95 @@ | ||
.main-container { | ||
position: relative; | ||
.login-page { | ||
.login-footer-btn-wrapper { | ||
width: 100%; | ||
margin: 2vh 0; | ||
|
||
button { | ||
width: 100%; | ||
} | ||
} | ||
.password-holder { | ||
display: flex; | ||
} | ||
.logo { | ||
width: 75px; | ||
} | ||
.sideGridItem { | ||
margin-top: 5vh; | ||
color: #FFFFFF; | ||
} | ||
.login-right-component { | ||
position: relative; | ||
} | ||
.pf-c-card { | ||
padding: 2vh 0; | ||
} | ||
.continueBtn { | ||
padding: inherit; | ||
} | ||
.signup-card { | ||
height: 80%; | ||
overflow-y: scroll; | ||
padding: 0 2vh; | ||
|
||
.contraints-container { | ||
padding: 1vh; | ||
.pf-c-helper-text__item-icon { | ||
margin-right: 1vw; | ||
} | ||
.pf-c-helper-text__item-text { | ||
color: #151515; | ||
} | ||
} | ||
.button-wrapper { | ||
margin: 1vh 0; | ||
} | ||
.error { | ||
color: red; | ||
font-size: var(--pf-global--FontSize--sm); | ||
} | ||
} | ||
.orText { | ||
padding: 1vh; | ||
} | ||
.text-center { | ||
text-align: center; | ||
} | ||
position: relative; | ||
.login-page { | ||
.login-footer-btn-wrapper { | ||
width: 100%; | ||
margin: 2vh 0; | ||
|
||
button { | ||
width: 100%; | ||
} | ||
} | ||
.auth-card { | ||
.pf-c-card__body { | ||
padding: 0; | ||
} | ||
.button-wrapper { | ||
width: 100%; | ||
margin: 2vh 0 4vh; | ||
padding: 0 24px; | ||
.password-holder { | ||
display: flex; | ||
} | ||
.logo { | ||
width: 75px; | ||
} | ||
.sideGridItem { | ||
margin-top: 5vh; | ||
color: #ffffff; | ||
} | ||
.login-right-component { | ||
position: relative; | ||
} | ||
.pf-c-card { | ||
padding: 2vh 0; | ||
} | ||
.continueBtn { | ||
padding: inherit; | ||
} | ||
.signup-card { | ||
height: 80%; | ||
overflow-y: scroll; | ||
padding: 0 2vh; | ||
|
||
button { | ||
width: 100%; | ||
} | ||
} | ||
.account-wrapper { | ||
text-align: center; | ||
padding: 2vh 0; | ||
background: #F0F0F0; | ||
max-height: 20vh; | ||
height: 15vh; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
.contraints-container { | ||
padding: 1vh; | ||
.pf-c-helper-text__item-icon { | ||
margin-right: 1vw; | ||
} | ||
.log-in-alternate { | ||
text-align: center; | ||
margin-top: 3vh; | ||
} | ||
.alternate-btn-wrapper { | ||
button { | ||
width: 100%; | ||
margin: 2vh 0; | ||
} | ||
.pf-c-helper-text__item-text { | ||
color: #151515; | ||
} | ||
} | ||
.button-wrapper { | ||
margin: 1vh 0; | ||
} | ||
.error { | ||
color: red; | ||
font-size: var(--pf-global--FontSize--sm); | ||
} | ||
} | ||
} | ||
.orText { | ||
padding: 1vh; | ||
} | ||
.text-center { | ||
text-align: center; | ||
} | ||
} | ||
.auth-card { | ||
.pf-c-card__body { | ||
padding: 0; | ||
} | ||
.button-wrapper { | ||
width: 100%; | ||
margin: 2vh 0 4vh; | ||
padding: 0 24px; | ||
|
||
button { | ||
width: 100%; | ||
} | ||
} | ||
.account-wrapper { | ||
text-align: center; | ||
padding: 2vh 0; | ||
background: #f0f0f0; | ||
max-height: 20vh; | ||
height: 15vh; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
.log-in-alternate { | ||
text-align: center; | ||
margin-top: 3vh; | ||
} | ||
.alternate-btn-wrapper { | ||
button { | ||
width: 100%; | ||
margin: 2vh 0; | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.