-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move TreeView styles into a separate file
- Loading branch information
Showing
5 changed files
with
85 additions
and
186 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
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
67 changes: 67 additions & 0 deletions
67
packages/svelte-lexical/src/lib/core/plugins/TreeView/TreeView.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,67 @@ | ||
.tree-view-output { | ||
display: block; | ||
background: #222; | ||
color: #fff; | ||
padding: 0; | ||
font-size: 12px; | ||
margin: 1px auto 10px auto; | ||
position: relative; | ||
overflow: hidden; | ||
border-bottom-left-radius: 10px; | ||
border-bottom-right-radius: 10px; | ||
} | ||
|
||
.debug-timetravel-panel { | ||
overflow: hidden; | ||
padding: 0 0 10px 0; | ||
margin: auto; | ||
display: flex; | ||
} | ||
|
||
.debug-timetravel-panel-slider { | ||
padding: 0; | ||
flex: 8; | ||
} | ||
|
||
.debug-timetravel-panel-button { | ||
padding: 0; | ||
border: 0; | ||
background: none; | ||
flex: 1; | ||
color: #fff; | ||
font-size: 12px; | ||
} | ||
|
||
.debug-timetravel-panel-button:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
.debug-timetravel-button { | ||
border: 0; | ||
padding: 0; | ||
font-size: 12px; | ||
top: 10px; | ||
right: 15px; | ||
position: absolute; | ||
background: none; | ||
color: #fff; | ||
} | ||
|
||
.debug-timetravel-button:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
.debug-treetype-button { | ||
border: 0; | ||
padding: 0; | ||
font-size: 12px; | ||
top: 10px; | ||
right: 85px; | ||
position: absolute; | ||
background: none; | ||
color: #fff; | ||
} | ||
|
||
.debug-treetype-button:hover { | ||
text-decoration: underline; | ||
} |
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
1 change: 1 addition & 0 deletions
1
packages/svelte-lexical/src/lib/core/plugins/TreeView/TreeViewPlugin.svelte
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,4 +1,5 @@ | ||
<script lang="ts"> | ||
import './TreeView.css'; | ||
import TreeView from './TreeView.svelte'; | ||
</script> | ||
|
||
|