From f8fdcb6333bbc6b185db732c34e82b5fa0c54583 Mon Sep 17 00:00:00 2001 From: Drew Rygh Date: Fri, 9 Oct 2015 17:06:07 -0500 Subject: [PATCH] docs(demos): button contents --- demos/component-docs/app.css | 38 +++++++++++++- demos/component-docs/buttons/buttons.ts | 18 +++++++ demos/component-docs/buttons/clear.html | 25 ++++++++++ demos/component-docs/buttons/components.html | 50 +++++++++++++++++++ demos/component-docs/buttons/fab.html | 6 +-- demos/component-docs/card-wireframe.png | Bin 0 -> 3736 bytes demos/component-docs/footer-wireframe.png | Bin 0 -> 118 bytes demos/component-docs/helpers.ts | 6 ++- 8 files changed, 137 insertions(+), 6 deletions(-) create mode 100644 demos/component-docs/buttons/clear.html create mode 100644 demos/component-docs/buttons/components.html create mode 100644 demos/component-docs/card-wireframe.png create mode 100644 demos/component-docs/footer-wireframe.png diff --git a/demos/component-docs/app.css b/demos/component-docs/app.css index 698ce7a6c7..117060707c 100644 --- a/demos/component-docs/app.css +++ b/demos/component-docs/app.css @@ -93,6 +93,40 @@ scroll-content { color: #757575; } -#demo-hammer { - padding: 0 0.4em; +#card-wireframe { + width: 100%; + margin-bottom: 2.7em; } +#subtle-footer { + background-color: #fff; + border-image-source: url(footer-wireframe.png); + border-image-repeat: repeat; + border-image-width: 100%; + border-bottom: 0; + border-left: 0; + border-right: 0; + position: absolute; + bottom:0; +} +#demo-fab-bottom { + padding-top: 3px; + z-index: 100; +} +#subtle-footer .toolbar-background { + background-color: #fff; + border-bottom: 0; +} +#demo-card-left { + font-size: 14px; + margin-top: -90px; + margin-left: 10px; + float: left; +} +#demo-card-right { + font-size: 14px; + margin-top: -90px; + float: right; + margin-right: 10px; + + +} \ No newline at end of file diff --git a/demos/component-docs/buttons/buttons.ts b/demos/component-docs/buttons/buttons.ts index dcf0084f9a..96b91054ef 100644 --- a/demos/component-docs/buttons/buttons.ts +++ b/demos/component-docs/buttons/buttons.ts @@ -18,6 +18,15 @@ export class BlockButtonsPage { } } +@Page({ + templateUrl: 'buttons/clear.html', +}) +export class ClearButtonsPage { + constructor() { + + } +} + @Page({ templateUrl: 'buttons/full.html', }) @@ -69,5 +78,14 @@ export class ButtonSizesPage { export class IconButtonsPage { constructor() { + } +} + +@Page({ + templateUrl: 'buttons/components.html', +}) +export class ButtonsInComponentsPage { + constructor() { + } } \ No newline at end of file diff --git a/demos/component-docs/buttons/clear.html b/demos/component-docs/buttons/clear.html new file mode 100644 index 0000000000..3acd89b5c5 --- /dev/null +++ b/demos/component-docs/buttons/clear.html @@ -0,0 +1,25 @@ + + Clear Buttons + + + +

+ +

+ +

+ +

+ +

+ +

+ +

+ +

+ +

+ +

+
diff --git a/demos/component-docs/buttons/components.html b/demos/component-docs/buttons/components.html new file mode 100644 index 0000000000..07ff414076 --- /dev/null +++ b/demos/component-docs/buttons/components.html @@ -0,0 +1,50 @@ + + + Buttons + + + + + + + + + + + + +
+ + + +
+ + + + + Inner Button + + + + + Left Icon Button + + + + + Right Icon Button + + + + +
diff --git a/demos/component-docs/buttons/fab.html b/demos/component-docs/buttons/fab.html index e9bd5a9bef..deada245ae 100644 --- a/demos/component-docs/buttons/fab.html +++ b/demos/component-docs/buttons/fab.html @@ -13,12 +13,12 @@ -

- - + + diff --git a/demos/component-docs/card-wireframe.png b/demos/component-docs/card-wireframe.png new file mode 100644 index 0000000000000000000000000000000000000000..f071564311c0b4e8f1aa2d1f523ef86128766513 GIT binary patch literal 3736 zcmdT{dpMM78-EQs=FnK8940d{qHGZ^#xaMPO&D@)b6Cbi!=#*s-0C4&8^MWfIc{vT>k92^kV}LEuDJsi&Bl1X^i>^$cRCqu90Jyr->?i zMaGN-uS5J1uobTKi!dl8dw;T+vBH65W%b<1DHadNIE!po!^1`qWO`&C40eLVR+e(QH~Yzn%tKGo>8tnAbzuoDkHf zspc)tFGS|~_S)bsOSCKx_Pnr-7P)3|fAQ;8*DGtO8mA((!-YZk9GnwpZlF(p>sciu zIC!pQrV_1#nhNUQZ6j{3Wp<``FEwIG3zK`u7|A&xl%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0!N~sVbf&!gIU%r+xS2Y|RZIw3rPe=3oSjnZ3;jb)N=!i+ zB$QAX@bj5>4P^$j>-|$E9Vw{j!O1os_k-};f~Mg=FX6n0<%HWVT>9zqF%F{d1lHb? z@0#s~MSUZ`?v>VMxAdzOLqbfXrUyaQ2*!1?q(XGe&gCWFn#PAvZ*Ww2S>-47eR2n$ zQ>xlMU0a|D0Z%dc7)A9{=}OPW-1k!Kjn%l5sd`F>DAB%EFjCaNTLw&4J7W<0^$n3< z8ddvw|4v)`tV;d!J?i(k{zu#WtIhZ`ujiF@&(Dls(}VK>6|(AJUzf%A!f3zT#HWY> z)tUP16P32Ce51eB@;^iQ|GXP;g!l(q)&Cx(=!eqF>60ZS8)+Cg$DJ01XJ@L^?5mpen0>BrbMfn>0}>5s2A>w>Nz_iXV8il40yz8~ zd>c40_UOKDIJHHZf~OlSTF+6xqnP%;rLhdwN!Z+oq?uWL&W2y(C1RDpL7@h&NE~#p zXJ=gE;Z@AIhJR|HQ*K0JrMSou3tg!B%J~|5SkD_|8j))8{#x(^`)6~tmJd&?*qnty z8k>FlI0k%9s3?&(n??0EKH~2M-ipc&R!~L|X&lST7NuvZUad3hu|x_}Go|l3=Z(7S z#49;k0dAzBA3?e&VGjVwOGZxi@>8apGhwWt2=+UC!=_7%BtCqpGkjoXF~6inHzwO6 z*z!r+t}z@Zb<>%+RTzgQu0Qf@GB~;fv_^Y_L$YAyea`_{5~Fdy+3Q$af_oF37`|G= zbdFfx93j{$kb%fuX(iRInJ{q*|Ul+UM+PL#=F7Ku_V*eY>zkS&fM40SHnT~WzS zvXqhS(wRWiK0z+?^b=AuwZWIx(aa=EWS!L=*$1Ni7Wv?j&cXdh1T+Ei-=(1;4Pz*RX1@Tm!4 MOf60B8oNdR3xmyskpKVy literal 0 HcmV?d00001 diff --git a/demos/component-docs/footer-wireframe.png b/demos/component-docs/footer-wireframe.png new file mode 100644 index 0000000000000000000000000000000000000000..ff518e6df4bdea52d14805d02ab6401950e11a7b GIT binary patch literal 118 zcmeAS@N?(olHy`uVBq!ia0vp^j6lr7!3HG#Z-iO_DajJoh?3y^w370~qErUQl>DSr z1<%~X^wgl##FWaylc_d9MG~Gajv*Ddk}AG^ij@*(=3t2Ye^94^ftewA2iubliTT%n PY8X6S{an^LB{Ts5fcYTh literal 0 HcmV?d00001 diff --git a/demos/component-docs/helpers.ts b/demos/component-docs/helpers.ts index e65f250883..c60af44fb9 100644 --- a/demos/component-docs/helpers.ts +++ b/demos/component-docs/helpers.ts @@ -2,12 +2,14 @@ import {ActionSheetPage} from 'actionSheet/actionSheet'; import {ButtonsPage, BlockButtonsPage, + ClearButtonsPage, FullButtonsPage, OutlineButtonsPage, RoundButtonsPage, FabPage, ButtonSizesPage, - IconButtonsPage} from 'buttons/buttons'; + IconButtonsPage, + ButtonsInComponentsPage} from 'buttons/buttons'; import {CardsPage} from 'cards/cards'; import {FormsPage} from 'forms/forms'; @@ -30,10 +32,12 @@ export function getPageFor(hash) { 'action-sheets': ActionSheetPage, 'buttons': ButtonsPage, 'block-buttons': BlockButtonsPage, + 'clear-buttons': ClearButtonsPage, 'full-buttons': FullButtonsPage, 'outline-buttons': OutlineButtonsPage, 'round-buttons': RoundButtonsPage, 'floating-action-buttons': FabPage, + 'buttons-in-components': ButtonsInComponentsPage, 'button-sizes': ButtonSizesPage, 'icon-buttons': IconButtonsPage, 'cards': CardsPage,