diff --git a/datasette/static/app.css b/datasette/static/app.css index 386fe81a..581c2922 100644 --- a/datasette/static/app.css +++ b/datasette/static/app.css @@ -135,3 +135,41 @@ form input[type=submit] { line-height: 1; border-radius: .25rem; } + +.filter-row { + margin-bottom: 0.3em; +} + +.select-wrapper { + border: 1px solid #ccc; + width: 120px; + border-radius: 3px; + background-color: #fafafa; + position: relative; + display: inline-block; +} +.select-wrapper.filter-op { + width: 80px; +} +.select-wrapper::after { + content: "\25BE"; + position: absolute; + top: 0px; + right: 5px; + color: #bbb; +} + +.select-wrapper select { + padding: 5px 8px; + width: 100%; + border: none; + box-shadow: none; + background: transparent; + background-image: none; + -webkit-appearance: none; +} + +.select-wrapper select:focus { + outline: none; +} + diff --git a/datasette/templates/table.html b/datasette/templates/table.html index 0bd2656f..73b87978 100644 --- a/datasette/templates/table.html +++ b/datasette/templates/table.html @@ -31,39 +31,47 @@
{{ query.sql }}