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

Rishitha add details in add material #2982

Open
wants to merge 2 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
139 changes: 75 additions & 64 deletions src/components/BMDashboard/AddMaterial/AddMaterial.css
Original file line number Diff line number Diff line change
@@ -1,99 +1,110 @@
.materialContainer {
padding: 0% !important;
min-height: 100vh;
}

.materialPage {
background-color: #E8F4F9;
.add-material-form{
width: 100%;
min-height: 100%;
margin: 0px;
padding: 1rem 2rem;
font-size: 15px;
}

.material {
background-color: white;
border-radius: 1rem;
padding: 1.5rem;
height: auto;
.add-material-form Label{
font-size: .8em;
}

.materialTitle {
font-weight: bold;
margin-bottom: 20px;
.add-material-flex-group{
display: flex;
gap: 2rem;
}

.materialImage {
height: 10rem;
width: 10rem;
margin-bottom: 1rem;
.add-material-buttons{
display: flex;
gap: 1rem;
margin: 1rem auto 2rem;
}

.materialFormField {
margin-bottom: .5rem;
.add-material-buttons button{
width: 50%;
}

.materialFormLabel {
font-weight: 500;
font-size: 15px;
color: #1C8BCC;
display: flex;
justify-content: flex-start;
.add-material-total-price{
display: flex;
border-radius: 10px;
line-height: 3rem;
font-weight: bolder;
background-color: #f5e6e6;
padding-left: 1em;
}

.materialFormError {
font-weight: 500;
font-size: 11px !important;
color: red;
display: flex;
justify-content: flex-start;
.add-material-total-price div{
width: 50%;
}

.materialFormTableError {
font-weight: 500;
font-size: 11px !important;
color: red;
.total-price-calculated{
text-align: end;
padding-right: 1em;
}

.materialFormErrorClr {
color: red;
.add-material-createdby{
display: flex;
border-radius: 10px;
line-height: 3rem;
font-weight: bolder;
background-color: #add3ef;
padding-left: 1em;
margin-top: 1em;
}

.materialFormSmallText {
font-size: xx-small;
color: gray;
.add-material-createdby div{
width: 50%;
}

.materialFormText {
color: darkslategrey;
.createdby{
text-align: end;
padding-right: 1em;
}

.materialMargin {
margin-top: 10px;
.file-preview-container{
display: flex;
flex-direction: row;
gap: 0.5rem;
width: 100%;
margin-top: 1rem;
}

.materialFormValue {
font-weight: 400;
font-size: 15px;
.materialFormError {
font-weight: 500;
font-size: 11px !important;
color: red;
display: flex;
justify-content: flex-start;
}

.materialButtonOutline {
color: #2E5061 !important;
.field-required{
color: red;
}

.materialButtonOutline:hover {
background-color: #2E5061 !important;
color: white !important
@media screen and (max-width: 640px) {
.add-material-flex-group {
display: block;
}

.file-preview-container{
display: block;
}
}

.materialButtonBg {
background-color: #2E5061 !important
.add-material-container{
width: 100%;
max-width: 800px;
margin: 1rem auto;
padding: 1rem 2rem;
border: 1px solid #ccc;
border-radius: 20px;
}

.materialButtonBg:hover {
background-color: white !important;
color: #2E5061 !important;
}
.add-material-header h2{
font-size: clamp(1.5rem, 2.5vw, 2.5rem);
margin-left: 1rem;
}


@media screen and (max-width: 800px) {
.add-material-container {
width: 95%;
}
}
Loading