-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
11 changed files
with
172 additions
and
32 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<style webc:scoped> | ||
:host, .card { | ||
display: block; | ||
height: 100%; | ||
} | ||
|
||
h2, h3, h4 { | ||
font-size: var(--diamond-font-size-base); | ||
font-weight: var(--diamond-font-weight-bold); | ||
margin-block-end: var(--diamond-spacing-xs); | ||
} | ||
</style> | ||
|
||
<diamond-card class="card" muted radius> | ||
<diamond-grid align-items="baseline" gap="sm"> | ||
<diamond-grid-item> | ||
<span class="diamond-text-size-lg"><slot name="icon"></slot></span> | ||
</diamond-grid-item> | ||
<diamond-grid-item grow shrink> | ||
<slot></slot> | ||
</diamond-grid-item> | ||
</diamond-grid> | ||
</diamond-card> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,36 @@ | ||
<style webc:scoped> | ||
a { | ||
display: block; | ||
border: var(--diamond-border); | ||
border-radius: var(--diamond-radius); | ||
text-decoration: none; | ||
color: var(--diamond-theme-color); | ||
overflow: hidden; | ||
transition: border-color var(--diamond-transition); | ||
|
||
&:hover { | ||
border-color: var(--diamond-theme-link-color); | ||
} | ||
} | ||
|
||
.icon { | ||
background: var(--diamond-theme-background-muted); | ||
color: var(--color-blue-light); | ||
padding: var(--diamond-spacing); | ||
text-align: center; | ||
font-size: 5em; | ||
} | ||
|
||
.content { | ||
padding: var(--diamond-spacing); | ||
} | ||
</style> | ||
|
||
<a :href="href"> | ||
<div class="icon"> | ||
<d-icon :icon="icon"></d-icon> | ||
</div> | ||
<div class="content"> | ||
<slot></slot> | ||
</div> | ||
</a> |
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 |
---|---|---|
|
@@ -55,19 +55,14 @@ | |
<d-made-with-love-and-coffee></d-made-with-love-and-coffee> | ||
</diamond-grid-item> | ||
<diamond-grid-item small-mobile="12" small-tablet="6" large-tablet="4"> | ||
<diamond-card muted radius> | ||
<diamond-grid align-items="baseline" gap="sm"> | ||
<diamond-grid-item><d-icon icon="heart" class="diamond-text-size-lg"></d-icon></diamond-grid-item> | ||
<diamond-grid-item grow shrink> | ||
<h2 class="diamond-text-size-base diamond-text-weight-bold diamond-spacing-bottom-xs"> | ||
Have you tried Diamond UI? | ||
</h2> | ||
<p> | ||
Do you use it on your product? <a href="mailto:[email protected]">Tell us</a> and we’ll add your site to our sparkly wall of appreciation. | ||
</p> | ||
</diamond-grid-item> | ||
</diamond-grid> | ||
</diamond-card> | ||
<d-alert> | ||
<d-icon icon="heart" class="text-color-red" slot="icon"></d-icon> | ||
<h2>Have you tried Diamond UI?</h2> | ||
<p> | ||
Do you use it on your product? <a href="mailto:[email protected]">Tell us</a> and we’ll | ||
add your site to our sparkly wall of appreciation. | ||
</p> | ||
</d-alert> | ||
</diamond-grid-item> | ||
</diamond-grid> | ||
<diamond-grid justify-content="space-between"> | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,8 @@ | |
} | ||
|
||
h1, | ||
h2 { | ||
h2, | ||
h3 { | ||
font-weight: var(--diamond-font-weight-base); | ||
} | ||
|
||
|
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