mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
* Start a functional timer example. * Start on the actions. * wip * Clean up a bit. * More sensible times. * Wip * Add canceled message. * Add a distinction between Cancel and Clear. * Bring timer_function up to parity with the class based example. * Fix clippy warnings. * cargo fmt * Update README. * Update examples/timer_functional/src/main.rs Co-authored-by: Jedd Dryden <40693089+Jaffa-Cakes@users.noreply.github.com> * Add README.md * Fix wqREADME.md spacing. * Add key to message iterator. * Update to new use_effect_with signature. --------- Co-authored-by: Jedd Dryden <40693089+Jaffa-Cakes@users.noreply.github.com> Co-authored-by: = <=>
30 lines
374 B
SCSS
30 lines
374 B
SCSS
$font-stack: Roboto, sans-serif;
|
|
$primary-color: #008f53;
|
|
|
|
body {
|
|
font: 100% $font-stack;
|
|
color: white;
|
|
background-color: $primary-color;
|
|
}
|
|
|
|
#buttons {
|
|
text-align: right;
|
|
}
|
|
|
|
#wrapper {
|
|
overflow: hidden;
|
|
width: 100%;
|
|
}
|
|
|
|
#time {
|
|
text-align: center;
|
|
font-size: 17vh;
|
|
padding: 15% 0;
|
|
float: left;
|
|
}
|
|
|
|
#messages {
|
|
float: right;
|
|
}
|
|
|