.jet-review {
&__header {
&-top {
display: flex;
justify-content: space-between;
align-items: center;
}
}
&__title {
margin: 0 30px 0 0;
}
&__item {
position: relative;
display: flex;
flex-flow: row wrap;
&:last-child {
margin-bottom: 0;
}
&-remove {
position: absolute;
top: -35px;
right: 0;
display: flex;
justify-content: center;
align-items: center;
color: #ff735d;
font-size: 16px;
margin-top: 10px;
align-self: flex-end;
cursor: pointer;
.jet-review-remove-spinner {
display: none;
}
&.load-state {
.jet-review-remove-spinner {
display: block;
}
i {
display: none;
}
}
}
}
&__fields {
flex: 1 1 auto;
}
&__field {
&-heading {
display: flex;
align-items: center;
.jet-layout-stars:not(.jet-stars-position-left) & {
justify-content: flex-end;
.jet-review__field-label {
margin-right: 10px;
}
}
}
&-val {
margin-left: 5px;
}
}
&__stars {
display: inline-flex;
position: relative;
line-height: 1em;
.jet-stars-position-left & {
order: -1;
margin-right: 15px;
}
&-filled,
&-empty {
white-space: nowrap;
overflow: hidden;
}
&-filled {
position: absolute;
top: 0;
left: 0;
}
&-empty {
position: absolute;
top: 0;
right: 0;
transform: scale( -1, 1 );
}
&-adjuster {
opacity: 0;
}
}
&__progress {
box-sizing: border-box;
width: 100%;
background-color: #7a7a7a;
&-bar {
display: flex;
justify-content: flex-end;
align-items: center;
height: 30px;
box-sizing: border-box;
padding: 5px 10px;
background-color: #6ec1e4;
}
}
&__user {
display: flex;
flex-flow: row wrap;
justify-content: flex-start;
align-items: center;
overflow: hidden;
margin-right: 30px;
&-inner {
display: flex;
flex-flow: row wrap;
justify-content: flex-start;
align-items: center;
}
&-avatar {
margin-right: 20px;
img.avatar {
width: 60px;
height: 60px;
border-radius: 50%;
}
}
&-info {
flex: 1 1 auto;
}
&-name {
font-size: 16px;
}
&-mail {
font-size: 12px;
}
&-date {
font-size: 12px;
}
}
&__total-average {
flex: 1 1 auto;
display: flex;
flex-flow: column nowrap;
justify-content: center;
align-items: flex-end;
}
&__summary {
display: flex;
width: 100%;
&.jet-review-summary-bottom,
&.jet-review-summary-top {
flex-wrap: wrap;
}
@media ( max-width: 1024px ) {
flex-wrap: wrap;
}
&-content {
flex: 1 1 auto;
box-sizing: border-box;
margin-top: 10px;
padding: 20px;
background: #fafafa;
.jet-review-summary-bottom &,
.jet-review-summary-top & {
flex: 1 1 100%;
width: 100%;
}
}
&-data {
box-sizing: border-box;
margin-top: 10px;
padding: 20px;
background: #eee;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.jet-review-summary-left & {
order: -1;
}
.jet-review-summary-top & {
flex: 1 1 100%;
width: 100%;
order: -1;
}
.jet-review-summary-bottom & {
flex: 1 1 100%;
width: 100%;
}
.jet-review-summary-align-left & {
align-items: flex-start;
}
.jet-review-summary-align-center & {
align-items: center;
}
.jet-review-summary-align-right & {
align-items: flex-end;
}
@media ( max-width: 1024px ) {
flex: 1 1 100%;
width: 100%;
}
}
}
&__form {
margin-top: 30px;
margin-bottom: 30px;
&-inner {
flex-flow: column nowrap;
justify-content: center;
align-items: stretch;
}
label {
}
&-title {
margin: 0 0 20px 0;
}
&-fields {
display: flex;
flex-flow: row wrap;
justify-content: flex-start;
align-items: flex-start;
overflow: hidden;
}
&-field {
width: 100%;
margin-bottom: 10px;
overflow: hidden;
&.type-range {
display: flex;
flex-flow: row nowrap;
justify-content: flex-start;
align-items: center;
label {
margin-right: 10px;
min-width: 100px;
}
input {
flex: 1 1 auto;
padding: 10px 0;
border: none;
background-color: transparent;
-webkit-appearance: slider-horizontal;
}
span {
margin-left: 10px;
min-width: 30px;
text-align: right;
}
}
&.title-field {
margin-top: 20px;
}
input[type="text"], textarea {
width: 100%;
background-color: transparent;
&:focus {
box-shadow: none;
}
}
}
&-submit-container{
display: flex;
justify-content: flex-start;
align-items: center;
}
a.jet-review__form-submit {
font-size: 15px;
padding: 12px 24px;
border-radius: 3px;
margin-top: 20px;
display: flex;
justify-content: center;
align-items: center;
.jet-review-spinner {
display: none;
}
&.load-state {
.jet-review-spinner {
display: block;
}
}
}
&-message {
width: 100%;
color: #ff735d;
display: flex;
justify-content: center;
margin-top: 30px;
display: none;
&.visible-state {
display: block;
}
}
}
}
.jet-review__form-field.type-range{
input[type=range] {
Loading ...