Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devtron header #377

Merged
merged 20 commits into from May 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
979 changes: 547 additions & 432 deletions src/components/app/list-new/AppList.tsx

Large diffs are not rendered by default.

82 changes: 27 additions & 55 deletions src/components/app/list/list.css
@@ -1,31 +1,3 @@
.app-header {
background-color: var(--white);
overflow: visible;
width: 100%;
position: sticky;
top: 0px;
z-index: var(--page-header-index);
border-bottom: 1px solid #ddd;
}

.app-header__title {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 20px;
}

.app-header__text {
margin: 0px;
font-size: 20px;
font-weight: 500;
font-style: normal;
font-stretch: normal;
line-height: 1.4;
letter-spacing: normal;
color: var(--N900);
}

.search-filter-section {
padding: 12px 20px;
display: flex;
Expand All @@ -36,7 +8,6 @@
z-index: 1;
}


.filters {
flex: 1 1;
display: flex;
Expand Down Expand Up @@ -95,9 +66,9 @@
background-color: #f7fafc;
}

.saved-filters__clear-btn{
margin: 0;
padding: 0;
.saved-filters__clear-btn {
margin: 0;
padding: 0;
}

.app-list__header {
Expand All @@ -117,7 +88,7 @@
z-index: var(--app-list-header-index);
}

.saved-filters+.app-list .app-list__header {
.saved-filters + .app-list .app-list__header {
top: 116px;
}

Expand Down Expand Up @@ -163,7 +134,7 @@
text-transform: uppercase;
}

.app-list__cell--icon{
.app-list__cell--icon {
width: 40px;
}

Expand All @@ -187,7 +158,9 @@
background-image: url('../../../assets/icons/appstatus/bg-white.svg');
}

.app-list__cell--env, .app-list__cell--cluster, .app-list__cell--namespace {
.app-list__cell--env,
.app-list__cell--cluster,
.app-list__cell--namespace {
flex-basis: 18%;
justify-content: flex-start;
}
Expand Down Expand Up @@ -259,7 +232,7 @@
}

.button-edit .fill-color {
fill: var(--N000)
fill: var(--N000);
}

.button-edit__icon {
Expand Down Expand Up @@ -399,7 +372,7 @@
text-decoration: underline;
}

@media(min-width: 1024px) {
@media (min-width: 1024px) {
.search-filter-section {
flex-direction: row;
align-items: center;
Expand All @@ -413,18 +386,18 @@
}
}

.app-create-model-wrapper{
position : fixed;
right : 24px;
top : 50px;
.app-create-model-wrapper {
position: fixed;
right: 24px;
top: 50px;
}

.app-create-model-wrapper .app-create-child{
padding : 10px 15px;
.app-create-model-wrapper .app-create-child {
padding: 10px 15px;
display: flex;
}

.app-create-model-wrapper .app-create-child:first-child{
.app-create-model-wrapper .app-create-child:first-child {
border-bottom: 1px solid #edf1f5;
}

Expand All @@ -436,24 +409,24 @@
cursor: pointer;
}

.app-tabs-wrapper{
.app-tabs-wrapper {
position: relative;
border-bottom: 1px solid #ddd;
}

.app-tabs-wrapper .tab-list{
.app-tabs-wrapper .tab-list {
padding-left: 20px;
background-color: white;
}

.app-tabs-wrapper .app-tabs-sync{
.app-tabs-wrapper .app-tabs-sync {
position: absolute;
right: 20px;
top: 10px;
}

.app-tabs-wrapper .app-tabs-sync button{
margin-top : -2px;
.app-tabs-wrapper .app-tabs-sync button {
margin-top: -2px;
}

.filter-divider {
Expand All @@ -462,7 +435,7 @@
background-color: var(--N200);
}

.saved-filter-divider{
.saved-filter-divider {
height: 24px;
width: 1px;
background-color: var(--N200);
Expand All @@ -478,18 +451,17 @@
border: solid 1px #ffcb5d;
}

.helm-permission-message-strip .icon path[fill="#F33E3E"] {
fill: var(--Y700)
.helm-permission-message-strip .icon path[fill='#F33E3E'] {
fill: var(--Y700);
}


.above-header-message {
min-height: 32px;
margin: 0 20px;
padding: 6px;
}

.ea-fetch-error-message{
.ea-fetch-error-message {
background-color: var(--R100);
border: solid 1px var(--R200);
}
}