Skip to content

Commit

Permalink
アイコンボタンをmwc-icon-buttonに置き換え #159 (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
Robot-Inventor authored May 8, 2021
1 parent 306413f commit 59b512d
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 48 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Edition: ORIZIN Agent HTML
- 設定の検索ボックスが未入力のときに入力可能領域を右端まで伸ばすことで使いやすくしました [#142](https://github.com/Robot-Inventor/ORIZIN-Agent-HTML/issues/142)
- メニューの開閉ボタンをmwc-icon-buttonに置き換えました [#145](https://github.com/Robot-Inventor/ORIZIN-Agent-HTML/issues/145)
- すべてのアイコンをmwc-iconに置き換えました [#158](https://github.com/Robot-Inventor/ORIZIN-Agent-HTML/issues/158)
- すべてのアイコンボタンをmwc-icon-buttonに置き換えました [#159](https://github.com/Robot-Inventor/ORIZIN-Agent-HTML/issues/159)

### [v5.1.145.0dev-Eagle] - 2021-05-06

Expand Down
2 changes: 1 addition & 1 deletion resource/css/index.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion resource/css/index.min.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 11 additions & 27 deletions resource/css/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -125,26 +125,17 @@ body {
}

#startButton {
border: none;
padding: 0;
margin-left: 1rem;
transform: translateY(-0.5rem);
vertical-align: top;
font-size: 1.5rem;
transform: translateY(-0.5em);
transition: 0.3s;
background: none;
color: var(--theme_color);
opacity: 1;
cursor: pointer;

&:disabled {
&[disabled] {
color: var(--text);
opacity: 0.3;
cursor: default;
}

&:enabled {
color: var(--theme_color);
opacity: 1;
cursor: pointer;
}
}

#listening_message {
Expand All @@ -157,26 +148,19 @@ body {

#start_recognition {
float: right;
font-size: 1.5rem;
transform: translateY(-0.5em);
transition: 0.3s;
background: none;
padding: 0;
margin: 0;
border: none;

&:enabled {
color: var(--text);
cursor: pointer;
opacity: 1;
}
color: var(--text);
cursor: pointer;
opacity: 1;

&:disabled:not(.listening) {
&[disabled]:not(.listening) {
color: var(--text);
opacity: 0.3;
cursor: default;
}

&.listening i {
&.listening {
color: var(--theme_color);
}
}
Expand Down
Loading

0 comments on commit 59b512d

Please sign in to comment.