File "loan-calculator.scss"
Full Path: /home/adniftyx/public_html/wp-content/plugins/credio-addons/widgets/loan-calculator/loan-calculator.scss
File size: 3.48 KB
MIME-type: text/plain
Charset: utf-8
@import '../../common';
.rs-addon-loan-calculator {
display: flex;
align-items: center;
justify-content: space-between;
gap: 28px;
.chart-wrapper,
.content-wrapper {
width: 100%;
max-width: 50%;
}
.data-slider {
margin-bottom: 50px;
.data-item {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
margin-bottom: 20px;
label {
color: $titleColor;
}
input {
margin-top: 12px;
width: 100%;
border: none;
outline: none;
opacity: 1;
height: 13px;
border-radius: 5px;
background: transparent;
border: none;
overflow: hidden;
-webkit-appearance: none;
appearance: none;
&:hover {
opacity: 1;
}
&::-webkit-slider-runnable-track {
height: 13px;
background: #ededed;
border-radius: inherit;
cursor: pointer;
}
&::-moz-range-track {
height: 13px;
cursor: pointer;
background: #ededed;
border-radius: inherit;
}
&::-webkit-slider-thumb {
cursor: ew-resize;
-webkit-appearance: none;
appearance: none;
height: 13px;
width: 13px;
background-color: #fff;
border-radius: 50%;
border: 2px solid $primaryColor;
box-shadow: -407px 0 0 400px $primaryColor;
}
&::-moz-range-thumb {
height: 10px;
width: 10px;
cursor: ew-resize;
background-color: #fff;
border-radius: 50%;
border: 2px solid $primaryColor;
box-shadow: -407px 0 0 400px $primaryColor;
}
}
&:last-child {
margin-bottom: 0;
}
}
}
.sum_heading {
margin-bottom: 28px;
}
.data-result {
display: flex;
gap: 28px;
flex-wrap: wrap;
margin: 0;
.chart-details {
width: 100%;
max-width: calc(50% - 14px);
padding: 30px;
border-radius: 5px;
background: rgba(3,51,51,0.1);
color: #fff;
label {
margin-bottom: 5px;
font-size: 20px;
color: inherit;
font-weight: 600;
}
&.principal,
&.t-payable {
background: $primaryColor;
}
&.interest,
&.m-payable {
background: $secondaryColor;
}
&.principal {
order: 1;
}
&.interest {
order: 2;
}
&.m-payable {
order: 3;
}
&.t-payable {
order: 4;
}
}
}
}