| OLD | NEW |
| (Empty) | |
| 1 <!doctype html> |
| 2 <!-- |
| 3 @license |
| 4 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
| 5 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
| 6 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
| 7 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
| 8 Code distributed by Google as part of the polymer project is also |
| 9 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
| 10 --> |
| 11 <html> |
| 12 <head> |
| 13 |
| 14 <meta charset="utf-8"> |
| 15 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| 16 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-
scale=1, user-scalable=yes"> |
| 17 |
| 18 <title>paper-dialog-scrollable demo</title> |
| 19 |
| 20 <script src="../../webcomponentsjs/webcomponents-lite.js"></script> |
| 21 |
| 22 <link rel="import" href="../paper-dialog-scrollable.html"> |
| 23 |
| 24 <link rel="import" href="../../paper-styles/classes/typography.html"> |
| 25 <link rel="import" href="../../iron-flex-layout/classes/iron-flex-layout.html"
> |
| 26 |
| 27 <style> |
| 28 |
| 29 section { |
| 30 height: 100%; |
| 31 } |
| 32 |
| 33 .header, .footer { |
| 34 padding: 8px 24px; |
| 35 } |
| 36 |
| 37 .footer { |
| 38 text-align: right; |
| 39 } |
| 40 |
| 41 </style> |
| 42 |
| 43 </head> |
| 44 <body class="fullbleed"> |
| 45 |
| 46 <section class="layout vertical"> |
| 47 |
| 48 <div class="header paper-font-title"> |
| 49 Alice in Wonderland |
| 50 </div> |
| 51 |
| 52 <paper-dialog-scrollable class="flex paper-font-body1"> |
| 53 |
| 54 <p>Alice was beginning to get very tired of sitting by her sister |
| 55 on the bank, and of having nothing to do: once or twice she had |
| 56 peeped into the book her sister was reading, but it had no |
| 57 pictures or conversations in it, 'and what is the use of a book,' |
| 58 thought Alice 'without pictures or conversation?'</p> |
| 59 |
| 60 <p>So she was considering in her own mind (as well as she could, |
| 61 for the hot day made her feel very sleepy and stupid), whether |
| 62 the pleasure of making a daisy-chain would be worth the trouble |
| 63 of getting up and picking the daisies, when suddenly a White |
| 64 Rabbit with pink eyes ran close by her.</p> |
| 65 |
| 66 <p>There was nothing so <i>very</i> remarkable in that; nor did |
| 67 Alice think it so <i>very</i> much out of the way to hear the |
| 68 Rabbit say to itself, 'Oh dear! Oh dear! I shall be late!' (when |
| 69 she thought it over afterwards, it occurred to her that she ought |
| 70 to have wondered at this, but at the time it all seemed quite |
| 71 natural); but when the Rabbit actually <i>took a watch out of its |
| 72 waistcoat-pocket,</i> and looked at it, and then hurried on, |
| 73 Alice started to her feet, for it flashed across her mind that |
| 74 she had never before seen a rabbit with either a |
| 75 waistcoat-pocket, or a watch to take out of it, and burning with |
| 76 curiosity, she ran across the field after it, and fortunately was |
| 77 just in time to see it pop down a large rabbit-hole under the |
| 78 hedge.</p> |
| 79 |
| 80 <p>In another moment down went Alice after it, never once |
| 81 considering how in the world she was to get out again.</p> |
| 82 |
| 83 <p>The rabbit-hole went straight on like a tunnel for some way, |
| 84 and then dipped suddenly down, so suddenly that Alice had not a |
| 85 moment to think about stopping herself before she found herself |
| 86 falling down a very deep well.</p> |
| 87 |
| 88 <p>Either the well was very deep, or she fell very slowly, for |
| 89 she had plenty of time as she went down to look about her and to |
| 90 wonder what was going to happen next. First, she tried to look |
| 91 down and make out what she was coming to, but it was too dark to |
| 92 see anything; then she looked at the sides of the well, and |
| 93 noticed that they were filled with cupboards and book-shelves; |
| 94 here and there she saw maps and pictures hung upon pegs. She took |
| 95 down a jar from one of the shelves as she passed; it was labelled |
| 96 'ORANGE MARMALADE', but to her great disappointment it was empty: |
| 97 she did not like to drop the jar for fear of killing somebody, so |
| 98 managed to put it into one of the cupboards as she fell past |
| 99 it.</p> |
| 100 |
| 101 <p>'Well!' thought Alice to herself, 'after such a fall as this, |
| 102 I shall think nothing of tumbling down stairs! How brave they'll |
| 103 all think me at home! Why, I wouldn't say anything about it, even |
| 104 if I fell off the top of the house!' (Which was very likely |
| 105 true.)</p> |
| 106 |
| 107 <p>Down, down, down. Would the fall <i>never</i> come to an end! |
| 108 'I wonder how many miles I've fallen by this time?' she said |
| 109 aloud. 'I must be getting somewhere near the centre of the earth. |
| 110 Let me see: that would be four thousand miles down, I think--' |
| 111 (for, you see, Alice had learnt several things of this sort in |
| 112 her lessons in the schoolroom, and though this was not a <i>very</i> |
| 113 good opportunity for showing off her knowledge, as there was no |
| 114 one to listen to her, still it was good practice to say it over) |
| 115 '--yes, that's about the right distance--but then I wonder what |
| 116 Latitude or Longitude I've got to?' (Alice had no idea what |
| 117 Latitude was, or Longitude either, but thought they were nice |
| 118 grand words to say.)</p> |
| 119 |
| 120 <p>Presently she began again. 'I wonder if I shall fall right |
| 121 <i>through</i> the earth! How funny it'll seem to come out among |
| 122 the people that walk with their heads downward! The Antipathies, |
| 123 I think--' (she was rather glad there <i>was</i> no one listening, this |
| 124 time, as it didn't sound at all the right word) '--but I shall |
| 125 have to ask them what the name of the country is, you know. |
| 126 Please, Ma'am, is this New Zealand or Australia?' (and she tried |
| 127 to curtsey as she spoke--fancy <i>curtseying</i> as you're |
| 128 falling through the air! Do you think you could manage it?) 'And |
| 129 what an ignorant little girl she'll think me for asking! No, |
| 130 it'll never do to ask: perhaps I shall see it written up |
| 131 somewhere.'</p> |
| 132 |
| 133 <p>Down, down, down. There was nothing else to do, so Alice soon |
| 134 began talking again. 'Dinah'll miss me very much to-night, I |
| 135 should think!' (Dinah was the cat.) 'I hope they'll remember her |
| 136 saucer of milk at tea-time. Dinah my dear! I wish you were down |
| 137 here with me! There are no mice in the air, I'm afraid, but you |
| 138 might catch a bat, and that's very like a mouse, you know. But do |
| 139 cats eat bats, I wonder?' And here Alice began to get rather |
| 140 sleepy, and went on saying to herself, in a dreamy sort of way, |
| 141 'Do cats eat bats? Do cats eat bats?' and sometimes, 'Do bats eat |
| 142 cats?' for, you see, as she couldn't answer either question, it |
| 143 didn't much matter which way she put it. She felt that she was |
| 144 dozing off, and had just begun to dream that she was walking hand |
| 145 in hand with Dinah, and saying to her very earnestly, 'Now, |
| 146 Dinah, tell me the truth: did you ever eat a bat?' when suddenly, |
| 147 thump! thump! down she came upon a heap of sticks and dry leaves, |
| 148 and the fall was over.</p> |
| 149 |
| 150 <p>Alice was not a bit hurt, and she jumped up on to her feet in |
| 151 a moment: she looked up, but it was all dark overhead; before her |
| 152 was another long passage, and the White Rabbit was still in |
| 153 sight, hurrying down it. There was not a moment to be lost: away |
| 154 went Alice like the wind, and was just in time to hear it say, as |
| 155 it turned a corner, 'Oh my ears and whiskers, how late it's |
| 156 getting!' She was close behind it when she turned the corner, but |
| 157 the Rabbit was no longer to be seen: she found herself in a long, |
| 158 low hall, which was lit up by a row of lamps hanging from the |
| 159 roof.</p> |
| 160 |
| 161 <p>There were doors all round the hall, but they were all locked; |
| 162 and when Alice had been all the way down one side and up the |
| 163 other, trying every door, she walked sadly down the middle, |
| 164 wondering how she was ever to get out again.</p> |
| 165 |
| 166 <p>Suddenly she came upon a little three-legged table, all made |
| 167 of solid glass; there was nothing on it except a tiny golden key, |
| 168 and Alice's first thought was that it might belong to one of the |
| 169 doors of the hall; but, alas! either the locks were too large, or |
| 170 the key was too small, but at any rate it would not open any of |
| 171 them. However, on the second time round, she came upon a low |
| 172 curtain she had not noticed before, and behind it was a little |
| 173 door about fifteen inches high: she tried the little golden key |
| 174 in the lock, and to her great delight it fitted!</p> |
| 175 |
| 176 <p>Alice opened the door and found that it led into a small |
| 177 passage, not much larger than a rat-hole: she knelt down and |
| 178 looked along the passage into the loveliest garden you ever saw. |
| 179 How she longed to get out of that dark hall, and wander about |
| 180 among those beds of bright flowers and those cool fountains, but |
| 181 she could not even get her head though the doorway; 'and even if |
| 182 my head <i>would</i> go through,' thought poor Alice, 'it would |
| 183 be of very little use without my shoulders. Oh, how I wish I |
| 184 could shut up like a telescope! I think I could, if I only know |
| 185 how to begin.' For, you see, so many out-of-the-way things had |
| 186 happened lately, that Alice had begun to think that very few |
| 187 things indeed were really impossible.</p> |
| 188 |
| 189 <p>There seemed to be no use in waiting by the little door, so |
| 190 she went back to the table, half hoping she might find another |
| 191 key on it, or at any rate a book of rules for shutting people up |
| 192 like telescopes: this time she found a little bottle on it, |
| 193 ('which certainly was not here before,' said Alice,) and round |
| 194 the neck of the bottle was a paper label, with the words 'DRINK |
| 195 ME' beautifully printed on it in large letters.</p> |
| 196 |
| 197 <p>It was all very well to say 'Drink me,' but the wise little |
| 198 Alice was not going to do <i>that</i> in a hurry. 'No, I'll look |
| 199 first,' she said, 'and see whether it's marked "<i>poison</i>" or |
| 200 not'; for she had read several nice little histories about |
| 201 children who had got burnt, and eaten up by wild beasts and other |
| 202 unpleasant things, all because they <i>would</i> not remember the |
| 203 simple rules their friends had taught them: such as, that a |
| 204 red-hot poker will burn you if you hold it too long; and that if |
| 205 you cut your finger <i>very</i> deeply with a knife, it usually |
| 206 bleeds; and she had never forgotten that, if you drink much from |
| 207 a bottle marked '<i>poison</i>,' it is almost certain to disagree |
| 208 with you, sooner or later.</p> |
| 209 |
| 210 <p>However, this bottle was <i>not</i> marked 'poison,' so Alice |
| 211 ventured to taste it, and finding it very nice, (it had, in fact, |
| 212 a sort of mixed flavour of cherry-tart, custard, pine-apple, |
| 213 roast turkey, toffee, and hot buttered toast,) she very soon |
| 214 finished it off.</p> |
| 215 |
| 216 <p class="asterisks"> |
| 217 <br> |
| 218 * * * * &nb
sp; * |
| 219 <br> |
| 220 * * * * |
| 221 <br> |
| 222 * * * * &nb
sp; * |
| 223 <br> |
| 224 </p> |
| 225 |
| 226 <p>'What a curious feeling!' said Alice; 'I must be shutting up |
| 227 like a telescope.'</p> |
| 228 |
| 229 <p>And so it was indeed: she was now only ten inches high, and |
| 230 her face brightened up at the thought that she was now the right |
| 231 size for going through the little door into that lovely garden. |
| 232 First, however, she waited for a few minutes to see if she was |
| 233 going to shrink any further: she felt a little nervous about |
| 234 this; 'for it might end, you know,' said Alice to herself, 'in my |
| 235 going out altogether, like a candle. I wonder what I should be |
| 236 like then?' And she tried to fancy what the flame of a candle is |
| 237 like after the candle is blown out, for she could not remember |
| 238 ever having seen such a thing.</p> |
| 239 |
| 240 <p>After a while, finding that nothing more happened, she decided |
| 241 on going into the garden at once; but, alas for poor Alice! when |
| 242 she got to the door, she found she had forgotten the little |
| 243 golden key, and when she went back to the table for it, she found |
| 244 she could not possibly reach it: she could see it quite plainly |
| 245 through the glass, and she tried her best to climb up one of the |
| 246 legs of the table, but it was too slippery; and when she had |
| 247 tired herself out with trying, the poor little thing sat down and |
| 248 cried.</p> |
| 249 |
| 250 <p>'Come, there's no use in crying like that!' said Alice to |
| 251 herself, rather sharply; 'I advise you to leave off this minute!' |
| 252 She generally gave herself very good advice, (though she very |
| 253 seldom followed it), and sometimes she scolded herself so |
| 254 severely as to bring tears into her eyes; and once she remembered |
| 255 trying to box her own ears for having cheated herself in a game |
| 256 of croquet she was playing against herself, for this curious |
| 257 child was very fond of pretending to be two people. 'But it's no |
| 258 use now,' thought poor Alice, 'to pretend to be two people! Why, |
| 259 there's hardly enough of me left to make <i>one</i> respectable |
| 260 person!'</p> |
| 261 |
| 262 <p>Soon her eye fell on a little glass box that was lying under |
| 263 the table: she opened it, and found in it a very small cake, on |
| 264 which the words 'EAT ME' were beautifully marked in currants. |
| 265 'Well, I'll eat it,' said Alice, 'and if it makes me grow larger, |
| 266 I can reach the key; and if it makes me grow smaller, I can creep |
| 267 under the door; so either way I'll get into the garden, and I |
| 268 don't care which happens!'</p> |
| 269 |
| 270 <p>She ate a little bit, and said anxiously to herself, 'Which |
| 271 way? Which way?', holding her hand on the top of her head to feel |
| 272 which way it was growing, and she was quite surprised to find |
| 273 that she remained the same size: to be sure, this generally |
| 274 happens when one eats cake, but Alice had got so much into the |
| 275 way of expecting nothing but out-of-the-way things to happen, |
| 276 that it seemed quite dull and stupid for life to go on in the |
| 277 common way.</p> |
| 278 |
| 279 <p>So she set to work, and very soon finished off the cake.</p> |
| 280 |
| 281 </paper-dialog-scrollable> |
| 282 |
| 283 <div class="footer paper-font-subhead"> |
| 284 Lewis Carroll |
| 285 </div> |
| 286 |
| 287 </section> |
| 288 |
| 289 </body> |
| 290 </html> |
| OLD | NEW |