Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mode selection from pull-down menu #68

Open
hitsub opened this issue Oct 2, 2021 · 1 comment
Open

Mode selection from pull-down menu #68

hitsub opened this issue Oct 2, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@hitsub
Copy link
Owner

hitsub commented Oct 2, 2021

モード切替が煩雑なのでプルダウンからやりたい
以下の感じでいけそう

<select id="pulldownTest" onChange="console.log(document.getElementById('pulldownTest').value);">
	<option value=0></option>
	<option value=1></option>
	<option value=2></option>
</select>

見た目が完全に浮くのでCSSでどうにかできるか要検証

@hitsub hitsub added the enhancement New feature or request label Oct 2, 2021
@hitsub
Copy link
Owner Author

hitsub commented Oct 4, 2021

これでだいたい一緒
image image

select
{
	border:1px solid #e2dd48;
	border-color:#ece2b6 #875526 #733726 #dfbc9a;
	background:#000 url(img/darkNoise.jpg);
	background-image:url(img/shadedBordersSoft.png),url(img/darkNoise.jpg);
	background-size:100% 100%,auto;
	background-color:#000;
	border-radius:2px;
	box-shadow:0px 0px 1px 2px rgba(0,0,0,0.5),0px 2px 4px rgba(0,0,0,0.25),0px 0px 2px 2px #000 inset,0px 1px 0px 1px rgba(255,255,255,0.5) inset;
	text-shadow:0px 1px 1px #000;
	color:#ccc;
	line-height:100%;
	padding:1px 3px;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant