-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor styles in authoring extension
- Loading branch information
Showing
5 changed files
with
66 additions
and
59 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
51 changes: 51 additions & 0 deletions
51
packages/authoring-celltoolbar-extension/style/celltoolbar.css
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,51 @@ | ||
.jp-Cell-header { | ||
height: auto; | ||
} | ||
|
||
.e2x-authoring-toolbar-standard-cell { | ||
background: var(--e2x-gray); | ||
color: black; | ||
} | ||
|
||
.e2x-authoring-toolbar-grading-cell { | ||
background: var(--e2x-dark-blue); | ||
color: white; | ||
} | ||
|
||
.e2x-authoring-toolbar { | ||
margin-left: calc( | ||
var(--jp-cell-prompt-width) + var(--jp-code-padding) + 3 * | ||
var(--jp-border-width) | ||
); | ||
min-height: 30px; | ||
width: calc( | ||
100% - | ||
calc( | ||
var(--jp-cell-prompt-width) + var(--jp-code-padding) + 3 * | ||
var(--jp-border-width) | ||
) | ||
); | ||
border-radius: 10px 10px 0 0; | ||
border-bottom: none; | ||
padding: 2px 10px; | ||
} | ||
|
||
.e2x-points-input { | ||
width: 8em; | ||
} | ||
|
||
.e2x-authoring-toolbar-element { | ||
margin-right: 10px; | ||
} | ||
|
||
.e2x-authoring-toolbar-element label { | ||
margin-right: 5px; | ||
} | ||
|
||
.e2x-authoring-toolbar .jp-InputGroup { | ||
background: white; | ||
} | ||
|
||
.e2x-authoring-toolbar-element .jp-HTMLSelect { | ||
background: white; | ||
} |
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 +1,3 @@ | ||
@import url('base.css'); | ||
@import url('./base.css'); | ||
@import url('./menubar.css'); | ||
@import url('./celltoolbar.css'); |
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 +1 @@ | ||
import './base.css'; | ||
import './index.css'; |
11 changes: 11 additions & 0 deletions
11
packages/authoring-celltoolbar-extension/style/menubar.css
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,11 @@ | ||
.e2x-menubar { | ||
background: var(--e2x-blue); | ||
} | ||
|
||
.e2x-menubar:hover { | ||
background: var(--e2x-light-blue); | ||
} | ||
|
||
.e2x-menubar .lm-mod-active { | ||
background: var(--e2x-light-blue); | ||
} |