Skip to content

Commit

Permalink
numeric input sum padding
Browse files Browse the repository at this point in the history
  • Loading branch information
twilligls committed May 4, 2023
1 parent f1bf166 commit 12cff65
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,6 @@
line-height : 1;
}

/* specific for multiple number with dynamic : @todo move this to question class */
.ls-group-dynamic .control-label, .ls-group-dynamic .form-control-static {
display : inline-block
}

/* Survey list (home page) : break line in btn for long survey title*/
.surveytitle.btn {
white-space : normal;
Expand Down
3 changes: 0 additions & 3 deletions assets/survey_themes/ls6_surveytheme/old_fruity.scss
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,6 @@ element.style {
}
}

/* dynamic group (multiple-numeric) .form-control-static same padding and border width than form-control for better alignment */
.ls-group-dynamic .form-control-static {border : 2px solid transparent;padding-left : 15px;padding-right : 15px;}

/* array by column hover column */
/**
* Gender buttons
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@
.dynamic-total {
@include h2;
}
}
.ls-group-dynamic .control-label, .ls-group-dynamic .form-control-static {
border : 2px solid transparent;
padding-left : 12px;
padding-right : 12px;
}
}
20 changes: 7 additions & 13 deletions themes/survey/ls6_surveytheme/css/variations/theme_green.css
Original file line number Diff line number Diff line change
Expand Up @@ -5953,7 +5953,8 @@ textarea.form-control-lg {
float: left;
width: 100%;
margin-right: -100%;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
transition: transform 0.6s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
Expand Down Expand Up @@ -10653,13 +10654,6 @@ body {
float: right;
}
}
/* dynamic group (multiple-numeric) .form-control-static same padding and border width than form-control for better alignment */
.ls-group-dynamic .form-control-static {
border: 2px solid transparent;
padding-left: 15px;
padding-right: 15px;
}

/* array by column hover column */
/**
* Gender buttons
Expand Down Expand Up @@ -12184,11 +12178,6 @@ body .answer-item label::after {
line-height: 1;
}

/* specific for multiple number with dynamic : @todo move this to question class */
.ls-group-dynamic .control-label, .ls-group-dynamic .form-control-static {
display: inline-block;
}

/* Survey list (home page) : break line in btn for long survey title*/
.surveytitle.btn {
white-space: normal;
Expand Down Expand Up @@ -14219,6 +14208,11 @@ input.imageselect-checkbox:checked ~ .imageselect-select::after {
font-size: 1.14rem;
line-height: 20px;
}
.numeric-multi .ls-group-dynamic .control-label, .numeric-multi .ls-group-dynamic .form-control-static {
border: 2px solid transparent;
padding-left: 12px;
padding-right: 12px;
}

.numeric-multi .ls-group-total-separator hr {
border-color: #14AE5C;
Expand Down
20 changes: 7 additions & 13 deletions themes/survey/ls6_surveytheme/css/variations/theme_red.css
Original file line number Diff line number Diff line change
Expand Up @@ -5953,7 +5953,8 @@ textarea.form-control-lg {
float: left;
width: 100%;
margin-right: -100%;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
transition: transform 0.6s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
Expand Down Expand Up @@ -10653,13 +10654,6 @@ body {
float: right;
}
}
/* dynamic group (multiple-numeric) .form-control-static same padding and border width than form-control for better alignment */
.ls-group-dynamic .form-control-static {
border: 2px solid transparent;
padding-left: 15px;
padding-right: 15px;
}

/* array by column hover column */
/**
* Gender buttons
Expand Down Expand Up @@ -12184,11 +12178,6 @@ body .answer-item label::after {
line-height: 1;
}

/* specific for multiple number with dynamic : @todo move this to question class */
.ls-group-dynamic .control-label, .ls-group-dynamic .form-control-static {
display: inline-block;
}

/* Survey list (home page) : break line in btn for long survey title*/
.surveytitle.btn {
white-space: normal;
Expand Down Expand Up @@ -14219,6 +14208,11 @@ input.imageselect-checkbox:checked ~ .imageselect-select::after {
font-size: 1.14rem;
line-height: 20px;
}
.numeric-multi .ls-group-dynamic .control-label, .numeric-multi .ls-group-dynamic .form-control-static {
border: 2px solid transparent;
padding-left: 12px;
padding-right: 12px;
}

.numeric-multi .ls-group-total-separator hr {
border-color: #FF515F;
Expand Down

0 comments on commit 12cff65

Please sign in to comment.