-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Organize the JS and less files by component. #3325
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
Merged
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
2862247
Reorg of the js/less/css files.
ellisonbg 2bca338
More renaming of less files.
ellisonbg 4097972
Renaming.
ellisonbg de4c504
Working on cleaning up our less files.
ellisonbg b0e170f
Moving files inside js folder.
ellisonbg da9b03d
Moving js files into subdirs.
ellisonbg a39ff10
More movign around of things in notebook and js/less.
ellisonbg 8ca495d
Changes to templates.
ellisonbg b31ccdc
Moving js/less/css dirs up one level. Too much nesting.
ellisonbg e8d547d
More work on the less setup.
ellisonbg cb50a0a
Cleaning up less/css.
ellisonbg 254c7b9
Wrok on static/tree
ellisonbg 703d5c3
Adding link to new location of favicon.ico.
ellisonbg 2e4d403
Putting custom.css/custom.js in static/user.
ellisonbg 72e8441
Renaming main JS files.
ellisonbg a751c25
Fixing fabfile to compile all of the page's style.less.
ellisonbg 6cb67bb
Adding files that I mised in the last commit.
ellisonbg 7b3ad88
Going back to a single style.less and style.min.css.
ellisonbg 75145ac
Fixing less variable names to use_the_right_convention.
ellisonbg 6e2935f
Updating fabfile and templates for global style.min.css.
ellisonbg 4780e5a
Finishing conversion of templates to use single style.*.
ellisonbg ea315a9
Adding style.less to each subdir - but still use global style.less
ellisonbg 1ee7473
Moving static/user to static/custom to prevent future conflicts.
ellisonbg 8952b60
Playing with the order of less imports.
ellisonbg 3ef2c7a
Renaming notebooks->notebook on client side.
ellisonbg f9aea7a
Renaming notebooks->notebook in less and templates.
ellisonbg 2b73e10
Creating override.css for each page.
ellisonbg 4b20543
Fixing styles by overriding bootstrap.
ellisonbg 79ff2f0
Updating notebook.less to use baseLineHeight from variables.
ellisonbg d418a01
Fixing pager style.çy
ellisonbg 3c6a8ba
Fixing global less vars to use bootstrap.
ellisonbg e5932be
Turing style of tooltip.
ellisonbg 13c1b51
Fixing monospace style vars.
ellisonbg 9816572
Splitting notebook.less into separate files.
ellisonbg c21ea2a
Fixing image path in IPython.core.tests.
ellisonbg 92e8082
Fixing CM3 line numbers for cells.
ellisonbg 057141f
Creating services directory under static for kernels and friends.
ellisonbg ffc2cb9
Removing one level uf subdirs in static/custom.
ellisonbg 66f74cb
Fixing code/pre styles in rendered HTML/
ellisonbg b0af278
Fixing path to custom.css in comment.
ellisonbg 805e6e7
fix login page override css
minrk 59692bf
only round CM-gutter corners on outer (left) edge
minrk 8f0ea25
don't hardcode output_area pre background
minrk ccc6c8c
remove outline from heading-anchor links
minrk 02876cc
Merge pull request #8 from minrk/jsreorg
ellisonbg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,8 @@ | ||
/*This file contains any manual css for this page that needs to override the global styles. | ||
This is only required when different pages style the same element differently. This is just | ||
a hack to deal with our current css styles and no new styling should be added in this file.*/ | ||
|
||
#ipython-main-app { | ||
margin: 50px auto; | ||
text-align: center; | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or 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 @@ | ||
// Custom styles for login.html |
This file contains hidden or 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 @@ | ||
// Custom styles for logout.html | ||
|
This file contains hidden or 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 @@ | ||
@import "../auth/less/login.less"; | ||
@import "../auth/less/logout.less"; |
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
IPython/frontend/html/notebook/static/base/less/mixins.less
This file contains hidden or 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,11 @@ | ||
// Mixin CSS classes | ||
|
||
.border-box-sizing { | ||
box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
-webkit-box-sizing: border-box; | ||
} | ||
|
||
.corner-all { | ||
border-radius: @corner_radius; | ||
} |
This file contains hidden or 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 hidden or 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,4 @@ | ||
@import "../base/less/variables.less"; | ||
@import "../base/less/mixins.less"; | ||
@import "../base/less/flexbox.less"; | ||
@import "../base/less/page.less"; |
10 changes: 10 additions & 0 deletions
10
IPython/frontend/html/notebook/static/base/less/variables.less
This file contains hidden or 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,10 @@ | ||
// Our customizations to bootstrap go here. | ||
|
||
@textColor: @black; | ||
@baseFontSize: 13px; | ||
@baseLineHeight: 1.231; | ||
@monoFontFamily: monospace; // to allow user to customize their fonts | ||
|
||
// Our own global variables for all pages go here | ||
|
||
@corner_radius: 4px; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...ntend/html/notebook/static/css/custom.css → ...nd/html/notebook/static/custom/custom.css
This file contains hidden or 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 @@ | ||
/* | ||
Placeholder for custom user CSS | ||
|
||
mainly to be overridden in profile/static/css/custom.css | ||
mainly to be overridden in profile/static/custom/custom.css | ||
|
||
This will always be an empty file in IPython | ||
*/ |
This file contains hidden or 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.
63 changes: 0 additions & 63 deletions
63
IPython/frontend/html/notebook/static/less/bootstrap-custom.less
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you move it back, thoses sentences shoudl be fixed here and there.