Skip to content

Commit

Permalink
Merge pull request #1248 from jennydaman/fmt
Browse files Browse the repository at this point in the history
Fmt
  • Loading branch information
PintoGideon authored Sep 21, 2024
2 parents 77e8ea4 + c020771 commit 9f8078e
Show file tree
Hide file tree
Showing 25 changed files with 103 additions and 118 deletions.
2 changes: 1 addition & 1 deletion lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ pre-commit:
commands:
check:
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}"
run: npx biome format --no-errors-on-unmatched --files-ignore-unknown=true {staged_files}
run: pnpm exec biome format --no-errors-on-unmatched --files-ignore-unknown=true {staged_files}
8 changes: 3 additions & 5 deletions src/app.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
font-family: "Inter"
body {
font-family: "Inter";
}

.dcm-preview {
Expand Down Expand Up @@ -66,12 +66,10 @@
padding-block-end: 0;
}


.small-button {
width: 20px;
height: 20px;
font-size: 12px;

}

.large-button {
Expand All @@ -86,4 +84,4 @@
display: flex !important;
justify-content: center !important;
align-items: center !important;
}
}
5 changes: 2 additions & 3 deletions src/components/AddNode/add-node.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,9 @@
}

.autogenerated__text {
font-family:"monospace";
font-family: "monospace";
}


.patternfly-card-component {
padding-block-end: 0.25em;
}
}
1 change: 0 additions & 1 deletion src/components/Common/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
height: 100%;
width: 100%;
}

2 changes: 0 additions & 2 deletions src/components/CreateFeed/createFeed.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


.pf-v5-c-wizard__main-body {
height: 100%;
padding-block-start: 0;
Expand Down
8 changes: 6 additions & 2 deletions src/components/Dashboard/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@
color: white;
}

