-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(ui): beautify the UI of Pod Logs, YAML tab, Summary Card (#660)
## What type of PR is this? /kind refactor ## What this PR does / why we need it: This PR enhances the pod logs UI and connection status by improving the connection status feedback, adding hover tooltips with connection details, and applying modern styling to the status indicator. Additionally, it adds translations for connection status tooltips in all supported languages and standardizes the LogAggregator naming. Screenshot: ![image](https://github.com/user-attachments/assets/6c7fd334-58fa-4224-b733-e9bb4c151d84) ![image](https://github.com/user-attachments/assets/ce6f7eb6-09aa-40cb-8e90-ba3930d45c29) ![image](https://github.com/user-attachments/assets/4b5fa5c7-fa4e-41ca-9ffc-0c038c6d48c3) ## Which issue(s) this PR fixes: Fixes #
- Loading branch information
Showing
12 changed files
with
522 additions
and
122 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 |
---|---|---|
@@ -1,20 +1,57 @@ | ||
.tab_container { | ||
display: flex; | ||
align-items: center; | ||
border-bottom: 1px solid #f0f0f0; | ||
margin-bottom: 12px; | ||
|
||
.item { | ||
position: relative; | ||
|
||
.normal { | ||
padding: 10px 0; | ||
position: relative; | ||
padding: 12px 4px; | ||
margin-right: 32px; | ||
font-weight: 400; | ||
color: rgb(0 0 0 / 65%); | ||
color: rgba(0, 0, 0, 0.65); | ||
cursor: pointer; | ||
border-bottom: 2px solid transparent; | ||
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); | ||
|
||
&::after { | ||
content: ''; | ||
position: absolute; | ||
bottom: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 2px; | ||
background: #2f54eb; | ||
transform: scaleX(0); | ||
transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); | ||
} | ||
|
||
&:hover { | ||
color: #2f54eb; | ||
|
||
&::after { | ||
transform: scaleX(0.3); | ||
} | ||
} | ||
} | ||
|
||
.active { | ||
color: #2f54eb; | ||
border-bottom: 2px solid #2f54eb; | ||
font-weight: 500; | ||
|
||
&::after { | ||
transform: scaleX(1); | ||
} | ||
|
||
&:hover::after { | ||
transform: scaleX(1); | ||
} | ||
} | ||
|
||
&:last-child .normal { | ||
margin-right: 0; | ||
} | ||
} | ||
} |
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.