.core label, refs #2420

pull/2423/head
Simon Willison 2024-09-05 19:53:06 -07:00
rodzic 2170269258
commit deb482a41e
1 zmienionych plików z 8 dodań i 8 usunięć

Wyświetl plik

@ -499,10 +499,8 @@ a.blob-download {
margin-bottom: 0; margin-bottom: 0;
} }
/* Forms =================================================================== */ /* Forms =================================================================== */
form.sql textarea { form.sql textarea {
border: 1px solid #ccc; border: 1px solid #ccc;
width: 70%; width: 70%;
@ -514,10 +512,6 @@ form.sql textarea {
form.sql label { form.sql label {
width: 15%; width: 15%;
} }
form label {
font-weight: bold;
display: inline-block;
}
.advanced-export input[type=submit] { .advanced-export input[type=submit] {
font-size: 0.6em; font-size: 0.6em;
margin-left: 1em; margin-left: 1em;
@ -529,6 +523,12 @@ pre#sql-query {
margin-bottom: 1em; margin-bottom: 1em;
} }
.core label,
label.core {
font-weight: bold;
display: inline-block;
}
.core input[type=text], .core input[type=text],
input.core[type=text], input.core[type=text],
.core input[type=search], .core input[type=search],
@ -541,10 +541,10 @@ input.core[type=search] {
font-size: 1em; font-size: 1em;
font-family: Helvetica, sans-serif; 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], .core input[type=search],
input.core[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; -webkit-appearance: textfield;
} }
.core input[type="search"]::-webkit-search-decoration, .core input[type="search"]::-webkit-search-decoration,