๋ฒ๊ทธ ์ค๋ช
ํ์
๋ฉ๋ด์์ ์ผ๋ถ ํญ๋ชฉ์ ๋นํ์ฑํํ ๋ ๋ง์ฐ์ค๋ฅผ ํญ๋ชฉ ์๋ก ์ด๋ํ๊ณ ์ ๊ฑฐํ๋ฉด .is-selected ๋ฐฐ๊ฒฝ์์ด ํ์๋์ด ์ ํ ๊ฐ๋ฅํ ๋๋์ ์ค๋๋ค.
์ฌํํ๊ธฐ ์ํด
๋์์ ์ฌํํ๋ ๋จ๊ณ:
์์๋๋ ํ๋
.is-disabled ํด๋์ค๋ .is-selected๊ฐ ํญ๋ชฉ์ ๋ฐฐ๊ฒฝ์ ๋ณ๊ฒฝํ๋ ๊ฒ์ ๋ฐฉ์งํด์ผ ํฉ๋๋ค. .is- disabled:hover๊ฐ ์ฌ๋ฐ๋ฅด๊ฒ ๋์ํ๋ ๊ฒ์ด ๊ถ๊ธํ์ง๋ง :hover๊ฐ ๊บผ์ ธ ์์ผ๋ฉด ๊ฐ์กฐ ํ์๋ฉ๋๋ค.
ํด๊ฒฐ์ฑ ์ "background-color: transparent"๋ฅผ .is-disabled.is-selected์ ์ถ๊ฐํ๋ ๊ฒ์ ๋๋ค.
์คํฌ๋ฆฐ์ท
ํ๋ซํผ
์ถ๊ฐ ์ปจํ
์คํธ
์ฌ๊ธฐ์ ๋ฌธ์ ์ ๋ํ ๋ค๋ฅธ ์ปจํ
์คํธ๋ฅผ ์ถ๊ฐํ์ญ์์ค.
๋น๋ถ๊ฐ์ global styles.css๋ฅผ ๋ฃ์ด ๋ก์ปฌ์์ ํด๊ฒฐํ์ต๋๋ค.
.popupmenu li.is-focused.is-disabled,
.popupmenu li.is-focused.disabled {
background-color: transparent;
}
์๋ ํ์ธ์ @tmcconechy , ์ด๋์์ ์์ ์ฌํญ์ ํ ์คํธํ ์ ์์ต๋๊น? /components/menubutton/test-disabled.html์ localhost ๋ฐ https://4140-beta0-enterprise.demo.design.infor.com/components/list ์์ ์ฐพ์ ์ ์์ต๋๋ค.
์๋ ํ์ธ์ @brianjuan ์ฌ๊ธฐ์์ ํ์ธํ ์ ์์ต๋๋ค.
์๋ํ์ง ์์: https://4110-enterprise.demo.design.infor.com/components/popupmenu/example-disabled-submenus.html
ํ์ง๋ณด์ฆ์ ํต๊ณผํ์ต๋๋ค. ์๋ฃ๋ก ์ด๋ํฉ๋๋ค.
ํ
์คํธ: ๋ชจ๋ ์ฅ์น, OS ๋ฐ ๋ธ๋ผ์ฐ์ ์ ๋ํด https://4140-beta0-enterprise.demo.design.infor.com/components/popupmenu/example-disabled-submenus.html
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
์๋ ํ์ธ์ @brianjuan ์ฌ๊ธฐ์์ ํ์ธํ ์ ์์ต๋๋ค.
์๋ํ์ง ์์: https://4110-enterprise.demo.design.infor.com/components/popupmenu/example-disabled-submenus.html
์์ : https://4140-beta0-enterprise.demo.design.infor.com/components/popupmenu/example-disabled-submenus.html