mirror of https://github.com/onweru/compose.git

weru
21.23.2023 1c0faaf49242a3e51d0dd63ea0bc2444ce13ab37
target input appearance explicitly  #93

Signed-off-by: weru <fromweru@gmail.com>
5 files modified
13 ■■■■■ changed files
assets/sass/_base.sass 1 ●●●● patch | view | raw | blame | history
assets/sass/_utils.sass 6 ●●●● patch | view | raw | blame | history
layouts/partials/mode.html 2 ●●● patch | view | raw | blame | history
layouts/partials/search.html 2 ●●● patch | view | raw | blame | history
layouts/shortcodes/chart.html 2 ●●● patch | view | raw | blame | history
assets/sass/_base.sass
@@ -1,6 +1,5 @@
*
  box-sizing: border-box
  -webkit-appearance: none
  margin: 0
  padding: 0
assets/sass/_utils.sass
@@ -96,4 +96,8 @@
    opacity: 0.9
.copy
  cursor: pointer
  cursor: pointer
.standardize-input
  appearance: none
  -webkit-appearance: none
layouts/partials/mode.html
@@ -1,4 +1,4 @@
<div class = 'color_mode'>
  <label for = 'mode'></label>
  <input type = 'checkbox' class = 'color_choice' id = 'mode' title="Toggle Dark Mode">
  <input type = 'checkbox' class = 'color_choice standardize-input' id = 'mode' title="Toggle Dark Mode">
</div>
layouts/partials/search.html
@@ -8,7 +8,7 @@
  {{ else }}
    {{ $placeholder =  printf "%s%s" $placeholder (T "site") }}
  {{ end }}
  <input type="search" class="search_field" placeholder='{{ $placeholder }}' id="find" autocomplete="off"  data-scope='{{ .Section }}'>
  <input type="search" class="search_field  standardize-input" placeholder="{{ $placeholder }}" id="find" autocomplete="off"  data-scope='{{ .Section }}'>
  {{- if ne .Params.searchPage true }}
  <div class="search_results results"></div>
  {{- end }}
layouts/shortcodes/chart.html
@@ -29,7 +29,7 @@
<div class="table_wrap">
  {{- if not (in $charts "noFilter") }}
  <p>
    <input oninput="w3.filterHTML('#chartTable', '.row', this.value)" class="form_search search_field" placeholder="Filter Table Values">
    <input oninput="w3.filterHTML('#chartTable', '.row', this.value)" class="form_search search_field forminput" placeholder="Filter Table Values">
  </p>
  {{- end }}
  <table id="chartTable">