src/pyams_skin/resources/less/forms.less
changeset 504 fb5a531cddbe
parent 501 2f0eb9a77324
child 541 c3ce940a0243
--- a/src/pyams_skin/resources/less/forms.less	Fri Dec 28 10:06:15 2018 +0100
+++ b/src/pyams_skin/resources/less/forms.less	Fri Dec 28 10:58:26 2018 +0100
@@ -1380,6 +1380,24 @@
 		padding: 4px 8px;
 		border-bottom: 1px solid #ccc!important;
 	}
+	.i18n-widget {
+		height: 100%;
+
+		>.clearfix {
+			height: 100%;
+		}
+		.i18n-content {
+			height: 100%;
+
+			>.clearfix {
+				height: 100%;
+
+				>.ace_editor {
+					height: ~"calc(100% - 20px)"!important;
+				}
+			}
+		}
+	}
 	.input .i18n-content input,
 	.input .i18n-content textarea,
 	.select .i18n-content select {
@@ -1854,7 +1872,7 @@
 	.icon-prepend-2 {
 		left: 31px;
 	}
-	.field-with-prefix {
+	.input .field-with-prefix {
 		display: flex;
 		border: 1px solid #ccc;
 
@@ -1868,6 +1886,17 @@
 				padding: 4px 0;
 			}
 		}
+		&.display {
+			border: 1px solid transparent;
+			border-bottom: 1px solid #ccc;
+
+			.prefix {
+				color: @textColor;
+			}
+			.prefix + input[readonly] {
+				border-bottom: 0!important;
+			}
+		}
 		.prefix + input {
 			border-width: 0;
 			padding-left: 3px;