mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-05-28 21:28:19 +00:00
6daaffeaa7
* Compiles css framework from sass * Adds watch commands * Copies existing css to sass file * Moves sass out of static path * Removes global linter I wasn't sure how to customize this, and it's not providing a lot of additional value on top of the domain-specific linters * Reverts invalid change to dockerfile * Changes stylelint path * Remove unused bulma files * Properly minifies generated css * Fixes regression in thread display * rgba function only works with percents for whatever reason * Hush stylelint * Removes trailing zeros * Compile sass in Django Co-authored-by: Joachim <joachim.robert@protonmail.com> * Python formatting * Updates linter * Updates commands * Adds css-config file Co-authored-by: Joachim <joachim.robert@protonmail.com> * Stylelint fix * Removes unused compiled bulma files Co-authored-by: Joachim <joachim.robert@protonmail.com>
23 lines
407 B
Sass
23 lines
407 B
Sass
%checkbox-radio
|
|
cursor: pointer
|
|
display: inline-block
|
|
line-height: 1.25
|
|
position: relative
|
|
input
|
|
cursor: pointer
|
|
&:hover
|
|
color: $input-hover-color
|
|
&[disabled],
|
|
fieldset[disabled] &,
|
|
input[disabled]
|
|
color: $input-disabled-color
|
|
cursor: not-allowed
|
|
|
|
.checkbox
|
|
@extend %checkbox-radio
|
|
|
|
.radio
|
|
@extend %checkbox-radio
|
|
& + .radio
|
|
+ltr-property("margin", 0.5em, false)
|