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
16 changed files
with
227 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
@import "../_variables.scss"; | ||
@import "../mixins/_index.scss"; | ||
|
||
|
||
// Dependencies | ||
@import "../common/_index.scss"; | ||
@import "../card/_index.scss"; | ||
|
||
|
||
// Component | ||
@import "_layout.scss"; | ||
@import "_theme.scss"; |
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 @@ | ||
@import "~@progress/kendo-theme-default/scss/tilelayout/_layout.scss"; |
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 @@ | ||
@import "~@progress/kendo-theme-default/scss/tilelayout/_theme.scss"; |
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,12 @@ | ||
@import "../_variables.scss"; | ||
@import "../mixins/_index.scss"; | ||
|
||
|
||
// Dependencies | ||
@import "../common/_index.scss"; | ||
@import "../card/_index.scss"; | ||
|
||
|
||
// Component | ||
@import "_layout.scss"; | ||
@import "_theme.scss"; |
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,30 @@ | ||
@include exports("tilelayout/layout") { | ||
|
||
.k-tilelayout { | ||
@include use-background-clip(); | ||
border-width: $tilelayout-border-width; | ||
border-style: solid; | ||
box-sizing: border-box; | ||
outline: 0; | ||
display: grid; | ||
-webkit-touch-callout: none; | ||
-webkit-tap-highlight-color: $rgba-transparent; | ||
|
||
.k-card { | ||
@include box-shadow( none ); | ||
border-width: $tilelayout-card-border-width; | ||
} | ||
} | ||
|
||
.k-layout-item-hint { | ||
@include border-radius( $tilelayout-hint-border-radius ); | ||
border-width: $tilelayout-hint-border-width; | ||
border-style: solid; | ||
position: relative; | ||
|
||
&.k-layout-item-hint-resize { | ||
z-index: 3; | ||
} | ||
} | ||
|
||
} |
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,16 @@ | ||
@include exports("tilelayout/theme") { | ||
|
||
.k-tilelayout { | ||
@include fill( | ||
$bg: $tilelayout-bg | ||
); | ||
} | ||
|
||
.k-layout-item-hint { | ||
@include fill( | ||
$bg: $tilelayout-hint-bg, | ||
$border: $tilelayout-hint-border | ||
); | ||
} | ||
|
||
} |
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,12 @@ | ||
@import "../_variables.scss"; | ||
@import "../mixins/_index.scss"; | ||
|
||
|
||
// Dependencies | ||
@import "../common/_index.scss"; | ||
@import "../card/_index.scss"; | ||
|
||
|
||
// Component | ||
@import "_layout.scss"; | ||
@import "_theme.scss"; |
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 @@ | ||
@import "~@progress/kendo-theme-default/scss/tilelayout/_layout.scss"; |
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 @@ | ||
@import "~@progress/kendo-theme-default/scss/tilelayout/_theme.scss"; |
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,99 @@ | ||
<!doctype html> | ||
<html lang="en" class="k-typography k-no-animations"> | ||
<head> | ||
<title>Tile Layout</title> | ||
<meta charset="utf-8" /> | ||
<link rel="stylesheet" data-role="kendo-theme" href="../../packages/default/dist/all.css" /> | ||
<link rel="stylesheet" href="assets/styles.css" /> | ||
<script src="assets/scripts.js"></script> | ||
</head> | ||
<body> | ||
|
||
<div id="test-area"> | ||
<div id="tilelayout" class="k-widget k-tilelayout" style="grid-template-columns: repeat(5, minmax(0px, 1fr)); grid-template-rows: repeat(5, minmax(0px, 1fr)); gap: 16px; width: 1000px; padding: 16px;"> | ||
<div class="k-tilelayout-item k-card" style="order: 0; grid-column-end: span 1; grid-row-end: span 1;"> | ||
<div class="k-tilelayout-item-header k-card-header"> | ||
Title goes here | ||
</div> | ||
<div class="k-tilelayout-item-body k-card-body"> | ||
Content goes here | ||
</div> | ||
</div> | ||
<div class="k-tilelayout-item k-card" style="order: 1; grid-column-end: span 1; grid-row-end: span 1;"> | ||
<div class="k-tilelayout-item-header k-card-header"> | ||
Title goes here | ||
</div> | ||
<div class="k-tilelayout-item-body k-card-body"> | ||
Content goes here | ||
</div> | ||
</div> | ||
<div class="k-tilelayout-item k-card" style="order: 2;grid-column-end: span 1;grid-row-end: span 2; width: 250px; position: absolute; height: 198px;left: 430px;"> | ||
<div class="k-tilelayout-item-header k-card-header"> | ||
Title goes here | ||
</div> | ||
<div class="k-tilelayout-item-body k-card-body"> | ||
Content goes here | ||
</div> | ||
</div> | ||
<div class="k-resize-handle k-cursor-ew-resize" style="top: 36px; left: 674px; height: 196px; width: 9px;"></div> | ||
<div class="k-layout-item-hint k-layout-item-hint-resize" style="order: 2;grid-column-end: span 2;grid-row-end: span 2;"></div> | ||
<div class="k-tilelayout-item k-card" style="order: 3; grid-column-end: span 1; grid-row-end: span 1;"> | ||
<div class="k-tilelayout-item-header k-card-header"> | ||
Title goes here | ||
</div> | ||
<div class="k-tilelayout-item-body k-card-body"> | ||
Content goes here | ||
</div> | ||
</div> | ||
<div class="k-tilelayout-item k-card" style="order: 4; grid-column-end: span 1; grid-row-end: span 2;"> | ||
<div class="k-tilelayout-item-header k-card-header"> | ||
Title goes here | ||
</div> | ||
<div class="k-tilelayout-item-body k-card-body"> | ||
Content goes here | ||
</div> | ||
</div> | ||
<div class="k-tilelayout-item k-card" style="order: 5; grid-column-end: span 1; grid-row-end: span 1;"> | ||
<div class="k-tilelayout-item-header k-card-header"> | ||
Title goes here | ||
</div> | ||
<div class="k-tilelayout-item-body k-card-body"> | ||
Content goes here | ||
</div> | ||
</div> | ||
<div class="k-tilelayout-item k-card" style="order: 6; grid-column-end: span 1; grid-row-end: span 1;"> | ||
<div class="k-tilelayout-item-header k-card-header"> | ||
Title goes here | ||
</div> | ||
<div class="k-tilelayout-item-body k-card-body"> | ||
Content goes here | ||
</div> | ||
</div> | ||
<div class="k-tilelayout-item k-card" style="order: 7; grid-column-end: span 1; grid-row-end: span 2;"> | ||
<div class="k-tilelayout-item-header k-card-header"> | ||
Title goes here | ||
</div> | ||
<div class="k-tilelayout-item-body k-card-body"> | ||
Content goes here | ||
</div> | ||
</div> | ||
<div class="k-tilelayout-item k-card" style="order: 8; grid-column-end: span 1; grid-row-end: span 1;"> | ||
<div class="k-tilelayout-item-header k-card-header"> | ||
Title goes here | ||
</div> | ||
<div class="k-tilelayout-item-body k-card-body"> | ||
Content goes here | ||
</div> | ||
</div> | ||
<div class="k-tilelayout-item k-card" style="order: 9; grid-column-end: span 1; grid-row-end: span 2;"> | ||
<div class="k-tilelayout-item-header k-card-header"> | ||
Title goes here | ||
</div> | ||
<div class="k-tilelayout-item-body k-card-body"> | ||
Content goes here | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |