forked from taiga-family/taiga-ui
-
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.
chore(demo): copy spaces styles on click (taiga-family#203)
- Loading branch information
1 parent
a977e6e
commit e858b03
Showing
6 changed files
with
270 additions
and
105 deletions.
There are no files selected for viewing
122 changes: 100 additions & 22 deletions
122
projects/demo/src/modules/markup/spaces/examples/1/index.html
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,59 +1,137 @@ | ||
<h2 i18n class="title">Margin top <code>tui-space_top-<value></code></h2> | ||
<div class="row"> | ||
<div class="example tui-space_top-1 tui-space_right-2">tui-space_top-1</div> | ||
<div class="example tui-space_top-2 tui-space_right-2">tui-space_top-2</div> | ||
<div class="example tui-space_top-3 tui-space_right-2">tui-space_top-3</div> | ||
<div class="example tui-space_top-4 tui-space_right-2">tui-space_top-4</div> | ||
<div class="example tui-space_top-5 tui-space_right-2">tui-space_top-5</div> | ||
<div class="example tui-space_top-1 tui-space_right-2"> | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_top-1"> | ||
tui-space_top-1 | ||
</tui-doc-copy> | ||
</div> | ||
<div class="example tui-space_top-2 tui-space_right-2"> | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_top-2"> | ||
tui-space_top-2 | ||
</tui-doc-copy> | ||
</div> | ||
<div class="example tui-space_top-3 tui-space_right-2"> | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_top-3"> | ||
tui-space_top-3 | ||
</tui-doc-copy> | ||
</div> | ||
<div class="example tui-space_top-4 tui-space_right-2"> | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_top-4"> | ||
tui-space_top-4 | ||
</tui-doc-copy> | ||
</div> | ||
<div class="example tui-space_top-5 tui-space_right-2"> | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_top-5"> | ||
tui-space_top-5 | ||
</tui-doc-copy> | ||
</div> | ||
</div> | ||
<h2 i18n class="title"> | ||
Margin bottom <code>tui-space_bottom-<value></code> | ||
</h2> | ||
<div class="row row_align-items_bottom"> | ||
<div class="example tui-space_bottom-1 tui-space_right-2"> | ||
tui-space_bottom-1 | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_bottom-1"> | ||
tui-space_bottom-1 | ||
</tui-doc-copy> | ||
</div> | ||
<div class="example tui-space_bottom-2 tui-space_right-2"> | ||
tui-space_bottom-2 | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_bottom-2"> | ||
tui-space_bottom-2 | ||
</tui-doc-copy> | ||
</div> | ||
<div class="example tui-space_bottom-3 tui-space_right-2"> | ||
tui-space_bottom-3 | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_bottom-3"> | ||
tui-space_bottom-3 | ||
</tui-doc-copy> | ||
</div> | ||
<div class="example tui-space_bottom-4 tui-space_right-2"> | ||
tui-space_bottom-4 | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_bottom-4"> | ||
tui-space_bottom-4 | ||
</tui-doc-copy> | ||
</div> | ||
<div class="example tui-space_bottom-5 tui-space_right-2"> | ||
tui-space_bottom-5 | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_bottom-5"> | ||
tui-space_bottom-5 | ||
</tui-doc-copy> | ||
</div> | ||
</div> | ||
<h2 i18n class="title"> | ||
Margin right <code>tui-space_right-<value></code> | ||
</h2> | ||
<div class="row"> | ||
<div class="example tui-space_right-1">tui-space_right-1</div> | ||
<div class="example tui-space_right-2">tui-space_right-2</div> | ||
<div class="example tui-space_right-3">tui-space_right-3</div> | ||
<div class="example tui-space_right-4">tui-space_right-4</div> | ||
<div class="example tui-space_right-5">tui-space_right-5</div> | ||
<div class="example tui-space_right-1"> | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_right-1"> | ||
tui-space_right-1 | ||
</tui-doc-copy> | ||
</div> | ||
<div class="example tui-space_right-2"> | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_right-2"> | ||
tui-space_right-2 | ||
</tui-doc-copy> | ||
</div> | ||
<div class="example tui-space_right-3"> | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_right-3"> | ||
tui-space_right-3 | ||
</tui-doc-copy> | ||
</div> | ||
<div class="example tui-space_right-4"> | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_right-4"> | ||
tui-space_right-4 | ||
</tui-doc-copy> | ||
</div> | ||
<div class="example tui-space_right-5"> | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_right-5"> | ||
tui-space_right-5 | ||
</tui-doc-copy> | ||
</div> | ||
<div class="example"></div> | ||
</div> | ||
<h2 i18n class="title"> | ||
Margin left <code>tui-space_left-<value></code> | ||
</h2> | ||
<div class="row"> | ||
<div class="example"></div> | ||
<div class="example tui-space_left-1">tui-space_left-1</div> | ||
<div class="example tui-space_left-2">tui-space_left-2</div> | ||
<div class="example tui-space_left-3">tui-space_left-3</div> | ||
<div class="example tui-space_left-4">tui-space_left-4</div> | ||
<div class="example tui-space_left-5">tui-space_left-5</div> | ||
<div class="example tui-space_left-1"> | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_left-1"> | ||
tui-space_left-1 | ||
</tui-doc-copy> | ||
</div> | ||
<div class="example tui-space_left-2"> | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_left-2"> | ||
tui-space_left-2 | ||
</tui-doc-copy> | ||
</div> | ||
<div class="example tui-space_left-3"> | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_left-3"> | ||
tui-space_left-3 | ||
</tui-doc-copy> | ||
</div> | ||
<div class="example tui-space_left-4"> | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_left-4"> | ||
tui-space_left-4 | ||
</tui-doc-copy> | ||
</div> | ||
<div class="example tui-space_left-5"> | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_left-5"> | ||
tui-space_left-5 | ||
</tui-doc-copy> | ||
</div> | ||
</div> | ||
<h2 i18n class="title"> | ||
Vertical and horizontal margins | ||
<code>tui-space_vertical-<value></code> and | ||
<code>tui-space_horizontal-<value></code> | ||
</h2> | ||
<div class="row"> | ||
<div class="example tui-space_vertical-4">tui-space_vertical-4</div> | ||
<div class="example tui-space_horizontal-4">tui-space_horizontal-4</div> | ||
<div class="example tui-space_vertical-4"> | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_vertical-4"> | ||
tui-space_vertical-4 | ||
</tui-doc-copy> | ||
</div> | ||
<div class="example tui-space_horizontal-4"> | ||
<tui-doc-copy cdkCopyToClipboard="tui-space_horizontal-4"> | ||
tui-space_horizontal-4 | ||
</tui-doc-copy> | ||
</div> | ||
</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
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
Oops, something went wrong.