-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* CB-3864 migrate tree to css modules * CB-3864 migrate extra components * CB-3864 review fixes * CB-3864 move editing and dragging props from base nav components * CB-3864 add styles to renderer * CB-3864 fix aws styles * CB-3864 remove padding in projects renderer * CB-3864 fix node hover effect * CB-3864 remove custom tags * CB-3864 remove config changes * CB-3864 review fixes * CB-3864 move NavigationNodeControl styles closer to the component * CB-3864 chore: code cleanup --------- Co-authored-by: Alexey <[email protected]> Co-authored-by: EvgeniaBzzz <[email protected]> Co-authored-by: mr-anton-t <[email protected]>
- Loading branch information
1 parent
a2d9fdd
commit 571d6b7
Showing
68 changed files
with
841 additions
and
861 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.actionIconButton { | ||
composes: theme-form-element-radius theme-ripple from global; | ||
|
||
padding: 4px !important; | ||
margin: 2px !important; | ||
width: 24px !important; | ||
height: 24px !important; | ||
overflow: hidden; | ||
flex-shrink: 0; | ||
} |
16 changes: 16 additions & 0 deletions
16
webapp/packages/core-blocks/src/ConnectionImageWithMask/ConnectionMark.m.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,16 @@ | ||
.status { | ||
composes: theme-background-positive from global; | ||
position: absolute; | ||
opacity: 0; | ||
transition: opacity 0.3s ease; | ||
bottom: 0; | ||
right: 0; | ||
box-sizing: border-box; | ||
width: 8px; | ||
height: 8px; | ||
border-radius: 50%; | ||
|
||
&.connected { | ||
opacity: 1; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,4 @@ | |
width: 100%; | ||
height: 100%; | ||
} | ||
} | ||
} |
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,5 @@ | ||
.node { | ||
box-sizing: border-box; | ||
width: inherit; | ||
min-width: 100%; | ||
} |
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
24 changes: 24 additions & 0 deletions
24
webapp/packages/core-blocks/src/Tree/TreeNode/TreeNodeControl.m.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,24 @@ | ||
.treeNodeControl { | ||
composes: theme-ripple theme-ripple-selectable from global; | ||
box-sizing: border-box; | ||
height: 22px; | ||
display: flex; | ||
align-items: center; | ||
padding: 2px 0 2px 0; | ||
user-select: none; | ||
white-space: nowrap; | ||
position: initial !important; | ||
outline: none; | ||
|
||
&::before { | ||
left: 0 !important; | ||
top: auto !important; | ||
height: inherit !important; | ||
width: 100% !important; | ||
} | ||
|
||
& > * { | ||
margin-right: 0; | ||
margin-left: 4px; | ||
} | ||
} |
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
23 changes: 23 additions & 0 deletions
23
webapp/packages/core-blocks/src/Tree/TreeNode/TreeNodeExpand.m.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,23 @@ | ||
.treeNodeExpand { | ||
position: relative; | ||
display: flex; | ||
box-sizing: border-box; | ||
flex-shrink: 0; | ||
opacity: 0.5; | ||
width: 16px; | ||
height: 16px; | ||
transform: rotate(-90deg); | ||
&.small { | ||
display: block; | ||
} | ||
|
||
&.expanded { | ||
transform: rotate(0deg); | ||
} | ||
} | ||
|
||
.icon { | ||
cursor: pointer; | ||
height: 100%; | ||
width: 100%; | ||
} |
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
12 changes: 12 additions & 0 deletions
12
webapp/packages/core-blocks/src/Tree/TreeNode/TreeNodeIcon.m.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,12 @@ | ||
.treeNodeIcon { | ||
position: relative; | ||
box-sizing: border-box; | ||
flex-shrink: 0; | ||
width: 16px; | ||
height: 16px; | ||
} | ||
|
||
.staticImage { | ||
position: relative; | ||
height: 100%; | ||
} |
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
8 changes: 8 additions & 0 deletions
8
webapp/packages/core-blocks/src/Tree/TreeNode/TreeNodeName.m.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,8 @@ | ||
.treeNodeName { | ||
position: relative; | ||
box-sizing: border-box; | ||
padding-right: 0; | ||
display: flex; | ||
align-items: center; | ||
margin-right: 4px; | ||
} |
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
10 changes: 10 additions & 0 deletions
10
webapp/packages/core-blocks/src/Tree/TreeNode/TreeNodeNested.m.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,10 @@ | ||
.treeNodeNested { | ||
box-sizing: border-box; | ||
padding-left: 8px; | ||
display: none; | ||
|
||
&.root { | ||
padding: 0; | ||
display: block; | ||
} | ||
} |
Oops, something went wrong.