-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1184 from merico-dev/1183-adjust-panel-style-by-n…
…ew-ui-design 1183 adjust panel style by new UI design
- Loading branch information
Showing
33 changed files
with
313 additions
and
158 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 |
---|---|---|
|
@@ -2,5 +2,4 @@ | |
**/*/dist | ||
api/swagger | ||
*.json | ||
*.html | ||
*.css | ||
*.html |
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
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
60 changes: 52 additions & 8 deletions
60
dashboard/src/components/panel/panel-render/panel-render-base.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 |
---|---|---|
@@ -1,9 +1,53 @@ | ||
.panel-root { | ||
height: 100%; | ||
width: 100%; | ||
max-width: 100%; | ||
background: transparent; | ||
border-radius: 4px; | ||
position: relative; | ||
} | ||
|
||
height: 100%; | ||
width: 100%; | ||
max-width: 100%; | ||
background: transparent; | ||
border-radius: 4px; | ||
position: relative; | ||
} | ||
|
||
.panel-title-wrapper { | ||
padding: 16px 32px; | ||
} | ||
.panel-title-wrapper .panel-title-text { | ||
font-size: 20px; | ||
line-height: 28px; | ||
font-weight: bold; | ||
} | ||
.panel-description-popover-wrapper { | ||
position: absolute; | ||
left: 0; | ||
top: 0; | ||
height: 28px; | ||
z-index: 310; | ||
} | ||
|
||
.panel-dropdown-target { | ||
width: 100%; | ||
height: 28px; | ||
text-align: center; | ||
transition: background-color 300ms ease; | ||
} | ||
.panel-dropdown-target:hover { | ||
cursor: pointer; | ||
background-color: rgba(100, 100, 100, 0.05); | ||
} | ||
|
||
.panel-root.panel-root--show-title .panel-dropdown-target { | ||
height: 60px; | ||
} | ||
.panel-root.panel-root--show-title .panel-description-popover-wrapper { | ||
left: 16px; | ||
top: 16px; | ||
} | ||
.panel-root.panel-root--show-title .panel-description-popover-wrapper { | ||
left: 16px; | ||
top: 16px; | ||
} | ||
.panel-root .panel-viz-section { | ||
height: 100%; | ||
} | ||
.panel-root.panel-root--show-title .panel-viz-section { | ||
height: calc(100% - 60px); | ||
} |
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: 0 additions & 8 deletions
8
dashboard/src/components/panel/panel-render/title-bar/index.css
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.