u2ui 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.htaccess +7 -0
- package/LICENSE +21 -0
- package/README.md +36 -0
- package/attr/behavior/README.md +25 -0
- package/attr/behavior/behavior.js +261 -0
- package/attr/behavior/manifest.json +43 -0
- package/attr/behavior/tests/minimal.html +19 -0
- package/attr/behavior/tests/test.html +98 -0
- package/attr/confirm/README.md +36 -0
- package/attr/confirm/confirm.js +90 -0
- package/attr/confirm/manifest.json +43 -0
- package/attr/confirm/tests/minimal.html +23 -0
- package/attr/confirm/tests/test.html +79 -0
- package/attr/draghandle/README.md +41 -0
- package/attr/draghandle/draghandle.js +42 -0
- package/attr/draghandle/tests/minimal.html +44 -0
- package/attr/focusgroup/README.md +49 -0
- package/attr/focusgroup/focusgroup.js +100 -0
- package/attr/focusgroup/manifest.json +38 -0
- package/attr/focusgroup/tests/minimal.html +27 -0
- package/attr/focusgroup/tests/test.html +154 -0
- package/attr/href/README.md +38 -0
- package/attr/href/href.js +42 -0
- package/attr/href/manifest.json +43 -0
- package/attr/href/tests/minimal.html +17 -0
- package/attr/href/tests/test.html +70 -0
- package/attr/intersect/README.md +42 -0
- package/attr/intersect/intersect.js +99 -0
- package/attr/intersect/manifest.json +57 -0
- package/attr/intersect/tests/minimal.html +30 -0
- package/attr/intersect/tests/test.html +64 -0
- package/attr/navigable/README.md +31 -0
- package/attr/navigable/TargetObserver.js +91 -0
- package/attr/navigable/U2TargetObserver.js +75 -0
- package/attr/navigable/manifest.json +42 -0
- package/attr/navigable/navigable.js +87 -0
- package/attr/navigable/tests/U1TargetObserver.html +56 -0
- package/attr/navigable/tests/minimal.html +17 -0
- package/attr/navigable/tests/targetObserver.html +106 -0
- package/attr/navigable/tests/test.html +84 -0
- package/attr/parallax/README.md +48 -0
- package/attr/parallax/parallax.js +119 -0
- package/attr/parallax/tests/minimal.html +25 -0
- package/attr/parallax/tests/performance.html +102 -0
- package/attr/parallax/tests/test.html +108 -0
- package/attr/skin/README.md +59 -0
- package/attr/skin/skin.css +51 -0
- package/attr/skin/tests/minimal.html +34 -0
- package/attr/skin/tests/test.html +96 -0
- package/class/badge/README.md +25 -0
- package/class/badge/badge.css +35 -0
- package/class/badge/tests/minimal.html +17 -0
- package/class/badge/tests/test.html +112 -0
- package/class/card1/README.md +45 -0
- package/class/card1/card1.css +30 -0
- package/class/card1/tests/minimal.html +33 -0
- package/class/card1/tests/test.html +78 -0
- package/class/flex/README.md +62 -0
- package/class/flex/flex.css +25 -0
- package/class/flex/tests/minimal.html +31 -0
- package/class/flex/tests/test.html +58 -0
- package/class/grid/README.md +52 -0
- package/class/grid/grid.css +40 -0
- package/class/grid/tests/minimal.html +34 -0
- package/class/grid/tests/test.html +78 -0
- package/class/input/README.md +49 -0
- package/class/input/input.css +33 -0
- package/class/input/tests/minimal.html +39 -0
- package/class/input/tests/test.html +29 -0
- package/class/reset/README.md +47 -0
- package/class/reset/reset.css +8 -0
- package/class/reset/tests/minimal.html +23 -0
- package/class/table/README.md +57 -0
- package/class/table/table.css +126 -0
- package/class/table/tests/minimal.html +40 -0
- package/class/table/tests/test.html +226 -0
- package/class/unstyle/README.md +32 -0
- package/class/unstyle/tests/minimal.html +22 -0
- package/class/unstyle/tests/test.html +32 -0
- package/class/unstyle/unstyle.css +12 -0
- package/class/width/README.md +48 -0
- package/class/width/tests/minimal.html +27 -0
- package/class/width/tests/test.html +101 -0
- package/class/width/width.css +22 -0
- package/css/base/README.md +25 -0
- package/css/base/base.css +127 -0
- package/css/base/beta.css +50 -0
- package/css/base/full.css +5 -0
- package/css/base/nomotion.css +9 -0
- package/css/base/print.css +36 -0
- package/css/base/tests/nomotion.html +89 -0
- package/css/base/tests/test.html +539 -0
- package/css/classes/README.md +17 -0
- package/css/classes/classes.css +78 -0
- package/css/classes/tests/test.html +63 -0
- package/css/classless/README.md +26 -0
- package/css/classless/aria.css +64 -0
- package/css/classless/classless.css +124 -0
- package/css/classless/full.css +11 -0
- package/css/classless/more.css +340 -0
- package/css/classless/simple.css +103 -0
- package/css/classless/snippeds/a/icons.css +12 -0
- package/css/classless/snippeds/experiments/conventions.css +41 -0
- package/css/classless/snippeds/hr/gradient.css +3 -0
- package/css/classless/snippeds/hr/section_sign.css +16 -0
- package/css/classless/snippeds/hr/tests.html +50 -0
- package/css/classless/tests/aria.html +101 -0
- package/css/classless/tests/foreign/classless-almond.css.html +445 -0
- package/css/classless/tests/foreign/classless-classless.css.html +831 -0
- package/css/classless/tests/foreign/classless-mvp.html +415 -0
- package/css/classless/tests/foreign/classless.sakura.html +224 -0
- package/css/classless/tests/foreign/stylestage.dev.html +304 -0
- package/css/classless/tests/foreign/test-homogenizer.html +433 -0
- package/css/classless/tests/foreign/test-html5-elements-tester.html +956 -0
- package/css/classless/tests/foreign/test-opinionated_css.html +148 -0
- package/css/classless/tests/list-bullet.html +110 -0
- package/css/classless/tests/more.html +246 -0
- package/css/classless/tests/oklch.experiments.html +280 -0
- package/css/classless/tests/test.html +106 -0
- package/css/classless/tests/variables.html +109 -0
- package/css/classless/variables.css +99 -0
- package/css/norm/README.md +37 -0
- package/css/norm/beta.css +40 -0
- package/css/norm/norm.css +98 -0
- package/css/norm/oldies.css +60 -0
- package/css/norm/tests/test.html +434 -0
- package/css/norm/tests/test.js +103 -0
- package/el/accordion/README.md +59 -0
- package/el/accordion/accordion.css +7 -0
- package/el/accordion/accordion.js +258 -0
- package/el/accordion/manifest.json +57 -0
- package/el/accordion/tests/minimal.html +44 -0
- package/el/accordion/tests/test.html +168 -0
- package/el/alert/README.md +67 -0
- package/el/alert/alert copy.js +224 -0
- package/el/alert/alert.css +73 -0
- package/el/alert/alert.js +187 -0
- package/el/alert/manifest.json +77 -0
- package/el/alert/tests/minimal.html +36 -0
- package/el/alert/tests/test.html +105 -0
- package/el/buttongroup/README.md +36 -0
- package/el/buttongroup/buttongroup.css +30 -0
- package/el/buttongroup/buttongroup.js +56 -0
- package/el/buttongroup/tests/minimal.html +31 -0
- package/el/buttongroup/tests/test.html +83 -0
- package/el/bytes/README.md +41 -0
- package/el/bytes/bytes.css +6 -0
- package/el/bytes/bytes.js +97 -0
- package/el/bytes/manifest.json +95 -0
- package/el/bytes/tests/minimal.html +19 -0
- package/el/bytes/tests/test.html +117 -0
- package/el/carousel/README.md +52 -0
- package/el/carousel/carousel.css +46 -0
- package/el/carousel/carousel.js +371 -0
- package/el/carousel/manifest.json +58 -0
- package/el/carousel/tests/experiments.html +77 -0
- package/el/carousel/tests/minimal.html +31 -0
- package/el/carousel/tests/nested.html +54 -0
- package/el/carousel/tests/test.html +136 -0
- package/el/carousel-nav/README.md +40 -0
- package/el/carousel-nav/carousel-nav.js +74 -0
- package/el/carousel-nav/tests/minimal.html +32 -0
- package/el/carousel-nav/tests/test.html +59 -0
- package/el/code/README.md +68 -0
- package/el/code/code.css +46 -0
- package/el/code/code.js +289 -0
- package/el/code/manifest.json +66 -0
- package/el/code/tests/minimal.html +35 -0
- package/el/code/tests/test.html +162 -0
- package/el/copy/README.md +35 -0
- package/el/copy/copy.css +3 -0
- package/el/copy/copy.js +118 -0
- package/el/copy/manifest.json +49 -0
- package/el/copy/tests/minimal.html +21 -0
- package/el/copy/tests/test.html +75 -0
- package/el/counter/README.md +47 -0
- package/el/counter/counter.css +8 -0
- package/el/counter/counter.js +95 -0
- package/el/counter/manifest.json +59 -0
- package/el/counter/tests/minimal.html +27 -0
- package/el/counter/tests/test.html +106 -0
- package/el/ico/README.md +162 -0
- package/el/ico/font/Font Awesome.css +22 -0
- package/el/ico/font/LigatureSymbols.css +7 -0
- package/el/ico/font/Material Icons.css +6 -0
- package/el/ico/font/RemixFilled.css +8 -0
- package/el/ico/font/RemixOutlined.css +8 -0
- package/el/ico/font/old/anicons.css +31 -0
- package/el/ico/font/old/devicons.css +210 -0
- package/el/ico/font/old/material.all.css +36 -0
- package/el/ico/font/old/remix.css +15 -0
- package/el/ico/font/old/utf8.css +54 -0
- package/el/ico/ico.css +111 -0
- package/el/ico/ico.js +189 -0
- package/el/ico/manifest.json +86 -0
- package/el/ico/tests/combinations.html +86 -0
- package/el/ico/tests/emojis.html +213 -0
- package/el/ico/tests/fonts.html +110 -0
- package/el/ico/tests/ico-directory.html +254 -0
- package/el/ico/tests/minimal.html +46 -0
- package/el/ico/tests/test.html +210 -0
- package/el/ico/tests/util-multi.svg +6 -0
- package/el/ico/tests/util.css +2 -0
- package/el/ico/tests/util.js +110 -0
- package/el/input/README.md +39 -0
- package/el/input/input.css +35 -0
- package/el/input/input.js +331 -0
- package/el/input/tests/formParticipation.html +113 -0
- package/el/input/tests/minimal.html +33 -0
- package/el/input/tests/test.html +258 -0
- package/el/masonry/README.md +51 -0
- package/el/masonry/manifest.json +60 -0
- package/el/masonry/masonry.css +27 -0
- package/el/masonry/masonry.js +92 -0
- package/el/masonry/tests/minimal.html +39 -0
- package/el/masonry/tests/test.html +42 -0
- package/el/number/README.md +47 -0
- package/el/number/manifest.json +121 -0
- package/el/number/number.css +6 -0
- package/el/number/number.js +67 -0
- package/el/number/tests/minimal.html +25 -0
- package/el/number/tests/test.html +138 -0
- package/el/out/README.md +32 -0
- package/el/out/manifest.json +38 -0
- package/el/out/out.css +2 -0
- package/el/out/out.js +59 -0
- package/el/out/tests/minimal.html +25 -0
- package/el/out/tests/test.html +37 -0
- package/el/parallax-bg/README.md +36 -0
- package/el/parallax-bg/parallax-bg.css +13 -0
- package/el/parallax-bg/parallax-bg.js +186 -0
- package/el/parallax-bg/tests/bg.jpg +0 -0
- package/el/parallax-bg/tests/bg1.jpg +0 -0
- package/el/parallax-bg/tests/bg2.jpg +0 -0
- package/el/parallax-bg/tests/demo.html +88 -0
- package/el/parallax-bg/tests/minimal.html +30 -0
- package/el/parallax-bg/tests/test.html +64 -0
- package/el/parallax-bg/tests/visible.html +90 -0
- package/el/qrcode/README.md +38 -0
- package/el/qrcode/manifest.json +43 -0
- package/el/qrcode/package.json +22 -0
- package/el/qrcode/qrcode.css +13 -0
- package/el/qrcode/qrcode.js +46 -0
- package/el/qrcode/tests/minimal.html +26 -0
- package/el/qrcode/tests/test.html +31 -0
- package/el/rating/README.md +45 -0
- package/el/rating/manifest.json +65 -0
- package/el/rating/rating.css +11 -0
- package/el/rating/rating.js +139 -0
- package/el/rating/tests/minimal.html +26 -0
- package/el/rating/tests/tests.html +77 -0
- package/el/rte/README.md +37 -0
- package/el/rte/rte.css +9 -0
- package/el/rte/rte.js +56 -0
- package/el/rte/tests/minimal.html +25 -0
- package/el/rte/tests/test.html +37 -0
- package/el/skeleton/README.md +30 -0
- package/el/skeleton/manifest.json +51 -0
- package/el/skeleton/skeleton.css +61 -0
- package/el/skeleton/skeleton.js +72 -0
- package/el/skeleton/tests/minimal.html +22 -0
- package/el/skeleton/tests/test.html +22 -0
- package/el/splitbutton/README.md +39 -0
- package/el/splitbutton/splitbutton.css +48 -0
- package/el/splitbutton/splitbutton.js +26 -0
- package/el/splitbutton/tests/minimal.html +30 -0
- package/el/splitbutton/tests/test.html +68 -0
- package/el/splitpanel/README.md +39 -0
- package/el/splitpanel/manifest.json +49 -0
- package/el/splitpanel/splitpanel.css +17 -0
- package/el/splitpanel/splitpanel.js +116 -0
- package/el/splitpanel/tests/minimal.html +31 -0
- package/el/splitpanel/tests/tests.html +121 -0
- package/el/table/README.md +68 -0
- package/el/table/manifest.json +43 -0
- package/el/table/table.css +59 -0
- package/el/table/table.js +194 -0
- package/el/table/tests/minimal.html +38 -0
- package/el/table/tests/test.html +108 -0
- package/el/tabs/README.md +50 -0
- package/el/tabs/manifest.json +59 -0
- package/el/tabs/tabs.css +23 -0
- package/el/tabs/tabs.js +210 -0
- package/el/tabs/tests/minimal.html +35 -0
- package/el/tabs/tests/test.html +180 -0
- package/el/textfit/README.md +34 -0
- package/el/textfit/manifest.json +45 -0
- package/el/textfit/tests/minimal.html +25 -0
- package/el/textfit/tests/test.html +26 -0
- package/el/textfit/textfit.css +6 -0
- package/el/textfit/textfit.js +80 -0
- package/el/time/README.md +72 -0
- package/el/time/manifest.json +118 -0
- package/el/time/tests/minimal.html +19 -0
- package/el/time/tests/test.html +160 -0
- package/el/time/time copy.js +141 -0
- package/el/time/time.js +168 -0
- package/el/time/time.old.uhtml.js +129 -0
- package/el/tooltip/README.md +48 -0
- package/el/tooltip/manifest.json +69 -0
- package/el/tooltip/tests/minimal.html +25 -0
- package/el/tooltip/tests/test.html +178 -0
- package/el/tooltip/tooltip.css +97 -0
- package/el/tooltip/tooltip.js +82 -0
- package/el/tree1/README.md +111 -0
- package/el/tree1/manifest.json +78 -0
- package/el/tree1/tests/animated.html +134 -0
- package/el/tree1/tests/custom.html +51 -0
- package/el/tree1/tests/minimal.html +44 -0
- package/el/tree1/tests/test.html +260 -0
- package/el/tree1/tree1.css +26 -0
- package/el/tree1/tree1.js +265 -0
- package/el/typewriter/README.md +62 -0
- package/el/typewriter/manifest.json +66 -0
- package/el/typewriter/tests/minimal.html +25 -0
- package/el/typewriter/tests/test.html +78 -0
- package/el/typewriter/typewriter.css +6 -0
- package/el/typewriter/typewriter.js +166 -0
- package/el/typewriter/typewriter.mp3 +0 -0
- package/js/Placer/Placer.js +156 -0
- package/js/Placer/README.md +62 -0
- package/js/Placer/tests/minimal.html +34 -0
- package/js/Placer/tests/test.html +49 -0
- package/js/PointerObserver/PointerObserver.js +130 -0
- package/js/PointerObserver/README.md +34 -0
- package/js/PointerObserver/tests/minimal.html +29 -0
- package/js/PointerObserver/tests/test.html +35 -0
- package/js/SelectorObserver/README.md +47 -0
- package/js/SelectorObserver/SelectorObserver.js +201 -0
- package/js/SelectorObserver/tests/minimal.html +21 -0
- package/js/SelectorObserver/tests/test.html +57 -0
- package/js/SelectorObserver/tests/tests.html +161 -0
- package/js/contextmenu/README.md +93 -0
- package/js/contextmenu/contextmenu.js +336 -0
- package/js/contextmenu/tests/minimal.html +44 -0
- package/js/contextmenu/tests/test.html +131 -0
- package/js/dialog/README.md +49 -0
- package/js/dialog/dialog.js +261 -0
- package/js/dialog/notification.mp3 +0 -0
- package/js/dialog/tests/minimal.html +29 -0
- package/js/dialog/tests/notification.mp3 +0 -0
- package/js/dialog/tests/test.html +135 -0
- package/js/rte/README.md +44 -0
- package/js/rte/old/NodeCleaner.js +315 -0
- package/js/rte/old/Rte/Rte.mjs +316 -0
- package/js/rte/old/Rte/Rte.ui.items.mjs +543 -0
- package/js/rte/old/Rte/Rte.ui.mjs +154 -0
- package/js/rte/old/Rte/crossbrowser.mjs +323 -0
- package/js/rte/old/Rte/font/tinymce.svg +98 -0
- package/js/rte/old/Rte/font/tinymce.woff +0 -0
- package/js/rte/old/Rte/helpers.mjs +159 -0
- package/js/rte/old/Rte/htmlparser.mjs +178 -0
- package/js/rte/old/Rte/index.mjs +5 -0
- package/js/rte/old/Rte/main.css +189 -0
- package/js/rte/old/old.rte.js +132 -0
- package/js/rte/old/range-selection.old.js +394 -0
- package/js/rte/rte.js +7 -0
- package/js/rte/src/behavior.js +228 -0
- package/js/rte/src/events.js +73 -0
- package/js/rte/src/fixes.js +251 -0
- package/js/rte/src/range.js +472 -0
- package/js/rte/src/rte.js +72 -0
- package/js/rte/src/ui/items/ai.js +167 -0
- package/js/rte/src/ui/items/code.js +93 -0
- package/js/rte/src/ui/items/undo.js +183 -0
- package/js/rte/src/ui.items.js +571 -0
- package/js/rte/src/ui.js +269 -0
- package/js/rte/src/util/htmlparser.js +178 -0
- package/js/rte/src/util/indentHtml.js +48 -0
- package/js/rte/tests/ai.html +81 -0
- package/js/rte/tests/behavior.html +88 -0
- package/js/rte/tests/events.html +69 -0
- package/js/rte/tests/fixes.html +95 -0
- package/js/rte/tests/minimal.html +34 -0
- package/js/rte/tests/notes.md +6 -0
- package/js/rte/tests/range.html +167 -0
- package/js/rte/tests/selection-explorer.html +222 -0
- package/js/rte/tests/test.html +92 -0
- package/js/shortcut/README.md +33 -0
- package/js/shortcut/shortcut.js +89 -0
- package/js/shortcut/tests/minimal.html +23 -0
- package/js/shortcut/tests/test.html +68 -0
- package/package.json +12 -0
- package/u2/README.md +4 -0
- package/u2/auto.js +161 -0
- package/u2/auto.ui.js +85 -0
- package/u2/experiments/Waiter/test.html +132 -0
- package/u2/experiments/getElementByIdPromise/test.html +76 -0
- package/u2/experiments/patchInputValue.html +124 -0
- package/u2/experiments/radiobutton/test.html +75 -0
- package/u2/experiments/tests/test.html +223 -0
- package/u2/experiments/u1-responsive/responsive.js +62 -0
- package/u2/experiments/u1-responsive/test.html +65 -0
- package/u2/experiments/u2Element.js +139 -0
- package/u2/experiments/u2Element.test.html +47 -0
- package/u2/old-stuff/IterableWeakMap/mod.js +70 -0
- package/u2/old-stuff/css/onStyleSheet/mod.js +114 -0
- package/u2/old-stuff/css/onStyleSheet/monkeypatches.js +28 -0
- package/u2/old-stuff/css/onStyleSheet/test/include.css +19 -0
- package/u2/old-stuff/css/onStyleSheet/test/style-has-include.css +6 -0
- package/u2/old-stuff/css/onStyleSheet/test/style-no-include.css +3 -0
- package/u2/old-stuff/css/onStyleSheet/test/test.html +48 -0
- package/u2/old-stuff/css/parser/mod.js +182 -0
- package/u2/old-stuff/css/parser/parser_old/mod.js +128 -0
- package/u2/old-stuff/css/parser/parser_old/test.html +43 -0
- package/u2/old-stuff/css/parser/parser_old/util.js +22 -0
- package/u2/old-stuff/css/parser/style.html +52 -0
- package/u2/old-stuff/css/parser/test.html +38 -0
- package/u2/old-stuff/el/ai-texter/README.md +23 -0
- package/u2/old-stuff/el/ai-texter/ai-texter.css +12 -0
- package/u2/old-stuff/el/ai-texter/ai-texter.js +153 -0
- package/u2/old-stuff/el/ai-texter/tests/minimal.html +47 -0
- package/u2/old-stuff/el/ai-texter/tests/test.html +71 -0
- package/u2/old-stuff/init.js +38 -0
- package/u2/old-stuff/markHashLinks.js +51 -0
- package/u2/old-stuff/onElement/mod.js +73 -0
- package/u2/old-stuff/test-helpers/mod.js +36 -0
- package/u2/old-stuff/test-helpers/test.html +4 -0
- package/u2/old-stuff/tests/init.js.html +51 -0
- package/u2/old-stuff/viewport.js +64 -0
- package/u2/projects.json +468 -0
- package/u2/tests/boilerplate.html +46 -0
- package/u2/tests/kacheln.html +245 -0
- package/u2/tests/showcase.html +270 -0
- package/u2/tests/showcase2.html +157 -0
- package/u2/tests/test-init.js +35 -0
- package/u2/tests/test.html +355 -0
- package/u2/tools/baseElement.js +95 -0
- package/u2/tools/baseElement.test.html +119 -0
- package/u2/tools/ce-inspector.js +308 -0
- package/u2/tools/ce-inspector.test.html +66 -0
- package/u2/tools/ce-manfest-from-element.js +207 -0
- package/u2/tools/dev-iframe.js +213 -0
- package/u2/tools/dev-iframe.test.html +75 -0
- package/u2/tools/eventsExplorer.js +101 -0
- package/u2/tools/logo/u1.svg +9 -0
- package/u2/tools/logo/u1ui.svg +6 -0
- package/u2/tools/update.repos.json.js +234 -0
- package/u2/u2.js +14 -0
- package/u2/utils.js +59 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* header nav */
|
|
2
|
+
[role=banner] nav > ul { display: flex; }
|
|
3
|
+
[role=banner] nav > ul > li { flex: 1 1 auto; }
|
|
4
|
+
[role=banner] nav > ul > li > a { text-align: center; }
|
|
5
|
+
[role=banner] nav ul { padding: 0; }
|
|
6
|
+
[role=banner] nav li { position: relative; }
|
|
7
|
+
[role=banner] nav a {
|
|
8
|
+
padding: .5em 1em;
|
|
9
|
+
display: block;
|
|
10
|
+
}
|
|
11
|
+
[role=banner] nav li > ul {
|
|
12
|
+
position: absolute;
|
|
13
|
+
top: 100%;
|
|
14
|
+
left: 0;
|
|
15
|
+
z-index: 1;
|
|
16
|
+
min-width: 100%;
|
|
17
|
+
white-space: nowrap;
|
|
18
|
+
transition-duration: .4s;
|
|
19
|
+
visibility: hidden;
|
|
20
|
+
opacity: 0;
|
|
21
|
+
}
|
|
22
|
+
[role=banner] nav li:hover > ul ,
|
|
23
|
+
[role=banner] nav li:focus-within > ul {
|
|
24
|
+
visibility: visible;
|
|
25
|
+
opacity: 1;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* customize */
|
|
29
|
+
[role=banner] nav li > ul {
|
|
30
|
+
background-color: rgba(255,255,255,.9);
|
|
31
|
+
color: var(--color-text);
|
|
32
|
+
-webkit-backdrop-filter: blur(3px);
|
|
33
|
+
backdrop-filter: blur(3px);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[role=banner] nav li > ul a.cmsActive,
|
|
37
|
+
[role=banner] nav li > ul a:hover,
|
|
38
|
+
[role=banner] nav li > ul a:focus-within {
|
|
39
|
+
background-color: var(--color);
|
|
40
|
+
color: #fff;
|
|
41
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
hr {
|
|
2
|
+
border: 0;
|
|
3
|
+
border-bottom: 3px double;
|
|
4
|
+
text-align: center;
|
|
5
|
+
position:relative;
|
|
6
|
+
overflow: visible;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
hr::after {
|
|
10
|
+
background:var(--color-bg);
|
|
11
|
+
content: '§';
|
|
12
|
+
padding: 0 .5em;
|
|
13
|
+
position: absolute;
|
|
14
|
+
bottom:-0.5em;
|
|
15
|
+
line-height:1;
|
|
16
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<title>Level.css TEST</title>
|
|
6
|
+
<meta name="viewport" content="width=device-width">
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
<script src="../../../js/init.js" type=module crossorigin></script>
|
|
11
|
+
<link rel=stylesheet href="../../../css/base/full.css" crossorigin>
|
|
12
|
+
|
|
13
|
+
<link rel="stylesheet" href="../../variables.css">
|
|
14
|
+
<link rel="stylesheet" href="../../classless.css">
|
|
15
|
+
<link rel="stylesheet" href="../../more.css">
|
|
16
|
+
<link rel="stylesheet" href="../../simple.css">
|
|
17
|
+
|
|
18
|
+
<body>
|
|
19
|
+
|
|
20
|
+
<div class=links>
|
|
21
|
+
<link rel="stylesheet" href="none">
|
|
22
|
+
<link rel="stylesheet" href="./section_sign.css">
|
|
23
|
+
<link rel="stylesheet" href="./gradient.css">
|
|
24
|
+
</div>
|
|
25
|
+
|
|
26
|
+
<h1>HR Snippeds Demo</h1>
|
|
27
|
+
<fieldset id=selectEl>
|
|
28
|
+
<legend>Choose Stylesheet</legend>
|
|
29
|
+
</fieldset>
|
|
30
|
+
|
|
31
|
+
<script>
|
|
32
|
+
let links = document.querySelectorAll('.links > link')
|
|
33
|
+
links.forEach(link=>{
|
|
34
|
+
var label = document.createElement('label');
|
|
35
|
+
label.innerHTML += '<input type=radio name=x> ' + link.getAttribute('href') + '<br>';
|
|
36
|
+
label._link = link;
|
|
37
|
+
selectEl.append(label)
|
|
38
|
+
});
|
|
39
|
+
selectEl.addEventListener('change', e=>{
|
|
40
|
+
links.forEach(link=>link.rel='x');
|
|
41
|
+
console.log(e.target)
|
|
42
|
+
e.target.closest('label')._link.rel = 'stylesheet';
|
|
43
|
+
})
|
|
44
|
+
</script>
|
|
45
|
+
|
|
46
|
+
<style contenteditable style="display:block;">hr { color:var(--color-line) }</style>
|
|
47
|
+
|
|
48
|
+
<p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Tenetur voluptas tempore qui hic ab dignissimos pariatur voluptatem dolorem rem et minus natus, libero animi! Sunt atque corporis illo architecto sit!</p>
|
|
49
|
+
<hr>
|
|
50
|
+
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Similique obcaecati quis vitae sunt impedit, minus asperiores ipsum sapiente repellendus id nam earum atque repellat aperiam, laudantium saepe eius? Laudantium, tempore?
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<title>Level.css TEST</title>
|
|
6
|
+
<script src="./test.js" type=module async></script>
|
|
7
|
+
|
|
8
|
+
<link rel="stylesheet" href="../../norm.css/oldies.css" disabled>
|
|
9
|
+
<link rel="stylesheet" href="../../css/norm/norm.css">
|
|
10
|
+
<link rel="stylesheet" href="../../../css/base/base.css">
|
|
11
|
+
<link rel="stylesheet" href="../../../css/base/nomotion.css" disabled>
|
|
12
|
+
<link rel="stylesheet" href="../../../css/base/print.css" disabled>
|
|
13
|
+
|
|
14
|
+
<link rel="stylesheet" href="../variables.css">
|
|
15
|
+
<link rel="stylesheet" href="../classless.css">
|
|
16
|
+
<link rel="stylesheet" href="../more.css">
|
|
17
|
+
<link rel="stylesheet" href="../aria.css">
|
|
18
|
+
|
|
19
|
+
<style>
|
|
20
|
+
body {
|
|
21
|
+
padding:2rem;
|
|
22
|
+
display: grid;
|
|
23
|
+
gap:1rem;
|
|
24
|
+
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
|
|
25
|
+
}
|
|
26
|
+
body > * {
|
|
27
|
+
padding:1rem;
|
|
28
|
+
background:var(--color-area);
|
|
29
|
+
}
|
|
30
|
+
</style>
|
|
31
|
+
|
|
32
|
+
</head>
|
|
33
|
+
|
|
34
|
+
<body>
|
|
35
|
+
|
|
36
|
+
<section>
|
|
37
|
+
<h1>[aria-label]</h1>
|
|
38
|
+
|
|
39
|
+
<button aria-label="Use all the advantages of registration">
|
|
40
|
+
Register
|
|
41
|
+
</button>
|
|
42
|
+
|
|
43
|
+
<button aria-label="Close">x</button>
|
|
44
|
+
|
|
45
|
+
<p>Dont use aria-label on input/textarea elements directly, use the label element</p>
|
|
46
|
+
|
|
47
|
+
<label aria-label="Chick this!" style="display:block;">
|
|
48
|
+
<input type=checkbox>
|
|
49
|
+
</label>
|
|
50
|
+
|
|
51
|
+
<label aria-label="Write something" style="display:block;">
|
|
52
|
+
<textarea>Lorem Ipsum..</textarea>
|
|
53
|
+
</label>
|
|
54
|
+
|
|
55
|
+
<nav>
|
|
56
|
+
<ul>
|
|
57
|
+
<li><a href="#" aria-label="Go home">Home</a>
|
|
58
|
+
<li><a href="#" aria-label="About our Products">Products</a>
|
|
59
|
+
<li><a href="#" aria-label="Make money by getting a Reseller">Resseller</a>
|
|
60
|
+
</ul>
|
|
61
|
+
</label>
|
|
62
|
+
|
|
63
|
+
</section>
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
<section>
|
|
68
|
+
<h1>Tabs</h1>
|
|
69
|
+
<p>[aria-tablist], [role=tab], [role=tabpanel]</p>
|
|
70
|
+
<div class=tabs>
|
|
71
|
+
<div role=tablist aria-label="Sample Tabs">
|
|
72
|
+
<button role=tab aria-selected=true aria-controls="panel-1" id="tab-1" js-will-do-tabindex="0">First Tab</button>
|
|
73
|
+
<button role=tab aria-selected=false aria-controls="panel-2" id="tab-2" js-will-do-tabindex="-1">Second Tab</button>
|
|
74
|
+
<button role=tab aria-selected=false aria-controls="panel-3" id="tab-3" js-will-do-tabindex="-1">Third Tab</button>
|
|
75
|
+
</div>
|
|
76
|
+
<div id="panel-1" role=tabpanel tabindex="0" js-will-do-aria-labelledby="tab-1">
|
|
77
|
+
<p>Content for the first panel</p>
|
|
78
|
+
</div>
|
|
79
|
+
<div id="panel-2" role=tabpanel tabindex="0" js-will-do-aria-labelledby="tab-2" js-will-do-hidden>
|
|
80
|
+
<p>Content for the second panel</p>
|
|
81
|
+
</div>
|
|
82
|
+
<div id="panel-3" role=tabpanel tabindex="0" js-will-do-aria-labelledby="tab-3" js-will-do-hidden>
|
|
83
|
+
<p>Content for the third panel</p>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
|
|
87
|
+
<h3>tablist-overflows</h3>
|
|
88
|
+
<div class=tabs>
|
|
89
|
+
<div role=tablist aria-label="Sample Tabs">
|
|
90
|
+
<button role=tab aria-selected=true aria-controls="panel-1" id="tab-1" tabindex="0">First Tab</button>
|
|
91
|
+
<button role=tab aria-selected=false aria-controls="panel-2" id="tab-2" tabindex="-1">Second Tab</button>
|
|
92
|
+
<button role=tab aria-selected=false aria-controls="panel-3" id="tab-3" tabindex="-1">Third Tab</button>
|
|
93
|
+
<button role=tab aria-selected=false aria-controls="panel-4" id="tab-4" tabindex="-1">Third Tab</button>
|
|
94
|
+
<button role=tab aria-selected=false aria-controls="panel-5" id="tab-5" tabindex="-1">Third Tab</button>
|
|
95
|
+
<button role=tab aria-selected=false aria-controls="panel-6" id="tab-6" tabindex="-1">Third Tab</button>
|
|
96
|
+
</div>
|
|
97
|
+
<div id="panel-1" role=tabpanel tabindex="0" aria-labelledby="tab-1">
|
|
98
|
+
<p>Content for the first panel</p>
|
|
99
|
+
</div>
|
|
100
|
+
</div>
|
|
101
|
+
</section>
|
|
@@ -0,0 +1,445 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<title>Almond.CSS Demo</title>
|
|
5
|
+
<meta charset="UTF-8" />
|
|
6
|
+
<meta name="author" content="Alvaro Montoro (alvaromontoro@gmail.com)" />
|
|
7
|
+
<meta name="keywords" content="AlMonD.CSS,demo,classless,styles" />
|
|
8
|
+
<meta name="description" content="Demo page for AlMonD.CSS" />
|
|
9
|
+
|
|
10
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
11
|
+
<script src="./../test.js" type=module async></script>
|
|
12
|
+
|
|
13
|
+
<link rel="stylesheet" href="../../../css/norm/norm.css">
|
|
14
|
+
<link rel="stylesheet" href="../../../norm.css/beta.css">
|
|
15
|
+
<link rel="stylesheet" href="../../../css/base/base.css">
|
|
16
|
+
<link rel="stylesheet" href="../../../base.css/beta.css">
|
|
17
|
+
<link rel="stylesheet" href="../../../base.css/print.css" disabled>
|
|
18
|
+
<link rel="stylesheet" href="../../../base.css/nomotion.css" disabled>
|
|
19
|
+
<link rel="stylesheet" href="../../../css/classless/variables.css">
|
|
20
|
+
<link rel="stylesheet" href="../../../css/classless/classless.css">
|
|
21
|
+
<link rel="stylesheet" href="../../../css/classless/more.css">
|
|
22
|
+
<link rel="stylesheet" href="../../../css/classless/aria.css">
|
|
23
|
+
<link rel="stylesheet" href="../../../css/classless/simple.css">
|
|
24
|
+
|
|
25
|
+
<link rel="stylesheet" href="../../../classless.css/themes/elegant.css">
|
|
26
|
+
<link rel="stylesheet" href="../../../classless.css/themes/brutalist.css" disabled>
|
|
27
|
+
<link rel="stylesheet" href="../../../classless.css/themes/lascaux.css" disabled>
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
</head>
|
|
31
|
+
<body>
|
|
32
|
+
|
|
33
|
+
<a href="https://alvaromontoro.github.io/almond.css/" target=_blank>Original alvaromontoro.github.io/almond.css/</a>
|
|
34
|
+
<header>
|
|
35
|
+
<h1>Almond.CSS</h1>
|
|
36
|
+
<p>Almond.CSS is a collection of CSS styles to make simple websites look nicer and better.</p>
|
|
37
|
+
<p>
|
|
38
|
+
On this demo page, we will go through the main components from this lightweight CSS library.
|
|
39
|
+
Then we will also add the extended classed styles.
|
|
40
|
+
</p>
|
|
41
|
+
</header>
|
|
42
|
+
<main>
|
|
43
|
+
<section class="section">
|
|
44
|
+
<h2>Typography</h2>
|
|
45
|
+
<section class="section">
|
|
46
|
+
<h3>Block and Inline Elements</h3>
|
|
47
|
+
<p>
|
|
48
|
+
Paragraph. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent placerat
|
|
49
|
+
velit lorem, feugiat congue lacus laoreet quis. Praesent maximus ex nec justo iaculis,
|
|
50
|
+
in euismod eros dictum. Cras ac lorem sit amet purus malesuada blandit. Mauris gravida
|
|
51
|
+
augue non urna sodales porttitor. Etiam ullamcorper luctus ullamcorper. In lobortis
|
|
52
|
+
consequat ante.
|
|
53
|
+
</p>
|
|
54
|
+
<p>
|
|
55
|
+
This is a paragraph with multiple inline elements. The <span>span</span> is not styled,
|
|
56
|
+
but you may have <a href="#">some links with the a tag</a>; also you can
|
|
57
|
+
<em>add emphasis with em</em> or <i>also with i</i>; Highlight the words by
|
|
58
|
+
<strong>using strong</strong> or just <b>bold with the b tag</b>; of course, you can
|
|
59
|
+
<u>underline</u> or <s>strikethrough text</s>; abbreviations are great, as you may have
|
|
60
|
+
<abbr title="too many abbreviations">TMA</abbr>; <code>inline code</code> is cool too;
|
|
61
|
+
You can also add line breask with br...<br>
|
|
62
|
+
<mark>Highlight text with mark</mark> or display a <kbd>Key</kbd>. You can also have
|
|
63
|
+
<q>inline quotes with q</q>, or <samp>results from an operation with samp</samp> or a
|
|
64
|
+
<var>variable</var>, also there's <small>small text</small>, text
|
|
65
|
+
with<sup>superscript</sup>, or text with<sub>subscript</sub>... not to mention you can
|
|
66
|
+
have time too. For example, this paragraph was originally written in <time>2020</time>.
|
|
67
|
+
Not to forget about <dfn>definitions</dfn>! Also <del>del was deleted</del> and
|
|
68
|
+
<ins>ins was inserted</ins>.
|
|
69
|
+
</p>
|
|
70
|
+
<blockquote>
|
|
71
|
+
<p>
|
|
72
|
+
Integer viverra elit sed tincidunt dignissim. Donec luctus malesuada posuere. Sed
|
|
73
|
+
pulvinar pulvinar augue. Aenean id ligula justo. Curabitur egestas sed augue vel
|
|
74
|
+
vulputate. Ut tempor sem sit amet diam molestie, id tincidunt lorem vulputate. Duis eu
|
|
75
|
+
consectetur turpis, sit amet lobortis magna.
|
|
76
|
+
</p>
|
|
77
|
+
<footer>—Cicero, <cite>De finibus bonorum et malorum</cite></footer>
|
|
78
|
+
</blockquote>
|
|
79
|
+
<address>
|
|
80
|
+
<a href="https://alvaromontoro.com">Alvaro Montoro</a> wrote this document.
|
|
81
|
+
</address>
|
|
82
|
+
<h4>Fancy links</h4>
|
|
83
|
+
<p>Some links may be special depending on their href or their rel:</p>
|
|
84
|
+
<p>
|
|
85
|
+
<a href="mailto:alvaromontoro@gmail.com">Link to alvaromontoro@gmail.com</a><br>
|
|
86
|
+
<a href="tel:fakenumber">Link to a number (call)</a><br>
|
|
87
|
+
<a href="sms:fakenumber">Link to a number (message)</a><br>
|
|
88
|
+
<a href="file:index.html">Link to a file</a><br>
|
|
89
|
+
<a href="file:index.html" download>Link to download a file</a><br>
|
|
90
|
+
<a rel="external" href="#">Link to an external site</a><br>
|
|
91
|
+
<a rel="bookmark" href="#">Link to bookmark</a>
|
|
92
|
+
</p>
|
|
93
|
+
<p>
|
|
94
|
+
Those special links will work inline too!
|
|
95
|
+
<a href="mailto:alvaromontoro@gmail.com">Email me!</a> or see an
|
|
96
|
+
<a rel="external" href="https://alvaromontoro.com">Link to an external site</a>.
|
|
97
|
+
</p>
|
|
98
|
+
</section>
|
|
99
|
+
<section>
|
|
100
|
+
<h3>Headings</h3>
|
|
101
|
+
<h1>Heading Level 1</h1>
|
|
102
|
+
<h2>Heading Level 2</h2>
|
|
103
|
+
<h3>Heading Level 3</h3>
|
|
104
|
+
<h4>Heading Level 4</h4>
|
|
105
|
+
<h5>Heading Level 5</h5>
|
|
106
|
+
<h6>Heading Level 6</h6>
|
|
107
|
+
</section>
|
|
108
|
+
</section>
|
|
109
|
+
|
|
110
|
+
<section class="section">
|
|
111
|
+
<h2>Lists</h2>
|
|
112
|
+
<ul>
|
|
113
|
+
<li>Unordered list item 1</li>
|
|
114
|
+
<li>
|
|
115
|
+
Unordered list item 2
|
|
116
|
+
<ul>
|
|
117
|
+
<li>Unordered list sub-item 1</li>
|
|
118
|
+
<li>Unordered list sub-item 2</li>
|
|
119
|
+
</ul>
|
|
120
|
+
</li>
|
|
121
|
+
<li>Unordered list item 3</li>
|
|
122
|
+
<li>Unordered list item 4</li>
|
|
123
|
+
</ul>
|
|
124
|
+
<ol>
|
|
125
|
+
<li>Ordered list item 1</li>
|
|
126
|
+
<li>
|
|
127
|
+
Ordered list item 2
|
|
128
|
+
<ol>
|
|
129
|
+
<li>Ordered list sub-item 1</li>
|
|
130
|
+
<li>Ordered list sub-item 2</li>
|
|
131
|
+
</ol>
|
|
132
|
+
</li>
|
|
133
|
+
<li>Ordered list item 3</li>
|
|
134
|
+
<li>Ordered list item 4</li>
|
|
135
|
+
</ol>
|
|
136
|
+
</section>
|
|
137
|
+
|
|
138
|
+
<section class="section">
|
|
139
|
+
<h2>Form & Controls</h2>
|
|
140
|
+
<section class="section">
|
|
141
|
+
<h3>Inputs & Textareas</h3>
|
|
142
|
+
<form class="flex">
|
|
143
|
+
<p>
|
|
144
|
+
<label for="input">Input without type (defaults to text)</label><br>
|
|
145
|
+
<input id="input" placeholder="Input" />
|
|
146
|
+
</p>
|
|
147
|
+
<p>
|
|
148
|
+
<label for="input-text">Input with type="text"</label><br>
|
|
149
|
+
<input type="text" id="input-text" />
|
|
150
|
+
</p>
|
|
151
|
+
<p>
|
|
152
|
+
<label for="input-date">Input with type="date"</label><br>
|
|
153
|
+
<input type="date" id="input-date" />
|
|
154
|
+
</p>
|
|
155
|
+
<p>
|
|
156
|
+
<label for="input-datetime-local">Input with type="datetime-local"</label><br>
|
|
157
|
+
<input type="datetime-local" id="input-datetime-local" />
|
|
158
|
+
</p>
|
|
159
|
+
<p>
|
|
160
|
+
<label for="input-email">Input with type="email"</label><br>
|
|
161
|
+
<input type="email" id="input-email" />
|
|
162
|
+
</p>
|
|
163
|
+
<p>
|
|
164
|
+
<span>Input with type="hidden" ;)</span><br>
|
|
165
|
+
<input id="hidden" type="hidden" />
|
|
166
|
+
</p>
|
|
167
|
+
<p>
|
|
168
|
+
<label for="input-month">Input with type="month"</label><br>
|
|
169
|
+
<input type="month" id="input-month" />
|
|
170
|
+
</p>
|
|
171
|
+
<p>
|
|
172
|
+
<label for="input-number">Input with type="number"</label><br>
|
|
173
|
+
<input type="number" id="input-number" />
|
|
174
|
+
</p>
|
|
175
|
+
<p>
|
|
176
|
+
<label for="input-password">Input with type="password"</label><br>
|
|
177
|
+
<input type="password" id="input-password" />
|
|
178
|
+
</p>
|
|
179
|
+
<p>
|
|
180
|
+
<label for="input-search">Input with type="search"</label><br>
|
|
181
|
+
<input type="search" id="input-search" />
|
|
182
|
+
</p>
|
|
183
|
+
<p>
|
|
184
|
+
<label for="input-tel">Input with type="tel"</label><br>
|
|
185
|
+
<input type="tel" id="input-tel" />
|
|
186
|
+
</p>
|
|
187
|
+
<p>
|
|
188
|
+
<label for="input-time">Input with type="time"</label><br>
|
|
189
|
+
<input type="time" id="input-time" />
|
|
190
|
+
</p>
|
|
191
|
+
<p>
|
|
192
|
+
<label for="input-url">Input with type="url"</label><br>
|
|
193
|
+
<input type="url" id="input-url" />
|
|
194
|
+
</p>
|
|
195
|
+
<p>
|
|
196
|
+
<label for="input-week">Input with type="week"</label><br>
|
|
197
|
+
<input type="week" id="input-week" />
|
|
198
|
+
</p>
|
|
199
|
+
<!-- <p>
|
|
200
|
+
<label for="input-datetime">Input with type="datetime" (obsolete)</label><br>
|
|
201
|
+
<input type="datetime" id="input-datetime" />
|
|
202
|
+
</p> -->
|
|
203
|
+
<p>
|
|
204
|
+
<label for="textarea">Textarea</label><br>
|
|
205
|
+
<textarea id="textarea"></textarea>
|
|
206
|
+
</p>
|
|
207
|
+
</form>
|
|
208
|
+
<h4>Input States</h4>
|
|
209
|
+
<form class="flex">
|
|
210
|
+
<p>
|
|
211
|
+
<label for="input-text-standard">Standard</label><br>
|
|
212
|
+
<input type="text" id="input-text-standard" />
|
|
213
|
+
</p>
|
|
214
|
+
<p>
|
|
215
|
+
<label for="input-text-disabled">Disabled</label><br>
|
|
216
|
+
<input type="text" id="input-text-disabled" disabled />
|
|
217
|
+
</p>
|
|
218
|
+
<p>
|
|
219
|
+
<label for="input-text-invalid">Invalid</label><br>
|
|
220
|
+
<input type="text" id="input-text-invalid" required value="" />
|
|
221
|
+
</p>
|
|
222
|
+
<p>
|
|
223
|
+
<label for="input-text-readonly">Read Only</label><br>
|
|
224
|
+
<input type="text" id="input-text-readonly" readonly />
|
|
225
|
+
</p>
|
|
226
|
+
</form>
|
|
227
|
+
</section>
|
|
228
|
+
<section class="section">
|
|
229
|
+
<h3>Buttons</h3>
|
|
230
|
+
<div>
|
|
231
|
+
<p>
|
|
232
|
+
<span>Button with button tag</span><br>
|
|
233
|
+
<button>Button</button>
|
|
234
|
+
</p>
|
|
235
|
+
<p>
|
|
236
|
+
<span>Disabled button</span><br>
|
|
237
|
+
<button disabled>Button</button>
|
|
238
|
+
</p>
|
|
239
|
+
<p>
|
|
240
|
+
<label for="input-image">Input type="image"</label><br>
|
|
241
|
+
<input type="image" id="input-image" alt="Input" src="./static/input-image.png" />
|
|
242
|
+
</p>
|
|
243
|
+
</div>
|
|
244
|
+
</section>
|
|
245
|
+
<section class="section">
|
|
246
|
+
<h3>Radios & Checkboxes</h3>
|
|
247
|
+
<p>
|
|
248
|
+
<input type="radio" name="radio" id="radio-1" checked />
|
|
249
|
+
<label for="radio-1">Radio 1</label><br>
|
|
250
|
+
<input type="radio" name="radio" id="radio-2" />
|
|
251
|
+
<label for="radio-2">Radio 2</label><br>
|
|
252
|
+
<input type="radio" name="radio" id="radio-3" />
|
|
253
|
+
<label for="radio-3">Radio 3</label><br>
|
|
254
|
+
<input type="radio" name="radio" id="radio-4" disabled />
|
|
255
|
+
<label for="radio-4">Radio 4 (disabled)</label>
|
|
256
|
+
</p>
|
|
257
|
+
<p>
|
|
258
|
+
<input type="checkbox" id="checkbox-1" /> <label for="checkbox-1">Checkbox</label><br>
|
|
259
|
+
<input type="checkbox" id="checkbox-2" checked />
|
|
260
|
+
<label for="checkbox-2">Checked Checkbox</label><br>
|
|
261
|
+
<input type="checkbox" id="checkbox-3" disabled />
|
|
262
|
+
<label for="checkbox-3">Disabled Checkbox</label>
|
|
263
|
+
</p>
|
|
264
|
+
</section>
|
|
265
|
+
<fieldset>
|
|
266
|
+
<legend>Other Form Controls</legend>
|
|
267
|
+
<p>
|
|
268
|
+
<label for="select">Select</label><br>
|
|
269
|
+
<select id="select">
|
|
270
|
+
<option value="1">Option 1</option>
|
|
271
|
+
<option value="2">Option 2</option>
|
|
272
|
+
<option value="3">Option 3</option>
|
|
273
|
+
<optgroup label="Subgroup">
|
|
274
|
+
<option value="4">Option 4</option>
|
|
275
|
+
<option value="5">Option 5</option>
|
|
276
|
+
</optgroup>
|
|
277
|
+
</select>
|
|
278
|
+
</p>
|
|
279
|
+
<p>
|
|
280
|
+
<label for="selectmultiple">Multiselect</label><br>
|
|
281
|
+
<select id="selectmultiple" multiple>
|
|
282
|
+
<option value="1">Option 1</option>
|
|
283
|
+
<option value="2">Option 2</option>
|
|
284
|
+
<option value="3">Option 3</option>
|
|
285
|
+
<option value="4">Option 4</option>
|
|
286
|
+
<option value="5">Option 5</option>
|
|
287
|
+
<option value="6">Option 6</option>
|
|
288
|
+
<optgroup label="Subgroup">
|
|
289
|
+
<option value="7">Option 7</option>
|
|
290
|
+
<option value="8">Option 8</option>
|
|
291
|
+
</optgroup>
|
|
292
|
+
</select>
|
|
293
|
+
</p>
|
|
294
|
+
<p>
|
|
295
|
+
<label for="input-range">Input Range</label><br>
|
|
296
|
+
<input type="range" id="input-range" />
|
|
297
|
+
</p>
|
|
298
|
+
<p>
|
|
299
|
+
<label for="input-color">Input Color</label><br>
|
|
300
|
+
<input type="color" id="input-color" />
|
|
301
|
+
</p>
|
|
302
|
+
<p>
|
|
303
|
+
<label for="input-file">Input File</label><br>
|
|
304
|
+
<input type="file" id="input-file" />
|
|
305
|
+
</p>
|
|
306
|
+
</fieldset>
|
|
307
|
+
<section class="section">
|
|
308
|
+
<h3>Elements in-line</h3>
|
|
309
|
+
<p>
|
|
310
|
+
<input type="text" aria-label="Test input" />
|
|
311
|
+
<button type="button" aria-label="Test button">Button</button>
|
|
312
|
+
</p>
|
|
313
|
+
|
|
314
|
+
<p>
|
|
315
|
+
<input type="text" aria-label="Test input" />
|
|
316
|
+
<select>
|
|
317
|
+
<option value="1">Option 1</option>
|
|
318
|
+
<option value="2">Option 2</option>
|
|
319
|
+
<option value="3">Option 3</option>
|
|
320
|
+
<option value="4">Option 4</option>
|
|
321
|
+
</select>
|
|
322
|
+
<button type="button" aria-label="Test button">Button</button>
|
|
323
|
+
</p>
|
|
324
|
+
|
|
325
|
+
<p>
|
|
326
|
+
<select>
|
|
327
|
+
<option value="1">Option 1</option>
|
|
328
|
+
<option value="2">Option 2</option>
|
|
329
|
+
<option value="3">Option 3</option>
|
|
330
|
+
<option value="4">Option 4</option>
|
|
331
|
+
</select>
|
|
332
|
+
<button type="button" aria-label="Test button">Button</button>
|
|
333
|
+
</p>
|
|
334
|
+
</section>
|
|
335
|
+
</section>
|
|
336
|
+
|
|
337
|
+
<section class="section">
|
|
338
|
+
<h2>Other HTML Elements</h2>
|
|
339
|
+
<section class="section">
|
|
340
|
+
<h3>Table</h3>
|
|
341
|
+
<table>
|
|
342
|
+
<caption>
|
|
343
|
+
Demo Table
|
|
344
|
+
</caption>
|
|
345
|
+
<thead>
|
|
346
|
+
<tr>
|
|
347
|
+
<th>Column 1
|
|
348
|
+
<th>Column 2
|
|
349
|
+
<th>Column 3
|
|
350
|
+
<th>Column 4
|
|
351
|
+
<tbody>
|
|
352
|
+
<tr>
|
|
353
|
+
<th>Row 1 Value 1
|
|
354
|
+
<td>Row 1 Value 2
|
|
355
|
+
<td>Row 1 Value 3
|
|
356
|
+
<td>Row 1 Value 4
|
|
357
|
+
<tr>
|
|
358
|
+
<th>Row 2 Value 1
|
|
359
|
+
<td>Row 2 Value 2
|
|
360
|
+
<td>Row 2 Value 3
|
|
361
|
+
<td>Row 2 Value 4
|
|
362
|
+
<tr>
|
|
363
|
+
<th>Row 3 Value 1
|
|
364
|
+
<td>Row 3 Value 2
|
|
365
|
+
<td>Row 3 Value 3
|
|
366
|
+
<td>Row 3 Value 4
|
|
367
|
+
<tfoot>
|
|
368
|
+
<tr>
|
|
369
|
+
<th>Total 1
|
|
370
|
+
<th>Total 2
|
|
371
|
+
<th>Total 3
|
|
372
|
+
<th>Total 4
|
|
373
|
+
</table>
|
|
374
|
+
</section>
|
|
375
|
+
<section class="section">
|
|
376
|
+
<h3>Horizontal Rule</h3>
|
|
377
|
+
<hr />
|
|
378
|
+
</section>
|
|
379
|
+
<section class="section">
|
|
380
|
+
<h3>Images</h3>
|
|
381
|
+
<h4>Img</h4>
|
|
382
|
+
<img src="./static/person.png" alt="Cartoon" />
|
|
383
|
+
<h4>Figure & Figcaption</h4>
|
|
384
|
+
<figure>
|
|
385
|
+
<img src="./static/person.png" alt="Cartoon" />
|
|
386
|
+
<figcaption>Picture of a person</figcaption>
|
|
387
|
+
</figure>
|
|
388
|
+
</section>
|
|
389
|
+
<section>
|
|
390
|
+
<h3>Details</h3>
|
|
391
|
+
<details>
|
|
392
|
+
<summary>Details/Summary example</summary>
|
|
393
|
+
<p>
|
|
394
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent placerat velit
|
|
395
|
+
lorem, feugiat congue lacus laoreet quis. Praesent maximus ex nec justo iaculis, in
|
|
396
|
+
euismod eros dictum. Cras ac lorem sit amet purus malesuada blandit. Mauris gravida
|
|
397
|
+
augue non urna sodales porttitor. Etiam ullamcorper luctus ullamcorper. In lobortis
|
|
398
|
+
consequat ante.
|
|
399
|
+
</p>
|
|
400
|
+
</details>
|
|
401
|
+
</section>
|
|
402
|
+
<section>
|
|
403
|
+
<h3>Progress</h3>
|
|
404
|
+
<progress> 70% </progress><br>
|
|
405
|
+
<progress max="100" value="70"> 70% </progress>
|
|
406
|
+
</section>
|
|
407
|
+
<section>
|
|
408
|
+
<h3>Definition Lists</h3>
|
|
409
|
+
<dl>
|
|
410
|
+
<dt>Term 1</dt>
|
|
411
|
+
<dd>Definition for term 1.</dd>
|
|
412
|
+
|
|
413
|
+
<dt>Term 2</dt>
|
|
414
|
+
<dd>Definition for term 2.</dd>
|
|
415
|
+
|
|
416
|
+
<dt>Term 3</dt>
|
|
417
|
+
<dd>Definition for term 3.</dd>
|
|
418
|
+
</dl>
|
|
419
|
+
</section>
|
|
420
|
+
<section>
|
|
421
|
+
<h3>Pre</h3>
|
|
422
|
+
<pre>
|
|
423
|
+
This is a test
|
|
424
|
+
using
|
|
425
|
+
pre
|
|
426
|
+
with different
|
|
427
|
+
indentations
|
|
428
|
+
</pre>
|
|
429
|
+
<h4>Pre with Code</h4>
|
|
430
|
+
<pre><code>#include <stdio.h>
|
|
431
|
+
|
|
432
|
+
int main(void) {
|
|
433
|
+
printf("Hello World");
|
|
434
|
+
return 0;
|
|
435
|
+
}
|
|
436
|
+
</code></pre>
|
|
437
|
+
</section>
|
|
438
|
+
</section>
|
|
439
|
+
</main>
|
|
440
|
+
<footer>
|
|
441
|
+
2020 © <a href="https://alvaromontoro.com">Alvaro Montoro</a>.
|
|
442
|
+
<a href="https://github.com/alvaromontoro/almond.css">Project and contributions</a>.
|
|
443
|
+
</footer>
|
|
444
|
+
</body>
|
|
445
|
+
</html>
|