-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6fc198c
commit 1036666
Showing
8 changed files
with
125 additions
and
43 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
.jdl-app-bars-page__example { | ||
padding: var(--jdl-spacing); | ||
border: var(--jdl-border); | ||
|
||
.jenkins-app-bar { | ||
margin-bottom: 0; | ||
} | ||
|
||
#bottom-sticker { | ||
margin-bottom: calc(var(--jdl-spacing) * -0.5); | ||
} | ||
|
||
&::after { | ||
content: ""; | ||
position: absolute; | ||
left: 0; | ||
right: 0; | ||
height: calc(var(--jdl-spacing) * 2); | ||
pointer-events: none; | ||
backdrop-filter: blur(20px); | ||
} | ||
|
||
&--top { | ||
border-top-left-radius: 0.5rem; | ||
border-top-right-radius: 0.5rem; | ||
margin-bottom: calc(var(--jdl-spacing) * -1); | ||
padding-bottom: calc(var(--jdl-spacing) * 2); | ||
background: linear-gradient(var(--background) 90%, transparent); | ||
|
||
&::after { | ||
bottom: 0; | ||
mask-image: linear-gradient(transparent, black 80%); | ||
} | ||
} | ||
|
||
&--bottom { | ||
border-bottom-left-radius: 0.5rem; | ||
border-bottom-right-radius: 0.5rem; | ||
margin-top: calc(var(--jdl-spacing) * -1); | ||
padding-top: calc(var(--jdl-spacing) * 2); | ||
background: linear-gradient(transparent, var(--background) 10%); | ||
|
||
&::after { | ||
top: 0; | ||
mask-image: linear-gradient(black 20%, transparent); | ||
border-top-left-radius: calc(0.66rem - var(--jdl-border-width)); | ||
border-top-right-radius: calc(0.66rem - var(--jdl-border-width)); | ||
} | ||
} | ||
} | ||
|
||
.jdl-app-bars-page__skeleton { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 1rem; | ||
margin-bottom: calc(var(--jdl-spacing) * 0.5); | ||
|
||
div { | ||
width: 50%; | ||
height: 10px; | ||
border-radius: 0.25rem; | ||
background: var(--text-color-secondary); | ||
|
||
@media (prefers-contrast: no-preference) { | ||
opacity: 0.5; | ||
} | ||
|
||
&:nth-of-type(2) { | ||
width: 40%; | ||
} | ||
|
||
&:nth-of-type(3) { | ||
width: 30%; | ||
} | ||
|
||
&:nth-of-type(4) { | ||
width: 45%; | ||
} | ||
|
||
&:nth-of-type(5) { | ||
width: 40%; | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
@use "app-bars"; | ||
@use "cards"; | ||
@use "colors"; | ||
@use "conventions"; | ||
|
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,11 +1,10 @@ | ||
<div> | ||
<p>...</p> | ||
<f:bottomButtonBar> | ||
<div class="jenkins-buttons-row"> | ||
<button class="jenkins-button jenkins-button--primary"> | ||
Primary control | ||
Save | ||
</button> | ||
<button class="jenkins-button">Secondary</button> | ||
<button class="jenkins-button">Apply</button> | ||
</div> | ||
</f:bottomButtonBar> | ||
</div> |
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