File tree Expand file tree Collapse file tree 5 files changed +57
-9
lines changed
application-extension/style Expand file tree Collapse file tree 5 files changed +57
-9
lines changed Original file line number Diff line number Diff line change 24
24
border : none;
25
25
align-items : center;
26
26
}
27
+
28
+ .ͼ1 .cm-ySelectionCaretDot {
29
+ position : absolute;
30
+ top : -0.2em ;
31
+ left : -0.2em ;
32
+ width : 0 ;
33
+ height : 0 ;
34
+ background-color : inherit;
35
+ transition : transform 0.3s ease-in-out;
36
+ box-sizing : border-box;
37
+ }
38
+
39
+ .ͼ1 .cm-ySelectionInfo {
40
+ position : absolute;
41
+ top : -1.05em ;
42
+ left : -1px ;
43
+ font-size : 0.75em ;
44
+ font-family : serif;
45
+ font-style : normal;
46
+ font-weight : normal;
47
+ line-height : normal;
48
+ user-select : none;
49
+ color : white;
50
+ padding-left : 4px ;
51
+ padding-top : 2px ;
52
+ padding-right : 4px ;
53
+ padding-bottom : 2px ;
54
+ z-index : 101 ;
55
+ transition : opacity 0.3s ease-in-out;
56
+ background-color : inherit;
57
+ opacity : 1 ;
58
+ transition-delay : 0s ;
59
+ white-space : nowrap;
60
+ }
Original file line number Diff line number Diff line change @@ -2137,11 +2137,24 @@ namespace Private {
2137
2137
const tip = document . createElement ( 'div' ) ;
2138
2138
tip . className = 'jp-title-ext' ;
2139
2139
2140
- const tipImg = document . createElement ( 'div' ) ;
2141
- tipImg . className = 'jp-title-ext-tip-img' ;
2142
- tipImg . innerHTML = cloudIcon . svgstr ;
2143
-
2144
- tip . appendChild ( tipImg ) ;
2140
+ const titleExtElement = document . getElementById (
2141
+ 'jp-title-panel-title-ext'
2142
+ ) ;
2143
+ if ( titleExtElement != null ) {
2144
+ const titleAttr = titleExtElement . title ;
2145
+ const tipImg = document . createElement ( 'div' ) ;
2146
+ tipImg . className = 'jp-title-ext-tip-img' ;
2147
+ tipImg . innerHTML = cloudIcon . svgstr ;
2148
+
2149
+ if ( titleAttr != null ) {
2150
+ const saveTip = document . createElement ( 'span' ) ;
2151
+ saveTip . className = 'jp-title-ext-tip' ;
2152
+ saveTip . innerText = titleAttr . split ( '\n' ) [ 2 ] ;
2153
+
2154
+ tip . appendChild ( tipImg ) ;
2155
+ tip . appendChild ( saveTip ) ;
2156
+ }
2157
+ }
2145
2158
2146
2159
this . node . appendChild ( tip ) ;
2147
2160
this . tip = tip ;
Original file line number Diff line number Diff line change 39
39
}
40
40
41
41
.jp-Notebook {
42
- padding : 10px 100 px ;
42
+ padding : 10px 5 % ;
43
43
outline : none;
44
44
overflow : auto;
45
45
background : var (--jp-layout-color0 );
Original file line number Diff line number Diff line change 23
23
.jp-OutputPrompt {
24
24
display : table-cell;
25
25
vertical-align : top;
26
- color : var (--jp-cell-outprompt-font-color );
26
+ color : var (--jp-success-color1 );
27
27
font-family : var (--jp-cell-prompt-font-family );
28
28
padding : 4px 0 ;
29
29
margin-bottom : var (--jp-code-padding );
Original file line number Diff line number Diff line change 393
393
.jp-RenderedHTMLCommon pre ,
394
394
.jp-RenderedHTMLCommon code {
395
395
border : 0 ;
396
- background-color : var (--jp-layout-color0 );
396
+
397
+ /*background-color: var(--jp-layout-color0);*/
397
398
color : var (--jp-content-font-color1 );
398
399
font-family : var (--jp-code-font-family );
399
- font-size : inherit ;
400
+ font-size : 13 px ;
400
401
line-height : var (--jp-code-line-height );
401
402
padding : 0 ;
402
403
white-space : pre-wrap;
You can’t perform that action at this time.
0 commit comments