adjusted settings widget to include a cog image, and theme select in addition to the currency select
This commit is contained in:
parent
83e248c6c7
commit
64f3f30fdb
@ -5,25 +5,34 @@
|
||||
<link rel="stylesheet" type="text/css" href="style.css">
|
||||
</head>
|
||||
|
||||
<div class="currency-dropdown">
|
||||
<label for="currency-select">Currency:</label>
|
||||
<select id="currency-select">
|
||||
<option value="usd">Dollar</option>
|
||||
<option value="ars">Argentine Peso</option>
|
||||
<option value="brl">Brazilian Real</option>
|
||||
<option value="cny">Chinese Yuan</option>
|
||||
<option value="eur">Euros</option>
|
||||
<option value="inr">Indian Rupee</option>
|
||||
<option value="jpy">Yen</option>
|
||||
<option value="ngn">Nigerian Naira</option>
|
||||
<option value="pkr">Pakistani Rupee</option>
|
||||
<option value="php">Philippine Peso</option>
|
||||
<option value="rub">Russian Ruble</option>
|
||||
<option value="thb">Thai Baht</option>
|
||||
<option value="try">Turkish Lira</option>
|
||||
<option value="uah">Ukrainian Hryvnia</option>
|
||||
<option value="vnd">Dong</option>
|
||||
</select>
|
||||
<div class="settings"><img src='file:///android_asset/images/cog.png' alt='cog' />
|
||||
<div class="theme-dropdown">
|
||||
<label for="theme-select">Theme:</label>
|
||||
<select id="theme-select">
|
||||
<option value="usd">Dark</option>
|
||||
<option value="ars">Alt</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="currency-dropdown">
|
||||
<label for="currency-select">Currency:</label>
|
||||
<select id="currency-select">
|
||||
<option value="usd">Dollar</option>
|
||||
<option value="ars">Argentine Peso</option>
|
||||
<option value="brl">Brazilian Real</option>
|
||||
<option value="cny">Chinese Yuan</option>
|
||||
<option value="eur">Euros</option>
|
||||
<option value="inr">Indian Rupee</option>
|
||||
<option value="jpy">Yen</option>
|
||||
<option value="ngn">Nigerian Naira</option>
|
||||
<option value="pkr">Pakistani Rupee</option>
|
||||
<option value="php">Philippine Peso</option>
|
||||
<option value="rub">Russian Ruble</option>
|
||||
<option value="thb">Thai Baht</option>
|
||||
<option value="try">Turkish Lira</option>
|
||||
<option value="uah">Ukrainian Hryvnia</option>
|
||||
<option value="vnd">Dong</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<body>
|
||||
|
@ -23,34 +23,47 @@ a:hover {
|
||||
color: rgb(149, 0, 207);
|
||||
}
|
||||
|
||||
/*.currency-dropdown{
|
||||
width: fit-content;
|
||||
padding: 8px;
|
||||
margin: 8px;
|
||||
.settings {
|
||||
width: auto;
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
margin-top: 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background-color: #282828;
|
||||
border: 3px solid #ccc;
|
||||
border-radius: 8px;
|
||||
padding: 10px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
|
||||
font-family: monospace;
|
||||
color: #ffffff;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
right: 10px;
|
||||
} */
|
||||
}
|
||||
|
||||
.currency-dropdown #currency-select{
|
||||
.cog-image {
|
||||
margin-right: 20px; /* Add margin to separate cog image from dropdowns */
|
||||
}
|
||||
|
||||
.theme-dropdown,
|
||||
.currency-dropdown {
|
||||
flex: 1; /* Distribute available space equally among dropdowns */
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end; /* Align theme dropdown to the right */
|
||||
margin-right: 10px; /* Add some space between the dropdowns */
|
||||
}
|
||||
|
||||
.currency-dropdown {
|
||||
justify-content: center; /* Align currency dropdown to the center */
|
||||
}
|
||||
|
||||
#theme-select,
|
||||
#currency-select {
|
||||
width: fit-content;
|
||||
padding: 8px;
|
||||
margin: 8px;
|
||||
background-color: #282828;
|
||||
border: 3px solid #ccc;
|
||||
border-radius: 8px;
|
||||
padding: 10px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
|
||||
font-family: monospace;
|
||||
color: #ffffff;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
.container {
|
||||
|
Loading…
Reference in New Issue
Block a user