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

Adjustment of STDCM interface (Part 1) #8804

Merged
merged 3 commits into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
58 changes: 58 additions & 0 deletions front/src/styles/scss/_uiCoreIntegration.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,61 @@ img {
}
}
}

// __________________ Select __________________
.field-and-status-icon {
.custom-select {
border-radius: 0.25rem;
border: 0.063rem solid rgba(148, 145, 142, 1);
box-shadow:
0 0.063rem 0.063rem rgba(0, 0, 0, 0.2),
0 0.125 0.25rem rgba(0, 0, 0, 0.1);
height: 2.5rem;
padding: 0.438rem 2rem 0.563rem 0.813rem;
letter-spacing: 0;
text-align: left;
line-height: 1.5rem;
width: 100%;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border-color: #94918e;
background-color: #00000003;
color: #312e2b;

option {
color: #312e2b;
}

option:first-child {
color: #797671;
}

&.placeholder-selected {
color: #797671;
}

&:focus {
outline: none;
border: 2px solid rgba(37, 106, 250, 1);
background-color: #00000003;
border-color: #256afa;
}

&.read-only {
border: 1px solid rgba(182, 178, 175, 1);
box-shadow:
0px 0px 0px rgba(0, 0, 0, 0.2),
0px 1px 0px rgba(0, 0, 0, 0.1);
color: #797671;
}

&:disabled {
border: 1px solid rgba(211, 209, 207, 1);
box-shadow:
0px 0px 0px rgba(0, 0, 0, 0.2),
0px 1px 0px rgba(0, 0, 0, 0.1);
color: #b6b2af;
}
}
}
19 changes: 0 additions & 19 deletions front/src/styles/scss/applications/stdcmV2/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,25 +60,6 @@
margin-bottom: 0;
}

.suggestions.stdcm-v2-ch-selector {
label {
margin: 0 0 0.15rem;
}
select {
min-height: 2.55rem;
padding: 0 1rem;
appearance: auto;
background-image: none;
border-radius: 4px;
border: 0.125rem solid rgba(255, 255, 255, 0.75);
border: 0.0625rem solid rgba(148, 145, 142, 1);
box-shadow:
0px 0.0625rem 0.0625rem rgba(0, 0, 0, 0.2),
0px 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
background-color: rgba(0, 0, 0, 0.01);
}
}

.feed-back {
padding-left: 0rem;
padding-right: 0.3rem;
Expand Down
9 changes: 4 additions & 5 deletions front/src/styles/scss/applications/stdcmV2/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
.stdcm-v2-simulation-settings {
display: flex;
gap: 0.813rem;
width: 55%;

.stdcm-v2-consist-container {
width: 45%;
width: 20.125rem;

.stdcm-v2-consist-img {
overflow: hidden;
Expand All @@ -40,7 +39,7 @@
flex-direction: column;
gap: 32px;
min-width: 28.125rem;
width: 55%;
width: 28.125rem;
position: relative;
align-items: center;

Expand Down Expand Up @@ -196,8 +195,8 @@
0px 0px 0px 2px rgba(255, 255, 255, 0.75) inset,
0px 0px 0px 1px rgba(0, 0, 0, 0.25) inset;
margin-left: 2rem;
width: 55%;
height: 48.7rem;
width: 100%;
height: 48.5rem;
}
}
}
Loading