]> git.plutz.net Git - cgilite/commitdiff
style for search button
authorPaul Hänsch <paul@plutz.net>
Sun, 22 May 2022 18:12:53 +0000 (20:12 +0200)
committerPaul Hänsch <paul@plutz.net>
Sun, 22 May 2022 18:12:53 +0000 (20:12 +0200)
common.css

index a79230a05de2572adcc04eeb236ebfbe60cb19f3..c5cf6c443c355a7ef2a2219278173968e0aa6d61 100644 (file)
@@ -95,6 +95,21 @@ input + label {
   margin-left: .375em;
 }
 
   margin-left: .375em;
 }
 
+input.search + button.search {
+  width: 2.5em;
+  color: transparent;
+  background-color: #CCC;
+  margin-left: -2pt;
+  border-left: none;
+  border-radius: 0 2pt 2pt 0;
+  white-space: nowrap;
+}
+input.search + button.search:before {
+  content: '\1f50d';
+  color: #000;
+  font-weight: bold;
+}
+
 @media print {
   @page { margin: 20mm; }
 
 @media print {
   @page { margin: 20mm; }