Copybara bot | be50d49 | 2023-11-30 00:16:42 +0100 | [diff] [blame] | 1 | <style> |
| 2 | .demo-theme-container { |
| 3 | margin: 0 auto 32px; |
| 4 | /*max-width: 800px;*/ |
| 5 | } |
| 6 | |
| 7 | .demo-theme-container table.info, |
| 8 | .demo-card-grid table.info { |
| 9 | width: 100% |
| 10 | } |
| 11 | .demo-theme-container table.info th, |
| 12 | .demo-card-grid table.info th { |
| 13 | padding-right: 40px; |
| 14 | vertical-align: middle; |
| 15 | text-align: left; |
| 16 | width: 30%; |
| 17 | } |
| 18 | .demo-theme-container section, |
| 19 | .demo-card-grid section { |
| 20 | margin: 0 16px; |
| 21 | } |
| 22 | |
| 23 | .demo-badge-grid { |
| 24 | } |
| 25 | .demo-badge-grid .mdl-cell { |
| 26 | text-align: center; |
| 27 | } |
| 28 | .demo-badge-grid .mdl-cell p { |
| 29 | margin-top: 32px; |
| 30 | } |
| 31 | |
| 32 | .demo-button-grid { |
| 33 | } |
| 34 | .demo-button-grid .mdl-cell { |
| 35 | text-align: center; |
| 36 | padding: 12px 4px; |
| 37 | } |
| 38 | |
| 39 | .demo-toggle-grid { |
| 40 | } |
| 41 | .demo-toggle-grid .mdl-cell p { |
| 42 | margin-top: 16px; |
| 43 | } |
| 44 | |
| 45 | .demo-slider-grid { |
| 46 | } |
| 47 | .demo-slider-grid p { |
| 48 | margin-top: 16px; |
| 49 | } |
| 50 | |
| 51 | .textfield-demo-container { |
| 52 | } |
| 53 | |
| 54 | .textfield-demo-container .mdl-cell { |
| 55 | padding: 0 4px 8px 0; |
| 56 | } |
| 57 | |
| 58 | .textfield-demo-container .mdl-cell p { |
| 59 | margin-bottom: 0; |
| 60 | white-space: nowrap; |
| 61 | text-overflow: ellipsis; |
| 62 | overflow: hidden; |
| 63 | } |
| 64 | |
| 65 | |
| 66 | .demo-menu { |
| 67 | padding-top: 16px; |
| 68 | max-width: 300px; |
| 69 | } |
| 70 | .demo-menu-container { |
| 71 | position: relative; |
| 72 | width: 100%; |
| 73 | } |
| 74 | .demo-menu-bar { |
| 75 | box-sizing: border-box; |
| 76 | height: 64px; |
| 77 | width: 100%; |
| 78 | padding: 16px; |
| 79 | } |
| 80 | .demo-menu-background-light { |
| 81 | background: white; |
| 82 | height: 148px; |
| 83 | width: 100%; |
| 84 | } |
| 85 | .demo-menu-background-dark { |
| 86 | background: #212121; |
| 87 | height: 148px; |
| 88 | width: 100%; |
| 89 | } |
| 90 | |
| 91 | |
| 92 | .mdl-card { |
| 93 | width: auto; |
| 94 | } |
| 95 | .mdl-card__media { |
| 96 | margin: 0; |
| 97 | text-align: center; |
| 98 | } |
| 99 | .mdl-card__media > img { |
| 100 | max-width: 100%; |
| 101 | height: auto; |
| 102 | } |
| 103 | .mdl-card__supporting-text { |
| 104 | width: auto; |
| 105 | } |
| 106 | .mdl-card__actions { |
| 107 | display: flex; |
| 108 | } |
| 109 | |
| 110 | |
| 111 | .borderedfield-demo-container .mdl-cell { |
| 112 | padding: 0 4px 8px 0; |
| 113 | } |
| 114 | |
| 115 | .borderedfield-demo-container .mdl-cell p { |
| 116 | margin-bottom: 0; |
| 117 | white-space: nowrap; |
| 118 | text-overflow: ellipsis; |
| 119 | overflow: hidden; |
| 120 | } |
| 121 | |
| 122 | /* File input example */ |
| 123 | .mdl-button--file input { |
| 124 | cursor: pointer; |
| 125 | opacity: 0; |
| 126 | width: 1px; |
| 127 | height: 1px; |
| 128 | } |
| 129 | |
| 130 | </style> |
| 131 | |
| 132 | |
| 133 | <datalist id="languages"> |
| 134 | <option value="HTML"> |
| 135 | <option value="CSS"> |
| 136 | <option value="JavaScript"> |
| 137 | <option value="Java"> |
| 138 | <option value="Ruby"> |
| 139 | <option value="PHP"> |
| 140 | <option value="Go"> |
| 141 | <option value="Erlang"> |
| 142 | <option value="Python"> |
| 143 | <option value="C"> |
| 144 | <option value="C#"> |
| 145 | <option value="C++"> |
| 146 | </datalist> |
| 147 | |
| 148 | |
| 149 | <div class="mdl-grid demo-card-grid" style="margin-bottom: 32px;"> |
| 150 | |
| 151 | <div class="mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone mdlext-light-color-theme"> |
| 152 | <div class="mdl-card mdl-shadow--2dp"> |
| 153 | <header class="mdl-card__title mdl-color--primary mdl-color-text--primary-contrast"> |
| 154 | <button class="mdl-button mdl-button--icon mdl-js-button mdl-js-ripple-effect"> |
| 155 | <i class="material-icons">view_headline</i> |
| 156 | </button> |
| 157 | <h2 class="mdl-card__title-text">Light Theme</h2> |
| 158 | <div class="mdl-layout-spacer"></div> |
| 159 | <button class="mdl-button mdl-button--icon mdl-js-button mdl-js-ripple-effect"> |
| 160 | <i class="material-icons">share</i> |
| 161 | </button> |
| 162 | </header> |
| 163 | <figure class="mdl-card__media"> |
| 164 | <img src="./images/_DSC7535-2.jpg" alt=""> |
| 165 | </figure> |
| 166 | <section style="margin-top:16px"> |
| 167 | <table class="info"> |
| 168 | <tr> |
| 169 | <th class="mdl-typography--caption-color-contrast">primary-dark</th> |
| 170 | <td class="mdl-color--primary-dark mdl-color-text--primary-contrast">primary dark</td> |
| 171 | </tr> |
| 172 | <tr> |
| 173 | <th class="mdl-typography--caption-color-contrast">primary</th> |
| 174 | <td class="mdl-color--primary mdl-color-text--primary-contrast">primary</td> |
| 175 | </tr> |
| 176 | <tr> |
| 177 | <th class="mdl-typography--caption-color-contrast">accent</th> |
| 178 | <td class="mdl-color--accent mdl-color-text--accent-contrast">accent</td> |
| 179 | </tr> |
| 180 | <tr> |
| 181 | <th class="mdl-typography--caption-color-contrast">primary-dark</th> |
| 182 | <td class="mdl-color--primary-contrast mdl-color-text--primary-dark">primary dark, inverted</td> |
| 183 | </tr> |
| 184 | <tr> |
| 185 | <th class="mdl-typography--caption-color-contrast">primary</th> |
| 186 | <td class="mdl-color--primary-contrast mdl-color-text--primary">primary, inverted</td> |
| 187 | </tr> |
| 188 | <tr> |
| 189 | <th class="mdl-typography--caption-color-contrast">accent</th> |
| 190 | <td class="mdl-color--accent-contrast mdl-color-text--accent">accent, inverted</td> |
| 191 | </tr> |
| 192 | </table> |
| 193 | </section> |
| 194 | |
| 195 | <div class="mdl-card__supporting-text"> |
| 196 | Card Supporting Text |
| 197 | </div> |
| 198 | |
| 199 | <footer class="mdl-card__actions mdl-card--border"> |
| 200 | <a class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect"> |
| 201 | Read more |
| 202 | </a> |
| 203 | <div class="mdl-layout-spacer"></div> |
| 204 | <button class="mdl-button mdl-button--icon"><i class="material-icons">radio</i></button> |
| 205 | <button class="mdl-button mdl-button--icon mdl-button--colored"><i class="material-icons">favorite</i></button> |
| 206 | <button class="mdl-button mdl-button--icon mdl-button--colored"><i class="material-icons">share</i></button> |
| 207 | </footer> |
| 208 | </div> |
| 209 | |
| 210 | </div> |
| 211 | |
| 212 | |
| 213 | <div class="mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone mdlext-dark-color-theme"> |
| 214 | |
| 215 | <div class="mdl-card mdl-shadow--2dp"> |
| 216 | <header class="mdl-card__title mdl-color--primary mdl-color-text--primary-contrast"> |
| 217 | <button class="mdl-button mdl-button--icon mdl-js-button mdl-js-ripple-effect"> |
| 218 | <i class="material-icons">view_headline</i> |
| 219 | </button> |
| 220 | <h2 class="mdl-card__title-text">Dark Theme</h2> |
| 221 | <div class="mdl-layout-spacer"></div> |
| 222 | <button class="mdl-button mdl-button--icon mdl-js-button mdl-js-ripple-effect"> |
| 223 | <i class="material-icons">share</i> |
| 224 | </button> |
| 225 | </header> |
| 226 | <figure class="mdl-card__media"> |
| 227 | <img src="./images/_DSC7535-2.jpg" alt=""> |
| 228 | </figure> |
| 229 | <section style="margin-top:16px"> |
| 230 | <table class="info"> |
| 231 | <tr> |
| 232 | <th class="mdl-typography--caption-color-contrast">primary-dark</th> |
| 233 | <td class="mdl-color--primary-dark mdl-color-text--primary-contrast">primary dark</td> |
| 234 | </tr> |
| 235 | <tr> |
| 236 | <th class="mdl-typography--caption-color-contrast">primary</th> |
| 237 | <td class="mdl-color--primary mdl-color-text--primary-contrast">primary</td> |
| 238 | </tr> |
| 239 | <tr> |
| 240 | <th class="mdl-typography--caption-color-contrast">accent</th> |
| 241 | <td class="mdl-color--accent mdl-color-text--accent-contrast">accent</td> |
| 242 | </tr> |
| 243 | <tr> |
| 244 | <th class="mdl-typography--caption-color-contrast">primary-dark</th> |
| 245 | <td class="mdl-color--primary-contrast mdl-color-text--primary-dark">primary dark, inverted</td> |
| 246 | </tr> |
| 247 | <tr> |
| 248 | <th class="mdl-typography--caption-color-contrast">primary</th> |
| 249 | <td class="mdl-color--primary-contrast mdl-color-text--primary">primary, inverted</td> |
| 250 | </tr> |
| 251 | <tr> |
| 252 | <th class="mdl-typography--caption-color-contrast">accent</th> |
| 253 | <td class="mdl-color--accent-contrast mdl-color-text--accent">accent, inverted</td> |
| 254 | </tr> |
| 255 | </table> |
| 256 | </section> |
| 257 | |
| 258 | <div class="mdl-card__supporting-text"> |
| 259 | Card Supporting Text |
| 260 | </div> |
| 261 | |
| 262 | <footer class="mdl-card__actions mdl-card--border"> |
| 263 | <a class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect"> |
| 264 | Read more |
| 265 | </a> |
| 266 | <div class="mdl-layout-spacer"></div> |
| 267 | <button class="mdl-button mdl-button--icon"><i class="material-icons">radio</i></button> |
| 268 | <button class="mdl-button mdl-button--icon mdl-button--colored"><i class="material-icons">favorite</i></button> |
| 269 | <button class="mdl-button mdl-button--icon mdl-button--colored"><i class="material-icons">share</i></button> |
| 270 | </footer> |
| 271 | </div> |
| 272 | |
| 273 | </div> |
| 274 | |
| 275 | </div> |
| 276 | |
| 277 | |
| 278 | |
| 279 | |
| 280 | <h2>Light Color Theme</h2> |
| 281 | |
| 282 | <div class="demo-theme-container mdlext-light-color-theme"> |
| 283 | |
| 284 | <section> |
| 285 | <table class="info"> |
| 286 | <tr> |
| 287 | <th class="mdl-typography--caption-color-contrast">.mdl-typography--</th> |
| 288 | <td class="mdl-typography--title">Scale & Basic Styles</td> |
| 289 | </tr> |
| 290 | <tr> |
| 291 | <th class="mdl-typography--caption-color-contrast">display-4</th> |
| 292 | <td class="mdl-typography--display-4">Light 112px</td> |
| 293 | </tr> |
| 294 | <tr> |
| 295 | <th class="mdl-typography--caption-color-contrast">display-3</th> |
| 296 | <td class="mdl-typography--display-3">Regular 56px</td> |
| 297 | </tr> |
| 298 | <tr> |
| 299 | <th class="mdl-typography--caption-color-contrast">display-2</th> |
| 300 | <td class="mdl-typography--display-2">Regular 45px</td> |
| 301 | </tr> |
| 302 | <tr> |
| 303 | <th class="mdl-typography--caption-color-contrast">display-1</th> |
| 304 | <td class="mdl-typography--display-1">Regular 34px</td> |
| 305 | </tr> |
| 306 | <tr> |
| 307 | <th class="mdl-typography--caption-color-contrast">headline</th> |
| 308 | <td class="mdl-typography--headline">Regular 24px</td> |
| 309 | </tr> |
| 310 | <tr> |
| 311 | <th class="mdl-typography--caption-color-contrast">title</th> |
| 312 | <td class="mdl-typography--title">Medium 20px</td> |
| 313 | </tr> |
| 314 | <tr> |
| 315 | <th class="mdl-typography--caption-color-contrast">subhead</th> |
| 316 | <td class="mdl-typography--subhead">Regular 16px (Device), Regular 15px (Desktop)</td> |
| 317 | </tr> |
| 318 | <tr> |
| 319 | <th class="mdl-typography--caption-color-contrast">body-2</th> |
| 320 | <td class="mdl-typography--body-2">Medium 14px (Device), Medium 13px (Desktop)</td> |
| 321 | </tr> |
| 322 | <tr> |
| 323 | <th class="mdl-typography--caption-color-contrast">body-1</th> |
| 324 | <td class="mdl-typography--body-1">Regular 14px (Device), Regular 13px (Desktop)</td> |
| 325 | </tr> |
| 326 | <tr> |
| 327 | <th class="mdl-typography--caption-color-contrast">body-2-force-preferred-font</th> |
| 328 | <td class="mdl-typography--body-2-force-preferred-font">Medium 14px (Device), Medium 13px (Desktop)</td> |
| 329 | </tr> |
| 330 | <tr> |
| 331 | <th class="mdl-typography--caption-color-contrast">body-1-force-preferred-font</th> |
| 332 | <td class="mdl-typography--body-1-force-preferred-font">Regular 14px (Device), Regular 13px (Desktop)</td> |
| 333 | </tr> |
| 334 | <tr> |
| 335 | <th class="mdl-typography--caption-color-contrast">caption</th> |
| 336 | <td class="mdl-typography--caption">Regular 12px</td> |
| 337 | </tr> |
| 338 | <tr> |
| 339 | <th class="mdl-typography--caption-color-contrast">menu</th> |
| 340 | <td class="mdl-typography--menu">Medium 14px (Device), Medium 13px (Desktop)</td> |
| 341 | </tr> |
| 342 | <tr> |
| 343 | <th class="mdl-typography--caption-color-contrast">button</th> |
| 344 | <td class="mdl-typography--button">Medium (All Caps) 14px</td> |
| 345 | </tr> |
| 346 | |
| 347 | <tr> |
| 348 | <th class="mdl-typography--caption-color-contrast">primary-dark</th> |
| 349 | <td class="mdl-color--primary-dark mdl-color-text--primary-contrast">mdl-color--primary-dark mdl-color-text--primary-contrast</td> |
| 350 | </tr> |
| 351 | <tr> |
| 352 | <th class="mdl-typography--caption-color-contrast">primary</th> |
| 353 | <td class="mdl-color--primary mdl-color-text--primary-contrast">mdl-color--primary mdl-color-text--primary-contrast</td> |
| 354 | </tr> |
| 355 | <tr> |
| 356 | <th class="mdl-typography--caption-color-contrast">accent</th> |
| 357 | <td class="mdl-color--accent mdl-color-text--accent-contrast">mdl-color--accent mdl-color-text--accent-contrast</td> |
| 358 | </tr> |
| 359 | <tr> |
| 360 | <th class="mdl-typography--caption-color-contrast">primary-dark</th> |
| 361 | <td class="mdl-color--primary-contrast mdl-color-text--primary-dark">mdl-color--primary-contrast mdl-color-text--primary-dark</td> |
| 362 | </tr> |
| 363 | <tr> |
| 364 | <th class="mdl-typography--caption-color-contrast">primary</th> |
| 365 | <td class="mdl-color--primary-contrast mdl-color-text--primary">mdl-color-text--primary</td> |
| 366 | </tr> |
| 367 | <tr> |
| 368 | <th class="mdl-typography--caption-color-contrast">accent</th> |
| 369 | <td class="mdl-color--accent-contrast mdl-color-text--accent">mdl-color--accent-contrast mdl-color-text--accent</td> |
| 370 | </tr> |
| 371 | </table> |
| 372 | </section> |
| 373 | |
| 374 | <section> |
| 375 | <h1>Base font</h1> |
| 376 | |
| 377 | <p>Material Design Lite start’s with a base font of</p> |
| 378 | <ul> |
| 379 | <li>A size of 14px</li> |
| 380 | <li>A weight of 400</li> |
| 381 | <li>A line height of 20px</li> |
| 382 | </ul> |
| 383 | |
| 384 | <p class="mdl-typography--body-1">Regular 14px (Device), Regular 13px (Desktop)</p> |
| 385 | <p class="mdl-typography--body-1-force-preferred-font">Regular 14px (Device), Regular 13px (Desktop)</p> |
| 386 | <p class="mdl-typography--body-2">Medium 14px (Device), Medium 13px (Desktop)</p> |
| 387 | <p class="mdl-typography--body-2-color-contrast">Body with color contrast</p> |
| 388 | <p class="mdl-typography--body-2-force-preferred-font">Medium 14px (Device), Medium 13px (Desktop)</p> |
| 389 | <p><a href="#" onclick="return false">An anchor</a></p> |
| 390 | |
| 391 | <h1>Headings</h1> |
| 392 | <h1>h1 (56px) <small>Subtitle</small></h1> |
| 393 | <h2>h2 (45px) <small>Subtitle</small></h2> |
| 394 | <h3>h3 (34px) <small>Subtitle</small></h3> |
| 395 | <h4>h4 (24px) <small>Subtitle</small></h4> |
| 396 | <h5>h5 (20px) <small>Subtitle</small></h5> |
| 397 | <h6>h6 (16px) <small>Subtitle</small></h6> |
| 398 | </section> |
| 399 | |
| 400 | |
| 401 | <!-- textfields --> |
| 402 | <section class = "textfield-demo-container"> |
| 403 | |
| 404 | <div class="mdl-grid mdl-grid--no-spacing"> |
| 405 | |
| 406 | <div class="mdl-cell mdl-cell--4-col"> |
| 407 | <div class="mdl-textfield mdl-js-textfield"> |
| 408 | <input class="mdl-textfield__input" type="text"> |
| 409 | <label class="mdl-textfield__label">Text...</label> |
| 410 | </div> |
| 411 | </div> |
| 412 | |
| 413 | <div class="mdl-cell mdl-cell--4-col"> |
| 414 | <div class="mdl-textfield mdl-js-textfield"> |
| 415 | <input class="mdl-textfield__input" type="text" pattern="-?[0-9]*(\.[0-9]+)?"> |
| 416 | <label class="mdl-textfield__label">Number...</label> |
| 417 | <span class="mdl-textfield__error">Input is not a number!</span> |
| 418 | </div> |
| 419 | </div> |
| 420 | |
| 421 | <div class="mdl-cell mdl-cell--4-col"> |
| 422 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
| 423 | <input class="mdl-textfield__input" type="text" list="languages" placeholder="Select a programming language" required> |
| 424 | <label class="mdl-textfield__label">Programming Language</label> |
| 425 | </div> |
| 426 | </div> |
| 427 | |
| 428 | <div class="mdl-cell mdl-cell--4-col"> |
| 429 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
| 430 | <input class="mdl-textfield__input" type="text" pattern="-?[0-9]*(\.[0-9]+)?"> |
| 431 | <label class="mdl-textfield__label">Number...</label> |
| 432 | <span class="mdl-textfield__error">Input is not a number!</span> |
| 433 | </div> |
| 434 | </div> |
| 435 | |
| 436 | <div class="mdl-cell mdl-cell--4-col"> |
| 437 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
| 438 | <input class="mdl-textfield__input" type="text" pattern="-?[0-9]*(\.[0-9]+)?" disabled value="123"> |
| 439 | <label class="mdl-textfield__label">Number...</label> |
| 440 | <span class="mdl-textfield__error">Input is not a number!</span> |
| 441 | </div> |
| 442 | </div> |
| 443 | |
| 444 | <div class="mdl-cell mdl-cell--4-col"> |
| 445 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable mdl-textfield--floating-label"> |
| 446 | <label class="mdl-button mdl-js-button mdl-button--icon" for="mdl-expandable-demo3"> |
| 447 | <i class="material-icons">search</i> |
| 448 | </label> |
| 449 | <div class="mdl-textfield__expandable-holder"> |
| 450 | <input class="mdl-textfield__input" type="text" name="q" value="" id="mdl-expandable-demo3" pattern=".{3,}" /> |
| 451 | <label class="mdl-textfield__label" for="mdl-expandable-demo1">Expandable Input</label> |
| 452 | </div> |
| 453 | </div> |
| 454 | </div> |
| 455 | |
| 456 | <div class="mdl-cell mdl-cell--8-col"> |
| 457 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--full-width mdl-textfield--floating-label"> |
| 458 | <textarea class="mdl-textfield__input" rows= "3"></textarea> |
| 459 | <label class="mdl-textfield__label">Text lines...</label> |
| 460 | </div> |
| 461 | </div> |
| 462 | |
| 463 | </div> |
| 464 | |
| 465 | </section> |
| 466 | |
| 467 | |
| 468 | <!-- Selectfield --> |
| 469 | <section style="margin-bottom: 16px;"> |
| 470 | <div class="mdl-grid mdl-grid--no-spacing"> |
| 471 | |
| 472 | <div class="mdl-cell mdl-cell--4-col"> |
| 473 | <div class="mdlext-selectfield mdlext-js-selectfield"> |
| 474 | <select class="mdlext-selectfield__select"> |
| 475 | <option value=""></option> |
| 476 | <option value="option1">option 1</option> |
| 477 | <option value="option2">option 2</option> |
| 478 | <option value="option3">option 3</option> |
| 479 | <option value="option4">option 4</option> |
| 480 | <option value="option5">option 5</option> |
| 481 | </select> |
| 482 | <label class="mdlext-selectfield__label">Profession</label> |
| 483 | </div> |
| 484 | </div> |
| 485 | |
| 486 | <div class="mdl-cell mdl-cell--4-col"> |
| 487 | <div class="mdlext-selectfield mdlext-js-selectfield mdlext-selectfield--floating-label"> |
| 488 | <select class="mdlext-selectfield__select"> |
| 489 | <option value=""></option> |
| 490 | <option value="option1">option 1</option> |
| 491 | <option value="option2">option 2</option> |
| 492 | <option value="option3">option 3</option> |
| 493 | <option value="option4">option 4</option> |
| 494 | <option value="option5">option 5</option> |
| 495 | </select> |
| 496 | <label class="mdlext-selectfield__label">Profession</label> |
| 497 | </div> |
| 498 | </div> |
| 499 | |
| 500 | <div class="mdl-cell mdl-cell--4-col"> |
| 501 | <div class="mdlext-selectfield mdlext-js-selectfield mdlext-selectfield--floating-label"> |
| 502 | <select class="mdlext-selectfield__select" disabled> |
| 503 | <option value=""></option> |
| 504 | <option value="option1">option 1</option> |
| 505 | <option value="option2">option 2</option> |
| 506 | <option value="option3">option 3</option> |
| 507 | <option value="option4">option 4</option> |
| 508 | <option value="option5">option 5</option> |
| 509 | </select> |
| 510 | <label class="mdlext-selectfield__label">Profession</label> |
| 511 | </div> |
| 512 | </div> |
| 513 | </div> |
| 514 | </section> |
| 515 | |
| 516 | |
| 517 | <!-- bordered fields --> |
| 518 | <section class="mdlext-bordered-fields" style="margin-top:16px;"> |
| 519 | |
| 520 | <div class="mdl-grid mdl-grid--no-spacing"> |
| 521 | |
| 522 | <div class="mdl-cell mdl-cell--4-col"> |
| 523 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
| 524 | <input class="mdl-textfield__input" type="text" list="languages" placeholder="Select a language" required> |
| 525 | <label class="mdl-textfield__label">Programming language</label> |
| 526 | </div> |
| 527 | </div> |
| 528 | |
| 529 | <div class="mdl-cell mdl-cell--4-col"> |
| 530 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
| 531 | <input class="mdl-textfield__input" type="text" pattern="-?[0-9]*(\.[0-9]+)?"> |
| 532 | <label class="mdl-textfield__label">Numeric with floating label</label> |
| 533 | <span class="mdl-textfield__error">Input is not a number!</span> |
| 534 | </div> |
| 535 | </div> |
| 536 | |
| 537 | <div class="mdl-cell mdl-cell--4-col"> |
| 538 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
| 539 | <input class="mdl-textfield__input" type="text" pattern="-?[0-9]*(\.[0-9]+)?" disabled value="123"> |
| 540 | <label class="mdl-textfield__label" >Disabled floating label</label> |
| 541 | <span class="mdl-textfield__error">Input is not a number!</span> |
| 542 | </div> |
| 543 | </div> |
| 544 | |
| 545 | <div class="mdl-cell mdl-cell--4-col"> |
| 546 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-right "> |
| 547 | <input class="mdl-textfield__input" type="text" id="uploadfile12" readonly> |
| 548 | <label class="mdl-textfield__label">File (work in progress)</label> |
| 549 | |
| 550 | <label class="mdl-button mdl-js-button mdl-button--primary mdl-button--icon mdl-button--file" for="uploadfile12"> |
| 551 | <i class="material-icons">attach_file</i> |
| 552 | <input type="file" id="uploadBtn12"> |
| 553 | </label> |
| 554 | </div> |
| 555 | <!-- |
| 556 | // Need a script to work properly - something like this |
| 557 | --> |
| 558 | <script> |
| 559 | (function() { |
| 560 | 'use strict'; |
| 561 | document.querySelector('#uploadBtn12').addEventListener('change', function() { |
| 562 | var n = document.querySelector("#uploadfile12"); |
| 563 | n.value = this.files[0].name; |
| 564 | n.parentNode.classList.add('is-dirty'); |
| 565 | }); |
| 566 | }()); |
| 567 | </script> |
| 568 | </div> |
| 569 | |
| 570 | <div class="mdl-cell mdl-cell--4-col"> |
| 571 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left mdlext-bordered-fields__icon-right"> |
| 572 | <i class="material-icons">radio</i> |
| 573 | <input class="mdl-textfield__input" type="text" disabled> |
| 574 | <label class="mdl-textfield__label">Text, disabled</label> |
| 575 | <i class="material-icons">fingerprint</i> |
| 576 | </div> |
| 577 | </div> |
| 578 | |
| 579 | |
| 580 | <div class="mdl-cell mdl-cell--4-col"> |
| 581 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left"> |
| 582 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 583 | <i class="material-icons">phone</i> |
| 584 | </label> |
| 585 | |
| 586 | <input class="mdl-textfield__input" type="text"> |
| 587 | <label class="mdl-textfield__label">Text...</label> |
| 588 | </div> |
| 589 | </div> |
| 590 | |
| 591 | <div class="mdl-cell mdl-cell--4-col"> |
| 592 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-right"> |
| 593 | <input class="mdl-textfield__input" type="text"> |
| 594 | <label class="mdl-textfield__label">Text...</label> |
| 595 | |
| 596 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 597 | <i class="material-icons">settings_voice</i> |
| 598 | </label> |
| 599 | </div> |
| 600 | </div> |
| 601 | |
| 602 | |
| 603 | <div class="mdl-cell mdl-cell--4-col"> |
| 604 | <div class="mdlext-selectfield mdlext-js-selectfield mdlext-selectfield--floating-label"> |
| 605 | <select class="mdlext-selectfield__select"> |
| 606 | <option value=""></option> |
| 607 | <option value="option1">option 1</option> |
| 608 | <option value="option2">option 2</option> |
| 609 | <option value="option3">option 3</option> |
| 610 | <option value="option4">option 4</option> |
| 611 | <option value="option5">option 5</option> |
| 612 | </select> |
| 613 | <label class="mdlext-selectfield__label">Profession</label> |
| 614 | </div> |
| 615 | </div> |
| 616 | |
| 617 | <div class="mdl-cell mdl-cell--4-col"> |
| 618 | <div class="mdlext-selectfield mdlext-js-selectfield mdlext-selectfield--floating-label"> |
| 619 | <select class="mdlext-selectfield__select" disabled> |
| 620 | <option value=""></option> |
| 621 | <option value="option1">option 1</option> |
| 622 | <option value="option2">option 2</option> |
| 623 | <option value="option3">option 3</option> |
| 624 | <option value="option4">option 4</option> |
| 625 | <option value="option5">option 5</option> |
| 626 | </select> |
| 627 | <label class="mdlext-selectfield__label">Profession</label> |
| 628 | </div> |
| 629 | </div> |
| 630 | |
| 631 | <div class="mdl-cell mdl-cell--4-col"> |
| 632 | <div class="mdlext-selectfield mdlext-js-selectfield mdlext-selectfield--floating-label mdlext-bordered-fields__icon-left"> |
| 633 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 634 | <i class="material-icons">phone</i> |
| 635 | </label> |
| 636 | <select class="mdlext-selectfield__select"> |
| 637 | <option value=""></option> |
| 638 | <option value="option1">option 1</option> |
| 639 | <option value="option2">option 2</option> |
| 640 | <option value="option3">option 3</option> |
| 641 | <option value="option4">option 4</option> |
| 642 | <option value="option5">option 5</option> |
| 643 | </select> |
| 644 | <label class="mdlext-selectfield__label">Profession</label> |
| 645 | </div> |
| 646 | </div> |
| 647 | |
| 648 | <div class="mdl-cell mdl-cell--4-col"> |
| 649 | <div class="mdlext-selectfield mdlext-js-selectfield mdlext-selectfield--floating-label mdlext-bordered-fields__icon-left"> |
| 650 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 651 | <i class="material-icons">phone</i> |
| 652 | </label> |
| 653 | <select class="mdlext-selectfield__select" disabled> |
| 654 | <option value=""></option> |
| 655 | <option value="option1">option 1</option> |
| 656 | <option value="option2">option 2</option> |
| 657 | <option value="option3">option 3</option> |
| 658 | <option value="option4">option 4</option> |
| 659 | <option value="option5">option 5</option> |
| 660 | </select> |
| 661 | <label class="mdlext-selectfield__label">Profession</label> |
| 662 | </div> |
| 663 | </div> |
| 664 | |
| 665 | |
| 666 | |
| 667 | <div class="mdl-cell mdl-cell--4-col"> |
| 668 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left"> |
| 669 | <i class="material-icons">radio</i> |
| 670 | <input class="mdl-textfield__input" type="text"> |
| 671 | <label class="mdl-textfield__label">Text...</label> |
| 672 | </div> |
| 673 | </div> |
| 674 | |
| 675 | <div class="mdl-cell mdl-cell--4-col"> |
| 676 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-right"> |
| 677 | <input class="mdl-textfield__input" type="text"> |
| 678 | <label class="mdl-textfield__label">Text...</label> |
| 679 | <i class="material-icons">fingerprint</i> |
| 680 | </div> |
| 681 | </div> |
| 682 | |
| 683 | <div class="mdl-cell mdl-cell--4-col"> |
| 684 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left mdlext-bordered-fields__icon-right"> |
| 685 | <i class="material-icons">radio</i> |
| 686 | <input class="mdl-textfield__input" type="text"> |
| 687 | <label class="mdl-textfield__label">Text...</label> |
| 688 | <i class="material-icons">fingerprint</i> |
| 689 | </div> |
| 690 | </div> |
| 691 | |
| 692 | <div class="mdl-cell mdl-cell--4-col"> |
| 693 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left mdlext-bordered-fields__icon-right"> |
| 694 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 695 | <i class="material-icons">phone</i> |
| 696 | </label> |
| 697 | |
| 698 | <input class="mdl-textfield__input" type="text"> |
| 699 | <label class="mdl-textfield__label">Text...</label> |
| 700 | |
| 701 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 702 | <i class="material-icons">settings_voice</i> |
| 703 | </label> |
| 704 | </div> |
| 705 | </div> |
| 706 | |
| 707 | <div class="mdl-cell mdl-cell--4-col"> |
| 708 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left mdlext-bordered-fields__icon-right"> |
| 709 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 710 | <i class="material-icons">phone</i> |
| 711 | </label> |
| 712 | |
| 713 | <input class="mdl-textfield__input" type="text" disabled> |
| 714 | <label class="mdl-textfield__label">Text...</label> |
| 715 | |
| 716 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 717 | <i class="material-icons">settings_voice</i> |
| 718 | </label> |
| 719 | </div> |
| 720 | </div> |
| 721 | |
| 722 | <div class="mdl-cell mdl-cell--4-col"> |
| 723 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left mdlext-bordered-fields__icon-right"> |
| 724 | <i class="material-icons">radio</i> |
| 725 | <input class="mdl-textfield__input" type="text"> |
| 726 | <label class="mdl-textfield__label">Text...</label> |
| 727 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 728 | <i class="material-icons">settings_voice</i> |
| 729 | </label> |
| 730 | </div> |
| 731 | </div> |
| 732 | |
| 733 | </div> |
| 734 | |
| 735 | <fieldset disabled> |
| 736 | <legend>Disabled fieldset</legend> |
| 737 | <div class="mdlext-selectfield mdlext-js-selectfield mdlext-selectfield--floating-label"> |
| 738 | <select class="mdlext-selectfield__select"> |
| 739 | <option value=""></option> |
| 740 | <option value="option1">option 1</option> |
| 741 | <option value="option2">option 2</option> |
| 742 | <option value="option3">option 3</option> |
| 743 | <option value="option4">option 4</option> |
| 744 | <option value="option5">option 5</option> |
| 745 | <option value="option6">option 5 abcdefghijklmnopqrstuvw0123456789</option> |
| 746 | </select> |
| 747 | <label class="mdlext-selectfield__label">Profession</label> |
| 748 | </div> |
| 749 | |
| 750 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
| 751 | <input class="mdl-textfield__input" type="text" pattern="-?[0-9]*(\.[0-9]+)?"> |
| 752 | <label class="mdl-textfield__label">Number...</label> |
| 753 | <span class="mdl-textfield__error">Input is not a number!</span> |
| 754 | </div> |
| 755 | |
| 756 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left mdlext-bordered-fields__icon-right"> |
| 757 | <i class="material-icons">radio</i> |
| 758 | <input class="mdl-textfield__input" type="text"> |
| 759 | <label class="mdl-textfield__label">Text...</label> |
| 760 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 761 | <i class="material-icons">settings_voice</i> |
| 762 | </label> |
| 763 | </div> |
| 764 | </fieldset> |
| 765 | |
| 766 | </section> |
| 767 | |
| 768 | |
| 769 | <!-- Badges --> |
| 770 | <section style="margin-top:16px"> |
| 771 | <div class="mdl-grid demo-badge-grid"> |
| 772 | <div class="mdl-cell mdl-cell--2-col"> |
| 773 | <span class="mdl-badge" data-badge="4">Inbox</span> |
| 774 | </div> |
| 775 | <div class="mdl-cell mdl-cell--2-col"> |
| 776 | <span class="material-icons mdl-badge" data-badge="1">account_box</span> |
| 777 | </div> |
| 778 | <div class="mdl-cell mdl-cell--2-col"> |
| 779 | <span class="mdl-badge" data-badge="♥">Mood</span> |
| 780 | </div> |
| 781 | <div class="mdl-cell mdl-cell--2-col"> |
| 782 | <span class="material-icons mdl-badge" data-badge="♥">account_box</span> |
| 783 | </div> |
| 784 | <div class="mdl-cell mdl-cell--2-col"> |
| 785 | <a href="#" onclick="return false" class="mdl-badge" data-badge="5">Inbox</a> |
| 786 | </div> |
| 787 | </div> |
| 788 | </section> |
| 789 | |
| 790 | <!-- Buttons --> |
| 791 | <section> |
| 792 | <div class="mdl-grid demo-button-grid"> |
| 793 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 794 | <button class="mdl-button mdl-js-button mdl-button--fab mdl-button--colored"> |
| 795 | <i class="material-icons">add</i> |
| 796 | </button> |
| 797 | </div> |
| 798 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 799 | <button class="mdl-button mdl-js-button mdl-button--fab"> |
| 800 | <i class="material-icons">add</i> |
| 801 | </button> |
| 802 | </div> |
| 803 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 804 | <button class="mdl-button mdl-js-button mdl-button--fab" disabled> |
| 805 | <i class="material-icons">add</i> |
| 806 | </button> |
| 807 | </div> |
| 808 | |
| 809 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 810 | <button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--colored"> |
| 811 | <i class="material-icons">add</i> |
| 812 | </button> |
| 813 | </div> |
| 814 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 815 | <button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab"> |
| 816 | <i class="material-icons">add</i> |
| 817 | </button> |
| 818 | </div> |
| 819 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 820 | <button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab" disabled> |
| 821 | <i class="material-icons">add</i> |
| 822 | </button> |
| 823 | </div> |
| 824 | |
| 825 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 826 | <button class="mdl-button mdl-js-button mdl-button--raised"> |
| 827 | Raised |
| 828 | </button> |
| 829 | </div> |
| 830 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 831 | <button class="mdl-button mdl-js-button mdl-button--raised" disabled> |
| 832 | Disabled |
| 833 | </button> |
| 834 | </div> |
| 835 | |
| 836 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 837 | <button class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored"> |
| 838 | Colored |
| 839 | </button> |
| 840 | </div> |
| 841 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 842 | <button class="mdl-button mdl-js-button mdl-button--raised mdl-button--accent"> |
| 843 | Accent |
| 844 | </button> |
| 845 | </div> |
| 846 | |
| 847 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 848 | <button class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored mdl-js-ripple-effect"> |
| 849 | <i class="material-icons">settings</i> Settings |
| 850 | </button> |
| 851 | </div> |
| 852 | |
| 853 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 854 | <button class="mdl-button mdl-js-button mdl-button--raised mdl-button--accent mdl-js-ripple-effect animated bounce"> |
| 855 | <i class="material-icons">favorite</i> Fav |
| 856 | </button> |
| 857 | </div> |
| 858 | |
| 859 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 860 | <button class="mdl-button mdl-js-button"> |
| 861 | Flat |
| 862 | </button> |
| 863 | </div> |
| 864 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 865 | <button class="mdl-button mdl-js-button" disabled> |
| 866 | Disabled |
| 867 | </button> |
| 868 | </div> |
| 869 | |
| 870 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 871 | <button class="mdl-button mdl-js-button mdl-button--primary"> |
| 872 | Colored |
| 873 | </button> |
| 874 | </div> |
| 875 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 876 | <button class="mdl-button mdl-js-button mdl-button--accent"> |
| 877 | Accent |
| 878 | </button> |
| 879 | </div> |
| 880 | |
| 881 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 882 | <button class="mdl-button mdl-js-button"> |
| 883 | <i class="material-icons">snooze</i> Ring, ring... |
| 884 | </button> |
| 885 | </div> |
| 886 | |
| 887 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 888 | <button class="mdl-button mdl-js-button mdl-button--icon"> |
| 889 | <i class="material-icons">mood</i> |
| 890 | </button> |
| 891 | </div> |
| 892 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 893 | <button class="mdl-button mdl-js-button mdl-button--icon mdl-button--colored"> |
| 894 | <i class="material-icons">mood</i> |
| 895 | </button> |
| 896 | </div> |
| 897 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 898 | <button class="mdl-button mdl-js-button mdl-button--fab mdl-color--lime mdl-button--accent"> |
| 899 | <i class="material-icons">cloud</i> |
| 900 | </button> |
| 901 | </div> |
| 902 | |
| 903 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 904 | <button class="mdl-button mdl-js-button mdl-button--raised mdl-color--deep-orange-100 mdl-js-ripple-effect"> |
| 905 | <i class="material-icons">settings</i> Settings |
| 906 | </button> |
| 907 | </div> |
| 908 | </div> |
| 909 | </section> |
| 910 | |
| 911 | |
| 912 | <!-- Toggles --> |
| 913 | <section> |
| 914 | <div class="mdl-grid demo-toggle-grid"> |
| 915 | <div class="mdl-cell mdl-cell--2-col"> |
| 916 | <label class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect"> |
| 917 | <input type="checkbox" class="mdl-checkbox__input" checked> |
| 918 | <span class="mdl-checkbox__label">Checkbox</span> |
| 919 | </label> |
| 920 | </div> |
| 921 | <div class="mdl-cell mdl-cell--2-col"> |
| 922 | <label class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect"> |
| 923 | <input type="checkbox" class="mdl-checkbox__input"> |
| 924 | <span class="mdl-checkbox__label">Checkbox</span> |
| 925 | </label> |
| 926 | </div> |
| 927 | <div class="mdl-cell mdl-cell--2-col"> |
| 928 | <label class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect"> |
| 929 | <input type="checkbox" class="mdl-checkbox__input" checked disabled> |
| 930 | <span class="mdl-checkbox__label">Checkbox</span> |
| 931 | </label> |
| 932 | </div> |
| 933 | |
| 934 | <div class="mdl-cell mdl-cell--2-col"> |
| 935 | <label class="mdl-radio mdl-js-radio mdl-js-ripple-effect"> |
| 936 | <input type="radio" class="mdl-radio__button" name="options30" value="1" checked> |
| 937 | <span class="mdl-radio__label">First</span> |
| 938 | </label> |
| 939 | </div> |
| 940 | <div class="mdl-cell mdl-cell--2-col"> |
| 941 | <label class="mdl-radio mdl-js-radio mdl-js-ripple-effect"> |
| 942 | <input type="radio" class="mdl-radio__button" name="options30" value="2"> |
| 943 | <span class="mdl-radio__label">Second</span> |
| 944 | </label> |
| 945 | </div> |
| 946 | <div class="mdl-cell mdl-cell--2-col"> |
| 947 | <label class="mdl-radio mdl-js-radio mdl-js-ripple-effect"> |
| 948 | <input type="radio" class="mdl-radio__button" name="options30" value="3" disabled> |
| 949 | <span class="mdl-radio__label">Third</span> |
| 950 | </label> |
| 951 | </div> |
| 952 | |
| 953 | <div class="mdl-cell mdl-cell--2-col"> |
| 954 | <label class="mdl-icon-toggle mdl-js-icon-toggle mdl-js-ripple-effect"> |
| 955 | <input type="checkbox" class="mdl-icon-toggle__input" checked> |
| 956 | <i class="mdl-icon-toggle__label material-icons">format_bold</i> |
| 957 | </label> |
| 958 | </div> |
| 959 | <div class="mdl-cell mdl-cell--2-col"> |
| 960 | <label class="mdl-icon-toggle mdl-js-icon-toggle mdl-js-ripple-effect"> |
| 961 | <input type="checkbox" class="mdl-icon-toggle__input"> |
| 962 | <i class="mdl-icon-toggle__label material-icons">format_italic</i> |
| 963 | </label> |
| 964 | </div> |
| 965 | <div class="mdl-cell mdl-cell--2-col"> |
| 966 | <label class="mdl-icon-toggle mdl-js-icon-toggle mdl-js-ripple-effect"> |
| 967 | <input type="checkbox" class="mdl-icon-toggle__input" disabled> |
| 968 | <i class="mdl-icon-toggle__label material-icons">format_italic</i> |
| 969 | </label> |
| 970 | </div> |
| 971 | |
| 972 | <div class="mdl-cell mdl-cell--2-col"> |
| 973 | <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect"> |
| 974 | <input type="checkbox" class="mdl-switch__input" checked> |
| 975 | <span class="mdl-switch__label"></span> |
| 976 | </label> |
| 977 | </div> |
| 978 | <div class="mdl-cell mdl-cell--2-col"> |
| 979 | <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect"> |
| 980 | <input type="checkbox" class="mdl-switch__input"> |
| 981 | <span class="mdl-switch__label"></span> |
| 982 | </label> |
| 983 | </div> |
| 984 | <div class="mdl-cell mdl-cell--2-col"> |
| 985 | <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect"> |
| 986 | <input type="checkbox" class="mdl-switch__input" disabled> |
| 987 | <span class="mdl-switch__label"></span> |
| 988 | </label> |
| 989 | </div> |
| 990 | </div> |
| 991 | </section> |
| 992 | |
| 993 | |
| 994 | <!-- Sliders --> |
| 995 | <section> |
| 996 | <div class="mdl-grid demo-slider-grid"> |
| 997 | <div class="mdl-cell mdl-cell--4-col mdl-cell--2-col-phone"> |
| 998 | <!-- Default Slider --> |
| 999 | <input class="mdl-slider mdl-js-slider" type="range" min="0" max="100" value="0"> |
| 1000 | </div> |
| 1001 | |
| 1002 | <div class="mdl-cell mdl-cell--4-col mdl-cell--2-col-phone"> |
| 1003 | <!-- Slider with Starting Value --> |
| 1004 | <input class="mdl-slider mdl-js-slider" type="range" min="0" max="100" value="25"> |
| 1005 | </div> |
| 1006 | </div> |
| 1007 | </section> |
| 1008 | |
| 1009 | |
| 1010 | <!-- Data table --> |
| 1011 | <section> |
| 1012 | <table class="mdl-data-table mdl-js-data-table mdl-data-table--selectable mdl-shadow--2dp"> |
| 1013 | <thead> |
| 1014 | <tr> |
| 1015 | <th class="mdl-data-table__cell--non-numeric">Materials</th> |
| 1016 | <th>Quantity</th> |
| 1017 | <th>Unit price</th> |
| 1018 | </tr> |
| 1019 | </thead> |
| 1020 | <tbody> |
| 1021 | <tr> |
| 1022 | <td class="mdl-data-table__cell--non-numeric">Acrylic (Transparent)</td> |
| 1023 | <td>25</td> |
| 1024 | <td>$2.90</td> |
| 1025 | </tr> |
| 1026 | <tr> |
| 1027 | <td class="mdl-data-table__cell--non-numeric">Plywood (Birch)</td> |
| 1028 | <td>50</td> |
| 1029 | <td>$1.25</td> |
| 1030 | </tr> |
| 1031 | <tr> |
| 1032 | <td class="mdl-data-table__cell--non-numeric">Laminate (Gold on Blue)</td> |
| 1033 | <td>10</td> |
| 1034 | <td>$2.35</td> |
| 1035 | </tr> |
| 1036 | </tbody> |
| 1037 | </table> |
| 1038 | </section> |
| 1039 | |
| 1040 | |
| 1041 | <!-- Menu --> |
| 1042 | <!-- |
| 1043 | <section> |
| 1044 | <div class="demo-menu demo-menu__lower-left"> |
| 1045 | <div class="demo-menu-container mdl-shadow--2dp mdl-color--primary-dark mdl-color-text--primary-contrast"> |
| 1046 | <div class="demo-menu-bar"> |
| 1047 | <button id="demo-menu-lower-left-30" class="mdl-button mdl-js-button mdl-button--icon"> |
| 1048 | <i class="material-icons">more_vert</i> |
| 1049 | </button> |
| 1050 | <ul class="mdl-menu mdl-menu--bottom-left mdl-js-menu mdl-js-ripple-effect" for="demo-menu-lower-left-30"> |
| 1051 | <li class="mdl-menu__item">Some Action</li> |
| 1052 | <li class="mdl-menu__item">Another Action</li> |
| 1053 | <li disabled class="mdl-menu__item">Disabled Action</li> |
| 1054 | <li class="mdl-menu__item">Yet Another Action</li> |
| 1055 | </ul> |
| 1056 | |
| 1057 | <span>Menu lower left</span> |
| 1058 | |
| 1059 | </div> |
| 1060 | <div class="demo-menu-background-light"></div> |
| 1061 | </div> |
| 1062 | </div> |
| 1063 | </section> |
| 1064 | --> |
| 1065 | |
| 1066 | <!-- Menu button --> |
| 1067 | <section style="padding-bottom:16px"> |
| 1068 | <h4>Menu button</h4> |
| 1069 | |
| 1070 | <button class="mdl-button mdl-button--raised mdl-js-ripple-effect mdl-js-button mdlext-js-menu-button"> |
| 1071 | <i class="material-icons">gesture</i> |
| 1072 | <span class="mdlext-menu-button__caption">Select</span> |
| 1073 | <i class="material-icons mdlext-aria-expanded-more-less"></i> |
| 1074 | </button> |
| 1075 | <ul class="mdlext-menu mdlext-light-color-theme" hidden > |
| 1076 | <li class="mdlext-menu__item"> |
| 1077 | <i class="material-icons md-18">info</i> |
| 1078 | <span class="mdlext-menu__item__caption">Menu item #1</span> |
| 1079 | </li> |
| 1080 | <li class="mdlext-menu__item"> |
| 1081 | <i class="material-icons md-18">help_outline</i> |
| 1082 | <span class="mdlext-menu__item__caption">Menu item #2. A long text to check ellipsis overflow 0123456789</span> |
| 1083 | <i class="material-icons md-18">radio</i> |
| 1084 | </li> |
| 1085 | <li class="mdlext-menu__item-separator"></li> |
| 1086 | <li class="mdlext-menu__item" disabled> |
| 1087 | <span class="mdlext-menu__item__caption">Menu item #3, disabled</span> |
| 1088 | <i class="material-icons md-18">accessibility</i> |
| 1089 | </li> |
| 1090 | <li class="mdlext-menu__item-separator"></li> |
| 1091 | <li class="mdlext-menu__item"> |
| 1092 | <span class="mdlext-menu__item__caption">Menu item #IV</span> |
| 1093 | <i class="material-icons md-18">build</i> |
| 1094 | </li> |
| 1095 | <li class="mdlext-menu__item"> |
| 1096 | <span class="mdlext-menu__item__caption">Menu item #V</span> |
| 1097 | <i class="material-icons md-18">build</i> |
| 1098 | </li> |
| 1099 | <li class="mdlext-menu__item-separator"></li> |
| 1100 | <li class="mdlext-menu__item"> |
| 1101 | <span class="mdlext-menu__item__caption">Menu item #VI</span> |
| 1102 | <i class="material-icons md-18">build</i> |
| 1103 | </li> |
| 1104 | <li class="mdlext-menu__item"> |
| 1105 | <span class="mdlext-menu__item__caption">Menu item #VII</span> |
| 1106 | <i class="material-icons md-18">build</i> |
| 1107 | </li> |
| 1108 | <li class="mdlext-menu__item"> |
| 1109 | Menu item #n |
| 1110 | </li> |
| 1111 | </ul> |
| 1112 | </section> |
| 1113 | |
| 1114 | </div> |
| 1115 | |
| 1116 | |
| 1117 | |
| 1118 | <!-- Dark theme --> |
| 1119 | <h2>Dark Color Theme</h2> |
| 1120 | |
| 1121 | |
| 1122 | <div class="demo-theme-container mdlext-dark-color-theme"> |
| 1123 | |
| 1124 | <section> |
| 1125 | <table class="info"> |
| 1126 | <tr> |
| 1127 | <th class="mdl-typography--caption-color-contrast">.mdl-typography--</th> |
| 1128 | <td class="mdl-typography--title">Scale & Basic Styles</td> |
| 1129 | </tr> |
| 1130 | <tr> |
| 1131 | <th class="mdl-typography--caption-color-contrast">display-4</th> |
| 1132 | <td class="mdl-typography--display-4">Light 112px</td> |
| 1133 | </tr> |
| 1134 | <tr> |
| 1135 | <th class="mdl-typography--caption-color-contrast">display-3</th> |
| 1136 | <td class="mdl-typography--display-3">Regular 56px</td> |
| 1137 | </tr> |
| 1138 | <tr> |
| 1139 | <th class="mdl-typography--caption-color-contrast">display-2</th> |
| 1140 | <td class="mdl-typography--display-2">Regular 45px</td> |
| 1141 | </tr> |
| 1142 | <tr> |
| 1143 | <th class="mdl-typography--caption-color-contrast">display-1</th> |
| 1144 | <td class="mdl-typography--display-1">Regular 34px</td> |
| 1145 | </tr> |
| 1146 | <tr> |
| 1147 | <th class="mdl-typography--caption-color-contrast">headline</th> |
| 1148 | <td class="mdl-typography--headline">Regular 24px</td> |
| 1149 | </tr> |
| 1150 | <tr> |
| 1151 | <th class="mdl-typography--caption-color-contrast">title</th> |
| 1152 | <td class="mdl-typography--title">Medium 20px</td> |
| 1153 | </tr> |
| 1154 | <tr> |
| 1155 | <th class="mdl-typography--caption-color-contrast">subhead</th> |
| 1156 | <td class="mdl-typography--subhead">Regular 16px (Device), Regular 15px (Desktop)</td> |
| 1157 | </tr> |
| 1158 | <tr> |
| 1159 | <th class="mdl-typography--caption-color-contrast">body-2</th> |
| 1160 | <td class="mdl-typography--body-2">Medium 14px (Device), Medium 13px (Desktop)</td> |
| 1161 | </tr> |
| 1162 | <tr> |
| 1163 | <th class="mdl-typography--caption-color-contrast">body-1</th> |
| 1164 | <td class="mdl-typography--body-1">Regular 14px (Device), Regular 13px (Desktop)</td> |
| 1165 | </tr> |
| 1166 | <tr> |
| 1167 | <th class="mdl-typography--caption-color-contrast">body-2-force-preferred-font</th> |
| 1168 | <td class="mdl-typography--body-2-force-preferred-font">Medium 14px (Device), Medium 13px (Desktop)</td> |
| 1169 | </tr> |
| 1170 | <tr> |
| 1171 | <th class="mdl-typography--caption-color-contrast">body-1-force-preferred-font</th> |
| 1172 | <td class="mdl-typography--body-1-force-preferred-font">Regular 14px (Device), Regular 13px (Desktop)</td> |
| 1173 | </tr> |
| 1174 | <tr> |
| 1175 | <th class="mdl-typography--caption-color-contrast">caption</th> |
| 1176 | <td class="mdl-typography--caption">Regular 12px</td> |
| 1177 | </tr> |
| 1178 | <tr> |
| 1179 | <th class="mdl-typography--caption-color-contrast">menu</th> |
| 1180 | <td class="mdl-typography--menu">Medium 14px (Device), Medium 13px (Desktop)</td> |
| 1181 | </tr> |
| 1182 | <tr> |
| 1183 | <th class="mdl-typography--caption-color-contrast">button</th> |
| 1184 | <td class="mdl-typography--button">Medium (All Caps) 14px</td> |
| 1185 | </tr> |
| 1186 | |
| 1187 | <tr> |
| 1188 | <th class="mdl-typography--caption-color-contrast">primary-dark</th> |
| 1189 | <td class="mdl-color--primary-dark mdl-color-text--primary-contrast">mdl-color--primary-dark mdl-color-text--primary-contrast</td> |
| 1190 | </tr> |
| 1191 | <tr> |
| 1192 | <th class="mdl-typography--caption-color-contrast">primary</th> |
| 1193 | <td class="mdl-color--primary mdl-color-text--primary-contrast">mdl-color--primary mdl-color-text--primary-contrast</td> |
| 1194 | </tr> |
| 1195 | <tr> |
| 1196 | <th class="mdl-typography--caption-color-contrast">accent</th> |
| 1197 | <td class="mdl-color--accent mdl-color-text--accent-contrast">mdl-color--accent mdl-color-text--accent-contrast</td> |
| 1198 | </tr> |
| 1199 | <tr> |
| 1200 | <th class="mdl-typography--caption-color-contrast">primary-dark</th> |
| 1201 | <td class="mdl-color--primary-contrast mdl-color-text--primary-dark">mdl-color--primary-contrast mdl-color-text--primary-dark</td> |
| 1202 | </tr> |
| 1203 | <tr> |
| 1204 | <th class="mdl-typography--caption-color-contrast">primary</th> |
| 1205 | <td class="mdl-color--primary-contrast mdl-color-text--primary">mdl-color-text--primary</td> |
| 1206 | </tr> |
| 1207 | <tr> |
| 1208 | <th class="mdl-typography--caption-color-contrast">accent</th> |
| 1209 | <td class="mdl-color--accent-contrast mdl-color-text--accent">mdl-color--accent-contrast mdl-color-text--accent</td> |
| 1210 | </tr> |
| 1211 | </table> |
| 1212 | </section> |
| 1213 | |
| 1214 | <section> |
| 1215 | <h1>Base font</h1> |
| 1216 | |
| 1217 | <p>Material Design Lite start’s with a base font of</p> |
| 1218 | <ul> |
| 1219 | <li>A size of 14px</li> |
| 1220 | <li>A weight of 400</li> |
| 1221 | <li>A line height of 20px</li> |
| 1222 | </ul> |
| 1223 | |
| 1224 | <p class="mdl-typography--body-1">Regular 14px (Device), Regular 13px (Desktop)</p> |
| 1225 | <p class="mdl-typography--body-1-force-preferred-font">Regular 14px (Device), Regular 13px (Desktop)</p> |
| 1226 | <p class="mdl-typography--body-2">Medium 14px (Device), Medium 13px (Desktop)</p> |
| 1227 | <p class="mdl-typography--body-2-color-contrast">Body with color contrast</p> |
| 1228 | <p class="mdl-typography--body-2-force-preferred-font">Medium 14px (Device), Medium 13px (Desktop)</p> |
| 1229 | <p><a href="#" onclick="return false">An anchor</a></p> |
| 1230 | |
| 1231 | <h1>Headings</h1> |
| 1232 | <h1>h1 (56px) <small>Subtitle</small></h1> |
| 1233 | <h2>h2 (45px) <small>Subtitle</small></h2> |
| 1234 | <h3>h3 (34px) <small>Subtitle</small></h3> |
| 1235 | <h4>h4 (24px) <small>Subtitle</small></h4> |
| 1236 | <h5>h5 (20px) <small>Subtitle</small></h5> |
| 1237 | <h6>h6 (16px) <small>Subtitle</small></h6> |
| 1238 | </section> |
| 1239 | |
| 1240 | |
| 1241 | <!-- textfields --> |
| 1242 | <section class = "textfield-demo-container"> |
| 1243 | |
| 1244 | <div class="mdl-grid mdl-grid--no-spacing"> |
| 1245 | |
| 1246 | <div class="mdl-cell mdl-cell--4-col"> |
| 1247 | <div class="mdl-textfield mdl-js-textfield"> |
| 1248 | <input class="mdl-textfield__input" type="text"> |
| 1249 | <label class="mdl-textfield__label">Text...</label> |
| 1250 | </div> |
| 1251 | </div> |
| 1252 | |
| 1253 | <div class="mdl-cell mdl-cell--4-col"> |
| 1254 | <div class="mdl-textfield mdl-js-textfield"> |
| 1255 | <input class="mdl-textfield__input" type="text" pattern="-?[0-9]*(\.[0-9]+)?"> |
| 1256 | <label class="mdl-textfield__label">Number...</label> |
| 1257 | <span class="mdl-textfield__error">Input is not a number!</span> |
| 1258 | </div> |
| 1259 | </div> |
| 1260 | |
| 1261 | <div class="mdl-cell mdl-cell--4-col"> |
| 1262 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
| 1263 | <input class="mdl-textfield__input" type="text" list="languages" placeholder="Select a programming language" required> |
| 1264 | <label class="mdl-textfield__label">Programming Language</label> |
| 1265 | </div> |
| 1266 | </div> |
| 1267 | |
| 1268 | <div class="mdl-cell mdl-cell--4-col"> |
| 1269 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
| 1270 | <input class="mdl-textfield__input" type="text" pattern="-?[0-9]*(\.[0-9]+)?"> |
| 1271 | <label class="mdl-textfield__label">Number...</label> |
| 1272 | <span class="mdl-textfield__error">Input is not a number!</span> |
| 1273 | </div> |
| 1274 | </div> |
| 1275 | |
| 1276 | <div class="mdl-cell mdl-cell--4-col"> |
| 1277 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
| 1278 | <input class="mdl-textfield__input" type="text" pattern="-?[0-9]*(\.[0-9]+)?" disabled value="123"> |
| 1279 | <label class="mdl-textfield__label">Number...</label> |
| 1280 | <span class="mdl-textfield__error">Input is not a number!</span> |
| 1281 | </div> |
| 1282 | </div> |
| 1283 | |
| 1284 | <div class="mdl-cell mdl-cell--4-col"> |
| 1285 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable mdl-textfield--floating-label"> |
| 1286 | <label class="mdl-button mdl-js-button mdl-button--icon" for="mdl-expandable-demo2"> |
| 1287 | <i class="material-icons">search</i> |
| 1288 | </label> |
| 1289 | <div class="mdl-textfield__expandable-holder"> |
| 1290 | <input class="mdl-textfield__input" type="text" name="q" value="" id="mdl-expandable-demo2" pattern=".{3,}" /> |
| 1291 | <label class="mdl-textfield__label" for="mdl-expandable-demo2">Expandable Input</label> |
| 1292 | </div> |
| 1293 | </div> |
| 1294 | </div> |
| 1295 | |
| 1296 | <div class="mdl-cell mdl-cell--8-col"> |
| 1297 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--full-width mdl-textfield--floating-label"> |
| 1298 | <textarea class="mdl-textfield__input" rows= "3" ></textarea> |
| 1299 | <label class="mdl-textfield__label">Text lines...</label> |
| 1300 | </div> |
| 1301 | </div> |
| 1302 | |
| 1303 | </div> |
| 1304 | |
| 1305 | </section> |
| 1306 | |
| 1307 | |
| 1308 | |
| 1309 | <!-- Selectfield --> |
| 1310 | <section style="margin-bottom: 16px;"> |
| 1311 | <div class="mdl-grid mdl-grid--no-spacing"> |
| 1312 | |
| 1313 | <div class="mdl-cell mdl-cell--4-col"> |
| 1314 | <div class="mdlext-selectfield mdlext-js-selectfield"> |
| 1315 | <select class="mdlext-selectfield__select" name="mdl-professsion3"> |
| 1316 | <option value=""></option> |
| 1317 | <option value="option1">option 1</option> |
| 1318 | <option value="option2">option 2</option> |
| 1319 | <option value="option3">option 3</option> |
| 1320 | <option value="option4">option 4</option> |
| 1321 | <option value="option5">option 5</option> |
| 1322 | </select> |
| 1323 | <label class="mdlext-selectfield__label">Profession</label> |
| 1324 | </div> |
| 1325 | </div> |
| 1326 | |
| 1327 | <div class="mdl-cell mdl-cell--4-col"> |
| 1328 | <div class="mdlext-selectfield mdlext-js-selectfield mdlext-selectfield--floating-label"> |
| 1329 | <select class="mdlext-selectfield__select" name="mdl-professsion20"> |
| 1330 | <option value=""></option> |
| 1331 | <option value="option1">option 1</option> |
| 1332 | <option value="option2">option 2</option> |
| 1333 | <option value="option3">option 3</option> |
| 1334 | <option value="option4">option 4</option> |
| 1335 | <option value="option5">option 5</option> |
| 1336 | </select> |
| 1337 | <label class="mdlext-selectfield__label">Profession</label> |
| 1338 | </div> |
| 1339 | </div> |
| 1340 | |
| 1341 | <div class="mdl-cell mdl-cell--4-col"> |
| 1342 | <div class="mdlext-selectfield mdlext-js-selectfield mdlext-selectfield--floating-label"> |
| 1343 | <select class="mdlext-selectfield__select" name="mdl-professsion22" disabled> |
| 1344 | <option value=""></option> |
| 1345 | <option value="option1">option 1</option> |
| 1346 | <option value="option2">option 2</option> |
| 1347 | <option value="option3">option 3</option> |
| 1348 | <option value="option4">option 4</option> |
| 1349 | <option value="option5">option 5</option> |
| 1350 | </select> |
| 1351 | <label class="mdlext-selectfield__label">Profession</label> |
| 1352 | </div> |
| 1353 | </div> |
| 1354 | </div> |
| 1355 | </section> |
| 1356 | |
| 1357 | |
| 1358 | |
| 1359 | <!-- bordered fields --> |
| 1360 | <section class="mdlext-bordered-fields" style="margin-top:16px;"> |
| 1361 | |
| 1362 | <div class="mdl-grid mdl-grid--no-spacing"> |
| 1363 | |
| 1364 | <div class="mdl-cell mdl-cell--4-col"> |
| 1365 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
| 1366 | <input class="mdl-textfield__input" type="text" list="languages" placeholder="Select a language" required> |
| 1367 | <label class="mdl-textfield__label">Programming language</label> |
| 1368 | </div> |
| 1369 | </div> |
| 1370 | |
| 1371 | <div class="mdl-cell mdl-cell--4-col"> |
| 1372 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
| 1373 | <input class="mdl-textfield__input" type="text" pattern="-?[0-9]*(\.[0-9]+)?"> |
| 1374 | <label class="mdl-textfield__label">Numeric with floating label</label> |
| 1375 | <span class="mdl-textfield__error">Input is not a number!</span> |
| 1376 | </div> |
| 1377 | </div> |
| 1378 | |
| 1379 | <div class="mdl-cell mdl-cell--4-col"> |
| 1380 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
| 1381 | <input class="mdl-textfield__input" type="text" pattern="-?[0-9]*(\.[0-9]+)?" disabled value="123"> |
| 1382 | <label class="mdl-textfield__label" >Disabled floating label</label> |
| 1383 | <span class="mdl-textfield__error">Input is not a number!</span> |
| 1384 | </div> |
| 1385 | </div> |
| 1386 | |
| 1387 | <div class="mdl-cell mdl-cell--4-col"> |
| 1388 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-right "> |
| 1389 | <input class="mdl-textfield__input" type="text" id="uploadfile22" readonly> |
| 1390 | <label class="mdl-textfield__label">File (work in progress)</label> |
| 1391 | |
| 1392 | <label class="mdl-button mdl-js-button mdl-button--primary mdl-button--icon mdl-button--file" for="uploadfile22"> |
| 1393 | <i class="material-icons">attach_file</i> |
| 1394 | <input type="file" id="uploadBtn22"> |
| 1395 | </label> |
| 1396 | </div> |
| 1397 | <!-- |
| 1398 | // Need a script to work properly - something like this |
| 1399 | --> |
| 1400 | <script> |
| 1401 | (function() { |
| 1402 | 'use strict'; |
| 1403 | document.querySelector('#uploadBtn22').addEventListener('change', function() { |
| 1404 | var n = document.querySelector("#uploadfile22"); |
| 1405 | n.value = this.files[0].name; |
| 1406 | n.parentNode.classList.add('is-dirty'); |
| 1407 | }); |
| 1408 | }()); |
| 1409 | </script> |
| 1410 | </div> |
| 1411 | |
| 1412 | <div class="mdl-cell mdl-cell--4-col"> |
| 1413 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left mdlext-bordered-fields__icon-right"> |
| 1414 | <i class="material-icons">radio</i> |
| 1415 | <input class="mdl-textfield__input" type="text" disabled> |
| 1416 | <label class="mdl-textfield__label">Text, disabled</label> |
| 1417 | <i class="material-icons">fingerprint</i> |
| 1418 | </div> |
| 1419 | </div> |
| 1420 | |
| 1421 | |
| 1422 | <div class="mdl-cell mdl-cell--4-col"> |
| 1423 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left"> |
| 1424 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 1425 | <i class="material-icons">phone</i> |
| 1426 | </label> |
| 1427 | |
| 1428 | <input class="mdl-textfield__input" type="text"> |
| 1429 | <label class="mdl-textfield__label">Text...</label> |
| 1430 | </div> |
| 1431 | </div> |
| 1432 | |
| 1433 | <div class="mdl-cell mdl-cell--4-col"> |
| 1434 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-right"> |
| 1435 | <input class="mdl-textfield__input" type="text"> |
| 1436 | <label class="mdl-textfield__label">Text...</label> |
| 1437 | |
| 1438 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 1439 | <i class="material-icons">settings_voice</i> |
| 1440 | </label> |
| 1441 | </div> |
| 1442 | </div> |
| 1443 | |
| 1444 | |
| 1445 | <div class="mdl-cell mdl-cell--4-col"> |
| 1446 | <div class="mdlext-selectfield mdlext-js-selectfield mdlext-selectfield--floating-label"> |
| 1447 | <select class="mdlext-selectfield__select"> |
| 1448 | <option value=""></option> |
| 1449 | <option value="option1">option 1</option> |
| 1450 | <option value="option2">option 2</option> |
| 1451 | <option value="option3">option 3</option> |
| 1452 | <option value="option4">option 4</option> |
| 1453 | <option value="option5">option 5</option> |
| 1454 | </select> |
| 1455 | <label class="mdlext-selectfield__label">Profession</label> |
| 1456 | </div> |
| 1457 | </div> |
| 1458 | |
| 1459 | <div class="mdl-cell mdl-cell--4-col"> |
| 1460 | <div class="mdlext-selectfield mdlext-js-selectfield mdlext-selectfield--floating-label"> |
| 1461 | <select class="mdlext-selectfield__select" disabled> |
| 1462 | <option value=""></option> |
| 1463 | <option value="option1">option 1</option> |
| 1464 | <option value="option2">option 2</option> |
| 1465 | <option value="option3">option 3</option> |
| 1466 | <option value="option4">option 4</option> |
| 1467 | <option value="option5">option 5</option> |
| 1468 | </select> |
| 1469 | <label class="mdlext-selectfield__label">Profession</label> |
| 1470 | </div> |
| 1471 | </div> |
| 1472 | |
| 1473 | <div class="mdl-cell mdl-cell--4-col"> |
| 1474 | <div class="mdlext-selectfield mdlext-js-selectfield mdlext-selectfield--floating-label mdlext-bordered-fields__icon-left"> |
| 1475 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 1476 | <i class="material-icons">phone</i> |
| 1477 | </label> |
| 1478 | <select class="mdlext-selectfield__select"> |
| 1479 | <option value=""></option> |
| 1480 | <option value="option1">option 1</option> |
| 1481 | <option value="option2">option 2</option> |
| 1482 | <option value="option3">option 3</option> |
| 1483 | <option value="option4">option 4</option> |
| 1484 | <option value="option5">option 5</option> |
| 1485 | </select> |
| 1486 | <label class="mdlext-selectfield__label">Profession</label> |
| 1487 | </div> |
| 1488 | </div> |
| 1489 | |
| 1490 | <div class="mdl-cell mdl-cell--4-col"> |
| 1491 | <div class="mdlext-selectfield mdlext-js-selectfield mdlext-selectfield--floating-label mdlext-bordered-fields__icon-left"> |
| 1492 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 1493 | <i class="material-icons">phone</i> |
| 1494 | </label> |
| 1495 | <select class="mdlext-selectfield__select" disabled> |
| 1496 | <option value=""></option> |
| 1497 | <option value="option1">option 1</option> |
| 1498 | <option value="option2">option 2</option> |
| 1499 | <option value="option3">option 3</option> |
| 1500 | <option value="option4">option 4</option> |
| 1501 | <option value="option5">option 5</option> |
| 1502 | </select> |
| 1503 | <label class="mdlext-selectfield__label">Profession</label> |
| 1504 | </div> |
| 1505 | </div> |
| 1506 | |
| 1507 | |
| 1508 | |
| 1509 | <div class="mdl-cell mdl-cell--4-col"> |
| 1510 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left"> |
| 1511 | <i class="material-icons">radio</i> |
| 1512 | <input class="mdl-textfield__input" type="text"> |
| 1513 | <label class="mdl-textfield__label">Text...</label> |
| 1514 | </div> |
| 1515 | </div> |
| 1516 | |
| 1517 | <div class="mdl-cell mdl-cell--4-col"> |
| 1518 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-right"> |
| 1519 | <input class="mdl-textfield__input" type="text"> |
| 1520 | <label class="mdl-textfield__label">Text...</label> |
| 1521 | <i class="material-icons">fingerprint</i> |
| 1522 | </div> |
| 1523 | </div> |
| 1524 | |
| 1525 | <div class="mdl-cell mdl-cell--4-col"> |
| 1526 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left mdlext-bordered-fields__icon-right"> |
| 1527 | <i class="material-icons">radio</i> |
| 1528 | <input class="mdl-textfield__input" type="text"> |
| 1529 | <label class="mdl-textfield__label">Text...</label> |
| 1530 | <i class="material-icons">fingerprint</i> |
| 1531 | </div> |
| 1532 | </div> |
| 1533 | |
| 1534 | <div class="mdl-cell mdl-cell--4-col"> |
| 1535 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left mdlext-bordered-fields__icon-right"> |
| 1536 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 1537 | <i class="material-icons">phone</i> |
| 1538 | </label> |
| 1539 | |
| 1540 | <input class="mdl-textfield__input" type="text"> |
| 1541 | <label class="mdl-textfield__label">Text...</label> |
| 1542 | |
| 1543 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 1544 | <i class="material-icons">settings_voice</i> |
| 1545 | </label> |
| 1546 | </div> |
| 1547 | </div> |
| 1548 | |
| 1549 | <div class="mdl-cell mdl-cell--4-col"> |
| 1550 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left mdlext-bordered-fields__icon-right"> |
| 1551 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 1552 | <i class="material-icons">phone</i> |
| 1553 | </label> |
| 1554 | |
| 1555 | <input class="mdl-textfield__input" type="text" disabled> |
| 1556 | <label class="mdl-textfield__label">Text...</label> |
| 1557 | |
| 1558 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 1559 | <i class="material-icons">settings_voice</i> |
| 1560 | </label> |
| 1561 | </div> |
| 1562 | </div> |
| 1563 | |
| 1564 | <div class="mdl-cell mdl-cell--4-col"> |
| 1565 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left mdlext-bordered-fields__icon-right"> |
| 1566 | <i class="material-icons">radio</i> |
| 1567 | <input class="mdl-textfield__input" type="text"> |
| 1568 | <label class="mdl-textfield__label">Text...</label> |
| 1569 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 1570 | <i class="material-icons">settings_voice</i> |
| 1571 | </label> |
| 1572 | </div> |
| 1573 | </div> |
| 1574 | |
| 1575 | </div> |
| 1576 | |
| 1577 | <fieldset disabled> |
| 1578 | <legend>Disabled fieldset</legend> |
| 1579 | <div class="mdlext-selectfield mdlext-js-selectfield mdlext-selectfield--floating-label"> |
| 1580 | <select class="mdlext-selectfield__select"> |
| 1581 | <option value=""></option> |
| 1582 | <option value="option1">option 1</option> |
| 1583 | <option value="option2">option 2</option> |
| 1584 | <option value="option3">option 3</option> |
| 1585 | <option value="option4">option 4</option> |
| 1586 | <option value="option5">option 5</option> |
| 1587 | <option value="option6">option 5 abcdefghijklmnopqrstuvw0123456789</option> |
| 1588 | </select> |
| 1589 | <label class="mdlext-selectfield__label">Profession</label> |
| 1590 | </div> |
| 1591 | |
| 1592 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
| 1593 | <input class="mdl-textfield__input" type="text" pattern="-?[0-9]*(\.[0-9]+)?"> |
| 1594 | <label class="mdl-textfield__label">Number...</label> |
| 1595 | <span class="mdl-textfield__error">Input is not a number!</span> |
| 1596 | </div> |
| 1597 | |
| 1598 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left mdlext-bordered-fields__icon-right"> |
| 1599 | <i class="material-icons">radio</i> |
| 1600 | <input class="mdl-textfield__input" type="text"> |
| 1601 | <label class="mdl-textfield__label">Text...</label> |
| 1602 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 1603 | <i class="material-icons">settings_voice</i> |
| 1604 | </label> |
| 1605 | </div> |
| 1606 | </fieldset> |
| 1607 | |
| 1608 | </section> |
| 1609 | |
| 1610 | |
| 1611 | <!-- Badges --> |
| 1612 | <section style="margin-top:16px"> |
| 1613 | <div class="mdl-grid demo-badge-grid"> |
| 1614 | <div class="mdl-cell mdl-cell--2-col"> |
| 1615 | <span class="mdl-badge" data-badge="4">Inbox</span> |
| 1616 | </div> |
| 1617 | <div class="mdl-cell mdl-cell--2-col"> |
| 1618 | <span class="material-icons mdl-badge" data-badge="1">account_box</span> |
| 1619 | </div> |
| 1620 | <div class="mdl-cell mdl-cell--2-col"> |
| 1621 | <span class="mdl-badge" data-badge="♥">Mood</span> |
| 1622 | </div> |
| 1623 | <div class="mdl-cell mdl-cell--2-col"> |
| 1624 | <span class="material-icons mdl-badge" data-badge="♥">account_box</span> |
| 1625 | </div> |
| 1626 | <div class="mdl-cell mdl-cell--2-col"> |
| 1627 | <a href="#" onclick="return false" class="mdl-badge" data-badge="5">Inbox</a> |
| 1628 | </div> |
| 1629 | </div> |
| 1630 | |
| 1631 | </section> |
| 1632 | |
| 1633 | |
| 1634 | <!-- Buttons --> |
| 1635 | <section> |
| 1636 | <div class="mdl-grid demo-button-grid"> |
| 1637 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 1638 | <button class="mdl-button mdl-js-button mdl-button--fab mdl-button--colored"> |
| 1639 | <i class="material-icons">add</i> |
| 1640 | </button> |
| 1641 | </div> |
| 1642 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 1643 | <button class="mdl-button mdl-js-button mdl-button--fab"> |
| 1644 | <i class="material-icons">add</i> |
| 1645 | </button> |
| 1646 | </div> |
| 1647 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 1648 | <button class="mdl-button mdl-js-button mdl-button--fab" disabled> |
| 1649 | <i class="material-icons">add</i> |
| 1650 | </button> |
| 1651 | </div> |
| 1652 | |
| 1653 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 1654 | <button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--colored"> |
| 1655 | <i class="material-icons">add</i> |
| 1656 | </button> |
| 1657 | </div> |
| 1658 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 1659 | <button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab"> |
| 1660 | <i class="material-icons">add</i> |
| 1661 | </button> |
| 1662 | </div> |
| 1663 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 1664 | <button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab" disabled> |
| 1665 | <i class="material-icons">add</i> |
| 1666 | </button> |
| 1667 | </div> |
| 1668 | |
| 1669 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 1670 | <button class="mdl-button mdl-js-button mdl-button--raised"> |
| 1671 | Raised |
| 1672 | </button> |
| 1673 | </div> |
| 1674 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 1675 | <button class="mdl-button mdl-js-button mdl-button--raised" disabled> |
| 1676 | Disabled |
| 1677 | </button> |
| 1678 | </div> |
| 1679 | |
| 1680 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 1681 | <button class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored"> |
| 1682 | Colored |
| 1683 | </button> |
| 1684 | </div> |
| 1685 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 1686 | <button class="mdl-button mdl-js-button mdl-button--raised mdl-button--accent"> |
| 1687 | Accent |
| 1688 | </button> |
| 1689 | </div> |
| 1690 | |
| 1691 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 1692 | <button class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored mdl-js-ripple-effect"> |
| 1693 | <i class="material-icons">settings</i> Settings |
| 1694 | </button> |
| 1695 | </div> |
| 1696 | |
| 1697 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 1698 | <button class="mdl-button mdl-js-button mdl-button--raised mdl-button--accent mdl-js-ripple-effect animated bounce"> |
| 1699 | <i class="material-icons">favorite</i> Fav |
| 1700 | </button> |
| 1701 | </div> |
| 1702 | |
| 1703 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 1704 | <button class="mdl-button mdl-js-button"> |
| 1705 | Flat |
| 1706 | </button> |
| 1707 | </div> |
| 1708 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 1709 | <button class="mdl-button mdl-js-button" disabled> |
| 1710 | Disabled |
| 1711 | </button> |
| 1712 | </div> |
| 1713 | |
| 1714 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 1715 | <button class="mdl-button mdl-js-button mdl-button--primary"> |
| 1716 | Colored |
| 1717 | </button> |
| 1718 | </div> |
| 1719 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 1720 | <button class="mdl-button mdl-js-button mdl-button--accent"> |
| 1721 | Accent |
| 1722 | </button> |
| 1723 | </div> |
| 1724 | |
| 1725 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 1726 | <button class="mdl-button mdl-js-button"> |
| 1727 | <i class="material-icons">snooze</i> Ring, ring... |
| 1728 | </button> |
| 1729 | </div> |
| 1730 | |
| 1731 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 1732 | <button class="mdl-button mdl-js-button mdl-button--icon"> |
| 1733 | <i class="material-icons">mood</i> |
| 1734 | </button> |
| 1735 | </div> |
| 1736 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 1737 | <button class="mdl-button mdl-js-button mdl-button--icon mdl-button--colored"> |
| 1738 | <i class="material-icons">mood</i> |
| 1739 | </button> |
| 1740 | </div> |
| 1741 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 1742 | <button class="mdl-button mdl-js-button mdl-button--fab mdl-color--lime mdl-button--accent"> |
| 1743 | <i class="material-icons">cloud</i> |
| 1744 | </button> |
| 1745 | </div> |
| 1746 | |
| 1747 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 1748 | <button class="mdl-button mdl-js-button mdl-button--raised mdl-color--deep-orange-100 mdl-js-ripple-effect"> |
| 1749 | <i class="material-icons">settings</i> Settings |
| 1750 | </button> |
| 1751 | </div> |
| 1752 | </div> |
| 1753 | </section> |
| 1754 | |
| 1755 | <!-- Toggles --> |
| 1756 | <section> |
| 1757 | <div class="mdl-grid demo-toggle-grid"> |
| 1758 | <div class="mdl-cell mdl-cell--2-col"> |
| 1759 | <label class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect"> |
| 1760 | <input type="checkbox" class="mdl-checkbox__input" checked> |
| 1761 | <span class="mdl-checkbox__label">Checkbox</span> |
| 1762 | </label> |
| 1763 | </div> |
| 1764 | <div class="mdl-cell mdl-cell--2-col"> |
| 1765 | <label class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect"> |
| 1766 | <input type="checkbox" class="mdl-checkbox__input"> |
| 1767 | <span class="mdl-checkbox__label">Checkbox</span> |
| 1768 | </label> |
| 1769 | </div> |
| 1770 | <div class="mdl-cell mdl-cell--2-col"> |
| 1771 | <label class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect"> |
| 1772 | <input type="checkbox" class="mdl-checkbox__input" checked disabled> |
| 1773 | <span class="mdl-checkbox__label">Checkbox</span> |
| 1774 | </label> |
| 1775 | </div> |
| 1776 | |
| 1777 | <div class="mdl-cell mdl-cell--2-col"> |
| 1778 | <label class="mdl-radio mdl-js-radio mdl-js-ripple-effect"> |
| 1779 | <input type="radio" class="mdl-radio__button" name="options2" value="1" checked> |
| 1780 | <span class="mdl-radio__label">First</span> |
| 1781 | </label> |
| 1782 | </div> |
| 1783 | <div class="mdl-cell mdl-cell--2-col"> |
| 1784 | <label class="mdl-radio mdl-js-radio mdl-js-ripple-effect"> |
| 1785 | <input type="radio" class="mdl-radio__button" name="options2" value="2"> |
| 1786 | <span class="mdl-radio__label">Second</span> |
| 1787 | </label> |
| 1788 | </div> |
| 1789 | <div class="mdl-cell mdl-cell--2-col"> |
| 1790 | <label class="mdl-radio mdl-js-radio mdl-js-ripple-effect"> |
| 1791 | <input type="radio" class="mdl-radio__button" name="options2" value="3" disabled> |
| 1792 | <span class="mdl-radio__label">Third</span> |
| 1793 | </label> |
| 1794 | </div> |
| 1795 | |
| 1796 | <div class="mdl-cell mdl-cell--2-col"> |
| 1797 | <label class="mdl-icon-toggle mdl-js-icon-toggle mdl-js-ripple-effect"> |
| 1798 | <input type="checkbox" class="mdl-icon-toggle__input" checked> |
| 1799 | <i class="mdl-icon-toggle__label material-icons">format_bold</i> |
| 1800 | </label> |
| 1801 | </div> |
| 1802 | <div class="mdl-cell mdl-cell--2-col"> |
| 1803 | <label class="mdl-icon-toggle mdl-js-icon-toggle mdl-js-ripple-effect"> |
| 1804 | <input type="checkbox" class="mdl-icon-toggle__input"> |
| 1805 | <i class="mdl-icon-toggle__label material-icons">format_italic</i> |
| 1806 | </label> |
| 1807 | </div> |
| 1808 | <div class="mdl-cell mdl-cell--2-col"> |
| 1809 | <label class="mdl-icon-toggle mdl-js-icon-toggle mdl-js-ripple-effect"> |
| 1810 | <input type="checkbox" class="mdl-icon-toggle__input" disabled> |
| 1811 | <i class="mdl-icon-toggle__label material-icons">format_italic</i> |
| 1812 | </label> |
| 1813 | </div> |
| 1814 | |
| 1815 | <div class="mdl-cell mdl-cell--2-col"> |
| 1816 | <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect"> |
| 1817 | <input type="checkbox" class="mdl-switch__input" checked> |
| 1818 | <span class="mdl-switch__label"></span> |
| 1819 | </label> |
| 1820 | </div> |
| 1821 | <div class="mdl-cell mdl-cell--2-col"> |
| 1822 | <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect"> |
| 1823 | <input type="checkbox" class="mdl-switch__input"> |
| 1824 | <span class="mdl-switch__label"></span> |
| 1825 | </label> |
| 1826 | </div> |
| 1827 | <div class="mdl-cell mdl-cell--2-col"> |
| 1828 | <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect"> |
| 1829 | <input type="checkbox" class="mdl-switch__input" disabled> |
| 1830 | <span class="mdl-switch__label"></span> |
| 1831 | </label> |
| 1832 | </div> |
| 1833 | </div> |
| 1834 | </section> |
| 1835 | |
| 1836 | |
| 1837 | |
| 1838 | <!-- Sliders --> |
| 1839 | <section> |
| 1840 | <div class="mdl-grid demo-slider-grid"> |
| 1841 | <div class="mdl-cell mdl-cell--4-col mdl-cell--2-col-phone"> |
| 1842 | <!-- Default Slider --> |
| 1843 | <input class="mdl-slider mdl-js-slider" type="range" min="0" max="100" value="0"> |
| 1844 | </div> |
| 1845 | |
| 1846 | <div class="mdl-cell mdl-cell--4-col mdl-cell--2-col-phone"> |
| 1847 | <!-- Slider with Starting Value --> |
| 1848 | <input class="mdl-slider mdl-js-slider" type="range" min="0" max="100" value="25"> |
| 1849 | </div> |
| 1850 | </div> |
| 1851 | </section> |
| 1852 | |
| 1853 | |
| 1854 | <!-- Data table --> |
| 1855 | <section> |
| 1856 | <table class="mdl-data-table mdl-js-data-table mdl-data-table--selectable mdl-shadow--2dp"> |
| 1857 | <thead> |
| 1858 | <tr> |
| 1859 | <th class="mdl-data-table__cell--non-numeric">Materials</th> |
| 1860 | <th>Quantity</th> |
| 1861 | <th>Unit price</th> |
| 1862 | </tr> |
| 1863 | </thead> |
| 1864 | <tbody> |
| 1865 | <tr> |
| 1866 | <td class="mdl-data-table__cell--non-numeric">Acrylic (Transparent)</td> |
| 1867 | <td>25</td> |
| 1868 | <td>$2.90</td> |
| 1869 | </tr> |
| 1870 | <tr> |
| 1871 | <td class="mdl-data-table__cell--non-numeric">Plywood (Birch)</td> |
| 1872 | <td>50</td> |
| 1873 | <td>$1.25</td> |
| 1874 | </tr> |
| 1875 | <tr> |
| 1876 | <td class="mdl-data-table__cell--non-numeric">Laminate (Gold on Blue)</td> |
| 1877 | <td>10</td> |
| 1878 | <td>$2.35</td> |
| 1879 | </tr> |
| 1880 | </tbody> |
| 1881 | </table> |
| 1882 | </section> |
| 1883 | |
| 1884 | |
| 1885 | <!-- Menu --> |
| 1886 | <!-- |
| 1887 | <section> |
| 1888 | <div class="demo-menu"> |
| 1889 | <div class="demo-menu-container mdl-shadow--2dp mdl-color--primary-dark mdl-color-text--primary-contrast"> |
| 1890 | <div class="demo-menu-background-dark"></div> |
| 1891 | <div class="demo-menu-bar"> |
| 1892 | <button id="demo-menu-top-left" class="mdl-button mdl-js-button mdl-button--icon"> |
| 1893 | <i class="material-icons">more_vert</i> |
| 1894 | </button> |
| 1895 | |
| 1896 | <ul class="mdl-menu mdl-menu--top-left mdl-js-menu mdl-js-ripple-effect" |
| 1897 | for="demo-menu-top-left"> |
| 1898 | <li class="mdl-menu__item">Some Action</li> |
| 1899 | <li class="mdl-menu__item">Another Action</li> |
| 1900 | <li disabled class="mdl-menu__item">Disabled Action</li> |
| 1901 | <li class="mdl-menu__item">Yet Another Action</li> |
| 1902 | </ul> |
| 1903 | |
| 1904 | <span>Menu top left</span> |
| 1905 | </div> |
| 1906 | </div> |
| 1907 | </div> |
| 1908 | </section> |
| 1909 | --> |
| 1910 | |
| 1911 | <!-- Menu button --> |
| 1912 | <section style="padding-bottom:16px"> |
| 1913 | <h4>Menu button</h4> |
| 1914 | <button class="mdl-button mdl-button--raised mdl-js-ripple-effect mdl-js-button mdlext-js-menu-button"> |
| 1915 | <i class="material-icons">gesture</i> |
| 1916 | <span class="mdlext-menu-button__caption">Select</span> |
| 1917 | <i class="material-icons mdlext-aria-expanded-more-less"></i> |
| 1918 | </button> |
| 1919 | <ul class="mdlext-menu mdlext-dark-color-theme" hidden > |
| 1920 | <li class="mdlext-menu__item"> |
| 1921 | <i class="material-icons md-18">info</i> |
| 1922 | <span class="mdlext-menu__item__caption">Menu item #1</span> |
| 1923 | </li> |
| 1924 | <li class="mdlext-menu__item"> |
| 1925 | <i class="material-icons md-18">help_outline</i> |
| 1926 | <span class="mdlext-menu__item__caption">Menu item #2. A long text to check ellipsis overflow 0123456789</span> |
| 1927 | <i class="material-icons md-18">radio</i> |
| 1928 | </li> |
| 1929 | <li class="mdlext-menu__item-separator"></li> |
| 1930 | <li class="mdlext-menu__item" disabled> |
| 1931 | <span class="mdlext-menu__item__caption">Menu item #3, disabled</span> |
| 1932 | <i class="material-icons md-18">accessibility</i> |
| 1933 | </li> |
| 1934 | <li class="mdlext-menu__item-separator"></li> |
| 1935 | <li class="mdlext-menu__item"> |
| 1936 | <span class="mdlext-menu__item__caption">Menu item #IV</span> |
| 1937 | <i class="material-icons md-18">build</i> |
| 1938 | </li> |
| 1939 | <li class="mdlext-menu__item"> |
| 1940 | <span class="mdlext-menu__item__caption">Menu item #V</span> |
| 1941 | <i class="material-icons md-18">build</i> |
| 1942 | </li> |
| 1943 | <li class="mdlext-menu__item-separator"></li> |
| 1944 | <li class="mdlext-menu__item"> |
| 1945 | <span class="mdlext-menu__item__caption">Menu item #VI</span> |
| 1946 | <i class="material-icons md-18">build</i> |
| 1947 | </li> |
| 1948 | <li class="mdlext-menu__item"> |
| 1949 | <span class="mdlext-menu__item__caption">Menu item #VII</span> |
| 1950 | <i class="material-icons md-18">build</i> |
| 1951 | </li> |
| 1952 | <li class="mdlext-menu__item"> |
| 1953 | Menu item #n |
| 1954 | </li> |
| 1955 | </ul> |
| 1956 | </section> |
| 1957 | |
| 1958 | |
| 1959 | </div> |
| 1960 | |
| 1961 | |
| 1962 | |
| 1963 | <h2>Default Color Theme</h2> |
| 1964 | |
| 1965 | <!-- Default theme --> |
| 1966 | <div class="demo-theme-container"> |
| 1967 | |
| 1968 | <section> |
| 1969 | <table class="info"> |
| 1970 | <tr> |
| 1971 | <th class="mdl-typography--caption-color-contrast">.mdl-typography--</th> |
| 1972 | <td class="mdl-typography--title">Scale & Basic Styles</td> |
| 1973 | </tr> |
| 1974 | <tr> |
| 1975 | <th class="mdl-typography--caption-color-contrast">display-4</th> |
| 1976 | <td class="mdl-typography--display-4">Light 112px</td> |
| 1977 | </tr> |
| 1978 | <tr> |
| 1979 | <th class="mdl-typography--caption-color-contrast">display-3</th> |
| 1980 | <td class="mdl-typography--display-3">Regular 56px</td> |
| 1981 | </tr> |
| 1982 | <tr> |
| 1983 | <th class="mdl-typography--caption-color-contrast">display-2</th> |
| 1984 | <td class="mdl-typography--display-2">Regular 45px</td> |
| 1985 | </tr> |
| 1986 | <tr> |
| 1987 | <th class="mdl-typography--caption-color-contrast">display-1</th> |
| 1988 | <td class="mdl-typography--display-1">Regular 34px</td> |
| 1989 | </tr> |
| 1990 | <tr> |
| 1991 | <th class="mdl-typography--caption-color-contrast">headline</th> |
| 1992 | <td class="mdl-typography--headline">Regular 24px</td> |
| 1993 | </tr> |
| 1994 | <tr> |
| 1995 | <th class="mdl-typography--caption-color-contrast">title</th> |
| 1996 | <td class="mdl-typography--title">Medium 20px</td> |
| 1997 | </tr> |
| 1998 | <tr> |
| 1999 | <th class="mdl-typography--caption-color-contrast">subhead</th> |
| 2000 | <td class="mdl-typography--subhead">Regular 16px (Device), Regular 15px (Desktop)</td> |
| 2001 | </tr> |
| 2002 | <tr> |
| 2003 | <th class="mdl-typography--caption-color-contrast">body-2</th> |
| 2004 | <td class="mdl-typography--body-2">Medium 14px (Device), Medium 13px (Desktop)</td> |
| 2005 | </tr> |
| 2006 | <tr> |
| 2007 | <th class="mdl-typography--caption-color-contrast">body-1</th> |
| 2008 | <td class="mdl-typography--body-1">Regular 14px (Device), Regular 13px (Desktop)</td> |
| 2009 | </tr> |
| 2010 | <tr> |
| 2011 | <th class="mdl-typography--caption-color-contrast">body-2-force-preferred-font</th> |
| 2012 | <td class="mdl-typography--body-2-force-preferred-font">Medium 14px (Device), Medium 13px (Desktop)</td> |
| 2013 | </tr> |
| 2014 | <tr> |
| 2015 | <th class="mdl-typography--caption-color-contrast">body-1-force-preferred-font</th> |
| 2016 | <td class="mdl-typography--body-1-force-preferred-font">Regular 14px (Device), Regular 13px (Desktop)</td> |
| 2017 | </tr> |
| 2018 | <tr> |
| 2019 | <th class="mdl-typography--caption-color-contrast">caption</th> |
| 2020 | <td class="mdl-typography--caption">Regular 12px</td> |
| 2021 | </tr> |
| 2022 | <tr> |
| 2023 | <th class="mdl-typography--caption-color-contrast">menu</th> |
| 2024 | <td class="mdl-typography--menu">Medium 14px (Device), Medium 13px (Desktop)</td> |
| 2025 | </tr> |
| 2026 | <tr> |
| 2027 | <th class="mdl-typography--caption-color-contrast">button</th> |
| 2028 | <td class="mdl-typography--button">Medium (All Caps) 14px</td> |
| 2029 | </tr> |
| 2030 | |
| 2031 | <tr> |
| 2032 | <th class="mdl-typography--caption-color-contrast">primary-dark</th> |
| 2033 | <td class="mdl-color--primary-dark mdl-color-text--primary-contrast">mdl-color--primary-dark mdl-color-text--primary-contrast</td> |
| 2034 | </tr> |
| 2035 | <tr> |
| 2036 | <th class="mdl-typography--caption-color-contrast">primary</th> |
| 2037 | <td class="mdl-color--primary mdl-color-text--primary-contrast">mdl-color--primary mdl-color-text--primary-contrast</td> |
| 2038 | </tr> |
| 2039 | <tr> |
| 2040 | <th class="mdl-typography--caption-color-contrast">accent</th> |
| 2041 | <td class="mdl-color--accent mdl-color-text--accent-contrast">mdl-color--accent mdl-color-text--accent-contrast</td> |
| 2042 | </tr> |
| 2043 | <tr> |
| 2044 | <th class="mdl-typography--caption-color-contrast">primary-dark</th> |
| 2045 | <td class="mdl-color--primary-contrast mdl-color-text--primary-dark">mdl-color--primary-contrast mdl-color-text--primary-dark</td> |
| 2046 | </tr> |
| 2047 | <tr> |
| 2048 | <th class="mdl-typography--caption-color-contrast">primary</th> |
| 2049 | <td class="mdl-color--primary-contrast mdl-color-text--primary">mdl-color-text--primary</td> |
| 2050 | </tr> |
| 2051 | <tr> |
| 2052 | <th class="mdl-typography--caption-color-contrast">accent</th> |
| 2053 | <td class="mdl-color--accent-contrast mdl-color-text--accent">mdl-color--accent-contrast mdl-color-text--accent</td> |
| 2054 | </tr> |
| 2055 | </table> |
| 2056 | </section> |
| 2057 | |
| 2058 | <section> |
| 2059 | <h1>Base font</h1> |
| 2060 | |
| 2061 | <p>Material Design Lite start’s with a base font of</p> |
| 2062 | <ul> |
| 2063 | <li>A size of 14px</li> |
| 2064 | <li>A weight of 400</li> |
| 2065 | <li>A line height of 20px</li> |
| 2066 | </ul> |
| 2067 | |
| 2068 | <p class="mdl-typography--body-1">Regular 14px (Device), Regular 13px (Desktop)</p> |
| 2069 | <p class="mdl-typography--body-1-force-preferred-font">Regular 14px (Device), Regular 13px (Desktop)</p> |
| 2070 | <p class="mdl-typography--body-2">Medium 14px (Device), Medium 13px (Desktop)</p> |
| 2071 | <p class="mdl-typography--body-2-color-contrast">Body with color contrast</p> |
| 2072 | <p class="mdl-typography--body-2-force-preferred-font">Medium 14px (Device), Medium 13px (Desktop)</p> |
| 2073 | <p><a href="#" onclick="return false">An anchor</a></p> |
| 2074 | |
| 2075 | <h1>Headings</h1> |
| 2076 | <h1>h1 (56px) <small>Subtitle</small></h1> |
| 2077 | <h2>h2 (45px) <small>Subtitle</small></h2> |
| 2078 | <h3>h3 (34px) <small>Subtitle</small></h3> |
| 2079 | <h4>h4 (24px) <small>Subtitle</small></h4> |
| 2080 | <h5>h5 (20px) <small>Subtitle</small></h5> |
| 2081 | <h6>h6 (16px) <small>Subtitle</small></h6> |
| 2082 | </section> |
| 2083 | |
| 2084 | |
| 2085 | <!-- textfields --> |
| 2086 | <section class = "textfield-demo-container"> |
| 2087 | |
| 2088 | <div class="mdl-grid mdl-grid--no-spacing"> |
| 2089 | |
| 2090 | <div class="mdl-cell mdl-cell--4-col"> |
| 2091 | <div class="mdl-textfield mdl-js-textfield"> |
| 2092 | <input class="mdl-textfield__input" type="text"> |
| 2093 | <label class="mdl-textfield__label">Text...</label> |
| 2094 | </div> |
| 2095 | </div> |
| 2096 | |
| 2097 | <div class="mdl-cell mdl-cell--4-col"> |
| 2098 | <div class="mdl-textfield mdl-js-textfield"> |
| 2099 | <input class="mdl-textfield__input" type="text" pattern="-?[0-9]*(\.[0-9]+)?"> |
| 2100 | <label class="mdl-textfield__label">Number...</label> |
| 2101 | <span class="mdl-textfield__error">Input is not a number!</span> |
| 2102 | </div> |
| 2103 | </div> |
| 2104 | |
| 2105 | <div class="mdl-cell mdl-cell--4-col"> |
| 2106 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
| 2107 | <input class="mdl-textfield__input" type="text" list="languages" placeholder="Select a programming language" required> |
| 2108 | <label class="mdl-textfield__label">Programming Language</label> |
| 2109 | </div> |
| 2110 | </div> |
| 2111 | |
| 2112 | <div class="mdl-cell mdl-cell--4-col"> |
| 2113 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
| 2114 | <input class="mdl-textfield__input" type="text" pattern="-?[0-9]*(\.[0-9]+)?"> |
| 2115 | <label class="mdl-textfield__label">Number...</label> |
| 2116 | <span class="mdl-textfield__error">Input is not a number!</span> |
| 2117 | </div> |
| 2118 | </div> |
| 2119 | |
| 2120 | <div class="mdl-cell mdl-cell--4-col"> |
| 2121 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
| 2122 | <input class="mdl-textfield__input" type="text" pattern="-?[0-9]*(\.[0-9]+)?" disabled value="123"> |
| 2123 | <label class="mdl-textfield__label">Number...</label> |
| 2124 | <span class="mdl-textfield__error">Input is not a number!</span> |
| 2125 | </div> |
| 2126 | </div> |
| 2127 | |
| 2128 | <div class="mdl-cell mdl-cell--4-col"> |
| 2129 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable mdl-textfield--floating-label"> |
| 2130 | <label class="mdl-button mdl-js-button mdl-button--icon" for="mdl-expandable-demo1"> |
| 2131 | <i class="material-icons">search</i> |
| 2132 | </label> |
| 2133 | <div class="mdl-textfield__expandable-holder"> |
| 2134 | <input class="mdl-textfield__input" type="text" name="q" value="" id="mdl-expandable-demo1" pattern=".{3,}" /> |
| 2135 | <label class="mdl-textfield__label" for="mdl-expandable-demo1">Expandable Input</label> |
| 2136 | </div> |
| 2137 | </div> |
| 2138 | </div> |
| 2139 | |
| 2140 | <div class="mdl-cell mdl-cell--8-col"> |
| 2141 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--full-width mdl-textfield--floating-label"> |
| 2142 | <textarea class="mdl-textfield__input" rows= "3"></textarea> |
| 2143 | <label class="mdl-textfield__label">Text lines...</label> |
| 2144 | </div> |
| 2145 | </div> |
| 2146 | |
| 2147 | </div> |
| 2148 | |
| 2149 | </section> |
| 2150 | |
| 2151 | |
| 2152 | <!-- Selectfield --> |
| 2153 | <section style="margin-bottom: 16px;"> |
| 2154 | <div class="mdl-grid mdl-grid--no-spacing"> |
| 2155 | |
| 2156 | <div class="mdl-cell mdl-cell--4-col"> |
| 2157 | <div class="mdlext-selectfield mdlext-js-selectfield"> |
| 2158 | <select class="mdlext-selectfield__select"> |
| 2159 | <option value=""></option> |
| 2160 | <option value="option1">option 1</option> |
| 2161 | <option value="option2">option 2</option> |
| 2162 | <option value="option3">option 3</option> |
| 2163 | <option value="option4">option 4</option> |
| 2164 | <option value="option5">option 5</option> |
| 2165 | </select> |
| 2166 | <label class="mdlext-selectfield__label">Profession</label> |
| 2167 | </div> |
| 2168 | </div> |
| 2169 | |
| 2170 | <div class="mdl-cell mdl-cell--4-col"> |
| 2171 | <div class="mdlext-selectfield mdlext-js-selectfield mdlext-selectfield--floating-label"> |
| 2172 | <select class="mdlext-selectfield__select"> |
| 2173 | <option value=""></option> |
| 2174 | <option value="option1">option 1</option> |
| 2175 | <option value="option2">option 2</option> |
| 2176 | <option value="option3">option 3</option> |
| 2177 | <option value="option4">option 4</option> |
| 2178 | <option value="option5">option 5</option> |
| 2179 | </select> |
| 2180 | <label class="mdlext-selectfield__label">Profession</label> |
| 2181 | </div> |
| 2182 | </div> |
| 2183 | |
| 2184 | <div class="mdl-cell mdl-cell--4-col"> |
| 2185 | <div class="mdlext-selectfield mdlext-js-selectfield mdlext-selectfield--floating-label"> |
| 2186 | <select class="mdlext-selectfield__select" disabled> |
| 2187 | <option value=""></option> |
| 2188 | <option value="option1">option 1</option> |
| 2189 | <option value="option2">option 2</option> |
| 2190 | <option value="option3">option 3</option> |
| 2191 | <option value="option4">option 4</option> |
| 2192 | <option value="option5">option 5</option> |
| 2193 | </select> |
| 2194 | <label class="mdlext-selectfield__label">Profession</label> |
| 2195 | </div> |
| 2196 | </div> |
| 2197 | </div> |
| 2198 | </section> |
| 2199 | |
| 2200 | |
| 2201 | |
| 2202 | <!-- bordered fields --> |
| 2203 | <section class="mdlext-bordered-fields" style="margin-top:16px;"> |
| 2204 | |
| 2205 | <div class="mdl-grid mdl-grid--no-spacing"> |
| 2206 | |
| 2207 | <div class="mdl-cell mdl-cell--4-col"> |
| 2208 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
| 2209 | <input class="mdl-textfield__input" type="text" list="languages" placeholder="Select a language" required> |
| 2210 | <label class="mdl-textfield__label">Programming language</label> |
| 2211 | </div> |
| 2212 | </div> |
| 2213 | |
| 2214 | <div class="mdl-cell mdl-cell--4-col"> |
| 2215 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
| 2216 | <input class="mdl-textfield__input" type="text" pattern="-?[0-9]*(\.[0-9]+)?"> |
| 2217 | <label class="mdl-textfield__label">Numeric with floating label</label> |
| 2218 | <span class="mdl-textfield__error">Input is not a number!</span> |
| 2219 | </div> |
| 2220 | </div> |
| 2221 | |
| 2222 | <div class="mdl-cell mdl-cell--4-col"> |
| 2223 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
| 2224 | <input class="mdl-textfield__input" type="text" pattern="-?[0-9]*(\.[0-9]+)?" disabled value="123"> |
| 2225 | <label class="mdl-textfield__label" >Disabled floating label</label> |
| 2226 | <span class="mdl-textfield__error">Input is not a number!</span> |
| 2227 | </div> |
| 2228 | </div> |
| 2229 | |
| 2230 | <div class="mdl-cell mdl-cell--4-col"> |
| 2231 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-right "> |
| 2232 | <input class="mdl-textfield__input" type="text" id="uploadfile33" readonly> |
| 2233 | <label class="mdl-textfield__label">File (work in progress)</label> |
| 2234 | |
| 2235 | <label class="mdl-button mdl-js-button mdl-button--primary mdl-button--icon mdl-button--file" for="uploadfile33"> |
| 2236 | <i class="material-icons">attach_file</i> |
| 2237 | <input type="file" id="uploadBtn33"> |
| 2238 | </label> |
| 2239 | </div> |
| 2240 | <!-- |
| 2241 | // Need a script to work properly - something like this |
| 2242 | --> |
| 2243 | <script> |
| 2244 | (function() { |
| 2245 | 'use strict'; |
| 2246 | document.querySelector('#uploadBtn33').addEventListener('change', function() { |
| 2247 | var n = document.querySelector("#uploadfile33"); |
| 2248 | n.value = this.files[0].name; |
| 2249 | n.parentNode.classList.add('is-dirty'); |
| 2250 | }); |
| 2251 | }()); |
| 2252 | </script> |
| 2253 | </div> |
| 2254 | |
| 2255 | <div class="mdl-cell mdl-cell--4-col"> |
| 2256 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left mdlext-bordered-fields__icon-right"> |
| 2257 | <i class="material-icons">radio</i> |
| 2258 | <input class="mdl-textfield__input" type="text" disabled> |
| 2259 | <label class="mdl-textfield__label">Text, disabled</label> |
| 2260 | <i class="material-icons">fingerprint</i> |
| 2261 | </div> |
| 2262 | </div> |
| 2263 | |
| 2264 | |
| 2265 | <div class="mdl-cell mdl-cell--4-col"> |
| 2266 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left"> |
| 2267 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 2268 | <i class="material-icons">phone</i> |
| 2269 | </label> |
| 2270 | |
| 2271 | <input class="mdl-textfield__input" type="text"> |
| 2272 | <label class="mdl-textfield__label">Text...</label> |
| 2273 | </div> |
| 2274 | </div> |
| 2275 | |
| 2276 | <div class="mdl-cell mdl-cell--4-col"> |
| 2277 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-right"> |
| 2278 | <input class="mdl-textfield__input" type="text"> |
| 2279 | <label class="mdl-textfield__label">Text...</label> |
| 2280 | |
| 2281 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 2282 | <i class="material-icons">settings_voice</i> |
| 2283 | </label> |
| 2284 | </div> |
| 2285 | </div> |
| 2286 | |
| 2287 | |
| 2288 | <div class="mdl-cell mdl-cell--4-col"> |
| 2289 | <div class="mdlext-selectfield mdlext-js-selectfield mdlext-selectfield--floating-label"> |
| 2290 | <select class="mdlext-selectfield__select"> |
| 2291 | <option value=""></option> |
| 2292 | <option value="option1">option 1</option> |
| 2293 | <option value="option2">option 2</option> |
| 2294 | <option value="option3">option 3</option> |
| 2295 | <option value="option4">option 4</option> |
| 2296 | <option value="option5">option 5</option> |
| 2297 | </select> |
| 2298 | <label class="mdlext-selectfield__label">Profession</label> |
| 2299 | </div> |
| 2300 | </div> |
| 2301 | |
| 2302 | <div class="mdl-cell mdl-cell--4-col"> |
| 2303 | <div class="mdlext-selectfield mdlext-js-selectfield mdlext-selectfield--floating-label"> |
| 2304 | <select class="mdlext-selectfield__select" disabled> |
| 2305 | <option value=""></option> |
| 2306 | <option value="option1">option 1</option> |
| 2307 | <option value="option2">option 2</option> |
| 2308 | <option value="option3">option 3</option> |
| 2309 | <option value="option4">option 4</option> |
| 2310 | <option value="option5">option 5</option> |
| 2311 | </select> |
| 2312 | <label class="mdlext-selectfield__label">Profession</label> |
| 2313 | </div> |
| 2314 | </div> |
| 2315 | |
| 2316 | <div class="mdl-cell mdl-cell--4-col"> |
| 2317 | <div class="mdlext-selectfield mdlext-js-selectfield mdlext-selectfield--floating-label mdlext-bordered-fields__icon-left"> |
| 2318 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 2319 | <i class="material-icons">phone</i> |
| 2320 | </label> |
| 2321 | <select class="mdlext-selectfield__select"> |
| 2322 | <option value=""></option> |
| 2323 | <option value="option1">option 1</option> |
| 2324 | <option value="option2">option 2</option> |
| 2325 | <option value="option3">option 3</option> |
| 2326 | <option value="option4">option 4</option> |
| 2327 | <option value="option5">option 5</option> |
| 2328 | </select> |
| 2329 | <label class="mdlext-selectfield__label">Profession</label> |
| 2330 | </div> |
| 2331 | </div> |
| 2332 | |
| 2333 | <div class="mdl-cell mdl-cell--4-col"> |
| 2334 | <div class="mdlext-selectfield mdlext-js-selectfield mdlext-selectfield--floating-label mdlext-bordered-fields__icon-left"> |
| 2335 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 2336 | <i class="material-icons">phone</i> |
| 2337 | </label> |
| 2338 | <select class="mdlext-selectfield__select" disabled> |
| 2339 | <option value=""></option> |
| 2340 | <option value="option1">option 1</option> |
| 2341 | <option value="option2">option 2</option> |
| 2342 | <option value="option3">option 3</option> |
| 2343 | <option value="option4">option 4</option> |
| 2344 | <option value="option5">option 5</option> |
| 2345 | </select> |
| 2346 | <label class="mdlext-selectfield__label">Profession</label> |
| 2347 | </div> |
| 2348 | </div> |
| 2349 | |
| 2350 | |
| 2351 | |
| 2352 | <div class="mdl-cell mdl-cell--4-col"> |
| 2353 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left"> |
| 2354 | <i class="material-icons">radio</i> |
| 2355 | <input class="mdl-textfield__input" type="text"> |
| 2356 | <label class="mdl-textfield__label">Text...</label> |
| 2357 | </div> |
| 2358 | </div> |
| 2359 | |
| 2360 | <div class="mdl-cell mdl-cell--4-col"> |
| 2361 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-right"> |
| 2362 | <input class="mdl-textfield__input" type="text"> |
| 2363 | <label class="mdl-textfield__label">Text...</label> |
| 2364 | <i class="material-icons">fingerprint</i> |
| 2365 | </div> |
| 2366 | </div> |
| 2367 | |
| 2368 | <div class="mdl-cell mdl-cell--4-col"> |
| 2369 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left mdlext-bordered-fields__icon-right"> |
| 2370 | <i class="material-icons">radio</i> |
| 2371 | <input class="mdl-textfield__input" type="text"> |
| 2372 | <label class="mdl-textfield__label">Text...</label> |
| 2373 | <i class="material-icons">fingerprint</i> |
| 2374 | </div> |
| 2375 | </div> |
| 2376 | |
| 2377 | <div class="mdl-cell mdl-cell--4-col"> |
| 2378 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left mdlext-bordered-fields__icon-right"> |
| 2379 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 2380 | <i class="material-icons">phone</i> |
| 2381 | </label> |
| 2382 | |
| 2383 | <input class="mdl-textfield__input" type="text"> |
| 2384 | <label class="mdl-textfield__label">Text...</label> |
| 2385 | |
| 2386 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 2387 | <i class="material-icons">settings_voice</i> |
| 2388 | </label> |
| 2389 | </div> |
| 2390 | </div> |
| 2391 | |
| 2392 | <div class="mdl-cell mdl-cell--4-col"> |
| 2393 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left mdlext-bordered-fields__icon-right"> |
| 2394 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 2395 | <i class="material-icons">phone</i> |
| 2396 | </label> |
| 2397 | |
| 2398 | <input class="mdl-textfield__input" type="text" disabled> |
| 2399 | <label class="mdl-textfield__label">Text...</label> |
| 2400 | |
| 2401 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 2402 | <i class="material-icons">settings_voice</i> |
| 2403 | </label> |
| 2404 | </div> |
| 2405 | </div> |
| 2406 | |
| 2407 | <div class="mdl-cell mdl-cell--4-col"> |
| 2408 | <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label mdlext-bordered-fields__icon-left mdlext-bordered-fields__icon-right"> |
| 2409 | <i class="material-icons">radio</i> |
| 2410 | <input class="mdl-textfield__input" type="text"> |
| 2411 | <label class="mdl-textfield__label">Text...</label> |
| 2412 | <label class="mdl-button mdl-js-button mdl-button--icon"> |
| 2413 | <i class="material-icons">settings_voice</i> |
| 2414 | </label> |
| 2415 | </div> |
| 2416 | </div> |
| 2417 | |
| 2418 | </div> |
| 2419 | |
| 2420 | </section> |
| 2421 | |
| 2422 | |
| 2423 | <!-- Badges --> |
| 2424 | <section style="margin-top:16px"> |
| 2425 | <div class="mdl-grid demo-badge-grid"> |
| 2426 | <div class="mdl-cell mdl-cell--2-col"> |
| 2427 | <span class="mdl-badge" data-badge="4">Inbox</span> |
| 2428 | </div> |
| 2429 | <div class="mdl-cell mdl-cell--2-col"> |
| 2430 | <span class="material-icons mdl-badge" data-badge="1">account_box</span> |
| 2431 | </div> |
| 2432 | <div class="mdl-cell mdl-cell--2-col"> |
| 2433 | <span class="mdl-badge" data-badge="♥">Mood</span> |
| 2434 | </div> |
| 2435 | <div class="mdl-cell mdl-cell--2-col"> |
| 2436 | <span class="material-icons mdl-badge" data-badge="♥">account_box</span> |
| 2437 | </div> |
| 2438 | <div class="mdl-cell mdl-cell--2-col"> |
| 2439 | <a href="#" onclick="return false" class="mdl-badge" data-badge="5">Inbox</a> |
| 2440 | </div> |
| 2441 | </div> |
| 2442 | </section> |
| 2443 | |
| 2444 | <!-- Buttons --> |
| 2445 | <section> |
| 2446 | <div class="mdl-grid demo-button-grid"> |
| 2447 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 2448 | <button class="mdl-button mdl-js-button mdl-button--fab mdl-button--colored"> |
| 2449 | <i class="material-icons">add</i> |
| 2450 | </button> |
| 2451 | </div> |
| 2452 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 2453 | <button class="mdl-button mdl-js-button mdl-button--fab"> |
| 2454 | <i class="material-icons">add</i> |
| 2455 | </button> |
| 2456 | </div> |
| 2457 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 2458 | <button class="mdl-button mdl-js-button mdl-button--fab" disabled> |
| 2459 | <i class="material-icons">add</i> |
| 2460 | </button> |
| 2461 | </div> |
| 2462 | |
| 2463 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 2464 | <button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--colored"> |
| 2465 | <i class="material-icons">add</i> |
| 2466 | </button> |
| 2467 | </div> |
| 2468 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 2469 | <button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab"> |
| 2470 | <i class="material-icons">add</i> |
| 2471 | </button> |
| 2472 | </div> |
| 2473 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 2474 | <button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab" disabled> |
| 2475 | <i class="material-icons">add</i> |
| 2476 | </button> |
| 2477 | </div> |
| 2478 | |
| 2479 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 2480 | <button class="mdl-button mdl-js-button mdl-button--raised"> |
| 2481 | Raised |
| 2482 | </button> |
| 2483 | </div> |
| 2484 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 2485 | <button class="mdl-button mdl-js-button mdl-button--raised" disabled> |
| 2486 | Disabled |
| 2487 | </button> |
| 2488 | </div> |
| 2489 | |
| 2490 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 2491 | <button class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored"> |
| 2492 | Colored |
| 2493 | </button> |
| 2494 | </div> |
| 2495 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 2496 | <button class="mdl-button mdl-js-button mdl-button--raised mdl-button--accent"> |
| 2497 | Accent |
| 2498 | </button> |
| 2499 | </div> |
| 2500 | |
| 2501 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 2502 | <button class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored mdl-js-ripple-effect"> |
| 2503 | <i class="material-icons">settings</i> Settings |
| 2504 | </button> |
| 2505 | </div> |
| 2506 | |
| 2507 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 2508 | <button class="mdl-button mdl-js-button mdl-button--raised mdl-button--accent mdl-js-ripple-effect animated bounce"> |
| 2509 | <i class="material-icons">favorite</i> Fav |
| 2510 | </button> |
| 2511 | </div> |
| 2512 | |
| 2513 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 2514 | <button class="mdl-button mdl-js-button"> |
| 2515 | Flat |
| 2516 | </button> |
| 2517 | </div> |
| 2518 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 2519 | <button class="mdl-button mdl-js-button" disabled> |
| 2520 | Disabled |
| 2521 | </button> |
| 2522 | </div> |
| 2523 | |
| 2524 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 2525 | <button class="mdl-button mdl-js-button mdl-button--primary"> |
| 2526 | Colored |
| 2527 | </button> |
| 2528 | </div> |
| 2529 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 2530 | <button class="mdl-button mdl-js-button mdl-button--accent"> |
| 2531 | Accent |
| 2532 | </button> |
| 2533 | </div> |
| 2534 | |
| 2535 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 2536 | <button class="mdl-button mdl-js-button"> |
| 2537 | <i class="material-icons">snooze</i> Ring, ring... |
| 2538 | </button> |
| 2539 | </div> |
| 2540 | |
| 2541 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 2542 | <button class="mdl-button mdl-js-button mdl-button--icon"> |
| 2543 | <i class="material-icons">mood</i> |
| 2544 | </button> |
| 2545 | </div> |
| 2546 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 2547 | <button class="mdl-button mdl-js-button mdl-button--icon mdl-button--colored"> |
| 2548 | <i class="material-icons">mood</i> |
| 2549 | </button> |
| 2550 | </div> |
| 2551 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 2552 | <button class="mdl-button mdl-js-button mdl-button--fab mdl-color--lime mdl-button--accent"> |
| 2553 | <i class="material-icons">cloud</i> |
| 2554 | </button> |
| 2555 | </div> |
| 2556 | |
| 2557 | <div class="mdl-cell mdl-cell--2-col mdl-cell--middle"> |
| 2558 | <button class="mdl-button mdl-js-button mdl-button--raised mdl-color--deep-orange-100 mdl-js-ripple-effect"> |
| 2559 | <i class="material-icons">settings</i> Settings |
| 2560 | </button> |
| 2561 | </div> |
| 2562 | </div> |
| 2563 | </section> |
| 2564 | |
| 2565 | |
| 2566 | <!-- Toggles --> |
| 2567 | <section> |
| 2568 | <div class="mdl-grid demo-toggle-grid"> |
| 2569 | <div class="mdl-cell mdl-cell--2-col"> |
| 2570 | <label class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect"> |
| 2571 | <input type="checkbox" class="mdl-checkbox__input" checked> |
| 2572 | <span class="mdl-checkbox__label">Checkbox</span> |
| 2573 | </label> |
| 2574 | </div> |
| 2575 | <div class="mdl-cell mdl-cell--2-col"> |
| 2576 | <label class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect"> |
| 2577 | <input type="checkbox" class="mdl-checkbox__input"> |
| 2578 | <span class="mdl-checkbox__label">Checkbox</span> |
| 2579 | </label> |
| 2580 | </div> |
| 2581 | <div class="mdl-cell mdl-cell--2-col"> |
| 2582 | <label class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect"> |
| 2583 | <input type="checkbox" class="mdl-checkbox__input" checked disabled> |
| 2584 | <span class="mdl-checkbox__label">Checkbox</span> |
| 2585 | </label> |
| 2586 | </div> |
| 2587 | |
| 2588 | <div class="mdl-cell mdl-cell--2-col"> |
| 2589 | <label class="mdl-radio mdl-js-radio mdl-js-ripple-effect"> |
| 2590 | <input type="radio" class="mdl-radio__button" name="options" value="1" checked> |
| 2591 | <span class="mdl-radio__label">First</span> |
| 2592 | </label> |
| 2593 | </div> |
| 2594 | <div class="mdl-cell mdl-cell--2-col"> |
| 2595 | <label class="mdl-radio mdl-js-radio mdl-js-ripple-effect"> |
| 2596 | <input type="radio" class="mdl-radio__button" name="options" value="2"> |
| 2597 | <span class="mdl-radio__label">Second</span> |
| 2598 | </label> |
| 2599 | </div> |
| 2600 | <div class="mdl-cell mdl-cell--2-col"> |
| 2601 | <label class="mdl-radio mdl-js-radio mdl-js-ripple-effect"> |
| 2602 | <input type="radio" class="mdl-radio__button" name="options" value="3" disabled> |
| 2603 | <span class="mdl-radio__label">Third</span> |
| 2604 | </label> |
| 2605 | </div> |
| 2606 | |
| 2607 | <div class="mdl-cell mdl-cell--2-col"> |
| 2608 | <label class="mdl-icon-toggle mdl-js-icon-toggle mdl-js-ripple-effect"> |
| 2609 | <input type="checkbox" class="mdl-icon-toggle__input" checked> |
| 2610 | <i class="mdl-icon-toggle__label material-icons">format_bold</i> |
| 2611 | </label> |
| 2612 | </div> |
| 2613 | <div class="mdl-cell mdl-cell--2-col"> |
| 2614 | <label class="mdl-icon-toggle mdl-js-icon-toggle mdl-js-ripple-effect"> |
| 2615 | <input type="checkbox" class="mdl-icon-toggle__input"> |
| 2616 | <i class="mdl-icon-toggle__label material-icons">format_italic</i> |
| 2617 | </label> |
| 2618 | </div> |
| 2619 | <div class="mdl-cell mdl-cell--2-col"> |
| 2620 | <label class="mdl-icon-toggle mdl-js-icon-toggle mdl-js-ripple-effect"> |
| 2621 | <input type="checkbox" class="mdl-icon-toggle__input" disabled> |
| 2622 | <i class="mdl-icon-toggle__label material-icons">format_italic</i> |
| 2623 | </label> |
| 2624 | </div> |
| 2625 | |
| 2626 | <div class="mdl-cell mdl-cell--2-col"> |
| 2627 | <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect"> |
| 2628 | <input type="checkbox" class="mdl-switch__input" checked> |
| 2629 | <span class="mdl-switch__label"></span> |
| 2630 | </label> |
| 2631 | </div> |
| 2632 | <div class="mdl-cell mdl-cell--2-col"> |
| 2633 | <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect"> |
| 2634 | <input type="checkbox" class="mdl-switch__input"> |
| 2635 | <span class="mdl-switch__label"></span> |
| 2636 | </label> |
| 2637 | </div> |
| 2638 | <div class="mdl-cell mdl-cell--2-col"> |
| 2639 | <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect"> |
| 2640 | <input type="checkbox" class="mdl-switch__input" disabled> |
| 2641 | <span class="mdl-switch__label"></span> |
| 2642 | </label> |
| 2643 | </div> |
| 2644 | </div> |
| 2645 | </section> |
| 2646 | |
| 2647 | |
| 2648 | <!-- Sliders --> |
| 2649 | <section> |
| 2650 | <div class="mdl-grid demo-slider-grid"> |
| 2651 | <div class="mdl-cell mdl-cell--4-col mdl-cell--2-col-phone"> |
| 2652 | <!-- Default Slider --> |
| 2653 | <input class="mdl-slider mdl-js-slider" type="range" min="0" max="100" value="0"> |
| 2654 | </div> |
| 2655 | |
| 2656 | <div class="mdl-cell mdl-cell--4-col mdl-cell--2-col-phone"> |
| 2657 | <!-- Slider with Starting Value --> |
| 2658 | <input class="mdl-slider mdl-js-slider" type="range" min="0" max="100" value="25"> |
| 2659 | </div> |
| 2660 | </div> |
| 2661 | </section> |
| 2662 | |
| 2663 | |
| 2664 | <!-- Data table --> |
| 2665 | <section> |
| 2666 | <table class="mdl-data-table mdl-js-data-table mdl-data-table--selectable mdl-shadow--2dp"> |
| 2667 | <thead> |
| 2668 | <tr> |
| 2669 | <th class="mdl-data-table__cell--non-numeric">Materials</th> |
| 2670 | <th>Quantity</th> |
| 2671 | <th>Unit price</th> |
| 2672 | </tr> |
| 2673 | </thead> |
| 2674 | <tbody> |
| 2675 | <tr> |
| 2676 | <td class="mdl-data-table__cell--non-numeric">Acrylic (Transparent)</td> |
| 2677 | <td>25</td> |
| 2678 | <td>$2.90</td> |
| 2679 | </tr> |
| 2680 | <tr> |
| 2681 | <td class="mdl-data-table__cell--non-numeric">Plywood (Birch)</td> |
| 2682 | <td>50</td> |
| 2683 | <td>$1.25</td> |
| 2684 | </tr> |
| 2685 | <tr> |
| 2686 | <td class="mdl-data-table__cell--non-numeric">Laminate (Gold on Blue)</td> |
| 2687 | <td>10</td> |
| 2688 | <td>$2.35</td> |
| 2689 | </tr> |
| 2690 | </tbody> |
| 2691 | </table> |
| 2692 | </section> |
| 2693 | |
| 2694 | |
| 2695 | <!-- Menu --> |
| 2696 | <!-- |
| 2697 | <section> |
| 2698 | <div class="demo-menu demo-menu__lower-left"> |
| 2699 | <div class="demo-menu-container mdl-shadow--2dp mdl-color--primary-dark mdl-color-text--primary-contrast"> |
| 2700 | <div class="demo-menu-bar"> |
| 2701 | <button id="demo-menu-lower-left" class="mdl-button mdl-js-button mdl-button--icon"> |
| 2702 | <i class="material-icons">more_vert</i> |
| 2703 | </button> |
| 2704 | <ul class="mdl-menu mdl-menu--bottom-left mdl-js-menu mdl-js-ripple-effect" for="demo-menu-lower-left"> |
| 2705 | <li class="mdl-menu__item">Some Action</li> |
| 2706 | <li class="mdl-menu__item">Another Action</li> |
| 2707 | <li disabled class="mdl-menu__item">Disabled Action</li> |
| 2708 | <li class="mdl-menu__item">Yet Another Action</li> |
| 2709 | </ul> |
| 2710 | |
| 2711 | <span>Menu lower left</span> |
| 2712 | |
| 2713 | </div> |
| 2714 | <div class="demo-menu-background-light"></div> |
| 2715 | </div> |
| 2716 | </div> |
| 2717 | </section> |
| 2718 | --> |
| 2719 | |
| 2720 | <!-- Menu button --> |
| 2721 | <section style="padding-bottom:16px"> |
| 2722 | <h4>Menu button</h4> |
| 2723 | <button class="mdl-button mdl-button--raised mdl-js-ripple-effect mdl-js-button mdlext-js-menu-button"> |
| 2724 | <i class="material-icons">gesture</i> |
| 2725 | <span class="mdlext-menu-button__caption">Select</span> |
| 2726 | <i class="material-icons mdlext-aria-expanded-more-less"></i> |
| 2727 | </button> |
| 2728 | <ul class="mdlext-menu" hidden > |
| 2729 | <li class="mdlext-menu__item"> |
| 2730 | <i class="material-icons md-18">info</i> |
| 2731 | <span class="mdlext-menu__item__caption">Menu item #1</span> |
| 2732 | </li> |
| 2733 | <li class="mdlext-menu__item"> |
| 2734 | <i class="material-icons md-18">help_outline</i> |
| 2735 | <span class="mdlext-menu__item__caption">Menu item #2. A long text to check ellipsis overflow 0123456789</span> |
| 2736 | <i class="material-icons md-18">radio</i> |
| 2737 | </li> |
| 2738 | <li class="mdlext-menu__item-separator"></li> |
| 2739 | <li class="mdlext-menu__item" disabled> |
| 2740 | <span class="mdlext-menu__item__caption">Menu item #3, disabled</span> |
| 2741 | <i class="material-icons md-18">accessibility</i> |
| 2742 | </li> |
| 2743 | <li class="mdlext-menu__item-separator"></li> |
| 2744 | <li class="mdlext-menu__item"> |
| 2745 | <span class="mdlext-menu__item__caption">Menu item #IV</span> |
| 2746 | <i class="material-icons md-18">build</i> |
| 2747 | </li> |
| 2748 | <li class="mdlext-menu__item"> |
| 2749 | <span class="mdlext-menu__item__caption">Menu item #V</span> |
| 2750 | <i class="material-icons md-18">build</i> |
| 2751 | </li> |
| 2752 | <li class="mdlext-menu__item-separator"></li> |
| 2753 | <li class="mdlext-menu__item"> |
| 2754 | <span class="mdlext-menu__item__caption">Menu item #VI</span> |
| 2755 | <i class="material-icons md-18">build</i> |
| 2756 | </li> |
| 2757 | <li class="mdlext-menu__item"> |
| 2758 | <span class="mdlext-menu__item__caption">Menu item #VII</span> |
| 2759 | <i class="material-icons md-18">build</i> |
| 2760 | </li> |
| 2761 | <li class="mdlext-menu__item"> |
| 2762 | Menu item #n |
| 2763 | </li> |
| 2764 | </ul> |
| 2765 | </section> |
| 2766 | |
| 2767 | </div> |
| 2768 | |
| 2769 | |