Improved the style of select elements (now also works on WebKit browsers)
This commit is contained in:
parent
c74744d720
commit
79d148bfd0
5 changed files with 11 additions and 2 deletions
|
@ -155,7 +155,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
|
|||
|
||||
Source: https://github.com/google/material-design-icons
|
||||
Files:
|
||||
- `./app/static/menu-icon.svg`
|
||||
- `./app/static/material-icons/*`
|
||||
- `./data/profilepictures/default.svg`
|
||||
|
||||
```
|
||||
|
|
|
@ -79,7 +79,15 @@ input[type="text"], input[type="password"], input[type="number"], select {
|
|||
}
|
||||
|
||||
select {
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
height: 2.5rem;
|
||||
background-image: url("/static/material-icons/arrow-drop-down.svg");
|
||||
background-repeat: no-repeat;
|
||||
background-position: right;
|
||||
background-size: 1.5rem;
|
||||
padding-right: 1.8rem;
|
||||
}
|
||||
|
||||
table {
|
||||
|
|
1
app/static/material-icons/arrow-drop-down.svg
Normal file
1
app/static/material-icons/arrow-drop-down.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" fill="#fff" height="48" viewBox="0 96 960 960" width="48"><path d="M480 696 280 497h400L480 696Z"/></svg>
|
After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 240 B After Width: | Height: | Size: 240 B |
|
@ -18,7 +18,7 @@
|
|||
<a class="button" href="/deposit">{% translate "Deposit" %}</a>
|
||||
<a class="button" href="/accounts/logout">{% translate "Logout" %}</a>
|
||||
<div class="dropdownmenu" id="dropdownmenu">
|
||||
<button class="dropdownbutton" id="dropdownmenu-button"><img src="/static/menu-icon.svg"></button>
|
||||
<button class="dropdownbutton" id="dropdownmenu-button"><img src="/static/material-icons/menu.svg"></button>
|
||||
<div class="dropdownlist">
|
||||
<a class="button dropdownchoice" href="/history">{% translate "History" %}</a>
|
||||
<a class="button dropdownchoice" href="/statistics">{% translate "Statistics" %}</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue