Skip to content

Commit 096befd

Browse files
committed
Added Fixed type variations docs (Floating and clip).
1 parent 537e3f1 commit 096befd

File tree

1 file changed

+20
-0
lines changed
  • src/main/java/gwt/material/design/demo/client/application/components/sidenavs

1 file changed

+20
-0
lines changed

src/main/java/gwt/material/design/demo/client/application/components/sidenavs/SideNavsView.ui.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,26 @@
7676
&lt;/m:MaterialSideNav><br/>
7777
</demo:PrettyPre>
7878

79+
<!-- FIXED type Variations -->
80+
<m:MaterialTitle title="Fixed Type Variations" description="Fixed type can be displayed floating or clip. We let users to have control on it's design." />
81+
<m:MaterialTitle title="Variation 1 : Floating" />
82+
<m:MaterialImage url="http://i.imgur.com/hKKN3Fy.png" />
83+
<demo:PrettyPre addStyleNames="lang-xml z-depth-1">
84+
&lt;!-- Variation No. 1 - Floating Fixed. -->
85+
&lt;m:MaterialSideNav m:id="sidenav" type="FIXED" alwaysShowActivator="true" showOnAttach="true" backgroundColor="grey lighten-4" top="68" shadow="0">
86+
&lt;!-- Items here -->
87+
&lt;/m:MaterialSideNav>
88+
</demo:PrettyPre>
89+
90+
<m:MaterialTitle title="Variation 2 : Clip" />
91+
<m:MaterialImage url="http://i.imgur.com/fhOn7h4.png" />
92+
<demo:PrettyPre addStyleNames="lang-xml z-depth-1">
93+
&lt;!-- Variation No. 2 - Clip Fixed -->
94+
&lt;m:MaterialSideNav m:id="sidenav" type="FIXED" alwaysShowActivator="true" showOnAttach="true" backgroundColor="white" top="64" shadow="0">
95+
&lt;!-- Items here -->
96+
&lt;/m:MaterialSideNav>
97+
</demo:PrettyPre>
98+
7999
<!-- CARD -->
80100
<m:MaterialTitle title="Card Type" />
81101
<m:MaterialImage addStyleNames="z-depth-1" url="https://cloud.githubusercontent.com/assets/3138071/10065493/bba5e930-623b-11e5-87c8-79dccfdad431.png"/>

0 commit comments

Comments
 (0)