src/ztfy/myams/resources/less/forms.less
changeset 130 e3cb023c73b6
parent 118 c87d242a1176
child 134 0f48f65f8290
equal deleted inserted replaced
129:e4e7fe9cc975 130:e3cb023c73b6
   748 					cursor: pointer;
   748 					cursor: pointer;
   749 				}
   749 				}
   750 			}
   750 			}
   751 		}
   751 		}
   752 		&.switched {
   752 		&.switched {
       
   753 			margin-bottom: 0!important;
       
   754 
   753 			>section,
   755 			>section,
   754 			>article,
   756 			>article,
   755 			>div {
   757 			>div {
   756 				display: none;
   758 				display: none;
   757 			}
   759 			}
   758 			legend {
   760 			legend {
   759 				border-bottom: 0;
   761 				border-bottom: 0;
       
   762 			}
       
   763 
       
   764 			& + fieldset {
       
   765 				margin-top: 0!important;
   760 			}
   766 			}
   761 		}
   767 		}
   762 		&.bordered {
   768 		&.bordered {
   763 			margin: 10px;
   769 			margin: 10px;
   764 			border: 1px solid rgba(192, 192, 192, 0.8);
   770 			border: 1px solid rgba(192, 192, 192, 0.8);
   842 		margin-bottom: 10px;
   848 		margin-bottom: 10px;
   843 		position: relative;
   849 		position: relative;
   844 	}
   850 	}
   845 	.form-group {
   851 	.form-group {
   846 		padding: 5px 10px;
   852 		padding: 5px 10px;
       
   853 	}
       
   854 	&.form-tight,
       
   855 	& .form-tight {
       
   856 		.form-group {
       
   857 			padding: 1px 10px;
       
   858 		}
   847 	}
   859 	}
   848 	label {
   860 	label {
   849 		&.checkbox,
   861 		&.checkbox,
   850 		&.radio {
   862 		&.radio {
   851 			padding-top: 0;
   863 			padding-top: 0;
  1285 		appearance: normal;
  1297 		appearance: normal;
  1286 		-moz-appearance: none;
  1298 		-moz-appearance: none;
  1287 		-webkit-appearance: none;
  1299 		-webkit-appearance: none;
  1288 
  1300 
  1289 		&[readonly] {
  1301 		&[readonly] {
  1290 			border-bottom: 1px solid #bdbdbd!important;
  1302 			border-bottom: 1px solid #ccc!important;
  1291 		}
  1303 		}
  1292 		&.display-mode {
  1304 		&.display-mode {
  1293 			border: none;
  1305 			border: none;
  1294 			padding: 0;
  1306 			padding: 0;
  1295 			margin-top: 2px;
  1307 			margin-top: 2px;
  1296 			margin-bottom: 3px;
  1308 			margin-bottom: 3px;
  1297 			height: 14px;
  1309 			height: 14px;
  1298 			line-height: 1em;
  1310 			line-height: 1em;
  1299 		}
  1311 		}
       
  1312 	}
       
  1313 	.input span.textarea-widget,
       
  1314 	.textarea span.textarea-widget {
       
  1315 		display: block;
       
  1316 		width: 100%;
       
  1317 		min-height: 14px;
       
  1318 		padding: 4px 0;
       
  1319 		border-bottom: 1px solid #ccc!important;
       
  1320 	}
       
  1321 	.input .i18n-content input,
       
  1322 	.select .i18n-content select,
       
  1323 	.textarea .i18n-content textarea {
       
  1324 		&[readonly] {
       
  1325 			border-width: 0!important;
       
  1326 		}
       
  1327 	}
       
  1328 	.input .i18n-content .textarea-widget {
       
  1329 		display: block;
       
  1330 		min-height: 12px;
  1300 	}
  1331 	}
  1301 	.input input:focus + .tooltip,
  1332 	.input input:focus + .tooltip,
  1302 	.textarea textarea:focus + .tooltip {
  1333 	.textarea textarea:focus + .tooltip {
  1303 		opacity: 1;
  1334 		opacity: 1;
  1304 	}
  1335 	}
  1669 	.input input,
  1700 	.input input,
  1670 	.radio i,
  1701 	.radio i,
  1671 	.select select,
  1702 	.select select,
  1672 	.textarea textarea,
  1703 	.textarea textarea,
  1673 	.toggle i {
  1704 	.toggle i {
  1674 		border-color: #BDBDBD;
  1705 		border-color: #ccc;
  1675 		transition: border-color .3s;
  1706 		transition: border-color .3s;
  1676 		-webkit-transition: border-color .3s;
  1707 		-webkit-transition: border-color .3s;
  1677 	}
  1708 	}
  1678 	.input.bordered:hover,
  1709 	.input.bordered:hover,
  1679 	.checkbox:hover i,
  1710 	.checkbox:hover i,
  2633 			}
  2664 			}
  2634 		}
  2665 		}
  2635 	}
  2666 	}
  2636 }
  2667 }
  2637 
  2668 
       
  2669 .mce-edit-area >iframe {
       
  2670 	min-height: 400px!important;
       
  2671 }
       
  2672 
  2638 .client-form header {
  2673 .client-form header {
  2639 	padding: 15px 13px;
  2674 	padding: 15px 13px;
  2640 	margin: 0;
  2675 	margin: 0;
  2641 	border-bottom-style: solid;
  2676 	border-bottom-style: solid;
  2642 	border-bottom-color: rgba(0, 0, 0, .1);
  2677 	border-bottom-color: rgba(0, 0, 0, .1);