-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(border-radius): update doc page
- Loading branch information
1 parent
163821d
commit 338fe86
Showing
8 changed files
with
248 additions
and
130 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
packages/docs/src/examples/border-radius/misc-components.vue
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,10 @@ | ||
<template> | ||
<v-container class="text-center"> | ||
<v-btn | ||
color="primary" | ||
rounded="pill" | ||
text="Update Account" | ||
flat | ||
></v-btn> | ||
</v-container> | ||
</template> |
26 changes: 17 additions & 9 deletions
26
packages/docs/src/examples/border-radius/misc-pill-and-circle.vue
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,19 @@ | ||
<template> | ||
<div class="d-flex justify-space-around"> | ||
<div | ||
class="px-10 bg-secondary rounded-pill" | ||
> | ||
</div> | ||
<div | ||
class="pa-6 bg-secondary rounded-circle d-inline-block" | ||
></div> | ||
</div> | ||
<v-container> | ||
<v-row justify="space-around"> | ||
<v-col cols="auto"> | ||
<div class="text-center"> | ||
<div class="bg-surface-variant rounded-pill mx-auto" style="height: 64px; width: 164px;"></div> | ||
<div class="text-caption">rounded-pill</div> | ||
</div> | ||
</v-col> | ||
|
||
<v-col cols="auto"> | ||
<div class="text-center"> | ||
<div class="bg-surface-variant rounded-circle mx-auto" style="height: 64px; width: 64px;"></div> | ||
<div class="text-caption">rounded-circle</div> | ||
</div> | ||
</v-col> | ||
</v-row> | ||
</v-container> | ||
</template> |
17 changes: 8 additions & 9 deletions
17
packages/docs/src/examples/border-radius/misc-removing-border-radius.vue
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 @@ | ||
<template> | ||
<div class="d-flex justify-space-around"> | ||
<div class="pa-4 text-center bg-secondary rounded-0"> | ||
.rounded-0 | ||
</div> | ||
|
||
<div class="pa-4 text-center bg-secondary rounded-xl rounded-be-0"> | ||
.rounded-xl .rounded-be-0 | ||
</div> | ||
</div> | ||
<v-container class="text-center"> | ||
<v-btn | ||
color="primary" | ||
rounded="0" | ||
text="Update Account" | ||
flat | ||
></v-btn> | ||
</v-container> | ||
</template> |
40 changes: 40 additions & 0 deletions
40
packages/docs/src/examples/border-radius/misc-rounded-corners.vue
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,40 @@ | ||
<template> | ||
<v-container> | ||
<v-row justify="space-around"> | ||
<v-col cols="auto"> | ||
<div class="text-center"> | ||
<div class="bg-surface-variant rounded-sm mx-auto" style="height: 64px; width: 64px;"></div> | ||
<div class="text-caption">rounded-sm</div> | ||
</div> | ||
</v-col> | ||
|
||
<v-col cols="auto"> | ||
<div class="text-center"> | ||
<div class="bg-surface-variant rounded mx-auto" style="height: 64px; width: 64px;"></div> | ||
<div class="text-caption">rounded</div> | ||
</div> | ||
</v-col> | ||
|
||
<v-col cols="auto"> | ||
<div class="text-center"> | ||
<div class="bg-surface-variant rounded-md mx-auto" style="height: 64px; width: 64px;"></div> | ||
<div class="text-caption">rounded-md</div> | ||
</div> | ||
</v-col> | ||
|
||
<v-col cols="auto"> | ||
<div class="text-center"> | ||
<div class="bg-surface-variant rounded-lg mx-auto" style="height: 64px; width: 64px;"></div> | ||
<div class="text-caption">rounded-lg</div> | ||
</div> | ||
</v-col> | ||
|
||
<v-col cols="auto"> | ||
<div class="text-center"> | ||
<div class="bg-surface-variant rounded-xl mx-auto" style="height: 64px; width: 64px;"></div> | ||
<div class="text-caption">rounded-xl</div> | ||
</div> | ||
</v-col> | ||
</v-row> | ||
</v-container> | ||
</template> |
42 changes: 28 additions & 14 deletions
42
packages/docs/src/examples/border-radius/misc-rounding-by-corner.vue
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,19 +1,33 @@ | ||
<template> | ||
<div class="d-flex justify-space-around"> | ||
<div class="pa-4 bg-secondary rounded-ts-xl"> | ||
.rounded-ts-xl | ||
</div> | ||
<v-container> | ||
<v-row justify="space-around"> | ||
<v-col cols="auto"> | ||
<div class="text-center"> | ||
<div class="bg-surface-variant rounded-ts-lg mx-auto" style="height: 64px; width: 64px;"></div> | ||
<div class="text-caption">rounded-ts-lg</div> | ||
</div> | ||
</v-col> | ||
|
||
<div class="pa-4 bg-secondary rounded-te-xl"> | ||
.rounded-te-xl | ||
</div> | ||
<v-col cols="auto"> | ||
<div class="text-center"> | ||
<div class="bg-surface-variant rounded-te-lg mx-auto" style="height: 64px; width: 64px;"></div> | ||
<div class="text-caption">rounded-te-lg</div> | ||
</div> | ||
</v-col> | ||
|
||
<div class="pa-4 bg-secondary rounded-be-xl"> | ||
.rounded-be-xl | ||
</div> | ||
<v-col cols="auto"> | ||
<div class="text-center"> | ||
<div class="bg-surface-variant rounded-be-lg mx-auto" style="height: 64px; width: 64px;"></div> | ||
<div class="text-caption">rounded-be-lg</div> | ||
</div> | ||
</v-col> | ||
|
||
<div class="pa-4 bg-secondary rounded-bs-xl"> | ||
.rounded-bs-xl | ||
</div> | ||
</div> | ||
<v-col cols="auto"> | ||
<div class="text-center"> | ||
<div class="bg-surface-variant rounded-bs-lg mx-auto" style="height: 64px; width: 64px;"></div> | ||
<div class="text-caption">rounded-bs-lg</div> | ||
</div> | ||
</v-col> | ||
</v-row> | ||
</v-container> | ||
</template> |
42 changes: 28 additions & 14 deletions
42
packages/docs/src/examples/border-radius/misc-rounding-by-side.vue
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,19 +1,33 @@ | ||
<template> | ||
<div class="d-flex justify-space-around"> | ||
<div class="pa-4 bg-secondary rounded-t-xl"> | ||
.rounded-t-xl | ||
</div> | ||
<v-container> | ||
<v-row justify="space-around"> | ||
<v-col cols="auto"> | ||
<div class="text-center"> | ||
<div class="bg-surface-variant rounded-t-lg mx-auto" style="height: 64px; width: 64px;"></div> | ||
<div class="text-caption">rounded-t-lg</div> | ||
</div> | ||
</v-col> | ||
|
||
<div class="pa-4 bg-secondary rounded-b-xl"> | ||
.rounded-b-xl | ||
</div> | ||
<v-col cols="auto"> | ||
<div class="text-center"> | ||
<div class="bg-surface-variant rounded-e-lg mx-auto" style="height: 64px; width: 64px;"></div> | ||
<div class="text-caption">rounded-e-lg</div> | ||
</div> | ||
</v-col> | ||
|
||
<div class="pa-4 bg-secondary rounded-s-xl"> | ||
.rounded-s-xl | ||
</div> | ||
<v-col cols="auto"> | ||
<div class="text-center"> | ||
<div class="bg-surface-variant rounded-b-lg mx-auto" style="height: 64px; width: 64px;"></div> | ||
<div class="text-caption">rounded-b-lg</div> | ||
</div> | ||
</v-col> | ||
|
||
<div class="pa-4 bg-secondary rounded-e-xl"> | ||
.rounded-e-xl | ||
</div> | ||
</div> | ||
<v-col cols="auto"> | ||
<div class="text-center"> | ||
<div class="bg-surface-variant rounded-s-lg mx-auto" style="height: 64px; width: 64px;"></div> | ||
<div class="text-caption">rounded-s-lg</div> | ||
</div> | ||
</v-col> | ||
</v-row> | ||
</v-container> | ||
</template> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.