src/pyams_skin/resources/less/forms.less
changeset 435 bcd694fda81d
parent 392 ceb5c07bf102
child 441 11c917761d56
--- a/src/pyams_skin/resources/less/forms.less	Wed Oct 17 11:30:37 2018 +0200
+++ b/src/pyams_skin/resources/less/forms.less	Wed Oct 17 14:38:55 2018 +0200
@@ -1810,6 +1810,22 @@
 	.icon-prepend-2 {
 		left: 31px;
 	}
+	.field-with-prefix {
+		display: flex;
+		border: 1px solid #ccc;
+
+		.prefix {
+			padding: 4px 0 4px 6px;
+		}
+		.prefix + input {
+			border-width: 0;
+			padding-left: 3px;
+
+			&:focus {
+				border-width: 1px 1px 1px 0;
+			}
+		}
+	}
 	.checkbox i,
 	.icon-append,
 	.icon-prepend,