src/ztfy/myams/resources/less/forms.less
changeset 130 e3cb023c73b6
parent 118 c87d242a1176
child 134 0f48f65f8290
--- a/src/ztfy/myams/resources/less/forms.less	Mon Apr 20 15:55:33 2015 +0200
+++ b/src/ztfy/myams/resources/less/forms.less	Wed Jun 10 17:29:16 2015 +0200
@@ -750,6 +750,8 @@
 			}
 		}
 		&.switched {
+			margin-bottom: 0!important;
+
 			>section,
 			>article,
 			>div {
@@ -758,6 +760,10 @@
 			legend {
 				border-bottom: 0;
 			}
+
+			& + fieldset {
+				margin-top: 0!important;
+			}
 		}
 		&.bordered {
 			margin: 10px;
@@ -845,6 +851,12 @@
 	.form-group {
 		padding: 5px 10px;
 	}
+	&.form-tight,
+	& .form-tight {
+		.form-group {
+			padding: 1px 10px;
+		}
+	}
 	label {
 		&.checkbox,
 		&.radio {
@@ -1287,7 +1299,7 @@
 		-webkit-appearance: none;
 
 		&[readonly] {
-			border-bottom: 1px solid #bdbdbd!important;
+			border-bottom: 1px solid #ccc!important;
 		}
 		&.display-mode {
 			border: none;
@@ -1298,6 +1310,25 @@
 			line-height: 1em;
 		}
 	}
+	.input span.textarea-widget,
+	.textarea span.textarea-widget {
+		display: block;
+		width: 100%;
+		min-height: 14px;
+		padding: 4px 0;
+		border-bottom: 1px solid #ccc!important;
+	}
+	.input .i18n-content input,
+	.select .i18n-content select,
+	.textarea .i18n-content textarea {
+		&[readonly] {
+			border-width: 0!important;
+		}
+	}
+	.input .i18n-content .textarea-widget {
+		display: block;
+		min-height: 12px;
+	}
 	.input input:focus + .tooltip,
 	.textarea textarea:focus + .tooltip {
 		opacity: 1;
@@ -1671,7 +1702,7 @@
 	.select select,
 	.textarea textarea,
 	.toggle i {
-		border-color: #BDBDBD;
+		border-color: #ccc;
 		transition: border-color .3s;
 		-webkit-transition: border-color .3s;
 	}
@@ -2635,6 +2666,10 @@
 	}
 }
 
+.mce-edit-area >iframe {
+	min-height: 400px!important;
+}
+
 .client-form header {
 	padding: 15px 13px;
 	margin: 0;