File tree Expand file tree Collapse file tree 2 files changed +9
-18
lines changed
Expand file tree Collapse file tree 2 files changed +9
-18
lines changed Original file line number Diff line number Diff line change 271271 </div >
272272
273273 <button
274- class =" add-new"
274+ class =" add-new raised icon "
275275 on:click ={add_new }
276276 aria-label =" add new component"
277277 title =" add new component"
289289 .component-selector {
290290 position : relative ;
291291 display : flex ;
292+ align-items : center ;
292293 padding : 0 1rem 0 0 ;
293294
294295 /* fake border (allows tab borders to appear above it) */
305306
306307 .file-tabs {
307308 border : none ;
309+ height : 100% ;
308310 margin : 0 ;
309311 white-space : nowrap ;
310312 overflow-x : auto ;
311313 overflow-y : hidden ;
312314 }
313315
314- .file-tabs .button ,
315- .add-new {
316+ .file-tabs .button {
316317 position : relative ;
317318 display : inline-flex ;
318319 align-items : center ;
330331
331332 .add-new {
332333 background : url (./file-new.svg ) 50% 50% no-repeat ;
333- background-size : 1em ;
334+ background-size : 1.2rem ;
335+ width : 3.2rem ;
336+ height : 3.2rem ;
334337 }
335338
336339 .file-tabs .button {
403406 }
404407
405408 .remove :hover {
406- color : var (--sk-theme-3 );
409+ color : var (--sk-text-1 );
407410 }
408411
409412 .file-tabs .button.active .editable {
422425 cursor : move ;
423426 }
424427
425- .add-new {
426- padding : 12px 10px 8px 8px ;
427- height : 40px ;
428- text-align : center ;
429- }
430-
431- .add-new :hover {
432- color : var (--sk-theme-3 ) !important ;
433- }
434-
435428 .runes {
436429 flex : 1 ;
437430 display : flex ;
Original file line number Diff line number Diff line change @@ -34,8 +34,7 @@ const svelteThemeStyles = EditorView.theme(
3434 '.cm-content' : {
3535 // ensure no gap between top of editor and highlighted first/last line
3636 paddingTop : '0px' ,
37- paddingBottom : '0px' ,
38- caretColor : 'var(--sk-theme-3)'
37+ paddingBottom : '0px'
3938 } ,
4039
4140 '.cm-content .cm-line:first-child' : {
@@ -52,7 +51,6 @@ const svelteThemeStyles = EditorView.theme(
5251 alignItems : 'end'
5352 } ,
5453
55- '.cm-cursor, .cm-dropCursor' : { borderLeftColor : 'var(--sk-theme-3)' } ,
5654 '&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection' :
5755 { backgroundColor : 'var(--sk-selection-color)' } ,
5856
You can’t perform that action at this time.
0 commit comments