Skip to content

Commit

Permalink
Qol 8391 styles update (#455)
Browse files Browse the repository at this point in the history
* styles update

* styles update

* styles update

* changed to rem

* added on focus styles

* checkbox input styles update
  • Loading branch information
asifaminb authored Apr 11, 2022
1 parent 59b8cef commit 3f5d71f
Show file tree
Hide file tree
Showing 3 changed files with 1,062 additions and 10 deletions.
14 changes: 5 additions & 9 deletions src/assets/_project/_blocks/components/forms/_qg-forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -203,16 +203,18 @@
}
.checkbox, .qg-forms-v2__checkbox,
.form-radio, .qg-forms-v2__radio {
padding-top: 0.8rem;
padding-bottom: 0.8rem;
padding: 0.8rem 0 0.8rem 0;
margin: 0;
.radio {
margin: 0;
}
div.form-check {
.form-check {
padding-bottom: $defaultRem;
padding-left: 0
}
.form-check-input{
margin-left: -1rem;
}
input[type=radio], input[type=checkbox] {
width: rem(25px);
height: rem(25px);
Expand All @@ -233,19 +235,13 @@
font-weight: $checkboxWeight;
margin-left: $defaultRem;
margin-right: 0.5rem !important;
float: right;
}
}
.field-required:after {
position: absolute;
float: right;
top: 0;
right: 0;
}
}
.form-group {
//margin-bottom: 1rem !important;
}
.formio-hidden {
margin-bottom: 0 !important;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ $tables-paginate-enabled-previous-next-color: #111111;

// forms
$fontFace: inherit;
$defaultRem: 1rem;
$defaultRem: 1.2rem;

$labelHeadingColour: #000;
$labelHeadingSize: 20px;
Expand Down
Loading

0 comments on commit 3f5d71f

Please sign in to comment.