From d9186358f6d60c7cac95a5a89d1afc667ace0559 Mon Sep 17 00:00:00 2001 From: sanjayk03-dev Date: Mon, 14 Oct 2024 12:21:30 +0530 Subject: [PATCH] rotary-button style --- src/pug/index.pug | 6 +++--- src/stylus/style.styl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pug/index.pug b/src/pug/index.pug index 4246d94..c345ec1 100644 --- a/src/pug/index.pug +++ b/src/pug/index.pug @@ -89,11 +89,11 @@ html(lang="en") v-if="80 <= state.rpi_temp", title="Raspberry Pi temperature too high.") - button.rotary(:class="is_rotary_active && 'active'", @click="toggle_rotary") - img(src="/images/rotary.svg", alt="rotary") - .whitespace + button.rotary-button(:class="is_rotary_active && 'active'", @click="toggle_rotary") + img(src="/images/rotary.svg", alt="rotary") + .video(title="Plug camera into USB.\n" + "Left click to toggle video size.\n" + "Right click to toggle crosshair.", @click="toggle_video", diff --git a/src/stylus/style.styl b/src/stylus/style.styl index b345a7d..19c3ea9 100644 --- a/src/stylus/style.styl +++ b/src/stylus/style.styl @@ -1029,7 +1029,7 @@ tt.save line-height 1.5 white-space pre-line - .rotary + .rotary-button border none background transparent cursor pointer