1
+ /**
2
+ * STYLE VARIABLES
3
+ */
1
4
: root {
2
5
--brand-color4 : # e3f2fd ;
3
6
--brand-color3 : # bbdefb ;
7
10
}
8
11
9
12
/**
10
- * Gather button
13
+ * ICONS
14
+ */
15
+ /* From https://github.com/jupyterlab/jupyterlab/blob/master/packages/theme-light-extension/style/icons/jupyter/notebook.svg */
16
+ .jp-Toolbar-gatherbutton-BookIcon {
17
+ background-image : url ("icons/notebook.svg" );
18
+ }
19
+
20
+ /* From https://github.com/jupyterlab/jupyterlab/blob/master/packages/theme-light-extension/style/icons/md/close.svg */
21
+ .jp-Toolbar-gatherbutton-ClearIcon {
22
+ background-image : url ("icons/clear.svg" );
23
+ }
24
+
25
+ /* The following icons were generated from style/icons/icons.afdesign */
26
+ .jp-Toolbar-gatherbutton-HistoryIcon {
27
+ background-image : url ("icons/history.svg" );
28
+ }
29
+
30
+ .jp-Toolbar-gatherbutton-CellsIcon {
31
+ background-image : url ("icons/cells.svg" );
32
+ }
33
+
34
+ /**
35
+ * TOOLBAR BUTTONS
11
36
*/
12
37
.jp-Toolbar-gatherlabel {
13
38
float : left;
@@ -51,29 +76,7 @@ span.jp-GatherLabel {
51
76
}
52
77
53
78
/**
54
- * Button icons.
55
- */
56
- /* From https://github.com/jupyterlab/jupyterlab/blob/master/packages/theme-light-extension/style/icons/jupyter/notebook.svg */
57
- .jp-Toolbar-gatherbutton-BookIcon {
58
- background-image : url ('icons/notebook.svg' );
59
- }
60
-
61
- /* From https://github.com/jupyterlab/jupyterlab/blob/master/packages/theme-light-extension/style/icons/md/close.svg */
62
- .jp-Toolbar-gatherbutton-ClearIcon {
63
- background-image : url ('icons/clear.svg' );
64
- }
65
-
66
- /* The following icons were generated from style/icons/icons.afdesign */
67
- .jp-Toolbar-gatherbutton-HistoryIcon {
68
- background-image : url ('icons/history.svg' );
69
- }
70
-
71
- .jp-Toolbar-gatherbutton-CellsIcon {
72
- background-image : url ('icons/cells.svg' );
73
- }
74
-
75
- /**
76
- * Clues for gatherable text.
79
+ * VARIABLE HIGHLIGHTS
77
80
*/
78
81
.jp-InputArea-editor-nametext {
79
82
font-weight : bold;
@@ -93,7 +96,7 @@ span.jp-GatherLabel {
93
96
}
94
97
95
98
.jp-InputArea-editor-nameline-selected : after {
96
- content : '★' ;
99
+ content : "★" ;
97
100
position : absolute;
98
101
right : 14px ;
99
102
font-weight : bold;
@@ -108,7 +111,7 @@ div.CodeMirror-linebackground.jp-InputArea-editor-dependencyline {
108
111
}
109
112
110
113
/**
111
- * Clues for gatherable results.
114
+ * OUTPUT HIGHLIGHTS
112
115
*/
113
116
.jp-OutputArea-highlighted {
114
117
border : 1px solid var (--brand-color3 );
@@ -126,6 +129,9 @@ div.CodeMirror-linebackground.jp-InputArea-editor-dependencyline {
126
129
position : static;
127
130
}
128
131
132
+ /**
133
+ * WITHIN-CELL GATHER BUTTON
134
+ */
129
135
.jp-OutputArea-highlighted : not (.jp-OutputArea-selected )
130
136
.jp-OutputArea-gatherbutton {
131
137
opacity : 0 ;
@@ -190,34 +196,16 @@ div.CodeMirror-linebackground.jp-InputArea-editor-dependencyline {
190
196
font-weight : bold;
191
197
}
192
198
193
- /* Gather tool buttons */
194
- .jp-OutputArea-child {
195
- overflow : visible;
196
- }
197
-
198
- .jp-Notebook : not (.jp-mod-active ).jp-Cell .jp-OutputPrompt {
199
- /* XXX: Don't make the prompt translucent; make just its text translucent, so the gather buttons
200
- can be opaque. */
201
- color : rgba (0 , 0 , 0 , 0.32 );
202
- opacity : 1 ;
203
- }
204
-
205
- /* Notifications */
199
+ /**
200
+ * NOTIFICATIONS
201
+ */
206
202
.jp-Toolbar-notification {
207
203
margin-top : -2px ;
208
204
}
209
205
210
- /* General PhosphorJS rules */
211
- .p-mod-hidden {
212
- display : none;
213
- }
214
-
215
- .jp-HistoryViewerIcon {
216
- background-image : var (--jp-icon-history-viewer );
217
- background-size : 100% ;
218
- }
219
-
220
- /* Revision browser */
206
+ /**
207
+ * VERSION BROWSER
208
+ */
221
209
.jp-HistoryViewer {
222
210
width : 100% ;
223
211
height : 100% ;
@@ -318,12 +306,6 @@ div.CodeMirror-linebackground.jp-InputArea-editor-dependencyline {
318
306
font-style : italic;
319
307
}
320
308
321
- /*
322
- .jp-DiffedCell-editor-aftertext {
323
- background-color: #fff1c6;
324
- }
325
- */
326
-
327
309
.jp-DiffedCell-editor-aftertext .jp-DiffedCell-editor-changedtext {
328
310
font-weight : bold;
329
311
}
@@ -339,7 +321,6 @@ div.CodeMirror-linebackground.jp-InputArea-editor-dependencyline {
339
321
340
322
.jp-DiffedCell-editor-beforetext .jp-DiffedCell-editor-changedtext {
341
323
font-weight : bold;
342
- /* background-color: #99eaff; */
343
324
background-color : # cbcbcb ;
344
325
}
345
326
@@ -388,7 +369,7 @@ div.CodeMirror-linebackground.jp-InputArea-editor-dependencyline {
388
369
389
370
.jp-Revision-button span .jp-Revision-button-label {
390
371
margin-left : 6px ;
391
- font-family : ' Helvetica Neue' , Helvetica, Arial, sans-serif;
372
+ font-family : " Helvetica Neue" , Helvetica, Arial, sans-serif;
392
373
white-space : nowrap;
393
374
}
394
375
@@ -398,12 +379,9 @@ div.CodeMirror-linebackground.jp-InputArea-editor-dependencyline {
398
379
overflow-x : hidden;
399
380
}
400
381
401
- /* Output prompt (so we can show tool buttons) */
402
- .jp-OutputArea {
403
- overflow-y : visible;
404
- overflow : visible;
405
- }
406
-
407
- .jp-OutputPrompt {
408
- overflow : visible;
382
+ /**
383
+ * MISCELLANEOUS
384
+ */
385
+ .p-mod-hidden {
386
+ display : none;
409
387
}
0 commit comments