forked from jenkinsci/jenkins
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'content-blocks' into ui-vertical-slice-5
- Loading branch information
Showing
15 changed files
with
240 additions
and
254 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,4 @@ if (items == null) { | |
include(my.owner.viewsTabBar,"viewTabs") | ||
} | ||
} | ||
} | ||
} |
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
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 |
---|---|---|
|
@@ -128,6 +128,7 @@ a { | |
svg { | ||
width: 16px; | ||
height: 16px; | ||
flex: 0 0 auto; | ||
color: var(--text-color) !important; | ||
} | ||
} | ||
|
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,81 +1,50 @@ | ||
@use "../abstracts/mixins"; | ||
|
||
.content-block { | ||
border-radius: 4px; | ||
border: 2px solid var(--light-grey); | ||
} | ||
|
||
.content-block__body { | ||
padding: 1.5rem; | ||
} | ||
|
||
.content-block__body > *:first-child { | ||
margin-top: 0; | ||
} | ||
|
||
.content-block__body > *:last-child { | ||
margin-bottom: 0; | ||
} | ||
|
||
.content-block__footer { | ||
background-color: var(--light-grey); | ||
padding: 0.5rem 1.5rem; | ||
} | ||
|
||
.content-block__link-list { | ||
padding: 0; | ||
} | ||
|
||
.content-block__link-list li { | ||
list-style: none; | ||
width: 100%; | ||
|
||
&:not(:last-child) { | ||
margin-bottom: 0.75rem; | ||
} | ||
} | ||
|
||
.content-block__link { | ||
padding: 0.5rem 1rem; | ||
@include mixins.item; | ||
|
||
display: flex; | ||
justify-content: space-between; | ||
background-color: var(--light-grey); | ||
|
||
@include mixins.link-dark; | ||
|
||
&:focus { | ||
outline-color: var(--focus); | ||
align-items: center; | ||
padding: 0.75rem 1.1rem; | ||
color: var(--text-color) !important; | ||
font-weight: 500; | ||
text-decoration: none !important; | ||
|
||
&::before { | ||
background: var(--button-background); | ||
} | ||
|
||
.trailing-icon .svg-icon { | ||
&.icon-sm { | ||
height: 1.25rem; | ||
.trailing-icon { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 1.25rem; | ||
height: 1.25rem; | ||
|
||
svg { | ||
width: 1.25rem; | ||
height: 1.25rem; | ||
} | ||
} | ||
} | ||
|
||
.content-block__help-link { | ||
background-color: var(--white); | ||
} | ||
|
||
// Empty state specific blocks | ||
|
||
.empty-state-block { | ||
max-width: 600px; | ||
margin: 0 auto; | ||
margin-top: 1.5rem; | ||
} | ||
|
||
.empty-state-section { | ||
margin-top: 2rem; | ||
margin-top: var(--section-padding); | ||
} | ||
|
||
.empty-state-section-list { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 0.625rem; | ||
padding: 0; | ||
|
||
li { | ||
list-style: none; | ||
margin-bottom: 1rem; | ||
} | ||
} |
Oops, something went wrong.