Skip to content

Commit

Permalink
Merge pull request #28 from SaekiTominaga/userscript/fixbug-ekispert2…
Browse files Browse the repository at this point in the history
…0240425

CSS バグ修正
  • Loading branch information
SaekiTominaga authored May 18, 2024
2 parents 88e46bb + b8f06f5 commit 8dcbaaa
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 36 deletions.
27 changes: 9 additions & 18 deletions packages/userscript/dist/roote_ekispert_net.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// @grant GM_getValue
// @description 「駅すぱあと for web」のキーボード操作を改善する
// @author SaekiTominaga
// @version 1.1.0
// @version 1.1.1
// @match https://roote.ekispert.net/*
// ==/UserScript==
(() => {
Expand Down Expand Up @@ -39,37 +39,30 @@
}
/* 経路検索の入力欄 */
#dep,
#arr,
#via1,
#via2 {
:is(#dep, #arr, #via1, #via2) {
position: relative;
top: 0.2em;
padding: 0.25em 0;
font-size: 150%;
}
/* 「現在地」ボタンは不要なので消す */
#dep_current_location_button,
#arr_current_location_button {
:is(#dep_current_location_button, #arr_current_location_button) {
display: none;
}
/* 「経由」欄を最初から表示 */
#via1_area,
#via2_area {
:is(#via1_area, #via2_area) {
display: block flow list-item !important;
}
/* 「経由」表示ボタンは不要なので消す */
#via {
display: none;
display: none !important;
}
/* 日時のプルダウンやカレンダーボタンはユーザースクリプトで別途 <input type="date"> を表示するため不要 */
#yyyymm,
#day,
.ui-datepicker-trigger {
:is(#yyyymm, #day, .ui-datepicker-trigger) {
display: none;
}
Expand All @@ -79,9 +72,7 @@
font-size: 150%;
}
#hour,
#minute10,
#minute1 {
:is(#hour, #minute10, #minute1) {
font-size: 150%;
}
Expand All @@ -91,12 +82,12 @@
}
/* 「詳細設定」開閉ボタンは不要なので消す */
#btn_option {
:is(#btn_option, #result_btn_option) {
display: none;
}
/* 「リアルタイム経路検索」は不要なので消す */
#btn_option + .toggle_button {
:is(#btn_option, #result_btn_option) + .toggle_button {
display: none;
}
Expand Down
27 changes: 9 additions & 18 deletions packages/userscript/src/roote_ekispert_net.user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// @grant GM_getValue
// @description 「駅すぱあと for web」のキーボード操作を改善する
// @author SaekiTominaga
// @version 1.1.0
// @version 1.1.1
// @match https://roote.ekispert.net/*
// ==/UserScript==

Expand Down Expand Up @@ -54,37 +54,30 @@ interface CourseSetting {
}
/* 経路検索の入力欄 */
#dep,
#arr,
#via1,
#via2 {
:is(#dep, #arr, #via1, #via2) {
position: relative;
top: 0.2em;
padding: 0.25em 0;
font-size: 150%;
}
/* 「現在地」ボタンは不要なので消す */
#dep_current_location_button,
#arr_current_location_button {
:is(#dep_current_location_button, #arr_current_location_button) {
display: none;
}
/* 「経由」欄を最初から表示 */
#via1_area,
#via2_area {
:is(#via1_area, #via2_area) {
display: block flow list-item !important;
}
/* 「経由」表示ボタンは不要なので消す */
#via {
display: none;
display: none !important;
}
/* 日時のプルダウンやカレンダーボタンはユーザースクリプトで別途 <input type="date"> を表示するため不要 */
#yyyymm,
#day,
.ui-datepicker-trigger {
:is(#yyyymm, #day, .ui-datepicker-trigger) {
display: none;
}
Expand All @@ -94,9 +87,7 @@ interface CourseSetting {
font-size: 150%;
}
#hour,
#minute10,
#minute1 {
:is(#hour, #minute10, #minute1) {
font-size: 150%;
}
Expand All @@ -106,12 +97,12 @@ interface CourseSetting {
}
/* 「詳細設定」開閉ボタンは不要なので消す */
#btn_option {
:is(#btn_option, #result_btn_option) {
display: none;
}
/* 「リアルタイム経路検索」は不要なので消す */
#btn_option + .toggle_button {
:is(#btn_option, #result_btn_option) + .toggle_button {
display: none;
}
Expand Down

0 comments on commit 8dcbaaa

Please sign in to comment.