Skip to content

Commit

Permalink
remove reference to blueprint.js in css (jupyterlab#12663)
Browse files Browse the repository at this point in the history
* remove reference to blueprint.js in css

* remove more blueprint.js overrides

* add back the color and font-size rules for the body

* Fix Card styles

* Restore unset outline on focus

* Update Playwright Snapshots

Update Playwright Snapshots

Update Playwright Snapshots

Update snapshots

* Update snapshots

Co-authored-by: Eric Charles <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Jul 6, 2022
1 parent 6bf3f3b commit 62ea73b
Show file tree
Hide file tree
Showing 82 changed files with 8 additions and 37 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/launcher/style/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@
line-height: 14px;
font-size: 12px;
overflow: hidden;
margin: auto;
}

/* kernel icons */
Expand Down
44 changes: 7 additions & 37 deletions packages/ui-components/style/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,39 +19,9 @@
@import './switch.css';
@import './toolbar.css';

/* Override Blueprint's _reset.scss styles */
html {
box-sizing: unset;
}

*,
*::before,
*::after {
box-sizing: unset;
}

body {
color: var(--jp-ui-font-color1);
font-size: var(--jp-ui-font-size1);

/* Blueprint reset rules */
font-weight: 400;
letter-spacing: 0;
line-height: 1.28581;
text-transform: none;
}

p {
margin-top: unset;
margin-bottom: unset;
}

small {
font-size: unset;
}

strong {
font-weight: unset;
}

/* Disable native link decoration styles everywhere outside of dialog boxes */
Expand All @@ -65,6 +35,13 @@ a:hover {
color: unset;
}

/* Disable default focus outline */
:focus {
outline: unset;
outline-offset: unset;
-moz-outline-radius: unset;
}

/* Accessibility for links inside dialog box text */
.jp-Dialog-content a {
text-decoration: revert;
Expand All @@ -76,13 +53,6 @@ a:hover {
color: revert;
}

/* Override Blueprint's _accessibility.scss styles */
:focus {
outline: unset;
outline-offset: unset;
-moz-outline-radius: unset;
}

/* Styles for ui-components */
.jp-Button {
color: var(--jp-ui-font-color2);
Expand Down

0 comments on commit 62ea73b

Please sign in to comment.