You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
BinaryBrains/static/client/css/lot-form.css

226 lines
3.9 KiB

.search-icon {
position: relative;
cursor: pointer;
}
.search-icon input[type="text"] {
padding-right: 40px;
}
.search-icon::after {
content: url("https://cdn.jsdelivr.net/npm/bootstrap-icons/icons/search.svg");
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
color: #007bff;
pointer-events: painted;
}
#lotForm .form-header {
gap: 5px;
text-align: center;
font-size: .9em;
}
#lotForm .form-header .stepIndicator {
position: relative;
flex: 1;
padding-bottom: 30px;
}
#lotForm .form-header .stepIndicator.active {
font-weight: 600;
}
#lotForm .form-header .stepIndicator.finish {
font-weight: 600;
color: #007bff;
}
#lotForm .form-header .stepIndicator::before {
content: "";
position: absolute;
left: 50%;
bottom: 0;
transform: translateX(-50%);
z-index: 9;
width: 20px;
height: 20px;
background-color: #d5efed;
border-radius: 50%;
border: 3px solid #ecf5f4;
}
#lotForm .form-header .stepIndicator.active::before {
background-color: #a7ede8;
border: 3px solid #d5f9f6;
}
#lotForm .form-header .stepIndicator.finish::before {
background-color: #007bff;
border: 3px solid #b7e1dd;
}
#lotForm .form-header .stepIndicator::after {
content: "";
position: absolute;
left: 50%;
bottom: 8px;
width: 100%;
height: 3px;
background-color: #f3f3f3;
}
#lotForm .form-header .stepIndicator.active::after {
background-color: #a7ede8;
}
#lotForm .form-header .stepIndicator.finish::after {
background-color: #007bff;
}
#lotForm .form-header .stepIndicator:last-child:after {
display: none;
}
#lotForm input {
padding: 15px 20px;
font-size: 1em;
border: 1px solid #e3e3e3;
border-radius: 5px;
}
#lotForm input:focus {
border: 1px solid #007bff;
outline: 0;
}
#lotForm input.invalid {
border: 1px solid #ffaba5;
}
#lotForm .step {
display: none;
}
#lotForm .form-footer {
overflow: auto;
gap: 20px;
}
#lotForm .form-footer button {
background-color: #007bff;
border: 1px solid #007bff !important;
color: #ffffff;
border: none;
padding: 13px 30px;
font-size: 1em;
cursor: pointer;
border-radius: 5px;
flex: 1;
margin-top: 5px;
}
#lotForm .form-footer button:hover {
opacity: 0.8;
}
#lotForm .form-footer #prevBtn {
background-color: #fff;
color: #007bff;
}
/* image upload */
.upload-btn {
display: inline-block;
font-weight: 600;
color: #4045ba;
text-align: center;
min-width: 200px;
padding: 20px;
transition: all 0.3s ease;
cursor: pointer;
border: 2px dashed #4045ba;
border-radius: 10px;
}
.upload-btn:hover {
background-color: rgba(64, 69, 186, 0.1);
}
.upload-img-wrap {
display: none;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 10px;
box-shadow: 0 4px 6px rgba(103, 69, 69, 0.1);
border: 1px solid #ddd;
padding: 20px;
cursor: move;
}
.upload-img-wrap.uploaded {
display: grid;
}
.upload-img-box {
width: 100%;
position: relative;
}
.upload-img-box.large {
width: calc(100% - 20px);
grid-column: span 2;
}
.upload-img-close {
width: 24px;
height: 24px;
border-radius: 50%;
background-color: rgba(0, 0, 0, 0.5);
position: absolute;
top: 5px;
right: 5px;
display: none;
justify-content: center;
align-items: center;
cursor: pointer;
z-index: 1;
color: white;
font-size: 18px;
}
.upload-img-box:hover .upload-img-close {
display: flex;
}
.img-bg {
background-repeat: no-repeat;
background-position: center;
background-size: cover;
position: relative;
}
.upload-btn p {
margin: 5px 0;
}
.upload-btn i {
margin-right: 5px;
}
.upload-icon-large {
font-size: 10em;
text-align: center;
}
.d-none {
display: none !important;
}