src/ztfy/myams/resources/less/forms.less
changeset 156 61176c64158d
parent 141 a4200ce41c25
child 179 a36bac847ea7
--- a/src/ztfy/myams/resources/less/forms.less	Fri Jan 29 15:36:00 2016 +0100
+++ b/src/ztfy/myams/resources/less/forms.less	Fri Jan 29 15:37:22 2016 +0100
@@ -215,31 +215,34 @@
 			box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
 }
 
-.uneditable-input:focus,
-input[type=color]:focus,
-input[type=date]:focus,
-input[type=datetime-local]:focus,
-input[type=datetime]:focus,
-input[type=email]:focus,
-input[type=month]:focus,
-input[type=number]:focus,
-input[type=password]:focus,
-input[type=search]:focus,
-input[type=tel]:focus,
-input[type=text]:focus,
-input[type=time]:focus,
-input[type=url]:focus,
-input[type=week]:focus,
-.filter_column input:focus,
-.filter_column select:focus,
-select:focus,
-textarea:focus {
-	border-color: rgba(82, 168, 236, 0.8);
-	outline: 0;
-	outline: thin dotted 9;
-	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(82, 168, 236, 0.6);
-	   -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(82, 168, 236, 0.6);
-			box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(82, 168, 236, 0.6);
+.uneditable-input,
+input[type=color],
+input[type=date],
+input[type=datetime-local],
+input[type=datetime],
+input[type=email],
+input[type=month],
+input[type=number],
+input[type=password],
+input[type=search],
+input[type=tel],
+input[type=text],
+input[type=time],
+input[type=url],
+input[type=week],
+.filter_column input,
+.filter_column select,
+select,
+textarea {
+
+	&:focus {
+		border-color: rgba(82, 168, 236, 0.8);
+		outline: 0;
+		outline: thin dotted 9;
+		-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
+		   -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
+		        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
+	}
 }
 
 .form-control {
@@ -1325,6 +1328,12 @@
 
 		&[readonly] {
 			border-bottom: 1px solid #ccc!important;
+
+			&:focus {
+				-webkit-box-shadow: none;
+				   -moz-box-shadow: none;
+				        box-shadow: none;
+			}
 		}
 		&.display-mode {
 			border: none;
@@ -1550,6 +1559,29 @@
 			}
 		}
 	}
+	.inner-table-form & {
+		>fieldset {
+			margin-top: 10px;
+			margin-bottom: 0;
+		}
+		legend {
+			background-color: white;
+		}
+		.form-group {
+			padding: 5px 10px 0;
+		}
+		input[type="text"] {
+			height: 28px;
+		}
+		.mce-edit-area >iframe {
+			min-height: 250px!important;
+		}
+		footer {
+			padding: 5px 20px;
+			border-top: 0;
+			background-color: transparent;
+		}
+	}
 	.toggle {
 		margin-bottom: 4px;
 		padding-right: 61px;
@@ -2695,10 +2727,68 @@
 	}
 }
 
+.mce-container,
+.mce-container *,
+.mce-widget,
+.mce-widget *,
+.mce-reset {
+	font-family: Ubuntu, Arial, Helvetica, sans-serif!important;
+	font-size: 13px;
+
+	button {
+		padding: 2px 10px!important;
+	}
+	.mce-ico {
+		font-family: tinymce, Arial!important;
+		font-size: 14px!important;
+	}
+}
+.mce-panel {
+	background-image: none!important;
+	border-color: #ccc!important;
+}
+.mce-menubar {
+	.mce-menubtn {
+		button {
+			padding: 2px 10px;
+			line-height: 16px;
+
+			span {
+				font-size: 12px;
+				line-height: 16px;
+			}
+			.mce-caret {
+				margin-top: 6px;
+			}
+		}
+	}
+}
+.mce-menubtn span {
+	font-size: 13px!important;
+}
+.mce-btn-group .mce-btn {
+	border-color: #ccc!important;
+}
+.mce-btn {
+	background-image: none!important;
+}
+.mce-colorbutton {
+	button {
+		padding: 2px 1px 2px 5px!important;
+	}
+}
 .mce-edit-area >iframe {
 	min-height: 400px!important;
 }
+.mce-path,
+.mce-wordcount {
+	padding: 2px 8px!important;
+	font-size: 12px!important;
 
+	button {
+		font-size: 12px!important;
+	}
+}
 .client-form header {
 	padding: 15px 13px;
 	margin: 0;