8000 feat(frontend): update sass compiler/toolchain by ewdurbin · Pull Request #1709 · python/pythondotorg · GitHub
[go: up one dir, main page]

Skip to content

feat(frontend): update sass compiler/toolchain #1709

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
fix errors in our scss files
  • Loading branch information
ewdurbin committed Apr 27, 2021
commit bd70c0e25f74033e360484c8e650c96397979db2
4 changes: 2 additions & 2 deletions static/sass/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@
$bordertop: lighten( $this-color, 38% );

.#{nth($names, $i)}-navigation {
@include vertical-gradient( $this-color, adjust-lightness( $this-color, -8 ), 30%, 95% );
@include vertical-gradient( $this-color, adjust-color( $this-color, $lightness: -8 ), 30%, 95% );
border-top: 1px solid lighten($this-color, 15%);
border-bottom: 1px solid darken($this-color, 25%);

Expand Down Expand Up @@ -816,7 +816,7 @@
//float: left;
//margin-top: .5em;
}
/* ! This is done the wrong way with SASS. Should be something like \#{$form-text-inputs} with $form-text-inputs as a variable */
/* ! This is done the wrong way with SASS. Should be something like \#{\$form-text-inputs} with \$form-text-inputs as a variable */
@include input_text_types() {
width: 75%;
display: inline-block;
Expand Down
2 changes: 1 addition & 1 deletion static/sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2319,7 +2319,7 @@ div.warning {
}

form.deletion-form {
@extend div.warning;
@extend div, .warning;

border-radius: px2em( 10px );
padding: px2em( 15px );
Expand Down
0