-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from rails-sassc to cssbundling-rails
- Loading branch information
1 parent
463c860
commit 0928b25
Showing
27 changed files
with
115 additions
and
524 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
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 |
---|---|---|
@@ -1,14 +1,9 @@ | ||
//= link_tree ../javascripts .js | ||
//= link_directory ../stylesheets .css | ||
//= link common/SyntaxHighlighter.css | ||
//= link common/jupyterlab-markus-custom.css | ||
|
||
//= link_tree ../../../vendor/assets/javascripts .js | ||
//= link_tree ../../../vendor/assets/stylesheets .css | ||
//= link cookies_eu.js | ||
|
||
// Images and fonts so that views can link to them | ||
// | ||
//= link_tree ../images | ||
//= link_tree ../builds | ||
//= link flatpickr/dist/flatpickr.css |
This file was deleted.
Oops, something went wrong.
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,15 @@ | ||
// Entry point for your Sass build | ||
@use 'clickable'; | ||
@use 'fonts'; | ||
@use 'common/pdfjs_custom'; | ||
@use 'common/core'; | ||
|
||
@use 'flatpickr/dist/flatpickr.min'; | ||
@use 'react-table/react-table'; | ||
@use 'react-tabs/style/react-tabs'; | ||
@use 'react-keyed-file-browser/dist/react-keyed-file-browser'; | ||
|
||
// We create a copy of the vendored assets in the cookies_eu gem due to limitation of cssbundling-rails. | ||
// See https://github.com/rails/cssbundling-rails/issues/81. | ||
@use 'cookies_eu'; | ||
@use 'jquery-ui'; |
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,5 @@ | ||
@use 'jupyterlab'; | ||
@use 'jupyterlab-extra'; | ||
|
||
@use 'fonts'; | ||
@use 'common/jupyterlab-markus-custom'; |
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,2 @@ | ||
@use 'jupyterlab-theme-dark-extension'; | ||
@use 'pygments-monokai'; |
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,2 @@ | ||
@use 'jupyterlab-theme-light-extension'; | ||
@use 'pygments-default'; |
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,3 @@ | ||
@use 'common/SyntaxHighlighter'; | ||
@use 'context_menu'; | ||
@use 'grader'; |
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
safe-methods: | ||
- FileHelper.checked_join |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
if Rails.env.production? | ||
Rails.application.config.assets.js_compressor = :terser | ||
Rails.application.config.assets.css_compressor = :sass | ||
else | ||
Rails.application.config.assets.js_compressor = nil | ||
Rails.application.config.assets.css_compressor = nil | ||
end | ||
|
||
Rails.application.config.assets.css_compressor = nil |
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,59 @@ | ||
$cookies-eu-background-color: #F2F2F2; | ||
$cookies-eu-border-color: #E4E4E4; | ||
$cookies-eu-button-background-color: #4D90FE; | ||
$cookies-eu-button-color: #FFFFFF; | ||
$cookies-eu-mobile: 'max-width: 767px'; | ||
|
||
.cookies-eu { | ||
line-height: 40px; | ||
|
||
position: fixed; | ||
z-index: 999; | ||
right: 0; | ||
bottom: 0; | ||
left: 0; | ||
|
||
padding: 0 20px; | ||
|
||
text-align: center; | ||
|
||
border-top: 1px solid $cookies-eu-border-color; | ||
background: $cookies-eu-background-color; | ||
|
||
@media ($cookies-eu-mobile) { | ||
font-size: 12px; | ||
line-height: 30px; | ||
|
||
position: initial; | ||
} | ||
|
||
.cookies-eu-content-holder { | ||
display: inline-block; | ||
|
||
padding: 0 20px; | ||
} | ||
|
||
.cookies-eu-button-holder { | ||
display: inline-block; | ||
|
||
.cookies-eu-ok { | ||
font-size: 11px; | ||
font-weight: bold; | ||
|
||
line-height: 20px; | ||
|
||
min-width: 26px; | ||
margin-right: 5px; | ||
padding: 2px 11px; | ||
|
||
cursor: pointer; | ||
text-align: center; | ||
white-space: nowrap; | ||
|
||
color: $cookies-eu-button-color; | ||
border: 0; | ||
outline: none; | ||
background-color: $cookies-eu-button-background-color; | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.