-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update new questions, improve form styling
- Loading branch information
Showing
7 changed files
with
133 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
@use "./_variables.scss" as *; | ||
|
||
.form-control { | ||
background-color: $form-element; | ||
} | ||
|
||
.form-horizontal .form-group .help-block { | ||
padding-left: 0.5em; | ||
} | ||
|
||
input[type="checkbox"] { | ||
width: 20px; | ||
height: 20px; | ||
margin-left: -25px !important; | ||
margin-top: 4px !important; | ||
} | ||
|
||
fieldset legend { | ||
margin-bottom: 10px; | ||
} | ||
|
||
input[type=range] { | ||
appearance: none; | ||
border: none; | ||
box-shadow: none; | ||
background: transparent; | ||
margin-bottom: 6px; | ||
} | ||
|
||
input[type=range]::range-track { | ||
appearance: none; | ||
height: 8.4px; | ||
cursor: pointer; | ||
background: $main-link-hover; | ||
border-radius: 3px; | ||
} | ||
|
||
input[type=range]:focus::range-track { | ||
background: lighten($main-link-hover, 5%); | ||
} | ||
|
||
input[type=range]::range-thumb { | ||
appearance: none; | ||
box-shadow: 1px 1px 1px lighten($main-background, 50%); | ||
border: 1px solid $main-background; | ||
height: 30px; | ||
width: 16px; | ||
border-radius: 3px; | ||
background: $highlight-3-background; | ||
cursor: pointer; | ||
margin-top: -11px; | ||
} | ||
|
||
ul.form-check-input input { | ||
vertical-align: top; | ||
} | ||
|
||
ul.form-check-input li { | ||
list-style-type: none; | ||
} | ||
|
||
ul.form-check-input label { | ||
font-weight: normal; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters