diff --git a/TODO.md b/TODO.md index b055503..b408e3b 100644 --- a/TODO.md +++ b/TODO.md @@ -16,10 +16,6 @@ - Change io stuff - Find name for styled interactive elements - Find name for io module with nested class names -- Change demo module - - Keep placeholder and demo stuff - - Move other things - - Prevent styles to be global # Content @@ -136,4 +132,6 @@ - [ ] noscript - [ ] template - [ ] slot - - [ ] canvas \ No newline at end of file + - [ ] canvas +- *Clock* + - Add overlays to better distinguish day, week and year \ No newline at end of file diff --git a/source/screens/demo/examples/clock.liquid b/source/screens/demo/examples/clock.liquid index a4bd20d..7dc6998 100644 --- a/source/screens/demo/examples/clock.liquid +++ b/source/screens/demo/examples/clock.liquid @@ -7,162 +7,81 @@ tags: {% layout 'hippie/simple.liquid' %} {% block body %} -
- - -
-
- - -
+ +

+ +

{% endblock %} {% block script %} {% endblock %} \ No newline at end of file diff --git a/source/style/modules/_clock.scss b/source/style/modules/_clock.scss index 4caa66e..fe361b7 100644 --- a/source/style/modules/_clock.scss +++ b/source/style/modules/_clock.scss @@ -14,23 +14,10 @@ .body_clock { main { + @extend .sec_main_center; display: flex; flex-flow: column nowrap; justify-content: center; - align-items: center; - height: 100vh; - width: 100%; - overflow: hidden; - } - - .wrap { - position: relative; - } - - canvas { - position: absolute; - top: 0; - left: 0; } p { diff --git a/source/style/modules/demo/_demo_module.scss b/source/style/modules/demo/_demo_module.scss index 679de47..f7ab191 100644 --- a/source/style/modules/demo/_demo_module.scss +++ b/source/style/modules/demo/_demo_module.scss @@ -270,21 +270,21 @@ padding-left: hippie.$space_double; } -#demo { - .wrap { - display: flex; - // height: 100%; - align-items: center; - justify-content: center; - } +// Index +// ----------------------------------------------------------------------------- +.wrap { + display: flex; + // height: 100%; + align-items: center; + justify-content: center; +} - .hello { - flex: 0 1 auto; - width: 80%; +.hello { + flex: 0 1 auto; + width: 80%; - ul { - padding: 1em 5em; - background-color: hippie.$color_darker; - } + ul { + padding: 1em 5em; + background-color: hippie.$color_darker; } -} \ No newline at end of file +}