From deb482a41eabe96fdae71870b22c5f7a0fb328d4 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Thu, 5 Sep 2024 19:53:06 -0700 Subject: [PATCH] .core label, refs #2420 --- datasette/static/app.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/datasette/static/app.css b/datasette/static/app.css index f975f0ad..05387527 100644 --- a/datasette/static/app.css +++ b/datasette/static/app.css @@ -499,10 +499,8 @@ a.blob-download { margin-bottom: 0; } - /* Forms =================================================================== */ - form.sql textarea { border: 1px solid #ccc; width: 70%; @@ -514,10 +512,6 @@ form.sql textarea { form.sql label { width: 15%; } -form label { - font-weight: bold; - display: inline-block; -} .advanced-export input[type=submit] { font-size: 0.6em; margin-left: 1em; @@ -529,6 +523,12 @@ pre#sql-query { margin-bottom: 1em; } +.core label, +label.core { + font-weight: bold; + display: inline-block; +} + .core input[type=text], input.core[type=text], .core input[type=search], @@ -541,10 +541,10 @@ input.core[type=search] { font-size: 1em; font-family: Helvetica, sans-serif; } -/* Stop Webkit from styling search boxes in an inconsistent way */ -/* https://css-tricks.com/webkit-html5-search-inputs/ comments */ .core input[type=search], input.core[type=search] { + /* Stop Webkit from styling search boxes in an inconsistent way */ + /* https://css-tricks.com/webkit-html5-search-inputs/ comments */ -webkit-appearance: textfield; } .core input[type="search"]::-webkit-search-decoration,