Quellcode durchsuchen

Portal: Worked on some CSS optimizations in forms

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4706 a333f486-631f-4898-b8df-5754b55c2be0
glajarige vor 8 Jahren
Ursprung
Commit
c7e05b4104

+ 8 - 1
datamodels/2.x/itop-portal-base/portal/web/css/bootstrap-theme-combodo.css

@@ -1373,7 +1373,8 @@ input[type="radio"][disabled], input[type="checkbox"][disabled], input[type="rad
   cursor: not-allowed;
 }
 .form-control-static {
-  padding-top: 9px;
+  padding-top: 0px;
+  /* 9px; */
   padding-bottom: 9px;
   margin-bottom: 0;
   min-height: 31px;
@@ -4908,6 +4909,7 @@ label {
 /*
  * Specific to the combodo theme. Not standard BS classes
  */
+/* Button groups */
 .btn-group.btn_group_explicit {
   padding: 7px;
   background-color: #292826;
@@ -4926,3 +4928,8 @@ label {
   border-radius: 37px !important;
   box-shadow: -1px 1px 2px rgba(0, 0, 0, 0.4);
 }
+/* Help blocks in forms */
+.form_fields .form-group > .help-block {
+  margin-top: 0px;
+  margin-bottom: 0px;
+}

+ 7 - 1
datamodels/2.x/itop-portal-base/portal/web/css/bootstrap-theme-combodo.scss

@@ -1743,7 +1743,7 @@ fieldset[disabled] .checkbox label {
     cursor: not-allowed
 }
 .form-control-static {
-    padding-top: 9px;
+    padding-top: 0px; /* 9px; */
     padding-bottom: 9px;
     margin-bottom: 0;
     min-height: 31px
@@ -5992,6 +5992,7 @@ label {
 /*
  * Specific to the combodo theme. Not standard BS classes
 */
+/* Button groups */
 .btn-group.btn_group_explicit{
 	padding: 7px;
 	background-color: $combodo-dark-gray-darker;
@@ -6009,4 +6010,9 @@ label {
 	background-color: $body-bg;
 	border-radius: 37px !important;
 	box-shadow: -1px 1px 2px rgba(0, 0, 0, 0.4);
+}
+/* Help blocks in forms */
+.form_fields .form-group > .help-block{
+    margin-top: 0px;
+    margin-bottom: 0px;
 }