@media screen and (min-width: pf-global--breakpoint--sm) and (max-width: pf-global--breakpoint--md) {
@media screen and (min-width: pf-global--breakpoint--sm) and (
max-width: pf-global--breakpoint--md
) {
.dashboard-carddisplay img:nth-last-of-type(-n + 2) {
display: none;
}
}

@media screen and (min-width: pf-global--breakpoint--xs) and (max-width: pf-global--breakpoint--sm) {
@media screen and (min-width: pf-global--breakpoint--xs) and (
max-width: pf-global--breakpoint--sm
) {
.dashboard-carddisplay img:nth-last-of-type(-n + 3) {
display: none;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/DisplayPage/display-page.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

.plugin-item-name > .plugin-star {
position: absolute;

bottom: 0.75em;
right: 0.75em;
margin-left: 0.5em;
Expand Down
2 changes: 1 addition & 1 deletion src/components/DragFileUpload/DragFileUpload.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
color: #6c757d;
}

// Add the following CSS styles
/*Add the following CSS styles*/

/* Animation Styles */
@keyframes fadeInUp {
Expand Down
1 change: 0 additions & 1 deletion src/components/FeedOutputBrowser/FeedOutputBrowser.css
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,4 @@
margin: 0 0 0.25em 0;
top: 0;
background: inherit;

}
1 change: 0 additions & 1 deletion src/components/FeedTree/FeedTree.css
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@
}
}


.node {
cursor: pointer;
fill: white;
Expand Down
25 changes: 13 additions & 12 deletions src/components/Feeds/Feeds.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@

.feed-header {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
padding-block-end: 0 !important;
min-height:60px;
padding-block-start:0
min-height: 60px;
padding-block-start: 0;
}

.feed-list .error {
Expand All @@ -25,18 +24,20 @@
outline: none;
}


.chart {
text-align: right;
text-align: right;
height: 40px;
width: 40px;
display: block;
}

.chart.dark tspan {
fill: white !important;
}

.feed-table tbody:where(.pf-v5-c-table__tbody) > tr:where(.pf-v5-c-table__tr) > * {
vertical-align:middle !important;
}
.chart.dark tspan {
fill: white !important;
}

.feed-table
tbody:where(.pf-v5-c-table__tbody)
> tr:where(.pf-v5-c-table__tr)
> * {
vertical-align: middle !important;
}
4 changes: 2 additions & 2 deletions src/components/Login/Login.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
}

@media (min-width: 576px) {
.pf-background{
.pf-background {
background-image: url("../../assets/loginbg_768.png");
}
}

@media (min-width: 576px) and (-webkit-min-device-pixel-ratio: 2),
(min-width: 576px) and (min-resolution: 192dpi) {
.pf-background{
.pf-background {
background-image: url("../../assets/loginbg_768@2x.png");
}
}
Expand Down
10 changes: 4 additions & 6 deletions src/components/NewLibrary/components/Card.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
.large-checkbox > input {
/* Increase the size */
width: 16px;
height: 16px;
}


/* Increase the size */
width: 16px;
height: 16px;
}
40 changes: 18 additions & 22 deletions src/components/NewLibrary/components/Cart.css
Original file line number Diff line number Diff line change
@@ -1,27 +1,23 @@
.operation-cart .ant-list-empty-text {
display: none !important ;
}
.operation-cart .ant-list-empty-text {
display: none !important;
}

.progress-ring {
transition: 0.35s stroke-dashoffset;
transform: rotate(-90deg);
transform-origin: 50% 50%;
height:2em;
width:2em
}

.progress-ring__circle {
transition: 0.35s stroke-dashoffset;
transform: rotate(-90deg);
transform-origin: 50% 50%;
}
transition: 0.35s stroke-dashoffset;
transform: rotate(-90deg);
transform-origin: 50% 50%;
height: 2em;
width: 2em;
}

.progress-ring__circle {
transition: 0.35s stroke-dashoffset;
transform: rotate(-90deg);
transform-origin: 50% 50%;
}

.chip-group-for-paths {
.pf-v5-c-chip__text {
font-size:0.75rem
}
.chip-group-for-paths {
.pf-v5-c-chip__text {
font-size: 0.75rem;
}



}
11 changes: 6 additions & 5 deletions src/components/NewLibrary/components/Operations.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
.remove-toolbar-padding {
padding-top: 0 !important;
padding-top: 0 !important;
}

.library-table.pf-v5-c-table.pf-m-compact tr:where(.pf-v5-c-table__tr):not(.pf-v5-c-table__expandable-row) {
--pf-v5-c-table--cell--PaddingTop: 1em;
--pf-v5-c-table--cell--PaddingBottom: 1em;
}
.library-table.pf-v5-c-table.pf-m-compact
tr:where(.pf-v5-c-table__tr):not(.pf-v5-c-table__expandable-row) {
--pf-v5-c-table--cell--PaddingTop: 1em;
--pf-v5-c-table--cell--PaddingBottom: 1em;
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
}

@keyframes hide {
from {left: 0}
to {left: -100px}
from {
left: 0;
}
to {
left: -100px;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
background-color: var(--pf-v5-global--BackgroundColor--300);
}

.fileMenuItem.selected, .fileMenuItem:hover {
.fileMenuItem.selected,
.fileMenuItem:hover {
background-color: var(--pf-v5-global--BackgroundColor--400);
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
* to subtract the height of the tab buttons.
*/
height: calc(
100%
- 2 * var(--pf-v5-global--spacer--sm)
- 1em * var(--pf-v5-global--LineHeight--md)
100% -
2 *
var(--pf-v5-global--spacer--sm) -
1em *
var(--pf-v5-global--LineHeight--md)
);
}
2 changes: 1 addition & 1 deletion src/components/NodeDetails/NodeDetails.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
margin: 0 0 0 2px;
padding-top: 3px;
padding-right: 0.25px;
border-color:#4F5255;
border-color: #4f5255;
}

.node-block
Expand Down
22 changes: 8 additions & 14 deletions src/components/Pacs/pacs-copy.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
margin-top: 1em;
}



.patient-studies,
.patient-series {
padding: 1em 2em;
Expand Down Expand Up @@ -73,16 +71,14 @@
white-space: nowrap;
}


.retrieve-progress {
.pf-v5-c-progress__description {
display:none !important;
display: none !important;
}
}


.series-actions {
z-index:1;
z-index: 1;
position: absolute;
top: 0;
left: 0;
Expand All @@ -105,19 +101,17 @@
.action-button-container {
display: flex;
align-items: center;
flex-direction:column;
flex-direction: column;
}

.progress-active {
.pf-v5-c-progress__indicator{
background-color: #BEE1F4
.pf-v5-c-progress__indicator {
background-color: #bee1f4;
}
}

.progress-success{
.pf-v5-c-progress__indicator{
background-color:#0066CC;
.progress-success {
.pf-v5-c-progress__indicator {
background-color: #0066cc;
}
}


5 changes: 2 additions & 3 deletions src/components/PipelinesCopy/Pipelines.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

.ant-form-item-label label {
color: #73bcf7 !important;
}
color: #73bcf7 !important;
}
1 change: 0 additions & 1 deletion src/components/Preview/displays/NiiVueDisplay.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
height: 100%;
}


.controlBar {
position: absolute;
top: 0;
Expand Down
2 changes: 0 additions & 2 deletions src/components/SinglePlugin/singlePlugin.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@
padding: 1em 0;
}


.plugin-body-detail-section h4 {
font-weight: bold;
}


.plugin-icon {
height: 100%;
padding: 0;
Expand Down
1 change: 0 additions & 1 deletion src/components/Wrapper/wrapper.css
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Loading

0 comments on commit 9f8078e

Please sign in to comment.